Home
last modified time | relevance | path

Searched refs:hwbus_ops (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/wireless/silabs/wfx/
H A Dhwio.c28 ret = wdev->hwbus_ops->copy_from_io(wdev->hwbus_priv, reg, tmp, sizeof(u32)); in wfx_read32()
45 ret = wdev->hwbus_ops->copy_to_io(wdev->hwbus_priv, reg, tmp, sizeof(u32)); in wfx_write32()
56 wdev->hwbus_ops->lock(wdev->hwbus_priv); in wfx_read32_locked()
59 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_read32_locked()
67 wdev->hwbus_ops->lock(wdev->hwbus_priv); in wfx_write32_locked()
70 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_write32_locked()
81 wdev->hwbus_ops->lock(wdev->hwbus_priv); in wfx_write32_bits_locked()
92 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in wfx_write32_bits_locked()
138 ret = wdev->hwbus_ops->copy_from_io(wdev->hwbus_priv, reg, buf, len); in wfx_indirect_read()
157 return wdev->hwbus_ops->copy_to_io(wdev->hwbus_priv, reg, buf, len); in wfx_indirect_write()
[all …]
H A Dmain.c257 const struct wfx_hwbus_ops *hwbus_ops, void *hwbus_priv) in wfx_init_common() argument
309 wdev->hwbus_ops = hwbus_ops; in wfx_init_common()
412 err = wdev->hwbus_ops->irq_subscribe(wdev->hwbus_priv); in wfx_probe()
463 wdev->hwbus_ops->irq_unsubscribe(wdev->hwbus_priv); in wfx_probe()
474 wdev->hwbus_ops->irq_unsubscribe(wdev->hwbus_priv); in wfx_release()
H A Dmain.h33 const struct wfx_hwbus_ops *hwbus_ops, void *hwbus_priv);
H A Dbh.c75 alloc_len = wdev->hwbus_ops->align_size(wdev->hwbus_priv, read_len + 2); in rx_helper()
184 len = wdev->hwbus_ops->align_size(wdev->hwbus_priv, len); in tx_helper()
H A Dwfx.h36 const struct wfx_hwbus_ops *hwbus_ops; member
/linux/drivers/net/wireless/st/cw1200/
H A Dhwio.c46 return priv->hwbus_ops->hwbus_memcpy_fromio(priv->hwbus_priv, in __cw1200_reg_read()
61 return priv->hwbus_ops->hwbus_memcpy_toio(priv->hwbus_priv, in __cw1200_reg_write()
102 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_reg_read()
104 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_reg_read()
112 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_reg_write()
114 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_reg_write()
123 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_data_read()
140 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_data_read()
150 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_data_write()
167 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_data_write()
[all …]
H A Dcw1200.h30 struct hwbus_ops;
104 const struct hwbus_ops *hwbus_ops; member
290 int cw1200_core_probe(const struct hwbus_ops *hwbus_ops,
H A Dbh.c263 alloc_len = priv->hwbus_ops->align_size( in cw1200_bh_rx_helper()
376 tx_len = priv->hwbus_ops->align_size( in cw1200_bh_tx_helper()
589 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_bh()
591 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_bh()
595 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_bh()
597 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_bh()
H A Dmain.c520 int cw1200_core_probe(const struct hwbus_ops *hwbus_ops, in cw1200_core_probe() argument
548 priv->hwbus_ops = hwbus_ops; in cw1200_core_probe()
600 self->hwbus_ops->lock(self->hwbus_priv); in cw1200_core_release()
602 self->hwbus_ops->unlock(self->hwbus_priv); in cw1200_core_release()
H A Dfwio.c490 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_load_firmware()
492 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_load_firmware()
519 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_load_firmware()
521 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_load_firmware()
H A Dhwbus.h19 struct hwbus_ops { struct
H A Dpm.c262 ret = priv->hwbus_ops->power_mgmt(priv->hwbus_priv, true); in cw1200_wow_suspend()
312 priv->hwbus_ops->power_mgmt(priv->hwbus_priv, false); in cw1200_wow_resume()
H A Dcw1200_sdio.c268 static const struct hwbus_ops cw1200_sdio_hwbus_ops = {
H A Dcw1200_spi.c344 static const struct hwbus_ops cw1200_spi_hwbus_ops = {