Searched refs:hw_ops (Results 1 - 25 of 98) sorted by relevance

1234

/linux-master/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-net.c55 pdata->hw_ops.tx_start_xmit(channel, ring);
209 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
225 hw_ops->enable_int(channel, int_id);
231 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
247 hw_ops->disable_int(channel, int_id);
256 struct xlgmac_hw_ops *hw_ops; local
259 hw_ops = &pdata->hw_ops;
562 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
588 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
705 struct xlgmac_hw_ops *hw_ops; local
794 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
838 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
851 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
883 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
921 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
956 struct xlgmac_hw_ops *hw_ops; local
1042 struct xlgmac_hw_ops *hw_ops; local
1116 struct xlgmac_hw_ops *hw_ops; local
[all...]
H A Ddwc-xlgmac-ethtool.c171 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
176 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs);
191 hw_ops->config_rx_coalesce(pdata);
194 hw_ops->config_tx_coalesce(pdata);
243 pdata->hw_ops.read_mmc_stats(pdata);
H A Ddwc-xlgmac-hw.c3065 void xlgmac_init_hw_ops(struct xlgmac_hw_ops *hw_ops) argument
3067 hw_ops->init = xlgmac_hw_init;
3068 hw_ops->exit = xlgmac_hw_exit;
3070 hw_ops->tx_complete = xlgmac_tx_complete;
3072 hw_ops->enable_tx = xlgmac_enable_tx;
3073 hw_ops->disable_tx = xlgmac_disable_tx;
3074 hw_ops->enable_rx = xlgmac_enable_rx;
3075 hw_ops->disable_rx = xlgmac_disable_rx;
3077 hw_ops->dev_xmit = xlgmac_dev_xmit;
3078 hw_ops
[all...]
H A Ddwc-xlgmac-desc.c423 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
454 hw_ops->tx_desc_init(channel);
460 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
493 hw_ops->rx_desc_init(channel);
H A Ddwc-xlgmac-common.c64 xlgmac_init_hw_ops(&pdata->hw_ops);
69 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; local
87 hw_ops->exit(pdata);
221 pdata->rx_riwt = hw_ops->usec_to_riwt(pdata, XLGMAC_INIT_DMA_RX_USECS);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dmca_v3_0.c61 .hw_ops = &mca_v3_0_mp0_hw_ops,
81 .hw_ops = &mca_v3_0_mp1_hw_ops,
101 .hw_ops = &mca_v3_0_mpio_hw_ops,
H A Damdgpu_umc.c104 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops &&
105 adev->umc.ras->ras_block.hw_ops->query_ras_error_count)
106 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, ras_error_status);
108 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops &&
109 adev->umc.ras->ras_block.hw_ops->query_ras_error_address &&
125 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, ras_error_status);
H A Damdgpu_ras.c1024 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops &&
1025 adev->umc.ras->ras_block.hw_ops->query_ras_error_count)
1026 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, err_data);
1031 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops &&
1032 adev->umc.ras->ras_block.hw_ops->query_ras_error_address)
1033 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, err_data);
1314 if (!block_obj || !block_obj->hw_ops) {
1320 if (block_obj->hw_ops->query_ras_error_count)
1321 block_obj->hw_ops->query_ras_error_count(adev, err_data);
1326 if (block_obj->hw_ops
[all...]
/linux-master/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_cn9k_pf.c656 oct->hw_ops.setup_iq_regs(oct, i);
659 oct->hw_ops.setup_oq_regs(oct, i);
661 oct->hw_ops.enable_interrupts(oct);
662 oct->hw_ops.enable_io_queues(oct);
850 oct->hw_ops.setup_iq_regs = octep_setup_iq_regs_cn93_pf;
851 oct->hw_ops.setup_oq_regs = octep_setup_oq_regs_cn93_pf;
852 oct->hw_ops.setup_mbox_regs = octep_setup_mbox_regs_cn93_pf;
854 oct->hw_ops.mbox_intr_handler = octep_pfvf_mbox_intr_handler_cn93_pf;
855 oct->hw_ops.oei_intr_handler = octep_oei_intr_handler_cn93_pf;
856 oct->hw_ops
[all...]
H A Doctep_cnxk_pf.c681 oct->hw_ops.setup_iq_regs(oct, i);
684 oct->hw_ops.setup_oq_regs(oct, i);
686 oct->hw_ops.enable_interrupts(oct);
687 oct->hw_ops.enable_io_queues(oct);
873 oct->hw_ops.setup_iq_regs = octep_setup_iq_regs_cnxk_pf;
874 oct->hw_ops.setup_oq_regs = octep_setup_oq_regs_cnxk_pf;
875 oct->hw_ops.setup_mbox_regs = octep_setup_mbox_regs_cnxk_pf;
877 oct->hw_ops.mbox_intr_handler = octep_pfvf_mbox_intr_handler_cnxk_pf;
878 oct->hw_ops.oei_intr_handler = octep_oei_intr_handler_cnxk_pf;
879 oct->hw_ops
[all...]
H A Doctep_main.c175 return oct->hw_ops.mbox_intr_handler(oct);
190 return oct->hw_ops.oei_intr_handler(oct);
205 return oct->hw_ops.ire_intr_handler(oct);
220 return oct->hw_ops.ore_intr_handler(oct);
235 return oct->hw_ops.vfire_intr_handler(oct);
250 return oct->hw_ops.vfore_intr_handler(oct);
265 return oct->hw_ops.dma_intr_handler(oct);
280 return oct->hw_ops.dma_vf_intr_handler(oct);
295 return oct->hw_ops.pp_vf_intr_handler(oct);
310 return oct->hw_ops
[all...]
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_cn9k.c296 oct->hw_ops.setup_iq_regs(oct, i);
299 oct->hw_ops.setup_oq_regs(oct, i);
301 oct->hw_ops.enable_interrupts(oct);
302 oct->hw_ops.enable_io_queues(oct);
466 oct->hw_ops.setup_iq_regs = octep_vf_setup_iq_regs_cn93;
467 oct->hw_ops.setup_oq_regs = octep_vf_setup_oq_regs_cn93;
468 oct->hw_ops.setup_mbox_regs = octep_vf_setup_mbox_regs_cn93;
470 oct->hw_ops.ioq_intr_handler = octep_vf_ioq_intr_handler_cn93;
471 oct->hw_ops.reinit_regs = octep_vf_reinit_regs_cn93;
473 oct->hw_ops
[all...]
H A Doctep_vf_cnxk.c307 oct->hw_ops.setup_iq_regs(oct, i);
310 oct->hw_ops.setup_oq_regs(oct, i);
312 oct->hw_ops.enable_interrupts(oct);
313 oct->hw_ops.enable_io_queues(oct);
477 oct->hw_ops.setup_iq_regs = octep_vf_setup_iq_regs_cnxk;
478 oct->hw_ops.setup_oq_regs = octep_vf_setup_oq_regs_cnxk;
479 oct->hw_ops.setup_mbox_regs = octep_vf_setup_mbox_regs_cnxk;
481 oct->hw_ops.ioq_intr_handler = octep_vf_ioq_intr_handler_cnxk;
482 oct->hw_ops.reinit_regs = octep_vf_reinit_regs_cnxk;
484 oct->hw_ops
[all...]
H A Doctep_vf_main.c176 return oct->hw_ops.ioq_intr_handler(ioq_vector);
462 oct->hw_ops.reset_io_queues(oct);
489 oct->hw_ops.enable_io_queues(oct);
492 oct->hw_ops.enable_interrupts(oct);
538 oct->hw_ops.disable_interrupts(oct);
545 oct->hw_ops.disable_io_queues(oct);
546 oct->hw_ops.reset_io_queues(oct);
/linux-master/sound/i2c/
H A Di2c.c159 if (bus->hw_ops.bit->start)
160 bus->hw_ops.bit->start(bus);
165 if (bus->hw_ops.bit->stop)
166 bus->hw_ops.bit->stop(bus);
171 if (bus->hw_ops.bit->direction)
172 bus->hw_ops.bit->direction(bus, clock, data);
177 bus->hw_ops.bit->setlines(bus, clock, data);
183 if (bus->hw_ops.bit->getclock)
184 return bus->hw_ops.bit->getclock(bus);
191 return bus->hw_ops
[all...]
/linux-master/drivers/net/wireless/ath/ath12k/
H A Dhw.h161 const struct ath12k_hw_ops *hw_ops; member in struct:ath12k_hw_params
229 if (hw->hw_ops->get_hw_mac_from_pdev_id)
230 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx);
238 if (hw->hw_ops->mac_id_to_pdev_id)
239 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id);
247 if (hw->hw_ops->mac_id_to_srng_id)
248 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id);
/linux-master/drivers/soundwire/
H A Dintel.h12 * @hw_ops: platform-specific ops
31 const struct sdw_intel_hw_ops *hw_ops; member in struct:sdw_intel_link_res
94 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
95 (sdw)->link_res->hw_ops->cb)
96 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
/linux-master/drivers/clk/ti/
H A Dgate.c92 const struct clk_hw_omap_ops *hw_ops)
109 clk_hw->ops = hw_ops;
128 const struct clk_hw_omap_ops *hw_ops)
160 enable_bit, clk_gate_flags, ops, hw_ops);
168 const struct clk_hw_omap_ops *hw_ops)
180 gate->ops = hw_ops;
88 _register_gate(struct device_node *node, const char *name, const char *parent_name, unsigned long flags, struct clk_omap_reg *reg, u8 bit_idx, u8 clk_gate_flags, const struct clk_ops *ops, const struct clk_hw_omap_ops *hw_ops) argument
126 _of_ti_gate_clk_setup(struct device_node *node, const struct clk_ops *ops, const struct clk_hw_omap_ops *hw_ops) argument
167 _of_ti_composite_gate_clk_setup(struct device_node *node, const struct clk_hw_omap_ops *hw_ops) argument
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic.h521 struct qlcnic_hardware_ops *hw_ops; member in struct:qlcnic_hardware_context
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);
1859 return adapter->ahw->hw_ops->encap_tx_offload(adapter);
1870 adapter->ahw->hw_ops->read_crb(adapter, buf, offset, size);
1876 adapter->ahw->hw_ops->write_crb(adapter, buf, offset, size);
1882 return adapter->ahw->hw_ops->get_mac_address(adapter, mac, function);
1887 return adapter->ahw->hw_ops->setup_intr(adapter);
1893 return adapter->ahw->hw_ops
[all...]
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dhw.h151 const struct ath11k_hw_ops *hw_ops; member in struct:ath11k_hw_params
301 if (hw->hw_ops->get_hw_mac_from_pdev_id)
302 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx);
310 if (hw->hw_ops->mac_id_to_pdev_id)
311 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id);
319 if (hw->hw_ops->mac_id_to_srng_id)
320 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id);
H A Dhal_tx.c80 ab->hw_params.hw_ops->tx_mesh_enable(ab, tcl_cmd);
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c392 const struct lsdc_crtc_hw_ops *ops = lcrtc->hw_ops;
444 return lcrtc->hw_ops->get_vblank_counter(lcrtc);
454 lcrtc->hw_ops->enable_vblank(lcrtc);
466 lcrtc->hw_ops->disable_vblank(lcrtc);
553 lcrtc->hw_ops->get_scan_pos(lcrtc, &x, &y);
564 if (lcrtc->hw_ops->get_vblank_counter)
566 lcrtc->hw_ops->get_vblank_counter(lcrtc));
638 const struct lsdc_crtc_hw_ops *ops = lcrtc->hw_ops;
807 const struct lsdc_crtc_hw_ops *crtc_hw_ops = lcrtc->hw_ops;
863 lcrtc->hw_ops
[all...]
/linux-master/arch/powerpc/platforms/cell/spufs/
H A DMakefile5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux-master/include/sound/
H A Di2c.h52 } hw_ops; /* lowlevel operations */ member in struct:snd_i2c_bus
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.c594 const struct aq_hw_ops *hw_ops; local
597 hw_ops = aq_nic->aq_hw_ops;
601 if (hw_ops->hw_filter_l3l4_set) {
602 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw,
605 if (!err && hw_ops->hw_filter_l2_set) {
606 err = hw_ops->hw_filter_l2_set(aq_nic->aq_hw,
612 if (hw_ops->hw_filter_l3l4_set) {
613 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw,
616 if (!err && hw_ops->hw_filter_l2_clear) {
617 err = hw_ops
[all...]

Completed in 418 milliseconds

1234