Home
last modified time | relevance | path

Searched refs:pdata (Results 1 – 25 of 54) sorted by relevance

123

/f-stack/dpdk/drivers/net/axgbe/
H A Daxgbe_mdio.c121 pdata->hw_if.set_speed(pdata, SPEED_2500); in axgbe_kx_2500_mode()
235 axgbe_change_mode(pdata, pdata->phy_if.phy_impl.switch_mode(pdata)); in axgbe_switch_mode()
319 pdata->phy_if.phy_impl.an_pre(pdata); in axgbe_an_restart()
609 pdata->an_result = pdata->an_state; in axgbe_an73_state_machine()
668 pdata->an_result = pdata->an_state; in axgbe_an37_state_machine()
839 pdata->an_mode = pdata->phy_if.phy_impl.an_mode(pdata); in axgbe_an_init()
874 pdata->phy_link = pdata->phy.link; in axgbe_phy_adjust_link()
891 mode = pdata->phy_if.phy_impl.get_mode(pdata, pdata->phy.speed); in axgbe_phy_config_fixed()
1082 pdata->phy.link = pdata->phy_if.phy_impl.link_status(pdata, in axgbe_phy_status()
1145 pdata->phy_if.phy_impl.stop(pdata); in axgbe_phy_stop()
[all …]
H A Daxgbe_dev.c132 XPCS32_IOWRITE(pdata, pdata->xpcs_window_sel_reg, index); in axgbe_read_mmd_regs_v2()
166 XPCS32_IOWRITE(pdata, pdata->xpcs_window_sel_reg, index); in axgbe_write_mmd_regs_v2()
672 AXGMAC_IOWRITE(pdata, MAC_RSSCR, pdata->rss_options); in axgbe_enable_rss()
961 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in axgbe_config_queue_mapping()
962 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in axgbe_config_queue_mapping()
1116 axgbe_set_mac_address(pdata, pdata->mac_addr.addr_bytes); in axgbe_config_mac_address()
1130 axgbe_set_speed(pdata, pdata->phy_speed); in axgbe_config_mac_speed()
1182 axgbe_config_tsf_mode(pdata, pdata->tx_sf_mode); in axgbe_init()
1183 axgbe_config_rsf_mode(pdata, pdata->rx_sf_mode); in axgbe_init()
1184 axgbe_config_tx_threshold(pdata, pdata->tx_threshold); in axgbe_init()
[all …]
H A Daxgbe_ethdev.c266 return pdata->phy_if.phy_reset(pdata); in axgbe_phy_reset()
288 pdata->phy_if.an_isr(pdata); in axgbe_dev_interrupt_handler()
359 ret = pdata->hw_if.init(pdata); in axgbe_dev_start()
369 pdata->phy_if.phy_start(pdata); in axgbe_dev_start()
405 pdata->phy_if.phy_stop(pdata); in axgbe_dev_stop()
406 pdata->hw_if.exit(pdata); in axgbe_dev_stop()
734 pdata->phy_if.phy_status(pdata); in axgbe_dev_link_update()
1270 pdata->phy.tx_pause = pdata->tx_pause; in axgbe_flow_ctrl_set()
1271 pdata->phy.rx_pause = pdata->rx_pause; in axgbe_flow_ctrl_set()
2093 ret = pdata->hw_if.exit(pdata); in eth_axgbe_dev_init()
[all …]
H A Daxgbe_phy_impl.c262 return pdata->i2c_if.i2c_xfer(pdata, i2c_op); in axgbe_phy_i2c_xfer()
465 pdata->phy.advertising = pdata->phy.supported; in axgbe_phy_sfp_phy_settings()
1153 return pdata->hw_if.write_ext_mii_regs(pdata, phy_data->redrv_addr, in axgbe_phy_set_redrv_mode_mdio()
1548 cur_mode = axgbe_phy_get_mode(pdata, pdata->phy.speed); in axgbe_phy_check_mode()
1934 axgbe_phy_rrc(pdata); in axgbe_phy_cdr_notrack()
2010 pdata->i2c_if.i2c_stop(pdata); in axgbe_phy_stop()
2019 ret = pdata->i2c_if.i2c_start(pdata); in axgbe_phy_start()
2037 pdata->phy.advertising &= axgbe_phy_an_advertising(pdata); in axgbe_phy_start()
2068 ret = pdata->i2c_if.i2c_init(pdata); in axgbe_phy_init()
2269 ret = pdata->hw_if.set_ext_mii_mode(pdata, phy_data->mdio_addr, in axgbe_phy_init()
[all …]
H A Daxgbe_i2c.c106 tx_slots = pdata->i2c.tx_fifo_size - XI2C_IOREAD(pdata, IC_TXFLR); in axgbe_i2c_write()
181 axgbe_i2c_read(pdata); in axgbe_i2c_isr()
184 axgbe_i2c_write(pdata); in axgbe_i2c_isr()
264 if (axgbe_i2c_isr(pdata)) in axgbe_i2c_xfer()
271 axgbe_i2c_disable(pdata); in axgbe_i2c_xfer()
291 if (!pdata->i2c.started) in axgbe_i2c_stop()
296 pdata->i2c.started = 0; in axgbe_i2c_stop()
298 axgbe_i2c_disable(pdata); in axgbe_i2c_stop()
304 if (pdata->i2c.started) in axgbe_i2c_start()
309 pdata->i2c.started = 1; in axgbe_i2c_start()
[all …]
H A Daxgbe_regs.h157 for (i = 0; i < pdata->tx_ring_count; i++) in axgbe_regs_get_count()
159 for (i = 0; i < pdata->rx_ring_count; i++) in axgbe_regs_get_count()
162 for (i = 0; i < pdata->tx_q_count; i++) in axgbe_regs_get_count()
164 for (i = 0; i < pdata->rx_q_count; i++) in axgbe_regs_get_count()
182 for (j = 0; j < pdata->tx_ring_count; j++) { in axgbe_regs_dump()
186 *data++ = AXGMAC_IOREAD(pdata, reg); in axgbe_regs_dump()
194 *data++ = AXGMAC_IOREAD(pdata, reg); in axgbe_regs_dump()
201 for (j = 0; j < pdata->tx_q_count; j++) { in axgbe_regs_dump()
205 *data++ = AXGMAC_IOREAD(pdata, reg); in axgbe_regs_dump()
209 for (j = 0; j < pdata->rx_q_count; j++) { in axgbe_regs_dump()
[all …]
H A Daxgbe_rxtx.c56 rx_desc > pdata->rx_desc_count) in axgbe_dev_rx_queue_setup()
69 rxq->pdata = pdata; in axgbe_dev_rx_queue_setup()
113 if (!pdata->rx_queues) in axgbe_dev_rx_queue_setup()
162 axgbe_prepare_rx_stop(pdata, i); in axgbe_dev_disable_rx()
194 if (pdata->crc_strip_enable) { in axgbe_dev_enable_rx()
260 if (rxq->pdata->rx_csum_enable) { in axgbe_recv_pkts()
491 struct axgbe_port *pdata; in axgbe_dev_tx_queue_setup() local
497 pdata = dev->data->dev_private; in axgbe_dev_tx_queue_setup()
513 txq->pdata = pdata; in axgbe_dev_tx_queue_setup()
558 if (!pdata->tx_queues) in axgbe_dev_tx_queue_setup()
[all …]
H A Daxgbe_ethdev.h668 void axgbe_set_mac_addn_addr(struct axgbe_port *pdata, u8 *addr,
670 void axgbe_set_mac_hash_table(struct axgbe_port *pdata, u8 *addr, bool add);
671 int axgbe_write_rss_lookup_table(struct axgbe_port *pdata);
672 int axgbe_write_rss_hash_key(struct axgbe_port *pdata);
/f-stack/freebsd/arm64/coresight/
H A Dcoresight_fdt.c94 pdata->in_ports++; in coresight_fdt_get_ports()
97 pdata->out_ports++; in coresight_fdt_get_ports()
99 mtx_lock(&pdata->mtx_lock); in coresight_fdt_get_ports()
102 mtx_unlock(&pdata->mtx_lock); in coresight_fdt_get_ports()
122 pdata->cpu = cpu_reg; in coresight_fdt_get_cpu()
140 pdata->bus_type = CORESIGHT_BUS_FDT; in coresight_fdt_get_platform_data()
143 TAILQ_INIT(&pdata->endpoints); in coresight_fdt_get_platform_data()
145 coresight_fdt_get_cpu(node, pdata); in coresight_fdt_get_platform_data()
146 coresight_fdt_get_ports(node, pdata); in coresight_fdt_get_platform_data()
150 pdata->in_ports, pdata->out_ports); in coresight_fdt_get_platform_data()
[all …]
H A Dcoresight.c57 cs_dev->pdata = desc->pdata; in coresight_register()
68 coresight_get_output_endpoint(struct coresight_platform_data *pdata) in coresight_get_output_endpoint() argument
72 if (pdata->out_ports != 1) in coresight_get_output_endpoint()
75 TAILQ_FOREACH(endp, &pdata->endpoints, link) { in coresight_get_output_endpoint()
86 struct coresight_platform_data *pdata; in coresight_get_output_device() local
91 pdata = cs_dev->pdata; in coresight_get_output_device()
92 TAILQ_FOREACH(endp2, &cs_dev->pdata->endpoints, link) { in coresight_get_output_device()
93 switch (pdata->bus_type) { in coresight_get_output_device()
H A Dcoresight_acpi.c284 mtx_lock(&pdata->mtx_lock); in cs_acpi_record_endpoint()
286 mtx_unlock(&pdata->mtx_lock); in cs_acpi_record_endpoint()
289 pdata->out_ports++; in cs_acpi_record_endpoint()
292 pdata->in_ports++; in cs_acpi_record_endpoint()
346 pdata->cpu = cpuid; in coresight_acpi_get_cpu()
360 pdata->bus_type = CORESIGHT_BUS_ACPI; in coresight_acpi_get_platform_data()
363 TAILQ_INIT(&pdata->endpoints); in coresight_acpi_get_platform_data()
365 coresight_acpi_get_cpu(dev, pdata); in coresight_acpi_get_platform_data()
366 coresight_acpi_get_ports(dev, pdata); in coresight_acpi_get_platform_data()
370 pdata->in_ports, pdata->out_ports); in coresight_acpi_get_platform_data()
[all …]
H A Dcoresight_cpu_debug.c69 struct coresight_platform_data *pdata; member
135 sc->pdata = coresight_fdt_get_platform_data(dev); in debug_attach()
136 desc.pdata = sc->pdata; in debug_attach()
H A Dcoresight.h77 struct coresight_platform_data *pdata; member
107 struct coresight_platform_data *pdata; member
155 struct endpoint * coresight_get_output_endpoint(struct coresight_platform_data *pdata);
H A Dcoresight_cmd.c56 TAILQ_FOREACH(endp, &cs_dev->pdata->endpoints, link) { in coresight_next_device()
105 cs_dev->pdata->cpu == cpu) { in coresight_init_event()
115 cs_dev->pdata->cpu == cpu) in coresight_init_event()
H A Dcoresight_replicator.c111 desc.pdata = sc->pdata; in replicator_attach()
H A Dcoresight_funnel.c127 desc.pdata = sc->pdata; in funnel_attach()
/f-stack/dpdk/lib/librte_acl/
H A Dacl_run_avx512_common.h164 p[0] = _M_I_(add_epi64)(p[0], pdata[0]); in _F_()
165 p[1] = _M_I_(add_epi64)(p[1], pdata[1]); in _F_()
185 _T_simd pdata[2], _T_simd *idx, _T_simd *di) in _F_()
210 pdata[0] = _M_I_(mask_expand_epi64)(pdata[0], m[0], nd[0]); in _F_()
211 pdata[1] = _M_I_(mask_expand_epi64)(pdata[1], m[1], nd[1]); in _F_()
254 _F_(start_flow)(flow, n, rmsk[0], pdata, idx, di); in _F_()
287 inp[0] = _F_(get_next_bytes)(flow, &pdata[0], in _F_()
296 inp[1] = _F_(get_next_bytes)(flow, &pdata[2], in _F_()
318 &pdata[0], &idx[0], &di[0]); in _F_()
320 &pdata[2], &idx[1], &di[1]); in _F_()
[all …]
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_mae.c419 et = &pdata->ethertypes[pdata->nb_vlan_tags]; in sfc_mae_set_ethertypes()
435 for (i = 0; i < pdata->nb_vlan_tags; ++i) { in sfc_mae_set_ethertypes()
436 et = &pdata->ethertypes[i]; in sfc_mae_set_ethertypes()
540 if (pdata->l3_next_proto_mask == 0) { in sfc_mae_rule_process_pattern_data()
541 pdata->l3_next_proto_mask = 0xff; in sfc_mae_rule_process_pattern_data()
542 pdata->l3_next_proto_value = in sfc_mae_rule_process_pattern_data()
543 pdata->l3_next_proto_restriction_value; in sfc_mae_rule_process_pattern_data()
545 pdata->l3_next_proto_value != in sfc_mae_rule_process_pattern_data()
556 sizeof(pdata->l3_next_proto_value), in sfc_mae_rule_process_pattern_data()
558 sizeof(pdata->l3_next_proto_mask), in sfc_mae_rule_process_pattern_data()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_distributor_perf.c58 volatile uint64_t *pdata = &data[0]; in time_cache_line_switch() local
59 *pdata = 1; in time_cache_line_switch()
61 while (*pdata) in time_cache_line_switch()
66 while (*pdata) in time_cache_line_switch()
68 *pdata = 1; in time_cache_line_switch()
72 while (*pdata) in time_cache_line_switch()
74 *pdata = 2; in time_cache_line_switch()
H A Dtest_rcu_qsbr_perf.c292 uint32_t *pdata; in test_rcu_qsbr_hash_reader() local
306 (void **)&pdata) != -ENOENT) { in test_rcu_qsbr_hash_reader()
307 pdata[thread_id] = 0; in test_rcu_qsbr_hash_reader()
308 while (pdata[thread_id] < COUNTER_VALUE) in test_rcu_qsbr_hash_reader()
309 pdata[thread_id]++; in test_rcu_qsbr_hash_reader()
/f-stack/dpdk/drivers/net/bnx2x/
H A Decore_init.h342 struct cmng_struct_per_port *pdata = &ram_data->port; in ecore_init_max() local
349 pdata->rs_vars.rs_periodic_timeout = in ecore_init_max()
356 pdata->rs_vars.rs_threshold = in ecore_init_max()
396 struct cmng_struct_per_port *pdata = &ram_data->port; in ecore_init_min() local
408 pdata->fair_vars.fair_threshold = QM_ARB_BYTES + in ecore_init_min()
412 pdata->fair_vars.size_thr = input_data->size_thr; in ecore_init_min()
421 pdata->fair_vars.fairness_timeout = in ecore_init_min()
443 pdata->fair_vars.fair_threshold + in ecore_init_min()
446 pdata->fair_vars.fair_threshold + in ecore_init_min()
482 if (ccd[cos] < pdata->fair_vars.fair_threshold in ecore_init_fw_wrr()
[all …]
/f-stack/freebsd/mips/cavium/cryptocteon/
H A Dcavium_crypto.c331 uint64_t *data, *pdata; in octo_aes_cbc_encrypt() local
378 pdata = data; in octo_aes_cbc_encrypt()
382 CVMX_MF_AES_RESULT(*pdata, 0); in octo_aes_cbc_encrypt()
399 uint64_t *data, *pdata; in octo_aes_cbc_decrypt() local
446 pdata = data; in octo_aes_cbc_decrypt()
450 CVMX_MF_AES_RESULT(*pdata, 0); in octo_aes_cbc_decrypt()
650 CVMX_MT_AES_ENC_CBC0(*pdata); in octo_aes_cbc_sha1_encrypt()
652 CVMX_MF_AES_RESULT(*pdata, 0); in octo_aes_cbc_sha1_encrypt()
661 CVM_LOAD_SHA_UNIT(*pdata, next); in octo_aes_cbc_sha1_encrypt()
850 CVMX_MT_AES_DEC_CBC0(*pdata); in octo_aes_cbc_sha1_decrypt()
[all …]
/f-stack/dpdk/examples/qos_sched/
H A Dapp_thread.c35 uint16_t *pdata = rte_pktmbuf_mtod(m, uint16_t *); in get_pkt_sched() local
39 *subport = (rte_be_to_cpu_16(pdata[SUBPORT_OFFSET]) & 0x0FFF) & in get_pkt_sched()
43 *pipe = (rte_be_to_cpu_16(pdata[PIPE_OFFSET]) & 0x0FFF) & in get_pkt_sched()
46 pipe_queue = active_queues[(pdata[QUEUE_OFFSET] >> 8) % n_active_queues]; in get_pkt_sched()
56 *color = pdata[COLOR_OFFSET] & 0x03; in get_pkt_sched()
/f-stack/lib/
H A Dff_kern_environment.c335 getenv_array(const char *name, void *pdata, int size, int *psize, in getenv_array() argument
431 ((uint8_t *)pdata)[n] = (uint8_t)value; in getenv_array()
441 ((uint16_t *)pdata)[n] = (uint16_t)value; in getenv_array()
451 ((uint32_t *)pdata)[n] = (uint32_t)value; in getenv_array()
454 ((uint64_t *)pdata)[n] = (uint64_t)value; in getenv_array()
/f-stack/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_flow.c991 uint32_t *pdata = NULL; in ipn3ke_flow_hw_update() local
998 pdata = (uint32_t *)flow->rule.key; in ipn3ke_flow_hw_update()
1008 pdata = (uint32_t *)flow->rule.result; in ipn3ke_flow_hw_update()
1015 IPN3KE_AFU_PMD_DEBUG(" %02x", pdata[i]); in ipn3ke_flow_hw_update()
1018 pdata = (uint32_t *)flow->rule.key; in ipn3ke_flow_hw_update()
1023 ipn3ke_swap32(pdata[3]), in ipn3ke_flow_hw_update()
1029 ipn3ke_swap32(pdata[2]), in ipn3ke_flow_hw_update()
1035 ipn3ke_swap32(pdata[1]), in ipn3ke_flow_hw_update()
1041 ipn3ke_swap32(pdata[0]), in ipn3ke_flow_hw_update()
1044 pdata = (uint32_t *)flow->rule.result; in ipn3ke_flow_hw_update()
[all …]

123