Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-net.c55 pdata->hw_ops.tx_start_xmit(channel, ring); in xlgmac_maybe_stop_tx_queue()
209 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_enable_rx_tx_ints() local
225 hw_ops->enable_int(channel, int_id); in xlgmac_enable_rx_tx_ints()
231 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_disable_rx_tx_ints() local
247 hw_ops->disable_int(channel, int_id); in xlgmac_disable_rx_tx_ints()
256 struct xlgmac_hw_ops *hw_ops; in xlgmac_isr() local
259 hw_ops = &pdata->hw_ops; in xlgmac_isr()
333 hw_ops->tx_mmc_int(pdata); in xlgmac_isr()
337 hw_ops->rx_mmc_int(pdata); in xlgmac_isr()
562 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_start() local
[all …]
Ddwc-xlgmac-hw.c3065 void xlgmac_init_hw_ops(struct xlgmac_hw_ops *hw_ops) in xlgmac_init_hw_ops() argument
3067 hw_ops->init = xlgmac_hw_init; in xlgmac_init_hw_ops()
3068 hw_ops->exit = xlgmac_hw_exit; in xlgmac_init_hw_ops()
3070 hw_ops->tx_complete = xlgmac_tx_complete; 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()
[all …]
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()
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()
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.1.9/drivers/media/platform/ti/davinci/
Dvpss.c113 struct vpss_hw_ops hw_ops; member
170 if (!oper_cfg.hw_ops.dma_complete_interrupt) in vpss_dma_complete_interrupt()
172 return oper_cfg.hw_ops.dma_complete_interrupt(); in vpss_dma_complete_interrupt()
178 if (!oper_cfg.hw_ops.select_ccdc_source) in vpss_select_ccdc_source()
181 oper_cfg.hw_ops.select_ccdc_source(src_sel); in vpss_select_ccdc_source()
203 if (!oper_cfg.hw_ops.set_sync_pol) in vpss_set_sync_pol()
206 oper_cfg.hw_ops.set_sync_pol(sync); in vpss_set_sync_pol()
212 if (!oper_cfg.hw_ops.clear_wbl_overflow) in vpss_clear_wbl_overflow()
215 return oper_cfg.hw_ops.clear_wbl_overflow(wbl_sel); in vpss_clear_wbl_overflow()
356 if (!oper_cfg.hw_ops.enable_clock) in vpss_enable_clock()
[all …]
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h521 struct qlcnic_hardware_ops *hw_ops; member
1545 (adapter->ahw->hw_ops->read_reg)(adapter, off, err)
1548 adapter->ahw->hw_ops->write_reg(adapter, off, val)
1854 return adapter->ahw->hw_ops->encap_rx_offload(adapter); in qlcnic_encap_rx_offload()
1859 return adapter->ahw->hw_ops->encap_tx_offload(adapter); in qlcnic_encap_tx_offload()
1870 adapter->ahw->hw_ops->read_crb(adapter, buf, offset, size); in qlcnic_read_crb()
1876 adapter->ahw->hw_ops->write_crb(adapter, buf, offset, size); in qlcnic_write_crb()
1882 return adapter->ahw->hw_ops->get_mac_address(adapter, mac, function); in qlcnic_get_mac_address()
1887 return adapter->ahw->hw_ops->setup_intr(adapter); in qlcnic_setup_intr()
1893 return adapter->ahw->hw_ops->alloc_mbx_args(mbx, adapter, arg); in qlcnic_alloc_mbx_args()
[all …]
/linux-6.1.9/drivers/staging/media/deprecated/vpfe_capture/
Dvpfe_capture.c171 if (!dev->hw_ops.open || in vpfe_register_ccdc_device()
172 !dev->hw_ops.enable || in vpfe_register_ccdc_device()
173 !dev->hw_ops.set_hw_if_params || in vpfe_register_ccdc_device()
174 !dev->hw_ops.configure || in vpfe_register_ccdc_device()
175 !dev->hw_ops.set_buftype || in vpfe_register_ccdc_device()
176 !dev->hw_ops.get_buftype || in vpfe_register_ccdc_device()
177 !dev->hw_ops.enum_pix || in vpfe_register_ccdc_device()
178 !dev->hw_ops.set_frame_format || in vpfe_register_ccdc_device()
179 !dev->hw_ops.get_frame_format || in vpfe_register_ccdc_device()
180 !dev->hw_ops.get_pixel_format || in vpfe_register_ccdc_device()
[all …]
Dccdc_hw_device.h72 struct ccdc_hw_ops hw_ops; member
/linux-6.1.9/sound/i2c/
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.1.9/drivers/net/ethernet/marvell/octeon_ep/
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()
705 oct->hw_ops.setup_oq_regs = octep_setup_oq_regs_cn93_pf; in octep_device_setup_cn93_pf()
706 oct->hw_ops.setup_mbox_regs = octep_setup_mbox_regs_cn93_pf; in octep_device_setup_cn93_pf()
708 oct->hw_ops.non_ioq_intr_handler = octep_non_ioq_intr_handler_cn93_pf; in octep_device_setup_cn93_pf()
709 oct->hw_ops.ioq_intr_handler = octep_ioq_intr_handler_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()
[all …]
Doctep_main.c168 return oct->hw_ops.non_ioq_intr_handler(oct); in octep_non_ioq_intr_handler()
185 return oct->hw_ops.ioq_intr_handler(ioq_vector); in octep_ioq_intr_handler()
489 oct->hw_ops.reset_io_queues(oct); in octep_open()
516 oct->hw_ops.enable_io_queues(oct); in octep_open()
519 oct->hw_ops.enable_interrupts(oct); in octep_open()
564 oct->hw_ops.disable_interrupts(oct); in octep_stop()
571 oct->hw_ops.disable_io_queues(oct); in octep_stop()
572 oct->hw_ops.reset_io_queues(oct); in octep_stop()
996 oct->hw_ops.soft_reset(oct); in octep_device_cleanup()
Doctep_tx.c46 iq->octep_read_index = oct->hw_ops.update_iq_read_idx(iq); in octep_iq_process_completions()
241 oct->hw_ops.setup_iq_regs(oct, q_no); in octep_setup_iq()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_umc.c38 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_umc_do_page_retirement()
39 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_umc_do_page_retirement()
40 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, ras_error_status); in amdgpu_umc_do_page_retirement()
42 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_umc_do_page_retirement()
43 adev->umc.ras->ras_block.hw_ops->query_ras_error_address && in amdgpu_umc_do_page_retirement()
59 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, ras_error_status); in amdgpu_umc_do_page_retirement()
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,
Damdgpu_ras.c946 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
947 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_ras_get_ecc_info()
948 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_get_ecc_info()
953 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
954 adev->umc.ras->ras_block.hw_ops->query_ras_error_address) in amdgpu_ras_get_ecc_info()
955 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, err_data); in amdgpu_ras_get_ecc_info()
982 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status()
988 if (block_obj->hw_ops->query_ras_error_count) in amdgpu_ras_query_error_status()
989 block_obj->hw_ops->query_ras_error_count(adev, &err_data); in amdgpu_ras_query_error_status()
994 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_query_error_status()
[all …]
/linux-6.1.9/drivers/clk/ti/
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.1.9/drivers/net/wireless/ath/ath11k/
Dhw.h148 const struct ath11k_hw_ops *hw_ops; member
287 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath11k_hw_get_mac_from_pdev_id()
288 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
296 if (hw->hw_ops->mac_id_to_pdev_id) in ath11k_hw_mac_id_to_pdev_id()
297 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id()
305 if (hw->hw_ops->mac_id_to_srng_id) in ath11k_hw_mac_id_to_srng_id()
306 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
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()
63 return ab->hw_params.hw_ops->rx_desc_get_mpdu_seq_ctl_vld(desc); in ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid()
69 return ab->hw_params.hw_ops->rx_desc_get_mpdu_fc_valid(desc); in ath11k_dp_rx_h_mpdu_start_fc_valid()
93 return ab->hw_params.hw_ops->rx_desc_get_mpdu_start_seq_no(desc); in ath11k_dp_rx_h_mpdu_start_seq_no()
99 return ab->hw_params.hw_ops->rx_desc_get_attention(desc); in ath11k_dp_rx_get_attention()
[all …]
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
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.1.9/drivers/net/wireless/ath/ath10k/
Dcore.c82 .hw_ops = &qca988x_ops,
122 .hw_ops = &qca988x_ops,
163 .hw_ops = &qca988x_ops,
203 .hw_ops = &qca6174_sdio_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,
[all …]
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.1.9/include/sound/
Di2c.h52 } hw_ops; /* lowlevel operations */ member
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/
DMakefile5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux-6.1.9/drivers/misc/mei/
Dinit.c362 const struct mei_hw_ops *hw_ops) in mei_device_init() argument
399 dev->ops = hw_ops; in mei_device_init()

123