Home
last modified time | relevance | path

Searched refs:hw_ops (Results 1 – 25 of 80) sorted by relevance

1234

/linux-6.3-rc2/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-net.c209 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_enable_rx_tx_ints() local
231 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_disable_rx_tx_ints() local
259 hw_ops = &pdata->hw_ops; in xlgmac_isr()
562 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_start() local
588 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_stop() local
711 hw_ops = &pdata->hw_ops; in xlgmac_xmit()
794 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_set_mac_address() local
838 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_vlan_rx_add_vid() local
959 hw_ops = &pdata->hw_ops; in xlgmac_rx_refresh()
1048 hw_ops = &pdata->hw_ops; in xlgmac_tx_poll()
[all …]
A Ddwc-xlgmac-hw.c3067 hw_ops->init = xlgmac_hw_init; in xlgmac_init_hw_ops()
3068 hw_ops->exit = xlgmac_hw_exit; in xlgmac_init_hw_ops()
3072 hw_ops->enable_tx = xlgmac_enable_tx; in xlgmac_init_hw_ops()
3073 hw_ops->disable_tx = xlgmac_disable_tx; in xlgmac_init_hw_ops()
3074 hw_ops->enable_rx = xlgmac_enable_rx; in xlgmac_init_hw_ops()
3075 hw_ops->disable_rx = xlgmac_disable_rx; in xlgmac_init_hw_ops()
3077 hw_ops->dev_xmit = xlgmac_dev_xmit; in xlgmac_init_hw_ops()
3078 hw_ops->dev_read = xlgmac_dev_read; in xlgmac_init_hw_ops()
3079 hw_ops->enable_int = xlgmac_enable_int; in xlgmac_init_hw_ops()
3138 hw_ops->tx_mmc_int = xlgmac_tx_mmc_int; in xlgmac_init_hw_ops()
[all …]
A Ddwc-xlgmac-ethtool.c171 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_ethtool_set_coalesce() local
176 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs); in xlgmac_ethtool_set_coalesce()
191 hw_ops->config_rx_coalesce(pdata); in xlgmac_ethtool_set_coalesce()
194 hw_ops->config_tx_coalesce(pdata); in xlgmac_ethtool_set_coalesce()
243 pdata->hw_ops.read_mmc_stats(pdata); in xlgmac_ethtool_get_ethtool_stats()
A Ddwc-xlgmac-desc.c423 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_tx_desc_init() local
454 hw_ops->tx_desc_init(channel); in xlgmac_tx_desc_init()
460 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_rx_desc_init() local
493 hw_ops->rx_desc_init(channel); in xlgmac_rx_desc_init()
A Ddwc-xlgmac-common.c64 xlgmac_init_hw_ops(&pdata->hw_ops); in xlgmac_init_all_ops()
69 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_init() local
87 hw_ops->exit(pdata); in xlgmac_init()
221 pdata->rx_riwt = hw_ops->usec_to_riwt(pdata, XLGMAC_INIT_DMA_RX_USECS); in xlgmac_init()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic.h521 struct qlcnic_hardware_ops *hw_ops; member
1899 if (adapter->ahw->hw_ops->mbx_cmd) in qlcnic_issue_cmd()
1907 adapter->ahw->hw_ops->get_func_no(adapter); in qlcnic_get_func_no()
1917 adapter->ahw->hw_ops->api_unlock(adapter); in qlcnic_api_unlock()
1922 if (adapter->ahw->hw_ops->add_sysfs) in qlcnic_add_sysfs()
1923 adapter->ahw->hw_ops->add_sysfs(adapter); in qlcnic_add_sysfs()
1928 if (adapter->ahw->hw_ops->remove_sysfs) in qlcnic_remove_sysfs()
2004 adapter->ahw->hw_ops->napi_enable(adapter); in qlcnic_napi_enable()
2235 if (adapter->ahw->hw_ops->enable_sds_intr) in qlcnic_enable_sds_intr()
2250 if (adapter->ahw->hw_ops->enable_tx_intr) in qlcnic_enable_tx_intr()
[all …]
/linux-6.3-rc2/sound/i2c/
A Di2c.c159 if (bus->hw_ops.bit->start) in snd_i2c_bit_hw_start()
160 bus->hw_ops.bit->start(bus); in snd_i2c_bit_hw_start()
165 if (bus->hw_ops.bit->stop) in snd_i2c_bit_hw_stop()
166 bus->hw_ops.bit->stop(bus); in snd_i2c_bit_hw_stop()
171 if (bus->hw_ops.bit->direction) in snd_i2c_bit_direction()
172 bus->hw_ops.bit->direction(bus, clock, data); in snd_i2c_bit_direction()
177 bus->hw_ops.bit->setlines(bus, clock, data); in snd_i2c_bit_set()
183 if (bus->hw_ops.bit->getclock)
184 return bus->hw_ops.bit->getclock(bus);
191 return bus->hw_ops.bit->getdata(bus, ack); in snd_i2c_bit_data()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_cn9k_pf.c528 oct->hw_ops.setup_iq_regs(oct, i); in octep_reinit_regs_cn93_pf()
531 oct->hw_ops.setup_oq_regs(oct, i); in octep_reinit_regs_cn93_pf()
533 oct->hw_ops.enable_interrupts(oct); in octep_reinit_regs_cn93_pf()
534 oct->hw_ops.enable_io_queues(oct); in octep_reinit_regs_cn93_pf()
704 oct->hw_ops.setup_iq_regs = octep_setup_iq_regs_cn93_pf; in octep_device_setup_cn93_pf()
710 oct->hw_ops.soft_reset = octep_soft_reset_cn93_pf; in octep_device_setup_cn93_pf()
711 oct->hw_ops.reinit_regs = octep_reinit_regs_cn93_pf; in octep_device_setup_cn93_pf()
718 oct->hw_ops.enable_iq = octep_enable_iq_cn93_pf; in octep_device_setup_cn93_pf()
719 oct->hw_ops.enable_oq = octep_enable_oq_cn93_pf; in octep_device_setup_cn93_pf()
722 oct->hw_ops.disable_iq = octep_disable_iq_cn93_pf; in octep_device_setup_cn93_pf()
[all …]
A Doctep_main.c169 return oct->hw_ops.non_ioq_intr_handler(oct); in octep_non_ioq_intr_handler()
186 return oct->hw_ops.ioq_intr_handler(ioq_vector); in octep_ioq_intr_handler()
490 oct->hw_ops.reset_io_queues(oct); in octep_open()
517 oct->hw_ops.enable_io_queues(oct); in octep_open()
520 oct->hw_ops.enable_interrupts(oct); in octep_open()
565 oct->hw_ops.disable_interrupts(oct); in octep_stop()
572 oct->hw_ops.disable_io_queues(oct); in octep_stop()
573 oct->hw_ops.reset_io_queues(oct); in octep_stop()
1010 oct->hw_ops.soft_reset(oct); in octep_device_cleanup()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dhw.h148 const struct ath12k_hw_ops *hw_ops; member
202 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath12k_hw_get_mac_from_pdev_id()
203 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
211 if (hw->hw_ops->mac_id_to_pdev_id) in ath12k_hw_mac_id_to_pdev_id()
212 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath12k_hw_mac_id_to_pdev_id()
220 if (hw->hw_ops->mac_id_to_srng_id) in ath12k_hw_mac_id_to_srng_id()
221 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath12k_hw_mac_id_to_srng_id()
/linux-6.3-rc2/drivers/clk/ti/
A Dgate.c92 const struct clk_hw_omap_ops *hw_ops) in _register_gate() argument
109 clk_hw->ops = hw_ops; in _register_gate()
128 const struct clk_hw_omap_ops *hw_ops) in _of_ti_gate_clk_setup() argument
162 enable_bit, clk_gate_flags, ops, hw_ops); in _of_ti_gate_clk_setup()
170 const struct clk_hw_omap_ops *hw_ops) in _of_ti_composite_gate_clk_setup() argument
185 gate->ops = hw_ops; in _of_ti_composite_gate_clk_setup()
/linux-6.3-rc2/drivers/soundwire/
A Dintel.h26 const struct sdw_intel_hw_ops *hw_ops; member
57 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
58 (sdw)->link_res->hw_ops->cb)
59 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
A Dintel_init.c64 link->hw_ops = res->hw_ops; in intel_link_dev_register()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_umc.c91 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_umc_do_page_retirement()
92 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_umc_do_page_retirement()
93 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, ras_error_status); in amdgpu_umc_do_page_retirement()
95 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_umc_do_page_retirement()
96 adev->umc.ras->ras_block.hw_ops->query_ras_error_address && in amdgpu_umc_do_page_retirement()
112 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, ras_error_status); in amdgpu_umc_do_page_retirement()
A Dmca_v3_0.c67 .hw_ops = &mca_v3_0_mp0_hw_ops,
93 .hw_ops = &mca_v3_0_mp1_hw_ops,
119 .hw_ops = &mca_v3_0_mpio_hw_ops,
A Damdgpu_ras.c989 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status()
1062 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_reset_error_status()
1068 if (block_obj->hw_ops->reset_ras_error_count) in amdgpu_ras_reset_error_status()
1104 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_inject()
1118 if (block_obj->hw_ops->ras_error_inject) in amdgpu_ras_error_inject()
1122 if (block_obj->hw_ops->ras_error_inject) in amdgpu_ras_error_inject()
1627 if (block_obj->hw_ops && block_obj->hw_ops->query_poison_status) { in amdgpu_ras_interrupt_poison_consumption_handler()
1641 if (block_obj->hw_ops && block_obj->hw_ops->handle_poison_consumption) in amdgpu_ras_interrupt_poison_consumption_handler()
1893 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_error_status_query()
2675 if (ras_obj->ras_cb || (ras_obj->hw_ops && in amdgpu_ras_block_late_init()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dhw.h150 const struct ath11k_hw_ops *hw_ops; member
299 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath11k_hw_get_mac_from_pdev_id()
300 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
308 if (hw->hw_ops->mac_id_to_pdev_id) in ath11k_hw_mac_id_to_pdev_id()
309 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id()
317 if (hw->hw_ops->mac_id_to_srng_id) in ath11k_hw_mac_id_to_srng_id()
318 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
A Dcore.c46 .hw_ops = &ipq8074_ops,
131 .hw_ops = &ipq6018_ops,
214 .hw_ops = &qca6390_ops,
300 .hw_ops = &qcn9074_ops,
381 .hw_ops = &wcn6855_ops,
466 .hw_ops = &wcn6855_ops,
549 .hw_ops = &wcn6750_ops,
645 .hw_ops = &ipq5018_ops,
A Ddp_rx.c26 return ab->hw_params.hw_ops->rx_desc_get_hdr_status(desc); in ath11k_dp_rx_h_80211_hdr()
33 if (!ab->hw_params.hw_ops->rx_desc_encrypt_valid(desc)) in ath11k_dp_rx_h_mpdu_start_enctype()
36 return ab->hw_params.hw_ops->rx_desc_get_encrypt_type(desc); in ath11k_dp_rx_h_mpdu_start_enctype()
42 return ab->hw_params.hw_ops->rx_desc_get_decap_type(desc); in ath11k_dp_rx_h_msdu_start_decap_type()
49 return ab->hw_params.hw_ops->rx_desc_get_ldpc_support(desc); in ath11k_dp_rx_h_msdu_start_ldpc_support()
56 return ab->hw_params.hw_ops->rx_desc_get_mesh_ctl(desc); in ath11k_dp_rx_h_msdu_start_mesh_ctl_present()
99 return ab->hw_params.hw_ops->rx_desc_get_attention(desc); in ath11k_dp_rx_get_attention()
171 return ab->hw_params.hw_ops->rx_desc_get_msdu_len(desc); in ath11k_dp_rx_h_msdu_start_msdu_len()
177 return ab->hw_params.hw_ops->rx_desc_get_msdu_sgi(desc); in ath11k_dp_rx_h_msdu_start_sgi()
213 return ab->hw_params.hw_ops->rx_desc_get_mpdu_tid(desc); in ath11k_dp_rx_h_mpdu_start_tid()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_ptp.c594 const struct aq_hw_ops *hw_ops; in aq_ptp_hwtstamp_config_set() local
597 hw_ops = aq_nic->aq_hw_ops; in aq_ptp_hwtstamp_config_set()
601 if (hw_ops->hw_filter_l3l4_set) { in aq_ptp_hwtstamp_config_set()
602 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
605 if (!err && hw_ops->hw_filter_l2_set) { in aq_ptp_hwtstamp_config_set()
606 err = hw_ops->hw_filter_l2_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
612 if (hw_ops->hw_filter_l3l4_set) { in aq_ptp_hwtstamp_config_set()
613 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
616 if (!err && hw_ops->hw_filter_l2_clear) { in aq_ptp_hwtstamp_config_set()
617 err = hw_ops->hw_filter_l2_clear(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set()
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dcore.c82 .hw_ops = &qca988x_ops,
122 .hw_ops = &qca988x_ops,
163 .hw_ops = &qca988x_ops,
239 .hw_ops = &qca988x_ops,
279 .hw_ops = &qca988x_ops,
319 .hw_ops = &qca988x_ops,
360 .hw_ops = &qca6174_ops,
409 .hw_ops = &qca99x0_ops,
458 .hw_ops = &qca99x0_ops,
508 .hw_ops = &qca99x0_ops,
[all …]
A Dhw.h570 const struct ath10k_hw_ops *hw_ops; member
668 if (hw->hw_ops->tx_data_rssi_pad_bytes) in ath10k_tx_data_rssi_get_pad_bytes()
669 return hw->hw_ops->tx_data_rssi_pad_bytes(htt); in ath10k_tx_data_rssi_get_pad_bytes()
677 if (hw->hw_ops->is_rssi_enable) in ath10k_is_rssi_enable()
678 return hw->hw_ops->is_rssi_enable(resp); in ath10k_is_rssi_enable()
/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/
A DMakefile5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux-6.3-rc2/include/sound/
A Di2c.h52 } hw_ops; /* lowlevel operations */ member
/linux-6.3-rc2/drivers/misc/mei/
A Dinit.c362 const struct mei_hw_ops *hw_ops) in mei_device_init() argument
399 dev->ops = hw_ops; in mei_device_init()

Completed in 127 milliseconds

1234