Searched refs:hwbus_ops (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.10/drivers/staging/wfx/ |
D | hwio.c | 37 ret = wdev->hwbus_ops->copy_from_io(wdev->hwbus_priv, reg, tmp, in read32() 56 ret = wdev->hwbus_ops->copy_to_io(wdev->hwbus_priv, reg, tmp, in write32() 69 wdev->hwbus_ops->lock(wdev->hwbus_priv); in read32_locked() 72 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in read32_locked() 80 wdev->hwbus_ops->lock(wdev->hwbus_priv); in write32_locked() 83 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in write32_locked() 94 wdev->hwbus_ops->lock(wdev->hwbus_priv); in write32_bits_locked() 105 wdev->hwbus_ops->unlock(wdev->hwbus_priv); in write32_bits_locked() 152 ret = wdev->hwbus_ops->copy_from_io(wdev->hwbus_priv, reg, buf, len); in indirect_read() 171 return wdev->hwbus_ops->copy_to_io(wdev->hwbus_priv, reg, buf, len); in indirect_write() [all …]
|
D | main.h | 19 struct hwbus_ops; 35 const struct hwbus_ops *hwbus_ops,
|
D | wfx.h | 28 struct hwbus_ops; 36 const struct hwbus_ops *hwbus_ops; member
|
D | main.c | 252 const struct hwbus_ops *hwbus_ops, in wfx_init_common() argument 304 wdev->hwbus_ops = hwbus_ops; in wfx_init_common() 404 err = wdev->hwbus_ops->irq_subscribe(wdev->hwbus_priv); in wfx_probe() 457 wdev->hwbus_ops->irq_unsubscribe(wdev->hwbus_priv); in wfx_probe() 467 wdev->hwbus_ops->irq_unsubscribe(wdev->hwbus_priv); in wfx_release()
|
D | bus.h | 23 struct hwbus_ops { struct
|
D | bh.c | 78 alloc_len = wdev->hwbus_ops->align_size(wdev->hwbus_priv, read_len + 2); in rx_helper() 186 len = wdev->hwbus_ops->align_size(wdev->hwbus_priv, len); in tx_helper()
|
D | bus_spi.c | 170 static const struct hwbus_ops wfx_spi_hwbus_ops = {
|
D | bus_sdio.c | 158 static const struct hwbus_ops wfx_sdio_hwbus_ops = {
|
/Linux-v5.10/drivers/net/wireless/st/cw1200/ |
D | hwio.c | 46 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 …]
|
D | cw1200.h | 30 struct hwbus_ops; 104 const struct hwbus_ops *hwbus_ops; member 290 int cw1200_core_probe(const struct hwbus_ops *hwbus_ops,
|
D | bh.c | 268 alloc_len = priv->hwbus_ops->align_size( in cw1200_bh_rx_helper() 387 tx_len = priv->hwbus_ops->align_size( in cw1200_bh_tx_helper() 600 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_bh() 602 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_bh() 606 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_bh() 608 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_bh()
|
D | main.c | 513 int cw1200_core_probe(const struct hwbus_ops *hwbus_ops, in cw1200_core_probe() argument 541 priv->hwbus_ops = hwbus_ops; in cw1200_core_probe() 593 self->hwbus_ops->lock(self->hwbus_priv); in cw1200_core_release() 595 self->hwbus_ops->unlock(self->hwbus_priv); in cw1200_core_release()
|
D | fwio.c | 490 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()
|
D | hwbus.h | 19 struct hwbus_ops { struct
|
D | pm.c | 262 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()
|
D | cw1200_sdio.c | 259 static const struct hwbus_ops cw1200_sdio_hwbus_ops = {
|
D | cw1200_spi.c | 348 static const struct hwbus_ops cw1200_spi_hwbus_ops = {
|