Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/net/ethernet/synopsys/
H A 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 …]
H A 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 …]
H 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()
H 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()
H 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()
/openbmc/qemu/hw/display/
H A Dvirtio-vga.c16 g->hw_ops->invalidate(g); in virtio_vga_base_invalidate_display()
18 vvga->vga.hw_ops->invalidate(&vvga->vga); in virtio_vga_base_invalidate_display()
28 g->hw_ops->gfx_update(g); in virtio_vga_base_update_display()
30 vvga->vga.hw_ops->gfx_update(&vvga->vga); in virtio_vga_base_update_display()
40 if (g->hw_ops->text_update) { in virtio_vga_base_text_update()
41 g->hw_ops->text_update(g, chardata); in virtio_vga_base_text_update()
44 if (vvga->vga.hw_ops->text_update) { in virtio_vga_base_text_update()
45 vvga->vga.hw_ops->text_update(&vvga->vga, chardata); in virtio_vga_base_text_update()
55 if (g->hw_ops->ui_info) { in virtio_vga_base_ui_info()
56 g->hw_ops->ui_info(g, idx, info); in virtio_vga_base_ui_info()
[all …]
H A Dcirrus_vga_isa.c66 s->con = graphic_console_init(dev, 0, s->hw_ops, s); in isa_cirrus_vga_realizefn()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_cn9k_pf.c545 oct->hw_ops.setup_iq_regs(oct, i); in octep_reinit_regs_cn93_pf()
548 oct->hw_ops.setup_oq_regs(oct, i); in octep_reinit_regs_cn93_pf()
550 oct->hw_ops.enable_interrupts(oct); in octep_reinit_regs_cn93_pf()
551 oct->hw_ops.enable_io_queues(oct); in octep_reinit_regs_cn93_pf()
721 oct->hw_ops.setup_iq_regs = octep_setup_iq_regs_cn93_pf; in octep_device_setup_cn93_pf()
722 oct->hw_ops.setup_oq_regs = octep_setup_oq_regs_cn93_pf; in octep_device_setup_cn93_pf()
723 oct->hw_ops.setup_mbox_regs = octep_setup_mbox_regs_cn93_pf; in octep_device_setup_cn93_pf()
725 oct->hw_ops.non_ioq_intr_handler = octep_non_ioq_intr_handler_cn93_pf; in octep_device_setup_cn93_pf()
726 oct->hw_ops.ioq_intr_handler = octep_ioq_intr_handler_cn93_pf; in octep_device_setup_cn93_pf()
727 oct->hw_ops.soft_reset = octep_soft_reset_cn93_pf; in octep_device_setup_cn93_pf()
[all …]
H 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()
567 oct->hw_ops.disable_interrupts(oct); in octep_stop()
574 oct->hw_ops.disable_io_queues(oct); in octep_stop()
575 oct->hw_ops.reset_io_queues(oct); in octep_stop()
888 oct->hw_ops.poll_non_ioq_interrupts(oct); in octep_intr_poll_task()
1044 oct->hw_ops.soft_reset(oct); in octep_device_cleanup()
/openbmc/linux/sound/i2c/
H 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()
/openbmc/linux/drivers/net/wireless/ath/ath12k/
H A Dhw.h148 const struct ath12k_hw_ops *hw_ops; member
204 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath12k_hw_get_mac_from_pdev_id()
205 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
213 if (hw->hw_ops->mac_id_to_pdev_id) in ath12k_hw_mac_id_to_pdev_id()
214 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath12k_hw_mac_id_to_pdev_id()
222 if (hw->hw_ops->mac_id_to_srng_id) in ath12k_hw_mac_id_to_srng_id()
223 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath12k_hw_mac_id_to_srng_id()
/openbmc/linux/drivers/clk/ti/
H 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()
/openbmc/linux/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_ras.c996 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
997 adev->umc.ras->ras_block.hw_ops->query_ras_error_count) in amdgpu_ras_get_ecc_info()
998 adev->umc.ras->ras_block.hw_ops->query_ras_error_count(adev, err_data); in amdgpu_ras_get_ecc_info()
1003 if (adev->umc.ras && adev->umc.ras->ras_block.hw_ops && in amdgpu_ras_get_ecc_info()
1004 adev->umc.ras->ras_block.hw_ops->query_ras_error_address) in amdgpu_ras_get_ecc_info()
1005 adev->umc.ras->ras_block.hw_ops->query_ras_error_address(adev, err_data); in amdgpu_ras_get_ecc_info()
1035 if (!block_obj || !block_obj->hw_ops) { in amdgpu_ras_query_error_status()
1041 if (block_obj->hw_ops->query_ras_error_count) in amdgpu_ras_query_error_status()
1042 block_obj->hw_ops->query_ras_error_count(adev, &err_data); in amdgpu_ras_query_error_status()
1047 if (block_obj->hw_ops->query_ras_error_status) in amdgpu_ras_query_error_status()
[all …]
H 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()
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhw.h151 const struct ath11k_hw_ops *hw_ops; member
300 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath11k_hw_get_mac_from_pdev_id()
301 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath11k_hw_get_mac_from_pdev_id()
309 if (hw->hw_ops->mac_id_to_pdev_id) in ath11k_hw_mac_id_to_pdev_id()
310 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath11k_hw_mac_id_to_pdev_id()
318 if (hw->hw_ops->mac_id_to_srng_id) in ath11k_hw_mac_id_to_srng_id()
319 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath11k_hw_mac_id_to_srng_id()
/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c392 const struct lsdc_crtc_hw_ops *ops = lcrtc->hw_ops; in lsdc_crtc_reset()
444 return lcrtc->hw_ops->get_vblank_counter(lcrtc); in lsdc_crtc_get_vblank_counter()
454 lcrtc->hw_ops->enable_vblank(lcrtc); in lsdc_crtc_enable_vblank()
466 lcrtc->hw_ops->disable_vblank(lcrtc); in lsdc_crtc_disable_vblank()
553 lcrtc->hw_ops->get_scan_pos(lcrtc, &x, &y); in lsdc_crtc_show_scan_position()
564 if (lcrtc->hw_ops->get_vblank_counter) in lsdc_crtc_show_vblank_counter()
566 lcrtc->hw_ops->get_vblank_counter(lcrtc)); in lsdc_crtc_show_vblank_counter()
638 const struct lsdc_crtc_hw_ops *ops = lcrtc->hw_ops; in lsdc_crtc_man_op_write()
807 const struct lsdc_crtc_hw_ops *crtc_hw_ops = lcrtc->hw_ops; in lsdc_crtc_mode_set_nofb()
863 lcrtc->hw_ops->enable(lcrtc); in lsdc_crtc_atomic_enable()
[all …]
/openbmc/linux/drivers/soundwire/
H A Dintel.h31 const struct sdw_intel_hw_ops *hw_ops; member
96 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
97 (sdw)->link_res->hw_ops->cb)
98 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
H A Dintel_auxdevice.c82 return sdw->link_res->hw_ops->pre_bank_switch(sdw); in generic_pre_bank_switch()
90 return sdw->link_res->hw_ops->post_bank_switch(sdw); in generic_post_bank_switch()
118 if (sdw->link_res->hw_ops->program_sdi && wake_capable) in generic_new_peripheral_assigned()
119 sdw->link_res->hw_ops->program_sdi(sdw, dev_num); in generic_new_peripheral_assigned()
/openbmc/qemu/ui/
H A Dconsole.c142 if (con->hw_ops->gfx_update) { in graphic_hw_update()
143 con->hw_ops->gfx_update(con->hw); in graphic_hw_update()
144 async = con->hw_ops->gfx_update_async; in graphic_hw_update()
183 if (!con->hw_ops->gl_block) { in graphic_hw_gl_block()
189 con->hw_ops->gl_block(con->hw, block); in graphic_hw_gl_block()
212 if (con && con->hw_ops->invalidate) { in graphic_hw_invalidate()
213 con->hw_ops->invalidate(con->hw); in graphic_hw_invalidate()
219 if (con && con->hw_ops->text_update) { in graphic_hw_text_update()
220 con->hw_ops->text_update(con->hw, chardata); in graphic_hw_text_update()
575 flags = con->hw_ops->get_flags ? con->hw_ops->get_flags(con->hw) : 0; in console_compatible_with()
[all …]
H A Dconsole-priv.h31 const GraphicHwOps *hw_ops; member
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H 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()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dcore.c83 .hw_ops = &qca988x_ops,
123 .hw_ops = &qca988x_ops,
164 .hw_ops = &qca988x_ops,
204 .hw_ops = &qca6174_sdio_ops,
240 .hw_ops = &qca988x_ops,
280 .hw_ops = &qca988x_ops,
320 .hw_ops = &qca988x_ops,
361 .hw_ops = &qca6174_ops,
410 .hw_ops = &qca99x0_ops,
459 .hw_ops = &qca99x0_ops,
[all …]
H A Dhw.h572 const struct ath10k_hw_ops *hw_ops; member
670 if (hw->hw_ops->tx_data_rssi_pad_bytes) in ath10k_tx_data_rssi_get_pad_bytes()
671 return hw->hw_ops->tx_data_rssi_pad_bytes(htt); in ath10k_tx_data_rssi_get_pad_bytes()
679 if (hw->hw_ops->is_rssi_enable) in ath10k_is_rssi_enable()
680 return hw->hw_ops->is_rssi_enable(resp); in ath10k_is_rssi_enable()

12345