Home
last modified time | relevance | path

Searched full:sdio (Results 1 – 25 of 488) sorted by relevance

12345678910>>...20

/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dsdio.c14 #include <linux/mmc/sdio.h>
52 static int mm81x_sdio_enable_irq(struct mm81x_sdio *sdio) in mm81x_sdio_enable_irq() argument
55 struct sdio_func *func = sdio->func; in mm81x_sdio_enable_irq()
62 dev_err(mors->dev, "Failed to enable sdio irq: %d\n", ret); in mm81x_sdio_enable_irq()
68 static void mm81x_sdio_disable_irq(struct mm81x_sdio *sdio) in mm81x_sdio_disable_irq() argument
70 struct sdio_func *func = sdio->func; in mm81x_sdio_disable_irq()
80 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; in mm81x_sdio_set_irq() local
83 mm81x_sdio_enable_irq(sdio); in mm81x_sdio_set_irq()
85 mm81x_sdio_disable_irq(sdio); in mm81x_sdio_set_irq()
93 static void mm81x_sdio_reset_base_address(struct mm81x_sdio *sdio) in mm81x_sdio_reset_base_address() argument
[all …]
/linux/drivers/mmc/host/
H A Dtoshsd.h37 #define SD_CMD 0x00 /* also for SDIO */
38 #define SD_ARG0 0x04 /* also for SDIO */
39 #define SD_ARG1 0x06 /* also for SDIO */
41 #define SD_BLOCKCOUNT 0x0a /* also for SDIO */
42 #define SD_RESPONSE0 0x0c /* also for SDIO */
43 #define SD_RESPONSE1 0x0e /* also for SDIO */
44 #define SD_RESPONSE2 0x10 /* also for SDIO */
45 #define SD_RESPONSE3 0x12 /* also for SDIO */
46 #define SD_RESPONSE4 0x14 /* also for SDIO */
47 #define SD_RESPONSE5 0x16 /* also for SDIO */
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dsdio.c5 * SDIO over Sonics Silicon Backplane bus glue for b43.
18 #include "sdio.h"
51 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_interrupt_dispatcher() local
52 struct b43_wldev *dev = sdio->irq_handler_opaque; in b43_sdio_interrupt_dispatcher()
58 sdio->irq_handler(dev); in b43_sdio_interrupt_dispatcher()
67 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_request_irq() local
70 sdio->irq_handler_opaque = dev; in b43_sdio_request_irq()
71 sdio->irq_handler = handler; in b43_sdio_request_irq()
83 struct b43_sdio *sdio = sdio_get_drvdata(func); in b43_sdio_free_irq() local
88 sdio->irq_handler_opaque = NULL; in b43_sdio_free_irq()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dsdio.c21 #include "sdio.h"
25 return sdio_readl(dev->sdio.func, MCR_WHISR, NULL); in mt76s_read_whisr()
30 struct mt76_sdio *sdio = &dev->sdio; in mt76s_read_pcr() local
32 return sdio_readl(sdio->func, MCR_WHLPCR, NULL); in mt76s_read_pcr()
38 struct sdio_func *func = dev->sdio.func; in mt76s_read_mailbox()
93 struct sdio_func *func = dev->sdio.func; in mt76s_write_mailbox()
231 dev->sdio.hw_ver = hw_ver; in mt76s_hw_init()
410 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt76s_net_worker() local
412 struct mt76_dev *dev = container_of(sdio, struct mt76_dev, sdio); in mt76s_net_worker()
463 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt76s_status_worker() local
[all …]
/linux/drivers/net/wireless/microchip/wilc1000/
H A DKconfig6 This provides Wi-FI over an SDIO or SPI interface, and
12 tristate "Atmel WILC1000 SDIO (WiFi only)"
16 This module adds support for the SDIO interface of adapters using
17 WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface.
18 It meets SDIO card specification version 2.0. The interface supports
23 this if your platform is using the SDIO bus.
46 mechanism for SDIO host controllers that don't support SDIO interrupt.
47 Select this option If the SDIO host controller in your platform
48 doesn't support SDIO time division interrupt.
/linux/drivers/pinctrl/mvebu/
H A Dpinctrl-armada-ap806.c23 MPP_FUNCTION(1, "sdio", "clk"),
27 MPP_FUNCTION(1, "sdio", "cmd"),
31 MPP_FUNCTION(1, "sdio", "d0"),
35 MPP_FUNCTION(1, "sdio", "d1"),
39 MPP_FUNCTION(1, "sdio", "d2"),
43 MPP_FUNCTION(1, "sdio", "d3"),
47 MPP_FUNCTION(1, "sdio", "ds")),
50 MPP_FUNCTION(1, "sdio", "d4"),
54 MPP_FUNCTION(1, "sdio", "d5"),
58 MPP_FUNCTION(1, "sdio", "d6"),
[all …]
H A Dpinctrl-ac5.c22 MPP_FUNCTION(1, "sdio", "d0"),
26 MPP_FUNCTION(1, "sdio", "d1"),
30 MPP_FUNCTION(1, "sdio", "d2"),
34 MPP_FUNCTION(1, "sdio", "d3"),
38 MPP_FUNCTION(1, "sdio", "d4"),
44 MPP_FUNCTION(1, "sdio", "d5"),
50 MPP_FUNCTION(1, "sdio", "d6"),
55 MPP_FUNCTION(1, "sdio", "d7"),
60 MPP_FUNCTION(1, "sdio", "clk"),
64 MPP_FUNCTION(1, "sdio", "cmd"),
[all …]
H A Dpinctrl-armada-cp110.c311 MPP_FUNCTION(8, "sdio", "v18_en"),
317 MPP_FUNCTION(2, "sdio", "pwr10"),
321 MPP_FUNCTION(6, "sdio", "bus_pwr"),
328 MPP_FUNCTION(2, "sdio", "pwr11"),
332 MPP_FUNCTION(6, "sdio", "wr_protect"),
343 MPP_FUNCTION(6, "sdio", "card_detect"),
388 MPP_FUNCTION(1, "sdio", "wr_protect"),
396 MPP_FUNCTION(1, "sdio", "pwr11"),
408 MPP_FUNCTION(1, "sdio", "pwr10"),
409 MPP_FUNCTION(2, "sdio", "bus_pwr"),
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c5 /* ****************** SDIO CARD Interface Functions **************************/
15 #include <linux/mmc/sdio.h>
36 #include "sdio.h"
65 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_oob_irqhandler()
85 struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv.sdio; in brcmf_sdiod_ib_irqhandler()
92 /* dummy handler for SDIO function 2 interrupt */
104 pdata = &sdiodev->settings->bus.sdio; in brcmf_sdiod_intr_register()
106 brcmf_dbg(SDIO, "Enter, register OOB IRQ %d\n", in brcmf_sdiod_intr_register()
130 /* assign GPIO to SDIO core */ in brcmf_sdiod_intr_register()
157 brcmf_dbg(SDIO, "Entering\n"); in brcmf_sdiod_intr_register()
[all …]
H A Dsdio.c15 #include <linux/mmc/sdio.h>
32 #include "sdio.h"
142 /* 1: assertion of sdio interrupt is synchronous to the sdio clock */
146 /* 1: isolate internal sdio signals, put external pads in tri-state; requires
147 * sdio bus power cycle to clear (rev 9) */
175 /* SDIO function 1 register CHIPCLKCSR */
222 #define I_BUSPWR (1 << 17) /* SDIO Bus Power Change (rev 9) */
239 #define CC_CLRPADSISO (1 << 3) /* clear SDIO pads isolation */
389 /* dongle SDIO bus specific header info */
413 uint rxc_errors; /* SDIO errors when reading control frames */
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
H A DKconfig72 tristate "Realtek 8822BS SDIO wireless network adapter"
80 802.11ac SDIO wireless network adapter
105 tristate "Realtek 8822CS SDIO wireless network adapter"
113 802.11ac SDIO wireless network adapter
138 tristate "Realtek 8723DS SDIO wireless network adapter"
146 802.11n SDIO wireless network adapter
149 tristate "Realtek 8723CS SDIO wireless network adapter"
157 This module adds support for the 8723CS 802.11n SDIO
185 tristate "Realtek 8821CS SDIO wireless network adapter"
193 802.11ac SDIO wireless network adapter
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,kirkwood-pinctrl.txt39 mpp12 12 gpo, sdio(clk)
40 mpp13 13 gpio, sdio(cmd), uart1(txd)
41 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col)
42 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd)
43 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs)
44 mpp17 17 gpio, sdio(d3)
77 mpp12 12 gpo, sdio(clk)
78 mpp13 13 gpio, sdio(cmd), uart1(txd)
79 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col)
80 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
[all …]
H A Dloongson,ls2k-pinctrl.yaml42 enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0,
47 enum: [gpio, sdio, can1, can0, pwm3, pwm2, pwm1, pwm0, i2c1, i2c0,
65 sdio_pins_default: sdio-pins {
66 sdio-pinmux {
67 groups = "sdio";
68 function = "sdio";
71 sdio-det-pinmux {
/linux/include/linux/platform_data/
H A Dbrcmfmac.h48 * enum brcmf_bus_type - Bus type identifier. Currently SDIO, USB and PCIE are
59 * struct brcmfmac_sdio_pd - SDIO Device specific platform data.
61 * @txglomsz: SDIO txglom size. Use 0 if default of driver is to be
63 * @drive_strength: is the preferred drive_strength to be used for the SDIO
68 * @oob_irq_supported: does the board have support for OOB interrupts. SDIO
77 * @broken_sg_support: flag for broken sg list support of SDIO host controller.
78 * Set this to true if the SDIO host controller has higher
85 * case of SDIO type devices. It is possible to reset a
86 * dongle via sdio data interface, but it requires that
135 * @id: ID of the device for which this data is. In case of SDIO
[all …]
/linux/drivers/mmc/core/
H A Dsdio_irq.c23 #include <linux/mmc/sdio.h>
66 /* Don't process SDIO IRQs if the card is suspended. */ in process_sdio_pending_irqs()
148 * We want to allow for SDIO cards to work even on non SDIO in sdio_irq_thread()
149 * aware hosts. One thing that non SDIO host cannot do is in sdio_irq_thread()
150 * asynchronous notification of pending SDIO card interrupts in sdio_irq_thread()
169 * Just like traditional hard IRQ handlers, we expect SDIO in sdio_irq_thread()
290 * sdio_claim_irq - claim the IRQ for a SDIO function
291 * @func: SDIO function
294 * Claim and activate the IRQ for the given SDIO function. The provided
307 pr_debug("SDIO: Enabling IRQ for %s...\n", sdio_func_id(func)); in sdio_claim_irq()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.h3 * NXP Wireless LAN device driver: SDIO specific definitions
13 #include <linux/mmc/sdio.h>
94 /* SDIO Tx aggregation in progress ? */
97 /* SDIO Tx aggregation buffer room for next packet ? */
101 /* Copy current packet (SDIO Tx aggregation buffer) to SDIO buffer */
117 /* SDIO Tx aggregation limit ? */
121 /* Reset SDIO Tx aggregation buffer parameters */
129 /* SDIO Rx aggregation limit ? */
133 /* SDIO Rx aggregation in progress ? */
136 /* SDIO Rx aggregation buffer room for next packet ? */
[all …]
/linux/include/linux/mmc/
H A Dsdio_func.h12 #include <linux/device-id/sdio.h>
22 * SDIO function CIS tuple (unknown to the core)
32 * SDIO function devices
73 * SDIO function device driver
87 * SDIO_DEVICE - macro used to describe a specific SDIO device
99 * SDIO_DEVICE_CLASS - macro used to describe a specific SDIO device class
103 * specific standard SDIO function type. The vendor and device fields will
117 * module_sdio_driver() - Helper macro for registering a SDIO driver
120 * Helper macro for SDIO drivers which do not do anything special in module
129 * SDIO I/O operations
H A Dpm.h14 * some cards (typically SDIO cards) might wish to benefit from when
17 * code, to the SDIO core code, to finally get to the actual SDIO function
25 #define MMC_PM_WAKE_SDIO_IRQ (1 << 1) /* wake up host system on SDIO IRQ assertion */
H A Dsdio.h3 * include/linux/mmc/sdio.h
11 /* SDIO commands type argument response */
41 SDIO status in R5
74 #define SDIO_SDIO_REV_1_00 0 /* SDIO Spec Version 1.00 */
75 #define SDIO_SDIO_REV_1_10 1 /* SDIO Spec Version 1.10 */
76 #define SDIO_SDIO_REV_1_20 2 /* SDIO Spec Version 1.20 */
77 #define SDIO_SDIO_REV_2_00 3 /* SDIO Spec Version 2.00 */
78 #define SDIO_SDIO_REV_3_00 4 /* SDIO Spec Version 3.00 */
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsdio.h3 * NXP Wireless LAN device driver: SDIO specific definitions
73 /* SDIO Tx aggregation in progress ? */
76 /* SDIO Tx aggregation buffer room for next packet ? */
82 /* Copy current packet (SDIO Tx aggregation buffer) to SDIO buffer */
101 /* SDIO Tx aggregation limit ? */
107 /* Reset SDIO Tx aggregation buffer parameters */
116 /* SDIO Rx aggregation limit ? */
122 /* SDIO Rx aggregation in progress ? */
125 /* SDIO Rx aggregation buffer room for next packet ? */
131 /* Reset SDIO Rx aggregation buffer parameters */
[all …]
H A Dsdio.c3 * NXP Wireless LAN device driver: SDIO specific handling
10 #include <linux/mmc/sdio.h>
22 #include "sdio.h"
26 /* Process deferred SDIO work items. */
121 /* Bind the SDIO function and start device registration. */
179 /* Resume the SDIO function and cancel host sleep. */
359 /* Remove the SDIO function and tear down the adapter. */
391 /* Suspend the SDIO function while keeping SDIO power. */
464 MODULE_DEVICE_TABLE(sdio, nxpwifi_ids);
496 /* SDIO wrapper for firmware download (claims host). */
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller-common.yaml20 The cell is the SDIO function number if a function subnode is used.
86 - for SD/SDIO cards the SDR104 mode has a max supported
112 line. Not used in combination with eMMC or SDIO.
175 cap-sdio-irq:
178 enable SDIO IRQ signalling on this interface
243 no-sdio:
246 Controller is limited to send SDIO commands during
294 SDIO only. Preserves card power during a suspend/resume cycle.
299 SDIO only. Enables wake up of host system on SDIO IRQ assertion.
316 sequence. To successfully detect an (e)MMC/SD/SDIO card, that
[all …]
H A Dmarvell,orion-sdio.yaml4 $id: http://devicetree.org/schemas/mmc/marvell,orion-sdio.yaml#
7 title: Marvell orion-sdio controller
18 const: marvell,orion-sdio
40 compatible = "marvell,orion-sdio";
/linux/Documentation/devicetree/bindings/net/bluetooth/
H A Dmediatek,mt7921s-bluetooth.yaml13 MT7921S is an SDIO-attached dual-radio WiFi+Bluetooth Combo chip; each
14 function is its own SDIO function on a shared SDIO interface. The chip
16 This binding only covers the Bluetooth SDIO function, with one device
17 node describing only this SDIO function.
/linux/drivers/net/wireless/st/cw1200/
H A Dcw1200_sdio.c3 * Mac80211 SDIO driver for ST-Ericsson CW1200 device
16 #include <linux/mmc/sdio.h>
26 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SDIO driver");
56 MODULE_DEVICE_TABLE(sdio, cw1200_sdio_ids);
205 pr_err("could not get CW1200 SDIO reset GPIO\n"); in cw1200_sdio_on()
211 pr_err("could not get CW1200 SDIO powerup GPIO\n"); in cw1200_sdio_on()
277 /* Probe Function to be called by SDIO stack when device is discovered */
292 pr_err("Can't allocate SDIO hwbus_priv.\n"); in cw1200_sdio_probe()
325 /* Disconnect Function to be called by SDIO stack when
356 /* Notify SDIO that CW1200 will remain powered during suspend */ in cw1200_sdio_suspend()
[all …]

12345678910>>...20