/linux-6.12.1/include/linux/platform_data/ |
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-6.12.1/Documentation/devicetree/bindings/mmc/ |
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 …]
|
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 …]
|
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-6.12.1/drivers/pinctrl/mvebu/ |
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 …]
|
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-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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 …]
|
D | of.c | 1 // SPDX-License-Identifier: ISC 19 struct device_node *np = dev->of_node; in brcmf_of_get_country_codes() 25 count = of_property_count_strings(np, "brcm,ccode-map"); in brcmf_of_get_country_codes() 27 /* If no explicit country code map is specified, check whether in brcmf_of_get_country_codes() 30 settings->trivial_ccode_map = in brcmf_of_get_country_codes() 31 of_property_read_bool(np, "brcm,ccode-map-trivial"); in brcmf_of_get_country_codes() 36 return (count == -EINVAL) ? 0 : count; in brcmf_of_get_country_codes() 41 return -ENOMEM; in brcmf_of_get_country_codes() 43 cc->table_size = count; in brcmf_of_get_country_codes() 48 cce = &cc->table[i]; in brcmf_of_get_country_codes() [all …]
|
D | sdio.c | 1 // SPDX-License-Identifier: ISC 15 #include <linux/mmc/sdio.h> 32 #include "sdio.h" 72 __le32 buf; /* Can't be pointer on (64-bit) hosts */ 80 * When there is no UART (e.g. Quickturn), 117 #define TXHI (TXQLEN - 256) /* turn on flow control above TXHI */ 118 #define TXLOW (TXHI - 256) /* turn off flow control below TXLOW */ 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) */ [all …]
|
/linux-6.12.1/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Nokia Corporation 14 #include <linux/mmc/sdio.h> 39 MODULE_DEVICE_TABLE(sdio, wl1271_devices); 44 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size() 45 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size() 56 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read() 57 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read() 63 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n", in wl12xx_sdio_raw_read() 71 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n", in wl12xx_sdio_raw_read() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/rockchip/ |
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 …]
|
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 …]
|
D | rk3308-rock-pi-s.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 20 mmc2 = &sdio; 24 stdout-path = "serial0:1500000n8"; 28 compatible = "gpio-leds"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&green_led>, <&heartbeat_led>; 32 green-led { 34 default-state = "on"; [all …]
|
/linux-6.12.1/drivers/net/wireless/st/cw1200/ |
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-6.12.1/fs/ |
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-6.12.1/drivers/mmc/core/ |
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 …]
|
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 …]
|
D | sdio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/mmc/sdio.c 5 * Copyright 2006-2007 Pierre Ossman 15 #include <linux/mmc/sdio.h> 31 MMC_DEV_ATTR(vendor, "0x%04x\n", card->cis.vendor); 32 MMC_DEV_ATTR(device, "0x%04x\n", card->cis.device); 33 MMC_DEV_ATTR(revision, "%u.%u\n", card->major_rev, card->minor_rev); 34 MMC_DEV_ATTR(ocr, "0x%08x\n", card->ocr); 35 MMC_DEV_ATTR(rca, "0x%04x\n", card->rca); 42 if (num > card->num_info) \ [all …]
|
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/ |
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-6.12.1/arch/arm64/boot/dts/sprd/ |
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-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
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-6.12.1/arch/riscv/boot/dts/sophgo/ |
D | sg2042-milkv-pioneer.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 9 model = "Milk-V Pioneer"; 13 stdout-path = "serial0"; 18 clock-frequency = <25000000>; 22 clock-frequency = <25000000>; 26 clock-frequency = <25000000>; 30 bus-width = <4>; 31 no-sdio; 32 no-sd; 33 non-removable; [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath10k/ |
D | sdio.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2004-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2012,2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2016-2017 Erik Stromdahl <erik.stromdahl@gmail.com> 6 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 15 #include <linux/mmc/sdio.h> 26 #include "sdio.h" 38 return __ALIGN_MASK((len), ar_sdio->mbox_info.block_mask); in ath10k_sdio_calc_txrx_padded_len() 48 dev_kfree_skb(pkt->skb); in ath10k_sdio_mbox_free_rx_pkt() 49 pkt->skb = NULL; in ath10k_sdio_mbox_free_rx_pkt() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/ |
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-6.12.1/drivers/mmc/host/ |
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. 123 disabled, it will steal the MMC cards away - rendering them 261 The controller supports SD/MMC/SDIO devices. 268 tristate "SDHCI support for the Cadence SD/SDIO/eMMC controller" 273 This selects the Cadence SD/SDIO/eMMC driver. 414 Needed by some Fujitsu SoC for MMC / SD / SDIO support. 425 Needed by Milbeaut SoC for MMC / SD / SDIO support. 460 MMC 5.1 compliant and supports SD, eMMC and SDIO interfaces. [all …]
|