Home
last modified time | relevance | path

Searched refs:sdio_func (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/mmc/
Dsdio_func.h17 struct sdio_func;
19 typedef void (sdio_irq_handler_t)(struct sdio_func *);
34 struct sdio_func { struct
70 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev) argument
79 int (*probe)(struct sdio_func *, const struct sdio_device_id *);
80 void (*remove)(struct sdio_func *);
127 extern void sdio_claim_host(struct sdio_func *func);
128 extern void sdio_release_host(struct sdio_func *func);
130 extern int sdio_enable_func(struct sdio_func *func);
131 extern int sdio_disable_func(struct sdio_func *func);
[all …]
Dcard.h211 struct sdio_func;
299 struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ member
300 struct sdio_func *sdio_single_irq; /* SDIO function when only one IRQ active */
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio_io.c27 void sdio_claim_host(struct sdio_func *func) in sdio_claim_host()
43 void sdio_release_host(struct sdio_func *func) in sdio_release_host()
59 int sdio_enable_func(struct sdio_func *func) in sdio_enable_func()
110 int sdio_disable_func(struct sdio_func *func) in sdio_disable_func()
159 int sdio_set_block_size(struct sdio_func *func, unsigned blksz) in sdio_set_block_size()
189 static inline unsigned int sdio_max_byte_size(struct sdio_func *func) in sdio_max_byte_size()
233 unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz) in sdio_align_size()
315 static int sdio_io_rw_ext_helper(struct sdio_func *func, int write, in sdio_io_rw_ext_helper()
380 u8 sdio_readb(struct sdio_func *func, unsigned int addr, int *err_ret) in sdio_readb()
412 void sdio_writeb(struct sdio_func *func, u8 b, unsigned int addr, int *err_ret) in sdio_writeb()
[all …]
Dsdio_bus.c35 struct sdio_func *func; \
51 struct sdio_func *func = dev_to_sdio_func(dev); \
80 static const struct sdio_device_id *sdio_match_one(struct sdio_func *func, in sdio_match_one()
92 static const struct sdio_device_id *sdio_match_device(struct sdio_func *func, in sdio_match_device()
112 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_match()
124 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_uevent()
155 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_probe()
209 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_remove()
293 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_release_func()
306 struct sdio_func *sdio_alloc_func(struct mmc_card *card) in sdio_alloc_func()
[all …]
Dsdio_bus.h11 struct sdio_func;
13 struct sdio_func *sdio_alloc_func(struct mmc_card *card);
14 int sdio_add_func(struct sdio_func *func);
15 void sdio_remove_func(struct sdio_func *func);
Dsdio_cis.c25 static int cistpl_vers_1(struct mmc_card *card, struct sdio_func *func, in cistpl_vers_1()
83 static int cistpl_manfid(struct mmc_card *card, struct sdio_func *func, in cistpl_manfid()
111 typedef int (tpl_parse_t)(struct mmc_card *, struct sdio_func *,
120 static int cis_tpl_parse(struct mmc_card *card, struct sdio_func *func, in cis_tpl_parse()
155 static int cistpl_funce_common(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_common()
172 static int cistpl_funce_func(struct mmc_card *card, struct sdio_func *func, in cistpl_funce_func()
222 static int cistpl_funce(struct mmc_card *card, struct sdio_func *func, in cistpl_funce()
243 static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) in sdio_read_cis()
386 int sdio_read_func_cis(struct sdio_func *func) in sdio_read_func_cis()
412 void sdio_free_func_cis(struct sdio_func *func) in sdio_free_func_cis()
Dsdio_cis.h14 struct sdio_func;
19 int sdio_read_func_cis(struct sdio_func *func);
20 void sdio_free_func_cis(struct sdio_func *func);
Dsdio_irq.c64 struct sdio_func *func; in process_sdio_pending_irqs()
91 func = card->sdio_func[i - 1]; in process_sdio_pending_irqs()
273 struct sdio_func *func; in sdio_single_irq_set()
280 func = card->sdio_func[i]; in sdio_single_irq_set()
299 int sdio_claim_irq(struct sdio_func *func, sdio_irq_handler_t *handler) in sdio_claim_irq()
342 int sdio_release_irq(struct sdio_func *func) in sdio_release_irq()
Dsdio.c72 static int sdio_read_fbr(struct sdio_func *func) in sdio_read_fbr()
105 struct sdio_func *func; in sdio_init_func()
130 card->sdio_func[fn - 1] = func; in sdio_init_func()
915 if (host->card->sdio_func[i]) { in mmc_sdio_remove()
916 sdio_remove_func(host->card->sdio_func[i]); in mmc_sdio_remove()
917 host->card->sdio_func[i] = NULL; in mmc_sdio_remove()
993 struct sdio_func *func = host->card->sdio_func[i]; in mmc_sdio_pre_suspend()
1264 pm_runtime_enable(&card->sdio_func[i]->dev); in mmc_attach_sdio()
1279 err = sdio_add_func(host->card->sdio_func[i]); in mmc_attach_sdio()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Dsdio.c24 struct sdio_func *func;
28 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func()
34 static void wl1251_sdio_interrupt(struct sdio_func *func) in wl1251_sdio_interrupt()
55 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_read()
68 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_write()
81 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_read_elp()
101 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_write_elp()
119 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_enable_irq()
128 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_disable_irq()
157 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_set_power()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dsdio.c54 static void wilc_sdio_interrupt(struct sdio_func *func) in wilc_sdio_interrupt()
63 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd52()
92 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd53()
120 static int wilc_sdio_probe(struct sdio_func *func, in wilc_sdio_probe()
163 static void wilc_sdio_remove(struct sdio_func *func) in wilc_sdio_remove()
177 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_reset()
194 struct sdio_func *func = dev_to_sdio_func(dev); in wilc_sdio_suspend()
221 struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); in wilc_sdio_enable_interrupt()
237 struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); in wilc_sdio_disable_interrupt()
255 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_set_func0_csa_address()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dsdio_ops_linux.c12 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed()
36 struct sdio_func *func; in sd_f0_read8()
73 struct sdio_func *func; in _sd_cmd52_read()
108 struct sdio_func *func; in sd_cmd52_read()
143 struct sdio_func *func; in _sd_cmd52_write()
179 struct sdio_func *func; in sd_cmd52_write()
209 struct sdio_func *func; in sd_read8()
240 struct sdio_func *func; in sd_read32()
303 struct sdio_func *func; in sd_write8()
332 struct sdio_func *func; in sd_write32()
[all …]
Dsdio_intf.c15 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev)
29 static int rtw_drv_init(struct sdio_func *func, const struct sdio_device_id *id);
30 static void rtw_dev_remove(struct sdio_func *func);
54 static void sd_sync_int_hdl(struct sdio_func *func) in sd_sync_int_hdl()
74 struct sdio_func *func; in sdio_alloc_irq()
99 struct sdio_func *func; in sdio_free_irq()
172 struct sdio_func *func; in sdio_init()
208 struct sdio_func *func; in sdio_deinit()
236 static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func) in sdio_dvobj_init()
271 static void sdio_dvobj_deinit(struct sdio_func *func) in sdio_dvobj_deinit()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
Dsdio.c49 static void b43_sdio_interrupt_dispatcher(struct sdio_func *func) in b43_sdio_interrupt_dispatcher()
66 struct sdio_func *func = bus->host_sdio; in b43_sdio_request_irq()
82 struct sdio_func *func = bus->host_sdio; in b43_sdio_free_irq()
92 static int b43_sdio_probe(struct sdio_func *func, in b43_sdio_probe()
170 static void b43_sdio_remove(struct sdio_func *func) in b43_sdio_remove()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dsdio.c46 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size()
58 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read()
96 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_write()
132 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_power_on()
159 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_power_off()
257 static int wl1271_probe(struct sdio_func *func, in wl1271_probe()
370 static void wl1271_remove(struct sdio_func *func) in wl1271_remove()
385 struct sdio_func *func = dev_to_sdio_func(dev); in wl1271_suspend()
/kernel/linux/linux-5.10/drivers/staging/ks7010/
Dks7010_sdio.c108 struct sdio_func *func;
112 static struct sdio_func *ks7010_to_func(struct ks_wlan_private *priv) in ks7010_to_func()
123 struct sdio_func *func = ks7010_to_func(priv); in ks7010_sdio_readb()
135 struct sdio_func *func = ks7010_to_func(priv); in ks7010_sdio_read()
144 struct sdio_func *func = ks7010_to_func(priv); in ks7010_sdio_writeb()
156 struct sdio_func *func = ks7010_to_func(priv); in ks7010_sdio_write()
480 struct sdio_func *func = ks7010_to_func(priv); in ks7010_rw_function()
541 static void ks_sdio_interrupt(struct sdio_func *func) in ks_sdio_interrupt()
754 struct sdio_func *func = ks7010_to_func(priv); in ks7010_upload_firmware()
879 static int ks7010_sdio_setup_irqs(struct sdio_func *func) in ks7010_sdio_setup_irqs()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_91x_sdio.c113 static int rsi_issue_sdiocommand(struct sdio_func *func, in rsi_issue_sdiocommand()
144 static void rsi_handle_interrupt(struct sdio_func *function) in rsi_handle_interrupt()
162 static void rsi_reset_card(struct sdio_func *pfunction) in rsi_reset_card()
835 struct sdio_func *pfunction) in rsi_init_sdio_interface()
894 struct sdio_func *pfunction = sdev->pfunction; in rsi_sdio_reinit_device()
1010 static int rsi_probe(struct sdio_func *pfunction, in rsi_probe()
1216 static void rsi_disconnect(struct sdio_func *pfunction) in rsi_disconnect()
1260 struct sdio_func *func = dev->pfunction; in rsi_set_sdio_pm_caps()
1270 static int rsi_sdio_disable_interrupts(struct sdio_func *pfunc) in rsi_sdio_disable_interrupts()
1317 static int rsi_sdio_enable_interrupts(struct sdio_func *pfunc) in rsi_sdio_enable_interrupts()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dcw1200_sdio.c47 struct sdio_func *func;
84 static void cw1200_sdio_irq_handler(struct sdio_func *func) in cw1200_sdio_irq_handler()
270 static int cw1200_sdio_probe(struct sdio_func *func, in cw1200_sdio_probe()
320 static void cw1200_sdio_disconnect(struct sdio_func *func) in cw1200_sdio_disconnect()
342 struct sdio_func *func = dev_to_sdio_func(dev); in cw1200_sdio_suspend()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio.c40 struct sdio_func *func = dev->sdio.func; in mt7663s_read_mailbox()
95 struct sdio_func *func = dev->sdio.func; in mt7663s_write_mailbox()
237 static int mt7663s_hw_init(struct mt7615_dev *dev, struct sdio_func *func) in mt7663s_hw_init()
321 static int mt7663s_probe(struct sdio_func *func, in mt7663s_probe()
418 static void mt7663s_remove(struct sdio_func *func) in mt7663s_remove()
433 struct sdio_func *func = dev_to_sdio_func(dev); in mt7663s_suspend()
454 struct sdio_func *func = dev_to_sdio_func(dev); in mt7663s_resume()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c82 static void brcmf_sdiod_ib_irqhandler(struct sdio_func *func) in brcmf_sdiod_ib_irqhandler()
93 static void brcmf_sdiod_dummy_irqhandler(struct sdio_func *func) in brcmf_sdiod_dummy_irqhandler()
284 struct sdio_func *func, u32 addr, in brcmf_sdiod_skbuff_read()
315 struct sdio_func *func, u32 addr, in brcmf_sdiod_skbuff_write()
337 struct sdio_func *func, int write) in mmc_submit_one()
377 struct sdio_func *func, in brcmf_sdiod_sglist_rw()
738 int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func) in brcmf_sdiod_abort()
751 struct sdio_func *func; in brcmf_sdiod_sgtable_alloc()
1011 static int brcmf_ops_sdio_probe(struct sdio_func *func, in brcmf_ops_sdio_probe()
1053 sdiodev->func1 = func->card->sdio_func[0]; in brcmf_ops_sdio_probe()
[all …]
Dsdio.h169 struct sdio_func *func1;
170 struct sdio_func *func2;
344 int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func);
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dbus_sdio.c28 struct sdio_func *func;
92 static void wfx_sdio_irq_handler(struct sdio_func *func) in wfx_sdio_irq_handler()
178 static int wfx_sdio_probe(struct sdio_func *func, in wfx_sdio_probe()
243 static void wfx_sdio_remove(struct sdio_func *func) in wfx_sdio_remove()
/kernel/linux/linux-5.10/drivers/media/mmc/siano/
Dsmssdio.c77 struct sdio_func *func;
123 static void smssdio_interrupt(struct sdio_func *func) in smssdio_interrupt()
236 static int smssdio_probe(struct sdio_func *func, in smssdio_probe()
321 static void smssdio_remove(struct sdio_func *func) in smssdio_remove()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtsdio.c45 struct sdio_func *func;
168 static void btsdio_interrupt(struct sdio_func *func) in btsdio_interrupt()
275 static int btsdio_probe(struct sdio_func *func, in btsdio_probe()
348 static void btsdio_remove(struct sdio_func *func) in btsdio_remove()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dif_sdio.c47 static void if_sdio_interrupt(struct sdio_func *func);
110 struct sdio_func *func;
748 struct sdio_func *func = card->func; in if_sdio_finish_power_on()
831 struct sdio_func *func = card->func; in if_sdio_power_on()
890 struct sdio_func *func = card->func; in if_sdio_power_off()
1099 static void if_sdio_interrupt(struct sdio_func *func) in if_sdio_interrupt()
1133 static int if_sdio_probe(struct sdio_func *func, in if_sdio_probe()
1249 static void if_sdio_remove(struct sdio_func *func) in if_sdio_remove()
1293 struct sdio_func *func = dev_to_sdio_func(dev); in if_sdio_suspend()
1351 struct sdio_func *func = dev_to_sdio_func(dev); in if_sdio_resume()

12