Home
last modified time | relevance | path

Searched refs:i2400ms (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/net/wimax/i2400m/
Dsdio-tx.c76 struct i2400ms *i2400ms = container_of(ws, struct i2400ms, tx_worker); in i2400ms_tx_submit() local
77 struct i2400m *i2400m = &i2400ms->i2400m; in i2400ms_tx_submit()
78 struct sdio_func *func = i2400ms->func; in i2400ms_tx_submit()
83 d_fnstart(4, dev, "(i2400ms %p, i2400m %p)\n", i2400ms, i2400ms); in i2400ms_tx_submit()
108 d_fnend(4, dev, "(i2400ms %p) = void\n", i2400ms); in i2400ms_tx_submit()
119 struct i2400ms *i2400ms = container_of(i2400m, struct i2400ms, i2400m); in i2400ms_bus_tx_kick() local
120 struct device *dev = &i2400ms->func->dev; in i2400ms_bus_tx_kick()
129 if (i2400ms->tx_workqueue != NULL) in i2400ms_bus_tx_kick()
130 queue_work(i2400ms->tx_workqueue, &i2400ms->tx_worker); in i2400ms_bus_tx_kick()
136 int i2400ms_tx_setup(struct i2400ms *i2400ms) in i2400ms_tx_setup() argument
[all …]
Dsdio.c110 int i2400ms_enable_function(struct i2400ms *i2400ms, unsigned maxtries) in i2400ms_enable_function() argument
112 struct sdio_func *func = i2400ms->func; in i2400ms_enable_function()
132 if (i2400ms->iwmc3200) in i2400ms_enable_function()
173 struct i2400ms *i2400ms = in i2400ms_bus_setup() local
174 container_of(i2400m, struct i2400ms, i2400m); in i2400ms_bus_setup()
176 struct sdio_func *func = i2400ms->func; in i2400ms_bus_setup()
187 if (i2400ms->iwmc3200 && i2400ms->debugfs_dentry == NULL) in i2400ms_bus_setup()
191 result = i2400ms_enable_function(i2400ms, retries); in i2400ms_bus_setup()
197 result = i2400ms_tx_setup(i2400ms); in i2400ms_bus_setup()
200 result = i2400ms_rx_setup(i2400ms); in i2400ms_bus_setup()
[all …]
Dsdio-rx.c90 static ssize_t __i2400ms_rx_get_size(struct i2400ms *i2400ms) in __i2400ms_rx_get_size() argument
95 struct sdio_func *func = i2400ms->func; in __i2400ms_rx_get_size()
96 struct device *dev = &i2400ms->func->dev; in __i2400ms_rx_get_size()
98 d_fnstart(7, dev, "(i2400ms %p)\n", i2400ms); in __i2400ms_rx_get_size()
113 d_fnend(7, dev, "(i2400ms %p) = %ld\n", i2400ms, (long) rx_size); in __i2400ms_rx_get_size()
128 void i2400ms_rx(struct i2400ms *i2400ms) in i2400ms_rx() argument
131 struct sdio_func *func = i2400ms->func; in i2400ms_rx()
133 struct i2400m *i2400m = &i2400ms->i2400m; in i2400ms_rx()
137 d_fnstart(7, dev, "(i2400ms %p)\n", i2400ms); in i2400ms_rx()
138 rx_size = __i2400ms_rx_get_size(i2400ms); in i2400ms_rx()
[all …]
Dsdio-fw.c109 struct i2400ms *i2400ms = container_of(i2400m, struct i2400ms, i2400m); in i2400ms_bus_bm_cmd_send() local
135 sdio_claim_host(i2400ms->func); /* Send & check */ in i2400ms_bus_bm_cmd_send()
136 result = sdio_memcpy_toio(i2400ms->func, I2400MS_DATA_ADDR, in i2400ms_bus_bm_cmd_send()
138 sdio_release_host(i2400ms->func); in i2400ms_bus_bm_cmd_send()
171 struct i2400ms *i2400ms = container_of(i2400m, struct i2400ms, i2400m); in i2400ms_bus_bm_wait_for_ack() local
172 struct sdio_func *func = i2400ms->func; in i2400ms_bus_bm_wait_for_ack()
181 result = wait_event_timeout(i2400ms->bm_wfa_wq, in i2400ms_bus_bm_wait_for_ack()
182 i2400ms->bm_ack_size != -EINPROGRESS, in i2400ms_bus_bm_wait_for_ack()
191 result = i2400ms->bm_ack_size; in i2400ms_bus_bm_wait_for_ack()
196 size = min(ack_size, i2400ms->bm_ack_size); in i2400ms_bus_bm_wait_for_ack()
[all …]
Di2400m-sdio.h115 struct i2400ms { struct
135 void i2400ms_init(struct i2400ms *i2400ms) in i2400ms_init() argument
137 i2400m_init(&i2400ms->i2400m); in i2400ms_init()
141 extern int i2400ms_rx_setup(struct i2400ms *);
142 extern void i2400ms_rx_release(struct i2400ms *);
144 extern int i2400ms_tx_setup(struct i2400ms *);
145 extern void i2400ms_tx_release(struct i2400ms *);