Lines Matching refs:sdio
139 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt76s_net_worker() local
141 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_net_worker()
192 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt76s_status_worker() local
194 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_status_worker()
212 queue_work(dev->wq, &dev->sdio.stat_work); in mt76s_status_worker()
221 struct mt76_sdio *sdio; in mt76s_tx_status_data() local
226 sdio = container_of(work, struct mt76_sdio, stat_work); in mt76s_tx_status_data()
227 dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_tx_status_data()
239 queue_work(dev->wq, &sdio->stat_work); in mt76s_tx_status_data()
308 struct mt76_sdio *sdio = &dev->sdio; in mt76s_tx_kick() local
310 mt76_worker_schedule(&sdio->txrx_worker); in mt76s_tx_kick()
321 struct mt76_sdio *sdio = &dev->sdio; in mt76s_deinit() local
324 mt76_worker_teardown(&sdio->txrx_worker); in mt76s_deinit()
325 mt76_worker_teardown(&sdio->status_worker); in mt76s_deinit()
326 mt76_worker_teardown(&sdio->net_worker); in mt76s_deinit()
328 cancel_work_sync(&sdio->stat_work); in mt76s_deinit()
333 sdio_claim_host(sdio->func); in mt76s_deinit()
334 sdio_release_irq(sdio->func); in mt76s_deinit()
335 sdio_release_host(sdio->func); in mt76s_deinit()
357 struct mt76_sdio *sdio = &dev->sdio; in mt76s_init() local
360 err = mt76_worker_setup(dev->hw, &sdio->status_worker, in mt76s_init()
365 err = mt76_worker_setup(dev->hw, &sdio->net_worker, mt76s_net_worker, in mt76s_init()
370 sched_set_fifo_low(sdio->status_worker.task); in mt76s_init()
371 sched_set_fifo_low(sdio->net_worker.task); in mt76s_init()
373 INIT_WORK(&sdio->stat_work, mt76s_tx_status_data); in mt76s_init()
377 dev->sdio.func = func; in mt76s_init()