Home
last modified time | relevance | path

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

123

/Linux-v5.4/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()
563 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.c166 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_ethtool_set_coalesce() local
185 rx_riwt = hw_ops->usec_to_riwt(pdata, rx_usecs); in xlgmac_ethtool_set_coalesce()
200 hw_ops->config_rx_coalesce(pdata); in xlgmac_ethtool_set_coalesce()
203 hw_ops->config_tx_coalesce(pdata); in xlgmac_ethtool_set_coalesce()
252 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-v5.4/drivers/media/platform/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 …]
Dvpfe_capture.c171 BUG_ON(!dev->hw_ops.open); in vpfe_register_ccdc_device()
172 BUG_ON(!dev->hw_ops.enable); in vpfe_register_ccdc_device()
173 BUG_ON(!dev->hw_ops.set_hw_if_params); in vpfe_register_ccdc_device()
174 BUG_ON(!dev->hw_ops.configure); in vpfe_register_ccdc_device()
175 BUG_ON(!dev->hw_ops.set_buftype); in vpfe_register_ccdc_device()
176 BUG_ON(!dev->hw_ops.get_buftype); in vpfe_register_ccdc_device()
177 BUG_ON(!dev->hw_ops.enum_pix); in vpfe_register_ccdc_device()
178 BUG_ON(!dev->hw_ops.set_frame_format); in vpfe_register_ccdc_device()
179 BUG_ON(!dev->hw_ops.get_frame_format); in vpfe_register_ccdc_device()
180 BUG_ON(!dev->hw_ops.get_pixel_format); in vpfe_register_ccdc_device()
[all …]
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h522 struct qlcnic_hardware_ops *hw_ops; member
1551 (adapter->ahw->hw_ops->read_reg)(adapter, off, err)
1554 adapter->ahw->hw_ops->write_reg(adapter, off, val)
1858 return adapter->ahw->hw_ops->encap_rx_offload(adapter); in qlcnic_encap_rx_offload()
1863 return adapter->ahw->hw_ops->encap_tx_offload(adapter); in qlcnic_encap_tx_offload()
1874 adapter->ahw->hw_ops->read_crb(adapter, buf, offset, size); in qlcnic_read_crb()
1880 adapter->ahw->hw_ops->write_crb(adapter, buf, offset, size); in qlcnic_write_crb()
1886 return adapter->ahw->hw_ops->write_reg(adapter, off, data); in qlcnic_hw_write_wx_2M()
1892 return adapter->ahw->hw_ops->get_mac_address(adapter, mac, function); in qlcnic_get_mac_address()
1897 return adapter->ahw->hw_ops->setup_intr(adapter); in qlcnic_setup_intr()
[all …]
/Linux-v5.4/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-v5.4/drivers/misc/mic/cosm/
Dcosm_main.c35 if (force && cdev->hw_ops->force_reset) in cosm_hw_reset()
36 cdev->hw_ops->force_reset(cdev); in cosm_hw_reset()
38 cdev->hw_ops->reset(cdev); in cosm_hw_reset()
41 if (cdev->hw_ops->ready(cdev)) { in cosm_hw_reset()
82 if (!cdev->hw_ops->ready(cdev)) { in cosm_start()
105 rc = cdev->hw_ops->start(cdev, cdev->index); in cosm_start()
153 cdev->hw_ops->stop(cdev, force); in cosm_stop()
156 if (call_hw_ops && cdev->hw_ops->post_reset) in cosm_stop()
157 cdev->hw_ops->post_reset(cdev, cdev->state); in cosm_stop()
Dcosm_debugfs.c51 log_buf_len_va = cdev->hw_ops->aper(cdev)->va + aper_offset; in log_buf_show()
53 log_buf_va = cdev->hw_ops->aper(cdev)->va + aper_offset; in log_buf_show()
/Linux-v5.4/drivers/misc/mic/vop/
Dvop_main.c196 vpdev->hw_ops->send_intr(vpdev, vdev->c2h_vdev_db); in vop_set_status()
209 vpdev->hw_ops->send_intr(vpdev, vdev->c2h_vdev_db); in vop_reset_inform_host()
243 vpdev->hw_ops->send_intr(vpdev, vdev->c2h_vdev_db); in vop_notify()
257 vpdev->hw_ops->unmap(vpdev, vdev->vr[n]); in vop_del_vq()
325 va = vpdev->hw_ops->remap(vpdev, le64_to_cpu(config.address), vr_size); in vop_find_vq()
379 vpdev->hw_ops->unmap(vpdev, vdev->vr[index]); in vop_find_vq()
419 vpdev->hw_ops->send_intr(vpdev, vdev->c2h_vdev_db); in vop_find_vqs()
459 vpdev->hw_ops->ack_interrupt(vpdev, vdev->h2c_vdev_db); in vop_virtio_intr_handler()
503 vdev->h2c_vdev_db = vpdev->hw_ops->next_db(vpdev); in _vop_add_device()
504 vdev->virtio_cookie = vpdev->hw_ops->request_irq(vpdev, in _vop_add_device()
[all …]
Dvop_vringh.c53 vpdev->hw_ops->send_intr(vpdev, db); in _vop_notify()
71 (void __force *)vpdev->hw_ops->remap( in vop_virtio_init_post()
148 vpdev->hw_ops->ack_interrupt(vpdev, vdev->virtio_db); in _vop_virtio_intr_handler()
159 struct mic_bootparam *bootparam = vpdev->hw_ops->get_dp(vpdev); in vop_virtio_config_change()
173 vpdev->hw_ops->send_intr(vpdev, db); in vop_virtio_config_change()
217 devp = vpdev->hw_ops->get_dp(vpdev) + i; in vop_copy_dp_entry()
274 bootparam = vpdev->hw_ops->get_dp(vpdev); in vop_virtio_add_device()
351 vdev->virtio_db = vpdev->hw_ops->next_db(vpdev); in vop_virtio_add_device()
352 vdev->virtio_cookie = vpdev->hw_ops->request_irq(vpdev, in vop_virtio_add_device()
376 vpdev->hw_ops->send_intr(vpdev, db); in vop_virtio_add_device()
[all …]
/Linux-v5.4/drivers/clk/ti/
Dgate.c100 const struct clk_hw_omap_ops *hw_ops) in _register_gate() argument
117 clk_hw->ops = hw_ops; in _register_gate()
136 const struct clk_hw_omap_ops *hw_ops) in _of_ti_gate_clk_setup() argument
168 enable_bit, clk_gate_flags, ops, hw_ops); in _of_ti_gate_clk_setup()
176 const struct clk_hw_omap_ops *hw_ops) in _of_ti_composite_gate_clk_setup() argument
191 gate->ops = hw_ops; in _of_ti_composite_gate_clk_setup()
/Linux-v5.4/drivers/misc/mic/bus/
Dcosm_bus.c61 cosm_register_device(struct device *pdev, struct cosm_hw_ops *hw_ops) in cosm_register_device() argument
72 cdev->hw_ops = hw_ops; in cosm_register_device()
Dcosm_bus.h61 struct cosm_hw_ops *hw_ops; member
110 cosm_register_device(struct device *pdev, struct cosm_hw_ops *hw_ops);
Dvop_bus.h44 struct vop_hw_ops *hw_ops; member
104 struct vop_hw_ops *hw_ops, u8 dnode, struct mic_mw *aper,
Dscif_bus.h45 struct scif_hw_ops *hw_ops; member
109 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode,
Dmic_bus.c136 struct mbus_hw_ops *hw_ops, int index, in mbus_register_device() argument
154 mbdev->hw_ops = hw_ops; in mbus_register_device()
Dvop_bus.c135 struct vop_hw_ops *hw_ops, u8 dnode, struct mic_mw *aper, in vop_register_device() argument
152 vdev->hw_ops = hw_ops; in vop_register_device()
Dscif_bus.c134 struct scif_hw_ops *hw_ops, u8 dnode, u8 snode, in scif_register_device() argument
151 sdev->hw_ops = hw_ops; in scif_register_device()
/Linux-v5.4/include/linux/
Dmic_bus.h41 struct mbus_hw_ops *hw_ops; member
83 struct mbus_hw_ops *hw_ops, int index,
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dhw.h562 const struct ath10k_hw_ops *hw_ops; member
648 if (hw->hw_ops->rx_desc_get_l3_pad_bytes) in ath10k_rx_desc_get_l3_pad_bytes()
649 return hw->hw_ops->rx_desc_get_l3_pad_bytes(rxd); in ath10k_rx_desc_get_l3_pad_bytes()
657 if (hw->hw_ops->rx_desc_get_msdu_limit_error) in ath10k_rx_desc_msdu_limit_error()
658 return hw->hw_ops->rx_desc_get_msdu_limit_error(rxd); in ath10k_rx_desc_msdu_limit_error()
666 if (hw->hw_ops->tx_data_rssi_pad_bytes) in ath10k_tx_data_rssi_get_pad_bytes()
667 return hw->hw_ops->tx_data_rssi_pad_bytes(htt); in ath10k_tx_data_rssi_get_pad_bytes()
675 if (hw->hw_ops->is_rssi_enable) in ath10k_is_rssi_enable()
676 return hw->hw_ops->is_rssi_enable(resp); in ath10k_is_rssi_enable()
/Linux-v5.4/drivers/misc/mic/scif/
Dscif_main.c70 sdev->hw_ops->ack_interrupt(sdev, scifdev->db); in scif_intr_handler()
162 scifdev->db = sdev->hw_ops->next_db(sdev); in scif_probe()
163 scifdev->cookie = sdev->hw_ops->request_irq(sdev, scif_intr_handler, in scif_probe()
232 sdev->hw_ops->free_irq(sdev, scifdev->cookie, scifdev); in scif_remove()
Dscif_map.h91 sdev->hw_ops->remap(sdev, phys, size); in scif_ioremap()
101 sdev->hw_ops->unmap(sdev, (void __force __iomem *)virt); in scif_iounmap()

123