Searched refs:hwbus_priv (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/drivers/net/wireless/st/cw1200/ |
H A D | hwbus.h | 12 struct hwbus_priv; 20 int (*hwbus_memcpy_fromio)(struct hwbus_priv *self, unsigned int addr, 22 int (*hwbus_memcpy_toio)(struct hwbus_priv *self, unsigned int addr, 24 void (*lock)(struct hwbus_priv *self); 25 void (*unlock)(struct hwbus_priv *self); 26 size_t (*align_size)(struct hwbus_priv *self, size_t size); 27 int (*power_mgmt)(struct hwbus_priv *self, bool suspend);
|
H A D | hwio.c | 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() 182 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_indirect_read() 231 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_indirect_read() [all …]
|
H A D | cw1200_sdio.c | 46 struct hwbus_priv { struct 60 static int cw1200_sdio_memcpy_fromio(struct hwbus_priv *self, in cw1200_sdio_memcpy_fromio() argument 67 static int cw1200_sdio_memcpy_toio(struct hwbus_priv *self, in cw1200_sdio_memcpy_toio() 74 static void cw1200_sdio_lock(struct hwbus_priv *self) in cw1200_sdio_lock() 79 static void cw1200_sdio_unlock(struct hwbus_priv *self) in cw1200_sdio_unlock() 86 struct hwbus_priv *self = sdio_get_drvdata(func); in cw1200_sdio_irq_handler() 100 struct hwbus_priv *self = dev_id; in cw1200_gpio_irq() 112 static int cw1200_request_irq(struct hwbus_priv *self) in cw1200_request_irq() 273 struct hwbus_priv *self; in cw1200_sdio_probe() 322 struct hwbus_priv *self = sdio_get_drvdata(func); in cw1200_sdio_disconnect() [all …]
|
H A D | cw1200_spi.c | 35 struct hwbus_priv { struct 57 static int cw1200_spi_memcpy_fromio(struct hwbus_priv *self, in cw1200_spi_memcpy_fromio() argument 123 static int cw1200_spi_memcpy_toio(struct hwbus_priv *self, in cw1200_spi_memcpy_toio() 194 static void cw1200_spi_lock(struct hwbus_priv *self) in cw1200_spi_lock() 220 static void cw1200_spi_unlock(struct hwbus_priv *self) in cw1200_spi_unlock() 234 struct hwbus_priv *self = dev_id; in cw1200_spi_irq_handler() 246 static int cw1200_spi_irq_subscribe(struct hwbus_priv *self) in cw1200_spi_irq_subscribe() 271 static void cw1200_spi_irq_unsubscribe(struct hwbus_priv *self) in cw1200_spi_irq_unsubscribe() 343 static int cw1200_spi_pm(struct hwbus_priv *self, bool suspend) in cw1200_spi_pm() 362 struct hwbus_priv *self; in cw1200_spi_probe() [all …]
|
H A D | bh.c | 264 priv->hwbus_priv, read_len); in cw1200_bh_rx_helper() 377 priv->hwbus_priv, tx_len); 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 D | cw1200.h | 105 struct hwbus_priv *hwbus_priv; member 291 struct hwbus_priv *hwbus,
|
H A 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()
|
H A D | main.c | 517 struct hwbus_priv *hwbus, in cw1200_core_probe() 545 priv->hwbus_priv = hwbus; in cw1200_core_probe() 596 self->hwbus_ops->lock(self->hwbus_priv); in cw1200_core_release() 598 self->hwbus_ops->unlock(self->hwbus_priv); in cw1200_core_release()
|
H A 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()
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | hwio.c | 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() 165 wdev->hwbus_ops->lock(wdev->hwbus_priv); in wfx_indirect_read_locked() 177 wdev->hwbus_ops->lock(wdev->hwbus_priv); in wfx_indirect_write_locked() 191 wdev->hwbus_ops->lock(wdev->hwbus_priv); in wfx_indirect_read32_locked() 208 wdev->hwbus_ops->lock(wdev->hwbus_priv); in wfx_indirect_write32_locked() [all …]
|
H A D | main.c | 254 const struct wfx_hwbus_ops *hwbus_ops, void *hwbus_priv) in wfx_init_common() argument 306 wdev->hwbus_priv = hwbus_priv; in wfx_init_common() 407 err = wdev->hwbus_ops->irq_subscribe(wdev->hwbus_priv); in wfx_probe() 458 wdev->hwbus_ops->irq_unsubscribe(wdev->hwbus_priv); in wfx_probe() 469 wdev->hwbus_ops->irq_unsubscribe(wdev->hwbus_priv); in wfx_release()
|
H A D | main.h | 33 const struct wfx_hwbus_ops *hwbus_ops, void *hwbus_priv);
|
H A D | bh.c | 75 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 D | wfx.h | 37 void *hwbus_priv; member
|