Home
last modified time | relevance | path

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

123

/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()
563 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.c419 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_tx_desc_init() local
450 hw_ops->tx_desc_init(channel); in xlgmac_tx_desc_init()
456 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_rx_desc_init() local
489 hw_ops->rx_desc_init(channel); in xlgmac_rx_desc_init()
H A Ddwc-xlgmac-common.c62 xlgmac_init_hw_ops(&pdata->hw_ops); in xlgmac_init_all_ops()
67 struct xlgmac_hw_ops *hw_ops = &pdata->hw_ops; in xlgmac_init() local
85 hw_ops->exit(pdata); in xlgmac_init()
219 pdata->rx_riwt = hw_ops->usec_to_riwt(pdata, XLGMAC_INIT_DMA_RX_USECS); in xlgmac_init()
/linux/sound/soc/amd/ps/
H A Dacp63.h136 #define ACP_HW_OPS(acp_data, cb) ((acp_data)->hw_ops->cb)
319 * @hw_ops: ACP pci driver platform-specific ops
353 struct acp_hw_ops *hw_ops; member
383 void acp63_hw_init_ops(struct acp_hw_ops *hw_ops);
384 void acp70_hw_init_ops(struct acp_hw_ops *hw_ops); in acp_hw_init()
388 if (adata && adata->hw_ops && adata->hw_ops->acp_init) in acp_hw_init()
395 if (adata && adata->hw_ops && adata->hw_ops->acp_deinit) in acp_hw_deinit()
402 if (adata && adata->hw_ops in acp_hw_get_config()
[all...]
H A Dps-common.c247 void acp63_hw_init_ops(struct acp_hw_ops *hw_ops) in acp63_hw_init_ops() argument
249 hw_ops->acp_init = acp63_init; in acp63_hw_init_ops()
250 hw_ops->acp_deinit = acp63_deinit; in acp63_hw_init_ops()
251 hw_ops->acp_get_config = acp63_get_config; in acp63_hw_init_ops()
252 hw_ops->acp_sdw_dma_irq_thread = acp63_sdw_dma_irq_thread; in acp63_hw_init_ops()
253 hw_ops->acp_suspend = snd_acp63_suspend; in acp63_hw_init_ops()
254 hw_ops->acp_resume = snd_acp63_resume; in acp63_hw_init_ops()
255 hw_ops->acp_suspend_runtime = snd_acp63_suspend; in acp63_hw_init_ops()
256 hw_ops->acp_resume_runtime = snd_acp63_runtime_resume; in acp63_hw_init_ops()
483 void acp70_hw_init_ops(struct acp_hw_ops *hw_ops) in acp70_hw_init_ops() argument
[all …]
H A Dpci-ps.c553 adata->hw_ops = devm_kzalloc(&pci->dev, sizeof(struct acp_hw_ops), in acp_hw_init_ops()
555 if (!adata->hw_ops) in acp_hw_init_ops()
560 acp63_hw_init_ops(adata->hw_ops); in acp_hw_init_ops()
565 acp70_hw_init_ops(adata->hw_ops); in acp_hw_init_ops()
/linux/drivers/net/wireless/ath/ath12k/
H A Dhw.h171 const struct ath12k_hw_ops *hw_ops; member
261 if (hw->hw_ops->get_hw_mac_from_pdev_id) in ath12k_hw_get_mac_from_pdev_id()
262 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
270 if (hw->hw_ops->mac_id_to_pdev_id) in ath12k_hw_mac_id_to_pdev_id()
271 return hw->hw_ops->mac_id_to_pdev_id(hw, mac_id); in ath12k_hw_mac_id_to_pdev_id()
279 if (hw->hw_ops->mac_id_to_srng_id) in ath12k_hw_mac_id_to_srng_id()
280 return hw->hw_ops->mac_id_to_srng_id(hw, mac_id); in ath12k_hw_mac_id_to_srng_id()
290 if (hw->hw_ops->set_rx_link_id) in ath12k_hw_set_rx_link_id()
291 hw->hw_ops->set_rx_link_id(dp_peer, rxcb, status); in ath12k_hw_set_rx_link_id()
/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()
/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
160 enable_bit, clk_gate_flags, ops, hw_ops); in _of_ti_gate_clk_setup()
168 const struct clk_hw_omap_ops *hw_ops) in _of_ti_composite_gate_clk_setup() argument
180 gate->ops = hw_ops; in _of_ti_composite_gate_clk_setup()
H A Ddpll.c211 const struct clk_hw_omap_ops *hw_ops) in _register_dpll_x2() argument
229 clk_hw->ops = hw_ops; in _register_dpll_x2()
239 if (hw_ops == &clkhwops_omap4_dpllmx) { in _register_dpll_x2()
/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 Dumc_v8_14.c157 .hw_ops = &umc_v8_14_ras_hw_ops,
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_main.c174 return oct->hw_ops.mbox_intr_handler(oct); in octep_mbox_intr_handler()
189 return oct->hw_ops.oei_intr_handler(oct); in octep_oei_intr_handler()
204 return oct->hw_ops.ire_intr_handler(oct); in octep_ire_intr_handler()
219 return oct->hw_ops.ore_intr_handler(oct); in octep_ore_intr_handler()
234 return oct->hw_ops.vfire_intr_handler(oct); in octep_vfire_intr_handler()
249 return oct->hw_ops.vfore_intr_handler(oct); in octep_vfore_intr_handler()
264 return oct->hw_ops.dma_intr_handler(oct); in octep_dma_intr_handler()
279 return oct->hw_ops.dma_vf_intr_handler(oct); in octep_dma_vf_intr_handler()
294 return oct->hw_ops.pp_vf_intr_handler(oct); in octep_pp_vf_intr_handler()
309 return oct->hw_ops.misc_intr_handler(oct); in octep_misc_intr_handler()
[all …]
/linux/drivers/soundwire/
H A Dintel.h32 const struct sdw_intel_hw_ops *hw_ops; member
133 #define SDW_INTEL_CHECK_OPS(sdw, cb) ((sdw) && (sdw)->link_res && (sdw)->link_res->hw_ops && \
134 (sdw)->link_res->hw_ops->cb)
135 #define SDW_INTEL_OPS(sdw, cb) ((sdw)->link_res->hw_ops->cb)
H A Dintel_auxdevice.c96 if (sdw->link_res->hw_ops->bpt_send_async) in generic_bpt_send_async()
97 return sdw->link_res->hw_ops->bpt_send_async(sdw, slave, msg); in generic_bpt_send_async()
106 if (sdw->link_res->hw_ops->bpt_wait) in generic_bpt_wait()
107 return sdw->link_res->hw_ops->bpt_wait(sdw, slave, msg); in generic_bpt_wait()
116 return sdw->link_res->hw_ops->pre_bank_switch(sdw); in generic_pre_bank_switch()
124 return sdw->link_res->hw_ops->post_bank_switch(sdw); in generic_post_bank_switch()
152 if (sdw->link_res->hw_ops->program_sdi && wake_capable) in generic_new_peripheral_assigned()
153 sdw->link_res->hw_ops->program_sdi(sdw, dev_num); in generic_new_peripheral_assigned()
H A Dintel_init.c65 link->hw_ops = res->hw_ops; in intel_link_dev_register()
/linux/drivers/accel/amdxdna/
H A Daie2_pci.h188 if (_ndev->priv->hw_ops->update_counters) \
189 _ndev->priv->hw_ops->update_counters(_ndev); \
222 const struct aie2_hw_ops *hw_ops; member
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_main.c174 return oct->hw_ops.ioq_intr_handler(ioq_vector); in octep_vf_ioq_intr_handler()
478 oct->hw_ops.reset_io_queues(oct); in octep_vf_open()
505 oct->hw_ops.enable_io_queues(oct); in octep_vf_open()
508 oct->hw_ops.enable_interrupts(oct); in octep_vf_open()
554 oct->hw_ops.disable_interrupts(oct); in octep_vf_stop()
561 oct->hw_ops.disable_io_queues(oct); in octep_vf_stop()
562 oct->hw_ops.reset_io_queues(oct); in octep_vf_stop()
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Dhw.c374 .hw_ops = &qcn9274_ops,
466 .hw_ops = &wcn7850_ops,
558 .hw_ops = &qcn9274_ops,
648 .hw_ops = &qcn9274_ops,
733 .hw_ops = &qcc2072_ops,
826 .hw_ops = &qcn9274_ops,
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c27 return ab->hw_params.hw_ops->rx_desc_get_hdr_status(desc); in ath11k_dp_rx_h_80211_hdr()
34 if (!ab->hw_params.hw_ops->rx_desc_encrypt_valid(desc)) in ath11k_dp_rx_h_mpdu_start_enctype()
37 return ab->hw_params.hw_ops->rx_desc_get_encrypt_type(desc); in ath11k_dp_rx_h_mpdu_start_enctype()
43 return ab->hw_params.hw_ops->rx_desc_get_decap_type(desc); in ath11k_dp_rx_h_msdu_start_decap_type()
50 return ab->hw_params.hw_ops->rx_desc_get_ldpc_support(desc); in ath11k_dp_rx_h_msdu_start_ldpc_support()
57 return ab->hw_params.hw_ops->rx_desc_get_mesh_ctl(desc); in ath11k_dp_rx_h_msdu_start_mesh_ctl_present()
64 return ab->hw_params.hw_ops->rx_desc_get_mpdu_seq_ctl_vld(desc); in ath11k_dp_rx_h_mpdu_start_seq_ctrl_valid()
70 return ab->hw_params.hw_ops->rx_desc_get_mpdu_fc_valid(desc); in ath11k_dp_rx_h_mpdu_start_fc_valid()
94 return ab->hw_params.hw_ops->rx_desc_get_mpdu_start_seq_no(desc); in ath11k_dp_rx_h_mpdu_start_seq_no()
100 return ab->hw_params.hw_ops->rx_desc_get_attention(desc); in ath11k_dp_rx_get_attention()
[all …]
H A Dcore.c52 .hw_ops = &ipq8074_ops,
141 .hw_ops = &ipq6018_ops,
228 .hw_ops = &qca6390_ops,
321 .hw_ops = &qcn9074_ops,
406 .hw_ops = &wcn6855_ops,
498 .hw_ops = &wcn6855_ops,
588 .hw_ops = &wcn6750_ops,
687 .hw_ops = &ipq5018_ops,
758 .hw_ops = &wcn6855_ops,
849 .hw_ops = &wcn6855_ops,
/linux/arch/powerpc/platforms/cell/spufs/
H A DMakefile5 spufs-y += sched.o backing_ops.o hw_ops.o run.o gang.o
/linux/include/sound/
H A Di2c.h52 } hw_ops; /* lowlevel operations */ member

123