/linux/drivers/gpio/ |
H A D | gpio-rockchip.c | 83 static inline void rockchip_gpio_writel(struct rockchip_pin_bank *bank, in rockchip_gpio_writel() argument 86 void __iomem *reg = bank->reg_base + offset; in rockchip_gpio_writel() 88 if (bank->gpio_type == GPIO_TYPE_V2) in rockchip_gpio_writel() 94 static inline u32 rockchip_gpio_readl(struct rockchip_pin_bank *bank, in rockchip_gpio_readl() argument 97 void __iomem *reg = bank->reg_base + offset; in rockchip_gpio_readl() 100 if (bank->gpio_type == GPIO_TYPE_V2) in rockchip_gpio_readl() 108 static inline void rockchip_gpio_writel_bit(struct rockchip_pin_bank *bank, in rockchip_gpio_writel_bit() argument 112 void __iomem *reg = bank->reg_base + offset; in rockchip_gpio_writel_bit() 115 if (bank->gpio_type == GPIO_TYPE_V2) { in rockchip_gpio_writel_bit() 130 static inline u32 rockchip_gpio_readl_bit(struct rockchip_pin_bank *bank, in rockchip_gpio_readl_bit() argument [all …]
|
H A D | gpio-brcmstb.c | 27 #define GIO_BANK_OFF(bank, off) (((bank) * GIO_BANK_SIZE) + (off * sizeof(u32))) argument 28 #define GIO_ODEN(bank) GIO_BANK_OFF(bank, GIO_REG_ODEN) argument 29 #define GIO_DATA(bank) GIO_BANK_OFF(bank, GIO_REG_DATA) argument 30 #define GIO_IODIR(bank) GIO_BANK_OFF(bank, GIO_REG_IODIR) argument 31 #define GIO_EC(bank) GIO_BANK_OFF(bank, GIO_REG_EC) argument 32 #define GIO_EI(bank) GIO_BANK_OFF(bank, GIO_REG_EI) argument 33 #define GIO_MASK(bank) GIO_BANK_OFF(bank, GIO_REG_MASK) argument 34 #define GIO_LEVEL(bank) GIO_BANK_OFF(bank, GIO_REG_LEVEL) argument 35 #define GIO_STAT(bank) GIO_BANK_OFF(bank, GIO_REG_STAT) argument 66 struct brcmstb_gpio_bank *bank = gpiochip_get_data(gc); in brcmstb_gpio_gc_to_priv() local [all …]
|
/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-exynos.c | 56 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_mask() local 61 if (bank->eint_mask_offset) in exynos_irq_mask() 62 reg_mask = bank->pctl_offset + bank->eint_mask_offset; in exynos_irq_mask() 64 reg_mask = our_chip->eint_mask + bank->eint_offset; in exynos_irq_mask() 66 if (clk_enable(bank->drvdata->pclk)) { in exynos_irq_mask() 67 dev_err(bank->gpio_chip.parent, in exynos_irq_mask() 72 raw_spin_lock_irqsave(&bank->slock, flags); in exynos_irq_mask() 74 mask = readl(bank->eint_base + reg_mask); in exynos_irq_mask() 76 writel(mask, bank->eint_base + reg_mask); in exynos_irq_mask() 78 raw_spin_unlock_irqrestore(&bank->slock, flags); in exynos_irq_mask() [all …]
|
H A D | pinctrl-samsung.c | 351 * given a pin number that is local to a pin controller, find out the pin bank 352 * and the register base of the pin bank. 356 struct samsung_pin_bank **bank) in pin_to_reg_bank() argument 368 if (bank) in pin_to_reg_bank() 369 *bank = b; in pin_to_reg_bank() 378 struct samsung_pin_bank *bank; in samsung_pinmux_setup() local 390 pin_to_reg_bank(drvdata, grp->pins[0], ®, &pin_offset, &bank); in samsung_pinmux_setup() 391 type = bank->type; in samsung_pinmux_setup() 406 raw_spin_lock_irqsave(&bank->slock, flags); in samsung_pinmux_setup() 413 raw_spin_unlock_irqrestore(&bank->slock, flags); in samsung_pinmux_setup() [all …]
|
H A D | pinctrl-samsung.h | 85 * @EINT_TYPE_NONE: bank does not support external interrupts 86 * @EINT_TYPE_GPIO: bank supportes external gpio interrupts 87 * @EINT_TYPE_WKUP: bank supportes external wakeup interrupts 88 * @EINT_TYPE_WKUP_MUX: bank supports multiplexed external wakeup interrupts 91 * in a pin bank can support external gpio interrupts or external wakeup 125 * struct samsung_pin_bank_type: pin bank type description 135 * struct samsung_pin_bank_data: represent a controller pin-bank (init data). 136 * @type: type of the bank (register offsets and bitfield widths) 137 * @pctl_offset: starting offset of the pin-bank registers. 138 * @pctl_res_idx: index of base address for pin-bank registers. [all …]
|
H A D | pinctrl-s3c64xx.c | 213 * @bank: pin bank related to the domain 217 struct samsung_pin_bank *bank; member 281 struct samsung_pin_bank *bank, int pin) in s3c64xx_irq_set_function() argument 283 const struct samsung_pin_bank_type *bank_type = bank->type; in s3c64xx_irq_set_function() 291 reg = d->virt_base + bank->pctl_offset; in s3c64xx_irq_set_function() 294 /* 4-bit bank type with 2 con regs */ in s3c64xx_irq_set_function() 302 raw_spin_lock_irqsave(&bank->slock, flags); in s3c64xx_irq_set_function() 306 val |= bank->eint_func << shift; in s3c64xx_irq_set_function() 309 raw_spin_unlock_irqrestore(&bank->slock, flags); in s3c64xx_irq_set_function() 318 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in s3c64xx_gpio_irq_set_mask() local [all …]
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen4_hw_csr_data.c | 11 static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() argument 13 return READ_CSR_RING_HEAD(csr_base_addr, bank, ring); in read_csr_ring_head() 16 static void write_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_head() argument 19 WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value); in write_csr_ring_head() 22 static u32 read_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() argument 24 return READ_CSR_RING_TAIL(csr_base_addr, bank, ring); in read_csr_ring_tail() 27 static void write_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_tail() argument 30 WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value); in write_csr_ring_tail() 33 static u32 read_csr_stat(void __iomem *csr_base_addr, u32 bank) in read_csr_stat() argument 35 return READ_CSR_STAT(csr_base_addr, bank); in read_csr_stat() [all …]
|
H A D | adf_gen4_hw_csr_data.h | 37 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument 39 ADF_RING_BUNDLE_SIZE * (bank) + \ 41 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument 43 ADF_RING_BUNDLE_SIZE * (bank) + \ 45 #define READ_CSR_STAT(csr_base_addr, bank) \ argument 47 ADF_RING_BUNDLE_SIZE * (bank) + ADF_RING_CSR_STAT) 48 #define READ_CSR_UO_STAT(csr_base_addr, bank) \ argument 50 ADF_RING_BUNDLE_SIZE * (bank) + ADF_RING_CSR_UO_STAT) 51 #define READ_CSR_E_STAT(csr_base_addr, bank) \ argument 53 ADF_RING_BUNDLE_SIZE * (bank) + ADF_RING_CSR_E_STAT) [all …]
|
H A D | adf_transport.c | 40 static int adf_reserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_reserve_ring() argument 42 spin_lock(&bank->lock); in adf_reserve_ring() 43 if (bank->ring_mask & (1 << ring)) { in adf_reserve_ring() 44 spin_unlock(&bank->lock); in adf_reserve_ring() 47 bank->ring_mask |= (1 << ring); in adf_reserve_ring() 48 spin_unlock(&bank->lock); in adf_reserve_ring() 52 static void adf_unreserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_unreserve_ring() argument 54 spin_lock(&bank->lock); in adf_unreserve_ring() 55 bank->ring_mask &= ~(1 << ring); in adf_unreserve_ring() 56 spin_unlock(&bank->lock); in adf_unreserve_ring() [all …]
|
H A D | adf_gen2_hw_csr_data.c | 11 static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() argument 13 return READ_CSR_RING_HEAD(csr_base_addr, bank, ring); in read_csr_ring_head() 16 static void write_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_head() argument 19 WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value); in write_csr_ring_head() 22 static u32 read_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() argument 24 return READ_CSR_RING_TAIL(csr_base_addr, bank, ring); in read_csr_ring_tail() 27 static void write_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_tail() argument 30 WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value); in write_csr_ring_tail() 33 static u32 read_csr_e_stat(void __iomem *csr_base_addr, u32 bank) in read_csr_e_stat() argument 35 return READ_CSR_E_STAT(csr_base_addr, bank); in read_csr_e_stat() [all …]
|
H A D | adf_gen2_hw_csr_data.h | 30 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument 31 ADF_CSR_RD(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 33 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument 34 ADF_CSR_RD(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 36 #define READ_CSR_E_STAT(csr_base_addr, bank) \ argument 37 ADF_CSR_RD(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 39 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument 40 ADF_CSR_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ 42 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument 47 ADF_CSR_WR(csr_base_addr, (ADF_RING_BUNDLE_SIZE * (bank)) + \ [all …]
|
H A D | adf_transport_debug.c | 44 struct adf_etr_bank_data *bank = ring->bank; in adf_ring_show() local 45 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(bank->accel_dev); in adf_ring_show() 46 void __iomem *csr = ring->bank->csr_addr; in adf_ring_show() 51 head = csr_ops->read_csr_ring_head(csr, bank->bank_number, in adf_ring_show() 53 tail = csr_ops->read_csr_ring_tail(csr, bank->bank_number, in adf_ring_show() 55 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_ring_show() 60 seq_printf(sfile, "ring num %d, bank num %d\n", in adf_ring_show() 61 ring->ring_number, ring->bank->bank_number); in adf_ring_show() 104 ring->bank->bank_debug_dir, in adf_ring_debugfs_add() 121 struct adf_etr_bank_data *bank = sfile->private; in adf_bank_start() local [all …]
|
/linux/tools/testing/selftests/gpio/ |
H A D | gpio-sim.sh | 25 BANK=`basename $FILE` 26 if [ "$BANK" = "live" -o "$BANK" = "dev_name" ]; then 30 LINES=`ls $CONFIGFS_DIR/$CHIP/$BANK/ | grep -E ^line` 33 if [ -e $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog ]; then 34 rmdir $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog || \ 38 rmdir $CONFIGFS_DIR/$CHIP/$BANK/$LINE || \ 43 rmdir $CONFIGFS_DIR/$CHIP/$BANK 57 local BANK=$2 59 mkdir $CONFIGFS_DIR/$CHIP/$BANK 64 local BANK=$2 [all …]
|
/linux/drivers/pinctrl/renesas/ |
H A D | sh_pfc.h | 442 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument 443 fn(bank, pin, GP_##bank##_##pin, sfx, cfg) 444 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument 446 #define PORT_GP_CFG_2(bank, fn, sfx, cfg) \ argument 447 PORT_GP_CFG_1(bank, 0, fn, sfx, cfg), \ 448 PORT_GP_CFG_1(bank, 1, fn, sfx, cfg) 449 #define PORT_GP_2(bank, fn, sfx) PORT_GP_CFG_2(bank, fn, sfx, 0) argument 451 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument 452 PORT_GP_CFG_2(bank, fn, sfx, cfg), \ 453 PORT_GP_CFG_1(bank, 2, fn, sfx, cfg), \ [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-memory.json | 236 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; We group these two modes together so that we can use four counters to track each of the major modes at one time. These major modes are used whenever there is an ISOCH txn in the memory controller. In these mode, only ISOCH transactions are processed.", 246 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This major mode is used to drain starved underfill reads. Regular reads and writes are blocked and only underfill reads will be processed.", 256 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; Read Major Mode is the default mode for the iMC, as reads are generally more critical to forward progress than writes.", 266 "PublicDescription": "Counts the total number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This mode is triggered when the WPQ hits high occupancy and causes writes to be higher priority than reads. This can cause blips in the available read bandwidth in the system and temporarily increase read latencies in order to achieve better bus utilizations and higher bandwidth.", 591 "BriefDescription": "RD_CAS Access to Rank 0; Bank 0", 596 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 0", 600 "BriefDescription": "RD_CAS Access to Rank 0; Bank 1", 605 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 1", 610 "BriefDescription": "RD_CAS Access to Rank 0; Bank 10", 615 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 1 [all...] |
/linux/tools/perf/pmu-events/arch/x86/broadwellde/ |
H A D | uncore-memory.json | 198 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; We group th… 208 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This major … 218 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; Read Major … 228 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This mode i… 553 "BriefDescription": "RD_CAS Access to Rank 0; Bank 0", 558 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 0", 562 "BriefDescription": "RD_CAS Access to Rank 0; Bank 1", 567 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 1", 572 "BriefDescription": "RD_CAS Access to Rank 0; Bank 10", 577 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 10", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-memory.json | 227 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; We group th… 237 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This major … 247 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; Read Major … 257 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This mode i… 582 "BriefDescription": "RD_CAS Access to Rank 0; Bank 0", 587 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 0", 591 "BriefDescription": "RD_CAS Access to Rank 0; Bank 1", 596 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 1", 601 "BriefDescription": "RD_CAS Access to Rank 0; Bank 10", 606 "PublicDescription": "RD_CAS Access to Rank 0 : Bank 10", [all …]
|
/linux/drivers/net/phy/mscc/ |
H A D | mscc_macsec.c | 23 enum macsec_bank bank, u32 reg) in vsc8584_macsec_phy_read() argument 34 MSCC_PHY_MACSEC_20_TARGET(bank >> 2)); in vsc8584_macsec_phy_read() 36 if (bank >> 2 == 0x1) in vsc8584_macsec_phy_read() 38 bank &= 0x3; in vsc8584_macsec_phy_read() 40 bank = 0; in vsc8584_macsec_phy_read() 45 MSCC_PHY_MACSEC_19_TARGET(bank)); in vsc8584_macsec_phy_read() 62 enum macsec_bank bank, u32 reg, u32 val) in vsc8584_macsec_phy_write() argument 72 MSCC_PHY_MACSEC_20_TARGET(bank >> 2)); in vsc8584_macsec_phy_write() 74 if ((bank >> 2 == 0x1) || (bank >> 2 == 0x3)) in vsc8584_macsec_phy_write() 75 bank &= 0x3; in vsc8584_macsec_phy_write() [all …]
|
/linux/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 158 static void stm32_gpio_backup_value(struct stm32_gpio_bank *bank, in stm32_gpio_backup_value() argument 161 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_VAL); in stm32_gpio_backup_value() 162 bank->pin_backup[offset] |= value << STM32_GPIO_BKP_VAL; in stm32_gpio_backup_value() 165 static void stm32_gpio_backup_mode(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_mode() argument 168 bank->pin_backup[offset] &= ~(STM32_GPIO_BKP_MODE_MASK | in stm32_gpio_backup_mode() 170 bank->pin_backup[offset] |= mode << STM32_GPIO_BKP_MODE_SHIFT; in stm32_gpio_backup_mode() 171 bank->pin_backup[offset] |= alt << STM32_GPIO_BKP_ALT_SHIFT; in stm32_gpio_backup_mode() 174 static void stm32_gpio_backup_driving(struct stm32_gpio_bank *bank, u32 offset, in stm32_gpio_backup_driving() argument 177 bank->pin_backup[offset] &= ~BIT(STM32_GPIO_BKP_TYPE); in stm32_gpio_backup_driving() 178 bank->pin_backup[offset] |= drive << STM32_GPIO_BKP_TYPE; in stm32_gpio_backup_driving() [all …]
|
/linux/drivers/bus/ |
H A D | uniphier-system-bus.c | 23 #define UNIPHIER_SBC_STRIDE 0x10 /* register stride to next bank */ 25 #define UNIPHIER_SBC_BASE_DUMMY 0xffffffff /* data to squash bank 0, 1 */ 35 struct uniphier_system_bus_bank bank[UNIPHIER_SBC_NR_BANKS]; member 39 int bank, u32 addr, u64 paddr, u32 size) in uniphier_system_bus_add_bank() argument 44 "range found: bank = %d, addr = %08x, paddr = %08llx, size = %08x\n", in uniphier_system_bus_add_bank() 45 bank, addr, paddr, size); in uniphier_system_bus_add_bank() 47 if (bank >= ARRAY_SIZE(priv->bank)) { in uniphier_system_bus_add_bank() 48 dev_err(priv->dev, "unsupported bank number %d\n", bank); in uniphier_system_bus_add_bank() 52 if (priv->bank[bank].base || priv->bank[bank].end) { in uniphier_system_bus_add_bank() 54 "range for bank %d has already been specified\n", bank); in uniphier_system_bus_add_bank() [all …]
|
/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-amlogic-a4.c | 133 struct aml_gpio_bank *bank = gpio_chip_to_bank(range->gc); in aml_pctl_set_function() local 137 if (!bank->reg_mux) in aml_pctl_set_function() 141 return regmap_update_bits(bank->reg_mux, reg, in aml_pctl_set_function() 211 struct aml_gpio_bank *bank = gpio_chip_to_bank(range->gc); in aml_calc_reg_and_bit() local 214 + bank->pc.bit_offset[reg_type]; in aml_calc_reg_and_bit() 215 *reg = (bank->pc.reg_offset[reg_type] + (*bit / 32)) * 4; in aml_calc_reg_and_bit() 225 struct aml_gpio_bank *bank = gpio_chip_to_bank(range->gc); in aml_pinconf_get_pull() local 231 ret = regmap_read(bank->reg_gpio, reg, &val); in aml_pinconf_get_pull() 240 ret = regmap_read(bank->reg_gpio, reg, &val); in aml_pinconf_get_pull() 259 struct aml_gpio_bank *bank = gpio_chip_to_bank(range->gc); in aml_pinconf_get_drive_strength() local [all …]
|
/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | uncore-memory.json | 263 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; We group th… 274 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This major … 285 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; Read Major … 296 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This mode i… 653 "BriefDescription": "RD_CAS Access to Rank 0; Bank 0", 662 "BriefDescription": "RD_CAS Access to Rank 0; Bank 1", 672 "BriefDescription": "RD_CAS Access to Rank 0; Bank 10", 682 "BriefDescription": "RD_CAS Access to Rank 0; Bank 11", 692 "BriefDescription": "RD_CAS Access to Rank 0; Bank 12", 702 "BriefDescription": "RD_CAS Access to Rank 0; Bank 13", [all …]
|
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | uncore-memory.json | 281 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; We group th… 292 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This major … 303 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; Read Major … 314 …n channel. Major modea are channel-wide, and not a per-rank (or dimm or bank) mode.; This mode i… 1029 "BriefDescription": "RD_CAS Access to Rank 0; Bank 0", 1038 "BriefDescription": "RD_CAS Access to Rank 0; Bank 1", 1048 "BriefDescription": "RD_CAS Access to Rank 0; Bank 10", 1058 "BriefDescription": "RD_CAS Access to Rank 0; Bank 11", 1068 "BriefDescription": "RD_CAS Access to Rank 0; Bank 12", 1078 "BriefDescription": "RD_CAS Access to Rank 0; Bank 13", [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5410-pinctrl.dtsi | 12 gpa0: gpa0-gpio-bank { 20 gpa1: gpa1-gpio-bank { 28 gpa2: gpa2-gpio-bank { 36 gpb0: gpb0-gpio-bank { 44 gpb1: gpb1-gpio-bank { 52 gpb2: gpb2-gpio-bank { 60 gpb3: gpb3-gpio-bank { 68 gpc0: gpc0-gpio-bank { 76 gpc3: gpc3-gpio-bank { 84 gpc1: gpc1-gpio-bank { [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-microchip-sgpio.c | 357 struct sgpio_bank *bank = pinctrl_dev_get_drvdata(pctldev); in sgpio_pinconf_get() local 359 struct sgpio_priv *priv = bank->priv; in sgpio_pinconf_get() 367 val = bank->is_input; in sgpio_pinconf_get() 371 val = !bank->is_input; in sgpio_pinconf_get() 375 if (bank->is_input) in sgpio_pinconf_get() 392 struct sgpio_bank *bank = pinctrl_dev_get_drvdata(pctldev); in sgpio_pinconf_set() local 393 struct sgpio_priv *priv = bank->priv; in sgpio_pinconf_set() 406 if (bank->is_input) in sgpio_pinconf_set() 458 struct sgpio_bank *bank = pinctrl_dev_get_drvdata(pctldev); in sgpio_gpio_set_direction() local 460 return (input == bank->is_input) ? 0 : -EINVAL; in sgpio_gpio_set_direction() [all …]
|