void r8712_write32(struct _adapter *adapter, u32 addr, u32 val) { struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; struct intf_hdl *pintfhdl = (struct intf_hdl *)(&(pio_queue->intf)); void (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); _write32 = pintfhdl->io_ops._write32; _write32(pintfhdl, addr, val); }
void write32(_adapter *adapter, u32 addr, u32 val) { struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; struct intf_hdl *pintfhdl = (struct intf_hdl*)(&(pio_queue->intf)); void (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); _func_enter_; _write32 = pintfhdl->io_ops._write32; _write32(pintfhdl, addr, val); _func_exit_; }
void write32(_adapter *adapter, u32 addr, u32 val) { //struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &(pio_priv->intf); void (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); _func_enter_; _write32 = pintfhdl->io_ops._write32; _write32(pintfhdl, addr, val); _func_exit_; }
int _rtw_write32(_adapter *adapter, u32 addr, u32 val) { //struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &(pio_priv->intf); int (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); int ret; _write32 = pintfhdl->io_ops._write32; ret = _write32(pintfhdl, addr, val); return RTW_STATUS_CODE(ret); }
int _rtw_write32(struct adapter *adapter, u32 addr, u32 val) { struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &(pio_priv->intf); int (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); int ret; _func_enter_; _write32 = pintfhdl->io_ops._write32; ret = _write32(pintfhdl, addr, val); _func_exit_; return RTW_STATUS_CODE(ret); }
void rtw_write32(_adapter *adapter, u32 addr, u32 val) { //struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &(pio_priv->intf); void (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); _irqL irqL; _func_enter_; _write32 = pintfhdl->io_ops._write32; _enter_critical_mutex(&pintfhdl->io_mutex, &irqL); _write32(pintfhdl, addr, val); _exit_critical_mutex(&pintfhdl->io_mutex, &irqL); _func_exit_; }
int _rtw_write32(_adapter *adapter, u32 addr, u32 val) { /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */ struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &(pio_priv->intf); int (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); int ret; _func_enter_; _write32 = pintfhdl->io_ops._write32; val = rtw_cpu_to_le32(val); ret = _write32(pintfhdl, addr, val); _func_exit_; return RTW_STATUS_CODE(ret); }