/linux/include/linux/platform_data/ |
H A D | brcmfmac.h | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 34 * Note: the brcmfmac can be loaded as module or be statically built-in into 35 * the kernel. If built-in then do note that it uses module_init (and 38 * it built-in to the kernel then use a higher initcall then device_initcall 43 * without reporting anything and just assume there is no data needed. Which is 48 * 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 [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mmc-controller.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 25 "#address-cells": 30 "#size-cells": 37 broken-cd: 40 There is no card detection available; polling must be used. 42 cd-gpios: [all …]
|
H A D | sprd,sdhci-r11.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mmc/sprd,sdhci-r11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 16 const: sprd,sdhci-r11 27 - description: SDIO source clock 28 - description: gate clock for enabling/disabling the device [all …]
|
H A D | marvell,xenon-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/marvell,xenon-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 mmc-controller.yaml and the properties used by the Xenon implementation. 20 - Ulf Hansson <ulf.hansson@linaro.org> 25 - enum: 26 - marvell,armada-cp110-sdhci 27 - marvell,armada-ap806-sdhci 29 - items: [all …]
|
/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-ap806.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 18 #include "pinctrl-mvebu.h" 23 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")), [all …]
|
H A D | pinctrl-ac5.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include "pinctrl-mvebu.h" 22 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"), [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | cv1812h-huashan-pi.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 12 compatible = "sophgo,huashan-pi", "sophgo,cv1812h"; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 #address-cells = <1>; 32 #size-cells = <1>; 37 no-map; 43 clock-frequency = <25000000>; 48 bus-width = <4>; [all …]
|
H A D | sg2042-milkv-pioneer.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 12 model = "Milk-V Pioneer"; 16 stdout-path = "serial0"; 19 gpio-power { 20 compatible = "gpio-keys"; 22 key-power { 26 linux,input-type = <EV_KEY>; 27 debounce-interval = <100>; [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.h | 1 // SPDX-License-Identifier: ISC 69 /* rev < 7, watermark for sdio device TX path */ 84 /* SdioPullUp (on cmd, d0-d2) */ 96 /* Watermark for sdio device RX path */ 103 /* Sdio Core Rev 12 */ 124 /* with b15, maps to 32-bit SB access */ 140 /* Packet alignment for most efficient SDIO (can change based on platform) */ 147 * enum brcmf_sdiod_state - the state of the bus. 149 * @BRCMF_SDIOD_DOWN: Device can be accessed, no DPC. 151 * @BRCMF_SDIOD_NOMEDIUM: No medium access to dongle possible. [all …]
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | cw1200_sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Mac80211 SDIO driver for ST-Ericsson CW1200 device 5 * Copyright (c) 2010, ST-Ericsson 6 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no> 16 #include <linux/mmc/sdio.h> 22 #include <linux/platform_data/net-cw1200.h> 25 MODULE_AUTHOR("Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>"); 26 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SDIO driver"); 56 MODULE_DEVICE_TABLE(sdio, cw1200_sdio_ids); 64 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-radxa-zero-3w.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "rk3566-radxa-zero-3.dtsi" 9 compatible = "radxa,zero-3w", "rockchip,rk3566"; 17 sdio_pwrseq: sdio-pwrseq { 18 compatible = "mmc-pwrseq-simple"; 20 clock-names = "ext_clock"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&wifi_reg_on_h>; 23 post-power-on-delay-ms = <100>; [all …]
|
H A D | rk3308-rock-s0.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/leds/common.h> 10 compatible = "radxa,rock-s0", "rockchip,rk3308"; 16 mmc2 = &sdio; 20 stdout-path = "serial0:1500000n8"; 24 compatible = "gpio-leds"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pwr_led>; 28 led-green { [all …]
|
/linux/fs/ |
H A D | direct-io.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fs/direct-io.c 16 * added support for non-aligned IO. 58 * is determined on a per-invocation basis. When talking to the filesystem 60 * down by dio->blkfactor. Similarly, fs-blocksize quantities are converted 75 finer. blkfactor=2 means 1/4-block 77 unsigned start_zero_done; /* flag: sub-blocksize zeroing has 158 static inline unsigned dio_pages_present(struct dio_submit *sdio) in dio_pages_present() argument 160 return sdio->tail - sdio->head; in dio_pages_present() 166 static inline int dio_refill_pages(struct dio *dio, struct dio_submit *sdio) in dio_refill_pages() argument [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * NXP Wireless LAN device driver: SDIO specific handling 5 * Copyright 2011-2020 NXP 17 #include "sdio.h" 528 * The device node is saved in card->plt_of_node. 534 if (!of_match_node(mwifiex_sdio_of_match_table, dev->of_node)) { in mwifiex_sdio_probe_of() 536 return -EINVAL; in mwifiex_sdio_probe_of() 543 * SDIO probe. 546 * the card structure, enables SDIO function number and initiates the 557 func->vendor, func->device, func->class, func->num); in mwifiex_sdio_probe() [all …]
|
/linux/drivers/mmc/core/ |
H A D | sdio_irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 #include <linux/mmc/sdio.h> 32 struct mmc_card *card = host->card; in sdio_get_pending_irqs() 35 WARN_ON(!host->claimed); in sdio_get_pending_irqs() 45 !(host->caps & MMC_CAP_SDIO_IRQ)) { in sdio_get_pending_irqs() 60 struct mmc_card *card = host->card; in process_sdio_pending_irqs() 62 bool sdio_irq_pending = host->sdio_irq_pending; in process_sdio_pending_irqs() 66 /* Don't process SDIO IRQs if the card is suspended. */ in process_sdio_pending_irqs() 71 host->sdio_irq_pending = false; in process_sdio_pending_irqs() 78 func = card->sdio_single_irq; in process_sdio_pending_irqs() [all …]
|
H A D | sdio_io.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2007-2008 Pierre Ossman 12 #include <linux/mmc/sdio.h> 21 * sdio_claim_host - exclusively claim a bus for a certain SDIO function 22 * @func: SDIO function that will be accessed 24 * Claim a bus for a set of operations. The SDIO function given 32 mmc_claim_host(func->card->host); in sdio_claim_host() 37 * sdio_release_host - release a bus for a certain SDIO function 38 * @func: SDIO function that was accessed 48 mmc_release_host(func->card->host); in sdio_release_host() [all …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | ums512-1h10.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Unisoc UMS512-1h10 boards DTS file 8 /dts-v1/; 13 model = "Unisoc UMS512-1H10 Board"; 15 compatible = "sprd,ums512-1h10", "sprd,ums512"; 28 stdout-path = "serial1:115200n8"; 42 bus-width = <4>; 43 no-sdio; 44 no-mmc; 45 sprd,phy-delay-sd-uhs-sdr104 = <0x7f 0x73 0x72 0x72>; [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | pwrseq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2013 Realtek Corporation.*/ 8 /* Check document WM-20110607-Paul-RTL8188EE_Power_Architecture-R02.vsd 10 * 0: POFF--Power Off 11 * 1: PDN--Power Down 12 * 2: CARDEMU--Card Emulation 13 * 3: ACT--Active Mode 14 * 4: LPS--Low Power State 15 * 5: SUS--Suspend 71 /*SDIO Driving*/}, [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | sdio.c | 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 24 #include <linux/mmc/sdio.h> 27 #include "hif-ops.h" 82 return ar->hif_priv; in ath6kl_sdio_priv() 86 * Macro to check if DMA buffer is WORD-aligned and DMA-able. 88 * bug-check otherwise (i.e. buffers on the stack). virt_addr_valid 98 struct ath6kl_mbox_info *mbox_info = &ar->mbox_info; in ath6kl_sdio_set_mbox_info() 101 mbox_info->htc_addr = HIF_MBOX_BASE_ADDR; in ath6kl_sdio_set_mbox_info() [all …]
|
/linux/drivers/mmc/host/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 comment "MMC/SD/SDIO Host Controller Drivers" 94 implements a hardware byte swapper using a 32-bit datum. 106 support UHS2-capable devices. 133 disabled, it will steal the MMC cards away - rendering them 271 The controller supports SD/MMC/SDIO devices. 278 tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller" 283 This selects the Cadence SD/SDIO/eMMC driver. 424 Needed by some Fujitsu SoC for MMC / SD / SDIO support. 435 Needed by Milbeaut SoC for MMC / SD / SDIO support. [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | pwrseq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 9 * Check document WM-20110607-Paul-RTL8723A_Power_Architecture-R02.vsd 11 * 0: POFF--Power Off 12 * 1: PDN--Power Down 13 * 2: CARDEMU--Card Emulation 14 * 3: ACT--Active Mode 15 * 4: LPS--Low Power State 16 * 5: SUS--Suspend 97 /*Set SDIO suspend local register*/ \ [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-s4-s805x2-aq222.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-s4.dtsi" 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; 15 #size-cells = <2>; 26 reserved-memory { 27 #address-cells = <2>; 28 #size-cells = <2>; 34 no-map; [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | pwrseq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2014 Realtek Corporation.*/ 9 * Check document WM-20110607-Paul-RTL8192E_Power_Architecture-R02.vsd 11 * 0: POFF--Power Off 12 * 1: PDN--Power Down 13 * 2: CARDEMU--Card Emulation 14 * 3: ACT--Active Mode 15 * 4: LPS--Low Power State 16 * 5: SUS--Suspend 98 /*Set SDIO suspend local register*/ \ [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-href-family-pinctrl.dtsi" 17 compatible = "simple-battery"; 18 battery-type = "lithium-ion-polymer"; 21 thermal-zones { 22 battery-thermal { 24 polling-delay = <0>; [all …]
|
/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_sdio_ops.c | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 24 * rsi_sdio_master_access_msword() - This function sets the AHB master access 25 * MS word in the SDIO slave registers. 29 * Return: status: 0 on success, -1 on failure. 50 return -1; in rsi_sdio_master_access_msword() 67 struct rsi_hw *adapter = common->priv; in rsi_sdio_rx_thread() 68 struct rsi_91x_sdiodev *sdev = adapter->rsi_dev; in rsi_sdio_rx_thread() 71 rsi_wait_event(&sdev->rx_thread.event, EVENT_WAIT_FOREVER); in rsi_sdio_rx_thread() 72 rsi_reset_event(&sdev->rx_thread.event); in rsi_sdio_rx_thread() 74 } while (!atomic_read(&sdev->rx_thread.thread_done)); in rsi_sdio_rx_thread() [all …]
|