Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.h234 struct sdio_func;
327 struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ member
328 struct sdio_func *sdio_single_irq; /* SDIO function when only one IRQ active */
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dsdio.c70 sdio_writel(rtwsdio->sdio_func, val, addr, err_ret); in rtw_sdio_writel()
77 sdio_writeb(rtwsdio->sdio_func, buf[i], addr + i, err_ret); in rtw_sdio_writel()
93 sdio_writeb(rtwsdio->sdio_func, buf[i], addr + i, err_ret); in rtw_sdio_writew()
106 return sdio_readl(rtwsdio->sdio_func, addr, err_ret); in rtw_sdio_readl()
109 buf[i] = sdio_readb(rtwsdio->sdio_func, addr + i, err_ret); in rtw_sdio_readl()
124 buf[i] = sdio_readb(rtwsdio->sdio_func, addr + i, err_ret); in rtw_sdio_readw()
166 tmp = sdio_readb(rtwsdio->sdio_func, reg_cfg + 2, &ret); in rtw_sdio_indirect_reg_cfg()
186 return sdio_readb(rtwsdio->sdio_func, reg_data, err_ret); in rtw_sdio_indirect_read8()
261 sdio_claim_host(rtwsdio->sdio_func); in rtw_sdio_read8()
264 val = sdio_readb(rtwsdio->sdio_func, addr, &ret); in rtw_sdio_read8()
[all …]
Dsdio.h138 struct sdio_func;
151 struct sdio_func *sdio_func; member
166 int rtw_sdio_probe(struct sdio_func *sdio_func,
168 void rtw_sdio_remove(struct sdio_func *sdio_func);
/linux-6.6.21/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.c36 struct sdio_func *func; \
52 struct sdio_func *func = dev_to_sdio_func(dev); \
81 static const struct sdio_device_id *sdio_match_one(struct sdio_func *func, in sdio_match_one()
93 static const struct sdio_device_id *sdio_match_device(struct sdio_func *func, in sdio_match_device()
113 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_match()
125 const struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_uevent()
156 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_probe()
210 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_bus_remove()
292 struct sdio_func *func = dev_to_sdio_func(dev); in sdio_release_func()
311 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()
398 int sdio_read_func_cis(struct sdio_func *func) in sdio_read_func_cis()
418 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.c73 static int sdio_read_fbr(struct sdio_func *func) in sdio_read_fbr()
106 struct sdio_func *func; in sdio_init_func()
131 card->sdio_func[fn - 1] = func; in sdio_init_func()
931 if (host->card->sdio_func[i]) { in mmc_sdio_remove()
932 sdio_remove_func(host->card->sdio_func[i]); in mmc_sdio_remove()
933 host->card->sdio_func[i] = NULL; in mmc_sdio_remove()
1007 struct sdio_func *func = host->card->sdio_func[i]; in mmc_sdio_pre_suspend()
1284 pm_runtime_enable(&card->sdio_func[i]->dev); in mmc_attach_sdio()
1299 err = sdio_add_func(host->card->sdio_func[i]); in mmc_attach_sdio()
/linux-6.6.21/drivers/net/wireless/ti/wl1251/
Dsdio.c23 struct sdio_func *func;
27 static struct sdio_func *wl_to_func(struct wl1251 *wl) in wl_to_func()
33 static void wl1251_sdio_interrupt(struct sdio_func *func) in wl1251_sdio_interrupt()
54 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_read()
67 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_write()
80 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_read_elp()
100 struct sdio_func *func = wl_sdio->func; in wl1251_sdio_write_elp()
118 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_enable_irq()
127 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_disable_irq()
156 struct sdio_func *func = wl_to_func(wl); in wl1251_sdio_set_power()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dsdio_intf.c13 #define dev_to_sdio_func(d) container_of(d, struct sdio_func, dev)
27 static int rtw_drv_init(struct sdio_func *func, const struct sdio_device_id *id);
28 static void rtw_dev_remove(struct sdio_func *func);
47 static void sd_sync_int_hdl(struct sdio_func *func) in sd_sync_int_hdl()
65 struct sdio_func *func; in sdio_alloc_irq()
90 struct sdio_func *func; in sdio_free_irq()
116 struct sdio_func *func; in sdio_init()
150 struct sdio_func *func; in sdio_deinit()
172 static struct dvobj_priv *sdio_dvobj_init(struct sdio_func *func) in sdio_dvobj_init()
205 static void sdio_dvobj_deinit(struct sdio_func *func) in sdio_dvobj_deinit()
[all …]
Dsdio_ops_linux.c11 static bool rtw_sdio_claim_host_needed(struct sdio_func *func) in rtw_sdio_claim_host_needed()
40 struct sdio_func *func; in _sd_cmd52_read()
71 struct sdio_func *func; in sd_cmd52_read()
104 struct sdio_func *func; in _sd_cmd52_write()
135 struct sdio_func *func; in sd_cmd52_write()
163 struct sdio_func *func; in sd_read8()
190 struct sdio_func *func; in sd_read32()
242 struct sdio_func *func; in sd_write8()
267 struct sdio_func *func; in sd_write32()
335 struct sdio_func *func; in _sd_read()
[all …]
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dsdio.c56 static void wilc_sdio_interrupt(struct sdio_func *func) in wilc_sdio_interrupt()
65 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd52()
94 struct sdio_func *func = container_of(wilc->dev, struct sdio_func, dev); in wilc_sdio_cmd53()
135 static int wilc_sdio_probe(struct sdio_func *func, in wilc_sdio_probe()
190 static void wilc_sdio_remove(struct sdio_func *func) in wilc_sdio_remove()
205 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_reset()
229 struct sdio_func *func = dev_to_sdio_func(dev); in wilc_sdio_suspend()
256 struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); in wilc_sdio_enable_interrupt()
272 struct sdio_func *func = container_of(dev->dev, struct sdio_func, dev); in wilc_sdio_disable_interrupt()
290 struct sdio_func *func = dev_to_sdio_func(wilc->dev); in wilc_sdio_set_func0_csa_address()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
158 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_power_off()
256 static int wl1271_probe(struct sdio_func *func, in wl1271_probe()
369 static void wl1271_remove(struct sdio_func *func) in wl1271_remove()
384 struct sdio_func *func = dev_to_sdio_func(dev); in wl1271_suspend()
/linux-6.6.21/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 …]
/linux-6.6.21/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()
161 static void rsi_reset_card(struct sdio_func *pfunction) in rsi_reset_card()
826 struct sdio_func *pfunction) in rsi_init_sdio_interface()
885 struct sdio_func *pfunction = sdev->pfunction; in rsi_sdio_reinit_device()
1001 static int rsi_probe(struct sdio_func *pfunction, in rsi_probe()
1207 static void rsi_disconnect(struct sdio_func *pfunction) in rsi_disconnect()
1250 struct sdio_func *func = dev->pfunction; in rsi_set_sdio_pm_caps()
1260 static int rsi_sdio_disable_interrupts(struct sdio_func *pfunc) in rsi_sdio_disable_interrupts()
1307 static int rsi_sdio_enable_interrupts(struct sdio_func *pfunc) in rsi_sdio_enable_interrupts()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
285 struct sdio_func *func, u32 addr, in brcmf_sdiod_skbuff_read()
316 struct sdio_func *func, u32 addr, in brcmf_sdiod_skbuff_write()
338 struct sdio_func *func, int write) in mmc_submit_one()
378 struct sdio_func *func, in brcmf_sdiod_sglist_rw()
739 int brcmf_sdiod_abort(struct brcmf_sdio_dev *sdiodev, struct sdio_func *func) in brcmf_sdiod_abort()
752 struct sdio_func *func; in brcmf_sdiod_sgtable_alloc()
1035 static int brcmf_ops_sdio_probe(struct sdio_func *func, in brcmf_ops_sdio_probe()
1076 sdiodev->func1 = func->card->sdio_func[0]; in brcmf_ops_sdio_probe()
[all …]
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dbus_sdio.c45 struct sdio_func *func;
107 static void wfx_sdio_irq_handler(struct sdio_func *func) in wfx_sdio_irq_handler()
194 static int wfx_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) in wfx_sdio_probe()
247 static void wfx_sdio_remove(struct sdio_func *func) in wfx_sdio_remove()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio.c76 static int mt7663s_probe(struct sdio_func *func, in mt7663s_probe()
171 static void mt7663s_remove(struct sdio_func *func) in mt7663s_remove()
185 struct sdio_func *func = dev_to_sdio_func(dev); in mt7663s_suspend()
218 struct sdio_func *func = dev_to_sdio_func(dev); in mt7663s_resume()
/linux-6.6.21/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()
350 static void btsdio_remove(struct sdio_func *func) in btsdio_remove()

12