/Linux-v4.19/drivers/gpio/ |
D | gpio-omap.c | 89 #define BANK_USED(bank) (bank->mod_usage || bank->irq_usage) argument 100 static void omap_set_gpio_direction(struct gpio_bank *bank, int gpio, in omap_set_gpio_direction() 118 static void omap_set_gpio_dataout_reg(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_reg() 136 static void omap_set_gpio_dataout_mask(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_mask() 152 static int omap_get_gpio_datain(struct gpio_bank *bank, int offset) in omap_get_gpio_datain() 159 static int omap_get_gpio_dataout(struct gpio_bank *bank, int offset) in omap_get_gpio_dataout() 167 static void omap_set_gpio_dataout_reg_multiple(struct gpio_bank *bank, in omap_set_gpio_dataout_reg_multiple() 184 static void omap_set_gpio_dataout_mask_multiple(struct gpio_bank *bank, in omap_set_gpio_dataout_mask_multiple() 195 static unsigned long omap_get_gpio_datain_multiple(struct gpio_bank *bank, in omap_get_gpio_datain_multiple() 203 static unsigned long omap_get_gpio_dataout_multiple(struct gpio_bank *bank, in omap_get_gpio_dataout_multiple() [all …]
|
D | gpio-brcmstb.c | 36 #define GIO_BANK_OFF(bank, off) (((bank) * GIO_BANK_SIZE) + (off * sizeof(u32))) argument 37 #define GIO_ODEN(bank) GIO_BANK_OFF(bank, GIO_REG_ODEN) argument 38 #define GIO_DATA(bank) GIO_BANK_OFF(bank, GIO_REG_DATA) argument 39 #define GIO_IODIR(bank) GIO_BANK_OFF(bank, GIO_REG_IODIR) argument 40 #define GIO_EC(bank) GIO_BANK_OFF(bank, GIO_REG_EC) argument 41 #define GIO_EI(bank) GIO_BANK_OFF(bank, GIO_REG_EI) argument 42 #define GIO_MASK(bank) GIO_BANK_OFF(bank, GIO_REG_MASK) argument 43 #define GIO_LEVEL(bank) GIO_BANK_OFF(bank, GIO_REG_LEVEL) argument 44 #define GIO_STAT(bank) GIO_BANK_OFF(bank, GIO_REG_STAT) argument 76 struct brcmstb_gpio_bank *bank = gpiochip_get_data(gc); in brcmstb_gpio_gc_to_priv() local [all …]
|
D | gpio-aspeed.c | 36 unsigned int bank; member 212 const struct aspeed_gpio_bank *bank, in bank_reg() 256 unsigned int bank = GPIO_BANK(offset); in to_bank() local 284 const struct aspeed_gpio_bank *bank = to_bank(offset); in have_gpio() local 309 const struct aspeed_gpio_bank *bank, in aspeed_gpio_change_cmd_source() 343 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_copro_request() local 367 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_copro_release() local 387 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get() local 396 const struct aspeed_gpio_bank *bank = to_bank(offset); in __aspeed_gpio_set() local 432 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_dir_in() local [all …]
|
D | gpio-f7188x.c | 68 struct f7188x_gpio_bank *bank; member 229 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_get_direction() local 248 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_direction_in() local 269 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_get() local 294 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_direction_out() local 322 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_set() local 346 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_set_config() local 419 struct f7188x_gpio_bank *bank = &data->bank[i]; in f7188x_gpio_probe() local
|
/Linux-v4.19/arch/unicore32/include/asm/ |
D | memblock.h | 29 struct membank bank[NR_BANKS]; member 37 #define bank_pfn_start(bank) __phys_to_pfn((bank)->start) argument 38 #define bank_pfn_end(bank) __phys_to_pfn((bank)->start + (bank)->size) argument 39 #define bank_pfn_size(bank) ((bank)->size >> PAGE_SHIFT) argument 40 #define bank_phys_start(bank) ((bank)->start) argument 41 #define bank_phys_end(bank) ((bank)->start + (bank)->size) argument 42 #define bank_phys_size(bank) ((bank)->size) argument
|
/Linux-v4.19/drivers/pinctrl/sh-pfc/ |
D | sh_pfc.h | 387 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument 389 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument 391 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument 396 #define PORT_GP_4(bank, fn, sfx) PORT_GP_CFG_4(bank, fn, sfx, 0) argument 398 #define PORT_GP_CFG_6(bank, fn, sfx, cfg) \ argument 402 #define PORT_GP_6(bank, fn, sfx) PORT_GP_CFG_6(bank, fn, sfx, 0) argument 404 #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ argument 408 #define PORT_GP_8(bank, fn, sfx) PORT_GP_CFG_8(bank, fn, sfx, 0) argument 410 #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ argument 413 #define PORT_GP_9(bank, fn, sfx) PORT_GP_CFG_9(bank, fn, sfx, 0) argument [all …]
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | adf_transport.c | 80 static int adf_reserve_ring(struct adf_etr_bank_data *bank, uint32_t ring) in adf_reserve_ring() 92 static void adf_unreserve_ring(struct adf_etr_bank_data *bank, uint32_t ring) in adf_unreserve_ring() 99 static void adf_enable_ring_irq(struct adf_etr_bank_data *bank, uint32_t ring) in adf_enable_ring_irq() 109 static void adf_disable_ring_irq(struct adf_etr_bank_data *bank, uint32_t ring) in adf_disable_ring_irq() 180 struct adf_etr_bank_data *bank = ring->bank; in adf_init_ring() local 237 struct adf_etr_bank_data *bank; in adf_create_ring() local 314 struct adf_etr_bank_data *bank = ring->bank; in adf_remove_ring() local 331 static void adf_ring_response_handler(struct adf_etr_bank_data *bank) in adf_ring_response_handler() 346 struct adf_etr_bank_data *bank = (void *)bank_addr; in adf_response_handler() local 371 static void adf_get_coalesc_timer(struct adf_etr_bank_data *bank, in adf_get_coalesc_timer() [all …]
|
D | adf_transport_access_macros.h | 121 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument 124 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument 127 #define READ_CSR_E_STAT(csr_base_addr, bank) \ argument 130 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument 133 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument 143 #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \ argument 146 #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \ argument 149 #define WRITE_CSR_INT_FLAG(csr_base_addr, bank, value) \ argument 152 #define WRITE_CSR_INT_SRCSEL(csr_base_addr, bank) \ argument 159 #define WRITE_CSR_INT_COL_EN(csr_base_addr, bank, value) \ argument [all …]
|
/Linux-v4.19/drivers/pinctrl/samsung/ |
D | pinctrl-exynos.c | 54 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_mask() local 72 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_ack() local 82 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_unmask() local 111 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_set_type() local 152 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_request_resources() local 184 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_irq_release_resources() local 246 struct samsung_pin_bank *bank = d->pin_banks; in exynos_eint_gpio_irq() local 276 struct samsung_pin_bank *bank; in exynos_eint_gpio_init() local 339 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in exynos_wkup_irq_set_wake() local 426 struct samsung_pin_bank *bank = eintd->bank; in exynos_irq_eint0_15() local [all …]
|
D | pinctrl-s3c24xx.c | 101 struct samsung_pin_bank *bank; member 139 struct samsung_pin_bank *bank, int pin) in s3c24xx_eint_set_function() 165 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c24xx_eint_type() local 199 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c2410_eint0_3_ack() local 210 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c2410_eint0_3_mask() local 221 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c2410_eint0_3_unmask() local 256 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c2412_eint0_3_ack() local 265 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c2412_eint0_3_mask() local 276 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c2412_eint0_3_unmask() local 316 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(data); in s3c24xx_eint_ack() local [all …]
|
D | pinctrl-samsung.c | 358 struct samsung_pin_bank **bank) in pin_to_reg_bank() 380 struct samsung_pin_bank *bank; in samsung_pinmux_setup() local 435 struct samsung_pin_bank *bank; in samsung_pinconf_rw() local 543 struct samsung_pin_bank *bank = gpiochip_get_data(gc); in samsung_gpio_set_value() local 560 struct samsung_pin_bank *bank = gpiochip_get_data(gc); in samsung_gpio_set() local 573 struct samsung_pin_bank *bank = gpiochip_get_data(gc); in samsung_gpio_get() local 594 struct samsung_pin_bank *bank; in samsung_gpio_set_direction() local 624 struct samsung_pin_bank *bank = gpiochip_get_data(gc); in samsung_gpio_direction_input() local 638 struct samsung_pin_bank *bank = gpiochip_get_data(gc); in samsung_gpio_direction_output() local 656 struct samsung_pin_bank *bank = gpiochip_get_data(gc); in samsung_gpio_to_irq() local [all …]
|
/Linux-v4.19/sound/pci/au88x0/ |
D | au88x0_wt.h | 21 #define WT_CTRL(bank) (((((bank)&1)<<0xd) + 0x00)<<2) /* 0x0000 */ argument 22 #define WT_SRAMP(bank) (((((bank)&1)<<0xd) + 0x01)<<2) /* 0x0004 */ argument 23 #define WT_DSREG(bank) (((((bank)&1)<<0xd) + 0x02)<<2) /* 0x0008 */ argument 24 #define WT_MRAMP(bank) (((((bank)&1)<<0xd) + 0x03)<<2) /* 0x000c */ argument 25 #define WT_GMODE(bank) (((((bank)&1)<<0xd) + 0x04)<<2) /* 0x0010 */ argument 26 #define WT_ARAMP(bank) (((((bank)&1)<<0xd) + 0x05)<<2) /* 0x0014 */ argument
|
/Linux-v4.19/arch/arm/mach-s3c24xx/ |
D | iotiming-s3c2412.c | 41 unsigned int bank; in s3c2412_print_timing() local 142 int bank; in s3c2412_iotiming_calc() local 176 int bank; in s3c2412_iotiming_set() local 203 unsigned int bank) in s3c2412_iotiming_getbank() 220 static inline bool bank_is_io(unsigned int bank, u32 bankcfg) in bank_is_io() 233 unsigned int bank; in s3c2412_iotiming_get() local
|
D | iotiming-s3c2410.c | 35 int bank; in s3c2410_print_timing() local 56 static inline void __iomem *bank_reg(unsigned int bank) in bank_reg() 362 int bank; in s3c2410_iotiming_calc() local 403 int bank; in s3c2410_iotiming_set() local 437 int bank; in s3c2410_iotiming_get() local
|
/Linux-v4.19/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 131 static inline void __stm32_gpio_set(struct stm32_gpio_bank *bank, in __stm32_gpio_set() 146 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_request() local 167 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_get() local 181 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_set() local 194 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_direction_output() local 205 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_to_irq() local 218 struct stm32_gpio_bank *bank = gpiochip_get_data(chip); in stm32_gpio_get_direction() local 247 struct stm32_gpio_bank *bank = irq_data->domain->host_data; in stm32_gpio_irq_request_resources() local 267 struct stm32_gpio_bank *bank = irq_data->domain->host_data; in stm32_gpio_irq_release_resources() local 301 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_activate() local [all …]
|
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/ |
D | mce_amd.c | 119 static enum smca_bank_types smca_get_bank_type(unsigned int bank) in smca_get_bank_type() 192 static void smca_configure(unsigned int bank, unsigned int cpu) in smca_configure() 260 static inline bool is_shared_bank(int bank) in is_shared_bank() 293 static bool lvt_interrupt_supported(unsigned int bank, u32 msr_high_bits) in lvt_interrupt_supported() 439 static u32 smca_get_block_address(unsigned int bank, unsigned int block) in smca_get_block_address() 474 unsigned int bank, unsigned int block) in get_block_address() 501 prepare_threshold_block(unsigned int bank, unsigned int block, u32 addr, in prepare_threshold_block() 552 unsigned int bank, block, cpu = smp_processor_id(); in mce_amd_feature_init() local 793 static void __log_error(unsigned int bank, u64 status, u64 addr, u64 misc) in __log_error() 842 _log_error_bank(unsigned int bank, u32 msr_stat, u32 msr_addr, u64 misc) in _log_error_bank() [all …]
|
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-pic32.c | 49 #define GPIO_BANK_START(bank) ((bank) * PINS_PER_BANK) argument 1810 struct pic32_gpio_bank *bank = gpiochip_get_data(range->gc); in pic32_gpio_request_enable() local 1824 struct pic32_gpio_bank *bank = gpiochip_get_data(chip); in pic32_gpio_direction_input() local 1834 struct pic32_gpio_bank *bank = gpiochip_get_data(chip); in pic32_gpio_get() local 1842 struct pic32_gpio_bank *bank = gpiochip_get_data(chip); in pic32_gpio_set() local 1854 struct pic32_gpio_bank *bank = gpiochip_get_data(chip); in pic32_gpio_direction_output() local 1890 struct pic32_gpio_bank *bank = pctl_to_bank(pctl, pin); in pic32_pinconf_get() local 1931 struct pic32_gpio_bank *bank = pctl_to_bank(pctl, pin); in pic32_pinconf_set() local 1999 struct pic32_gpio_bank *bank = gpiochip_get_data(chip); in pic32_gpio_get_direction() local 2006 struct pic32_gpio_bank *bank = irqd_to_bank(data); in pic32_gpio_irq_ack() local [all …]
|
D | pinctrl-rockchip.c | 682 static void rockchip_get_recalced_mux(struct rockchip_pin_bank *bank, int pin, in rockchip_get_recalced_mux() 1093 static bool rockchip_get_mux_route(struct rockchip_pin_bank *bank, int pin, in rockchip_get_mux_route() 1117 static int rockchip_get_mux(struct rockchip_pin_bank *bank, int pin) in rockchip_get_mux() 1168 static int rockchip_verify_mux(struct rockchip_pin_bank *bank, in rockchip_verify_mux() 1206 static int rockchip_set_mux(struct rockchip_pin_bank *bank, int pin, int mux) in rockchip_set_mux() 1272 static void px30_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in px30_calc_pull_reg_and_bit() 1302 static void px30_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in px30_calc_drv_reg_and_bit() 1332 static int px30_calc_schmitt_reg_and_bit(struct rockchip_pin_bank *bank, in px30_calc_schmitt_reg_and_bit() 1363 static void rv1108_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_pull_reg_and_bit() 1392 static void rv1108_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_drv_reg_and_bit() [all …]
|
D | pinctrl-oxnas.c | 38 #define GPIO_BANK_START(bank) ((bank) * PINS_PER_BANK) argument 79 unsigned int bank; member 705 struct oxnas_gpio_bank *bank = gpiochip_get_data(range->gc); in oxnas_ox810se_gpio_request_enable() local 735 struct oxnas_gpio_bank *bank = gpiochip_get_data(range->gc); in oxnas_ox820_gpio_request_enable() local 764 struct oxnas_gpio_bank *bank = gpiochip_get_data(chip); in oxnas_gpio_get_direction() local 773 struct oxnas_gpio_bank *bank = gpiochip_get_data(chip); in oxnas_gpio_direction_input() local 783 struct oxnas_gpio_bank *bank = gpiochip_get_data(chip); in oxnas_gpio_get() local 792 struct oxnas_gpio_bank *bank = gpiochip_get_data(chip); in oxnas_gpio_set() local 804 struct oxnas_gpio_bank *bank = gpiochip_get_data(chip); in oxnas_gpio_direction_output() local 849 struct oxnas_gpio_bank *bank = pctl_to_bank(pctl, pin); in oxnas_ox810se_pinconf_get() local [all …]
|
/Linux-v4.19/drivers/leds/ |
D | leds-tca6507.c | 170 struct bank { struct 171 int level; 172 int ontime, offtime; 173 int on_dflt, off_dflt; 174 int time_use, level_use; 175 } bank[3]; member 186 int bank; /* Bank used, or -1 */ member 292 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) in set_code() 309 static void set_level(struct tca6507_chip *tca, int bank, int level) in set_level() 324 static void set_times(struct tca6507_chip *tca, int bank) in set_times()
|
/Linux-v4.19/drivers/pinctrl/sirf/ |
D | pinctrl-sirf.c | 425 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq); in sirfsoc_gpio_irq_ack() local 442 struct sirfsoc_gpio_bank *bank, in __sirfsoc_gpio_irq_mask() 464 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq); in sirfsoc_gpio_irq_mask() local 473 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq); in sirfsoc_gpio_irq_unmask() local 494 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, d->hwirq); in sirfsoc_gpio_irq_type() local 556 struct sirfsoc_gpio_bank *bank; in sirfsoc_gpio_handle_irq() local 614 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, offset); in sirfsoc_gpio_request() local 637 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, offset); in sirfsoc_gpio_free() local 653 struct sirfsoc_gpio_bank *bank = sirfsoc_gpio_to_bank(sgpio, gpio); in sirfsoc_gpio_direction_input() local 670 struct sirfsoc_gpio_bank *bank, in sirfsoc_gpio_set_output() [all …]
|
/Linux-v4.19/drivers/dma/ipu/ |
D | ipu_irq.c | 75 struct ipu_irq_bank *bank; member 99 struct ipu_irq_bank *bank; in ipu_irq_unmask() local 122 struct ipu_irq_bank *bank; in ipu_irq_mask() local 145 struct ipu_irq_bank *bank; in ipu_irq_ack() local 170 struct ipu_irq_bank *bank; in ipu_irq_status() local 276 struct ipu_irq_bank *bank = irq_bank + i; in ipu_irq_handler() local
|
/Linux-v4.19/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.h | 32 #define SUNXI_PINCTRL_PIN(bank, pin) \ argument 208 u8 bank = pin / PINS_PER_BANK; in sunxi_mux_reg() local 223 u8 bank = pin / PINS_PER_BANK; in sunxi_data_reg() local 238 u8 bank = pin / PINS_PER_BANK; in sunxi_dlevel_reg() local 253 u8 bank = pin / PINS_PER_BANK; in sunxi_pull_reg() local 266 static inline u32 sunxi_irq_hw_bank_num(const struct sunxi_pinctrl_desc *desc, u8 bank) in sunxi_irq_hw_bank_num() 277 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_cfg_reg() local 290 static inline u32 sunxi_irq_ctrl_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank) in sunxi_irq_ctrl_reg_from_bank() 298 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_ctrl_reg() local 309 static inline u32 sunxi_irq_debounce_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank) in sunxi_irq_debounce_reg_from_bank() [all …]
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | powerdomain-common.c | 50 u32 omap2_pwrdm_get_mem_bank_onstate_mask(u8 bank) in omap2_pwrdm_get_mem_bank_onstate_mask() 70 u32 omap2_pwrdm_get_mem_bank_retst_mask(u8 bank) in omap2_pwrdm_get_mem_bank_retst_mask() 90 u32 omap2_pwrdm_get_mem_bank_stst_mask(u8 bank) in omap2_pwrdm_get_mem_bank_stst_mask()
|
/Linux-v4.19/drivers/pinctrl/meson/ |
D | pinctrl-meson.c | 72 struct meson_bank **bank) in meson_get_bank() 96 static void meson_calc_reg_and_bit(struct meson_bank *bank, unsigned int pin, in meson_calc_reg_and_bit() 178 struct meson_bank *bank; in meson_pinconf_set() local 242 struct meson_bank *bank; in meson_pinconf_get_pull() local 336 struct meson_bank *bank; in meson_gpio_direction_input() local 353 struct meson_bank *bank; in meson_gpio_direction_output() local 374 struct meson_bank *bank; in meson_gpio_set() local 390 struct meson_bank *bank; in meson_gpio_get() local
|