Home
last modified time | relevance | path

Searched refs:hwbus_priv (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/cw1200/
Dhwbus.h15 struct hwbus_priv;
23 int (*hwbus_memcpy_fromio)(struct hwbus_priv *self, unsigned int addr,
25 int (*hwbus_memcpy_toio)(struct hwbus_priv *self, unsigned int addr,
27 void (*lock)(struct hwbus_priv *self);
28 void (*unlock)(struct hwbus_priv *self);
29 size_t (*align_size)(struct hwbus_priv *self, size_t size);
30 int (*power_mgmt)(struct hwbus_priv *self, bool suspend);
Dhwio.c49 return priv->hwbus_ops->hwbus_memcpy_fromio(priv->hwbus_priv, in __cw1200_reg_read()
64 return priv->hwbus_ops->hwbus_memcpy_toio(priv->hwbus_priv, in __cw1200_reg_write()
105 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_reg_read()
107 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_reg_read()
115 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_reg_write()
117 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_reg_write()
126 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_data_read()
143 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_data_read()
153 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_data_write()
170 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_data_write()
[all …]
Dcw1200_sdio.c47 struct hwbus_priv { struct
68 static int cw1200_sdio_memcpy_fromio(struct hwbus_priv *self, in cw1200_sdio_memcpy_fromio() argument
75 static int cw1200_sdio_memcpy_toio(struct hwbus_priv *self, in cw1200_sdio_memcpy_toio()
82 static void cw1200_sdio_lock(struct hwbus_priv *self) in cw1200_sdio_lock()
87 static void cw1200_sdio_unlock(struct hwbus_priv *self) in cw1200_sdio_unlock()
94 struct hwbus_priv *self = sdio_get_drvdata(func); in cw1200_sdio_irq_handler()
108 struct hwbus_priv *self = dev_id; in cw1200_gpio_irq()
120 static int cw1200_request_irq(struct hwbus_priv *self) in cw1200_request_irq()
157 static int cw1200_sdio_irq_subscribe(struct hwbus_priv *self) in cw1200_sdio_irq_subscribe()
172 static int cw1200_sdio_irq_unsubscribe(struct hwbus_priv *self) in cw1200_sdio_irq_unsubscribe()
[all …]
Dcw1200_spi.c38 struct hwbus_priv { struct
60 static int cw1200_spi_memcpy_fromio(struct hwbus_priv *self, in cw1200_spi_memcpy_fromio() argument
126 static int cw1200_spi_memcpy_toio(struct hwbus_priv *self, in cw1200_spi_memcpy_toio()
197 static void cw1200_spi_lock(struct hwbus_priv *self) in cw1200_spi_lock()
223 static void cw1200_spi_unlock(struct hwbus_priv *self) in cw1200_spi_unlock()
237 struct hwbus_priv *self = dev_id; in cw1200_spi_irq_handler()
249 static int cw1200_spi_irq_subscribe(struct hwbus_priv *self) in cw1200_spi_irq_subscribe()
274 static int cw1200_spi_irq_unsubscribe(struct hwbus_priv *self) in cw1200_spi_irq_unsubscribe()
345 static size_t cw1200_spi_align_size(struct hwbus_priv *self, size_t size) in cw1200_spi_align_size()
350 static int cw1200_spi_pm(struct hwbus_priv *self, bool suspend) in cw1200_spi_pm()
[all …]
Dbh.c272 priv->hwbus_priv, read_len); in cw1200_bh_rx_helper()
391 priv->hwbus_priv, tx_len); in cw1200_bh_tx_helper()
603 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_bh()
605 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_bh()
609 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_bh()
611 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_bh()
Dcw1200.h108 struct hwbus_priv *hwbus_priv; member
294 struct hwbus_priv *hwbus,
Dfwio.c485 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_load_firmware()
487 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_load_firmware()
514 priv->hwbus_ops->lock(priv->hwbus_priv); in cw1200_load_firmware()
516 priv->hwbus_ops->unlock(priv->hwbus_priv); in cw1200_load_firmware()
Dmain.c515 struct hwbus_priv *hwbus, in cw1200_core_probe()
543 priv->hwbus_priv = hwbus; in cw1200_core_probe()
594 self->hwbus_ops->lock(self->hwbus_priv); in cw1200_core_release()
596 self->hwbus_ops->unlock(self->hwbus_priv); in cw1200_core_release()
Dpm.c267 ret = priv->hwbus_ops->power_mgmt(priv->hwbus_priv, true); in cw1200_wow_suspend()
317 priv->hwbus_ops->power_mgmt(priv->hwbus_priv, false); in cw1200_wow_resume()