Home
last modified time | relevance | path

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

12345678910>>...21

/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
99 mm81x_sdio_set_func_address_base(struct mm81x_sdio * sdio,struct sdio_func * func,u32 address,u8 access) mm81x_sdio_set_func_address_base() argument
150 mm81x_sdio_mem_write_block(struct mm81x_sdio * sdio,u32 address,u8 * data,ssize_t size) mm81x_sdio_mem_write_block() argument
175 mm81x_sdio_mem_write_byte(struct mm81x_sdio * sdio,u32 address,u8 * data,ssize_t size) mm81x_sdio_mem_write_byte() argument
198 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_claim_host() local
206 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_release_host() local
212 mm81x_sdio_mem_read_block(struct mm81x_sdio * sdio,u32 address,u8 * data,ssize_t size) mm81x_sdio_mem_read_block() argument
248 mm81x_sdio_mem_read_byte(struct mm81x_sdio * sdio,u32 address,u8 * data,ssize_t size) mm81x_sdio_mem_read_byte() argument
274 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_dm_write() local
331 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_dm_read() local
386 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_reg32_write() local
415 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_reg32_read() local
433 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_bus_enable() local
494 mm81x_sdio_enable(struct mm81x_sdio * sdio) mm81x_sdio_enable() argument
508 mm81x_sdio_release(struct mm81x_sdio * sdio) mm81x_sdio_release() argument
522 struct mm81x_sdio *sdio; mm81x_sdio_probe() local
580 struct mm81x_sdio *sdio = (struct mm81x_sdio *)mors->drv_priv; mm81x_sdio_remove() local
[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 in b43_sdio_free_irq()
95 struct b43_sdio *sdio; b43_sdio_probe() local
172 struct b43_sdio *sdio = sdio_get_drvdata(func); b43_sdio_remove() local
[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()
406 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, in mt76s_process_rx_queue()
408 struct mt76_dev *dev = container_of(sdio, struc
410 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, mt76s_net_worker() local
463 struct mt76_sdio *sdio = container_of(w, struct mt76_sdio, mt76s_status_worker() local
493 struct mt76_sdio *sdio; mt76s_tx_status_data() local
598 struct mt76_sdio *sdio = &dev->sdio; mt76s_tx_kick() local
611 struct mt76_sdio *sdio = &dev->sdio; mt76s_deinit() local
647 struct mt76_sdio *sdio = &dev->sdio; mt76s_init() local
[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 bu
[all...]
H A Dsdio.h69 /* rev < 7, watermark for sdio device TX path */
96 /* Watermark for sdio device RX path */
103 /* Sdio Core Rev 12 */
140 /* Packet alignment for most efficient SDIO (can change based on platform) */
198 /* sdio core registers */
228 /* synchronized access to registers in SDIO clock domain */
261 /* SDIO/PCMCIA CIS region */
291 /* SDIO device register access interface */
292 /* Accessors for SDIO Function 0 */
299 /* Accessors for SDIO Function 1 */
[all …]
/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-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_pw
[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 …]
/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/net/wireless/realtek/rtw88/
H A DKconfig76 tristate "Realtek 8822BS SDIO wireless network adapter"
84 802.11ac SDIO wireless network adapter
109 tristate "Realtek 8822CS SDIO wireless network adapter"
117 802.11ac SDIO wireless network adapter
142 tristate "Realtek 8723DS SDIO wireless network adapter"
150 802.11n SDIO wireless network adapter
153 tristate "Realtek 8723CS SDIO wireless network adapter"
161 This module adds support for the 8723CS 802.11n SDIO
167 tristate "Realtek 8723BS SDIO wireless network adapter"
175 This module adds support for the 8723BS 802.11n SDIO
[all...]
/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/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/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/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 …]
H A Dsdio.c3 * NXP Wireless LAN device driver: SDIO specific handling
17 #include "sdio.h"
543 * SDIO probe.
546 * the card structure, enables SDIO function number and initiates the
625 * SDIO resume.
665 /* Write data into SDIO card register. Caller claims SDIO device. */
675 /* This function writes data into SDIO card register.
690 /* This function reads data from SDIO card register.
708 /* This function writes multiple data into SDIO car
[all...]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsdio.h3 * NXP Wireless LAN device driver: SDIO specific definitions
74 /* SDIO Tx aggregation in progress ? */
77 /* SDIO Tx aggregation buffer room for next packet ? */
83 /* Copy current packet (SDIO Tx aggregation buffer) to SDIO buffer */
102 /* SDIO Tx aggregation limit ? */
108 /* Reset SDIO Tx aggregation buffer parameters */
117 /* SDIO Rx aggregation limit ? */
123 /* SDIO Rx aggregation in progress ? */
126 /* SDIO R
[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. */
134 /* Bind the SDIO function and start device registration. */ in nxpwifi_sdio_probe()
192 /* Resume the SDIO function and cancel host sleep. */ in nxpwifi_sdio_resume()
372 /* Remove the SDIO function and tear down the adapter. */ in nxpwifi_sdio_remove()
404 /* Suspend the SDIO function while keeping SDIO power. */ in nxpwifi_sdio_suspend()
479 MODULE_DEVICE_TABLE(sdio, nxpwifi_id
[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 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/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
304 SDIO only. Preserves card power during a suspend/resume cycle.
309 SDIO only. Enables wake up of host system on SDIO IR
[all...]
/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>>...21