Home
last modified time | relevance | path

Searched defs:bank (Results 1 – 25 of 465) sorted by relevance

12345678910>>...19

/openbmc/linux/drivers/gpio/
H A Dgpio-omap.c564 struct gpio_bank *bank = gpiobank; in omap_gpio_irq_handler() local
752 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_mpuio_suspend_noirq() local
766 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_mpuio_resume_noirq() local
854 struct gpio_bank *bank; in omap_gpio_input() local
879 struct gpio_bank *bank; in omap_gpio_output() local
915 struct gpio_bank *bank; in omap_gpio_debounce() local
958 struct gpio_bank *bank; in omap_gpio_set() local
1276 struct gpio_bank *bank; in gpio_omap_cpu_notifier() local
1399 struct gpio_bank *bank; in omap_gpio_probe() local
1507 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_runtime_suspend() local
[all …]
H A Dgpio-brcmstb.c66 struct brcmstb_gpio_bank *bank = gpiochip_get_data(gc); in brcmstb_gpio_gc_to_priv() local
93 struct brcmstb_gpio_bank *bank) in brcmstb_gpio_hwirq_to_offset()
287 struct brcmstb_gpio_bank *bank; in brcmstb_gpio_irq_handler() local
301 struct brcmstb_gpio_bank *bank; in brcmstb_gpio_hwirq_to_bank() local
325 struct brcmstb_gpio_bank *bank = in brcmstb_gpio_irq_map() local
377 struct brcmstb_gpio_bank *bank; in brcmstb_gpio_remove() local
498 struct brcmstb_gpio_bank *bank) in brcmstb_gpio_bank_save()
511 struct brcmstb_gpio_bank *bank; in brcmstb_gpio_quiesce() local
543 struct brcmstb_gpio_bank *bank) in brcmstb_gpio_bank_restore()
562 struct brcmstb_gpio_bank *bank; in brcmstb_gpio_resume() local
[all …]
H A Dgpio-rockchip.c176 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set() local
186 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_get() local
200 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set_debounce() local
307 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_to_irq() local
386 struct rockchip_pin_bank *bank = gc->private; in rockchip_irq_set_type() local
471 struct rockchip_pin_bank *bank = gc->private; in rockchip_irq_reqres() local
479 struct rockchip_pin_bank *bank = gc->private; in rockchip_irq_relres() local
487 struct rockchip_pin_bank *bank = gc->private; in rockchip_irq_suspend() local
496 struct rockchip_pin_bank *bank = gc->private; in rockchip_irq_resume() local
686 struct rockchip_pin_bank *bank; in rockchip_gpio_find_bank() local
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_hw_data.h28 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument
32 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument
36 #define READ_CSR_E_STAT(csr_base_addr, bank) \ argument
43 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument
60 #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \ argument
64 #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \ argument
68 #define WRITE_CSR_INT_FLAG(csr_base_addr, bank, value) \ argument
72 #define WRITE_CSR_INT_SRCSEL(csr_base_addr, bank) \ argument
76 #define WRITE_CSR_INT_COL_EN(csr_base_addr, bank, value) \ argument
80 #define WRITE_CSR_INT_COL_CTL(csr_base_addr, bank, value) \ argument
[all …]
H A Dadf_gen4_hw_data.c13 static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head()
18 static void write_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_head()
24 static u32 read_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail()
29 static void write_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_tail()
35 static u32 read_csr_e_stat(void __iomem *csr_base_addr, u32 bank) in read_csr_e_stat()
46 static void write_csr_ring_base(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_base()
52 static void write_csr_int_flag(void __iomem *csr_base_addr, u32 bank, in write_csr_int_flag()
58 static void write_csr_int_srcsel(void __iomem *csr_base_addr, u32 bank) in write_csr_int_srcsel()
68 static void write_csr_int_col_ctl(void __iomem *csr_base_addr, u32 bank, in write_csr_int_col_ctl()
74 static void write_csr_int_flag_and_col(void __iomem *csr_base_addr, u32 bank, in write_csr_int_flag_and_col()
[all …]
H A Dadf_gen2_hw_data.c119 static u32 read_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head()
124 static void write_csr_ring_head(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_head()
130 static u32 read_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail()
135 static void write_csr_ring_tail(void __iomem *csr_base_addr, u32 bank, u32 ring, in write_csr_ring_tail()
141 static u32 read_csr_e_stat(void __iomem *csr_base_addr, u32 bank) in read_csr_e_stat()
146 static void write_csr_ring_config(void __iomem *csr_base_addr, u32 bank, in write_csr_ring_config()
163 static void write_csr_int_srcsel(void __iomem *csr_base_addr, u32 bank) in write_csr_int_srcsel()
168 static void write_csr_int_col_en(void __iomem *csr_base_addr, u32 bank, in write_csr_int_col_en()
174 static void write_csr_int_col_ctl(void __iomem *csr_base_addr, u32 bank, in write_csr_int_col_ctl()
180 static void write_csr_int_flag_and_col(void __iomem *csr_base_addr, u32 bank, in write_csr_int_flag_and_col()
[all …]
H A Dadf_gen2_hw_data.h31 #define READ_CSR_RING_HEAD(csr_base_addr, bank, ring) \ argument
34 #define READ_CSR_RING_TAIL(csr_base_addr, bank, ring) \ argument
37 #define READ_CSR_E_STAT(csr_base_addr, bank) \ argument
40 #define WRITE_CSR_RING_CONFIG(csr_base_addr, bank, ring, value) \ argument
43 #define WRITE_CSR_RING_BASE(csr_base_addr, bank, ring, value) \ argument
54 #define WRITE_CSR_RING_HEAD(csr_base_addr, bank, ring, value) \ argument
57 #define WRITE_CSR_RING_TAIL(csr_base_addr, bank, ring, value) \ argument
60 #define WRITE_CSR_INT_FLAG(csr_base_addr, bank, value) \ argument
63 #define WRITE_CSR_INT_SRCSEL(csr_base_addr, bank) \ argument
70 #define WRITE_CSR_INT_COL_EN(csr_base_addr, bank, value) \ argument
[all …]
H A Dadf_transport.c40 static int adf_reserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_reserve_ring()
52 static void adf_unreserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_unreserve_ring()
59 static void adf_enable_ring_irq(struct adf_etr_bank_data *bank, u32 ring) in adf_enable_ring_irq()
162 struct adf_etr_bank_data *bank = ring->bank; in adf_init_ring() local
225 struct adf_etr_bank_data *bank; in adf_create_ring() local
306 struct adf_etr_bank_data *bank = ring->bank; in adf_remove_ring() local
325 static void adf_ring_response_handler(struct adf_etr_bank_data *bank) in adf_ring_response_handler()
343 struct adf_etr_bank_data *bank = (void *)bank_addr; in adf_response_handler() local
370 static void adf_get_coalesc_timer(struct adf_etr_bank_data *bank, in adf_get_coalesc_timer()
385 struct adf_etr_bank_data *bank, in adf_init_bank()
[all …]
H A Dadf_transport_debug.c44 struct adf_etr_bank_data *bank = ring->bank; in adf_ring_show() local
121 struct adf_etr_bank_data *bank = sfile->private; in adf_bank_start() local
136 struct adf_etr_bank_data *bank = sfile->private; in adf_bank_next() local
147 struct adf_etr_bank_data *bank = sfile->private; in adf_bank_show() local
191 int adf_bank_debugfs_add(struct adf_etr_bank_data *bank) in adf_bank_debugfs_add()
205 void adf_bank_debugfs_rm(struct adf_etr_bank_data *bank) in adf_bank_debugfs_rm()
/openbmc/u-boot/drivers/gpio/
H A Domap_gpio.c104 static int _get_gpio_value(const struct gpio_bank *bank, int gpio) in _get_gpio_value()
145 const struct gpio_bank *bank; in gpio_set_value() local
160 const struct gpio_bank *bank; in gpio_get_value() local
174 const struct gpio_bank *bank; in gpio_direction_input() local
190 const struct gpio_bank *bank; in gpio_direction_output() local
228 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_direction_input() local
240 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_direction_output() local
251 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_get_value() local
260 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_set_value() local
269 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_get_function() local
[all …]
H A Dda8xx_gpio.c352 static int _gpio_direction_input(struct davinci_gpio *bank, unsigned int gpio) in _gpio_direction_input()
358 static int _gpio_get_value(struct davinci_gpio *bank, unsigned int gpio) in _gpio_get_value()
365 static int _gpio_set_value(struct davinci_gpio *bank, unsigned int gpio, int value) in _gpio_set_value()
375 static int _gpio_get_dir(struct davinci_gpio *bank, unsigned int gpio) in _gpio_get_dir()
385 struct davinci_gpio *bank; in gpio_info() local
401 struct davinci_gpio *bank; in gpio_direction_input() local
409 struct davinci_gpio *bank; in gpio_direction_output() local
417 struct davinci_gpio *bank; in gpio_get_value() local
425 struct davinci_gpio *bank; in gpio_set_value() local
435 struct davinci_gpio_bank *bank = dev_get_priv(dev); in davinci_get_gpio_bank() local
[all …]
H A Dkona_gpio.c20 #define GPIO_OUT_STATUS(bank) (0x00000000 + ((bank) << 2)) argument
21 #define GPIO_IN_STATUS(bank) (0x00000020 + ((bank) << 2)) argument
22 #define GPIO_OUT_SET(bank) (0x00000040 + ((bank) << 2)) argument
23 #define GPIO_OUT_CLEAR(bank) (0x00000060 + ((bank) << 2)) argument
24 #define GPIO_INT_STATUS(bank) (0x00000080 + ((bank) << 2)) argument
25 #define GPIO_INT_MASK(bank) (0x000000a0 + ((bank) << 2)) argument
26 #define GPIO_INT_MSKCLR(bank) (0x000000c0 + ((bank) << 2)) argument
27 #define GPIO_CONTROL(bank) (0x00000100 + ((bank) << 2)) argument
28 #define GPIO_PWD_STATUS(bank) (0x00000500 + ((bank) << 2)) argument
H A Dintel_ich6_gpio.c57 static int _ich6_gpio_set_value(struct ich6_bank_priv *bank, unsigned offset, in _ich6_gpio_set_value()
123 struct ich6_bank_priv *bank = dev_get_priv(dev); in ich6_gpio_probe() local
146 struct ich6_bank_priv *bank = dev_get_priv(dev); in ich6_gpio_request() local
166 struct ich6_bank_priv *bank = dev_get_priv(dev); in ich6_gpio_direction_input() local
175 struct ich6_bank_priv *bank = dev_get_priv(dev); in ich6_gpio_direction_output() local
186 struct ich6_bank_priv *bank = dev_get_priv(dev); in ich6_gpio_get_value() local
200 struct ich6_bank_priv *bank = dev_get_priv(dev); in ich6_gpio_set_value() local
206 struct ich6_bank_priv *bank = dev_get_priv(dev); in ich6_gpio_get_function() local
H A Dhi6220_gpio.c15 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_direction_input() local
28 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_set_value() local
37 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_direction_output() local
51 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_get_value() local
67 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_probe() local
H A Ds5p_gpio.c37 struct s5p_gpio_bank *bank; member
43 struct s5p_gpio_bank *bank; member
59 struct s5p_gpio_bank *bank; in s5p_gpio_get_bank() local
73 static void s5p_gpio_cfg_pin(struct s5p_gpio_bank *bank, int gpio, int cfg) in s5p_gpio_cfg_pin()
83 static void s5p_gpio_set_value(struct s5p_gpio_bank *bank, int gpio, int en) in s5p_gpio_set_value()
104 static int s5p_gpio_get_cfg_pin(struct s5p_gpio_bank *bank, int gpio) in s5p_gpio_get_cfg_pin()
113 static unsigned int s5p_gpio_get_value(struct s5p_gpio_bank *bank, int gpio) in s5p_gpio_get_value()
122 static void s5p_gpio_set_pull(struct s5p_gpio_bank *bank, int gpio, int mode) in s5p_gpio_set_pull()
141 static void s5p_gpio_set_drv(struct s5p_gpio_bank *bank, int gpio, int mode) in s5p_gpio_set_drv()
162 static void s5p_gpio_set_rate(struct s5p_gpio_bank *bank, int gpio, int mode) in s5p_gpio_set_rate()
[all …]
/openbmc/linux/drivers/pinctrl/renesas/
H A Dsh_pfc.h445 #define PORT_GP_CFG_2(bank, fn, sfx, cfg) \ argument
450 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument
456 #define PORT_GP_CFG_6(bank, fn, sfx, cfg) \ argument
462 #define PORT_GP_CFG_7(bank, fn, sfx, cfg) \ argument
467 #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ argument
472 #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ argument
477 #define PORT_GP_CFG_10(bank, fn, sfx, cfg) \ argument
482 #define PORT_GP_CFG_11(bank, fn, sfx, cfg) \ argument
487 #define PORT_GP_CFG_12(bank, fn, sfx, cfg) \ argument
492 #define PORT_GP_CFG_13(bank, fn, sfx, cfg) \ argument
[all …]
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dsh_pfc.h360 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument
367 #define PORT_GP_CFG_6(bank, fn, sfx, cfg) \ argument
373 #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ argument
379 #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ argument
384 #define PORT_GP_CFG_10(bank, fn, sfx, cfg) \ argument
389 #define PORT_GP_CFG_11(bank, fn, sfx, cfg) \ argument
394 #define PORT_GP_CFG_12(bank, fn, sfx, cfg) \ argument
400 #define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ argument
406 #define PORT_GP_CFG_15(bank, fn, sfx, cfg) \ argument
411 #define PORT_GP_CFG_16(bank, fn, sfx, cfg) \ argument
[all …]
/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-exynos.c54 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
246 struct samsung_pin_bank *bank = d->pin_banks; in exynos_eint_gpio_irq() local
278 struct samsung_pin_bank *bank; in exynos_eint_gpio_init() local
478 struct samsung_pin_bank *bank = eintd->bank; in exynos_irq_eint0_15() local
532 struct samsung_pin_bank *bank; in exynos_eint_wkup_init() local
638 struct samsung_pin_bank *bank) in exynos_pinctrl_suspend_bank()
660 struct samsung_pin_bank *bank = drvdata->pin_banks; in exynos_pinctrl_suspend() local
679 struct samsung_pin_bank *bank) in exynos_pinctrl_resume_bank()
[all …]
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0_wt.h21 #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
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A Damd.c344 static inline bool is_shared_bank(int bank) in is_shared_bank()
540 unsigned int bank, unsigned int block, in get_block_address()
682 unsigned int bank, block, cpu = smp_processor_id(); in mce_amd_feature_init() local
787 static bool _log_error_deferred(unsigned int bank, u32 misc) in _log_error_deferred()
814 static void log_error_deferred(unsigned int bank) in log_error_deferred()
830 unsigned int bank; in amd_deferred_error_interrupt() local
872 unsigned int bank, cpu = smp_processor_id(); in amd_threshold_interrupt() local
1071 unsigned int bank, unsigned int block, in allocate_threshold_blocks()
1172 unsigned int bank) in threshold_create_bank()
1302 unsigned int bank, numbanks = this_cpu_read(mce_num_banks); in __threshold_remove_device() local
[all …]
/openbmc/linux/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c332 struct stm32_gpio_bank *bank = d->domain->host_data; in stm32_gpio_irq_trigger() local
354 struct stm32_gpio_bank *bank = d->domain->host_data; in stm32_gpio_set_type() local
440 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_activate() local
465 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_alloc() local
504 struct stm32_gpio_bank *bank = d->host_data; in stm32_gpio_domain_free() local
839 struct stm32_gpio_bank *bank; in stm32_pmx_set_mux() local
1082 struct stm32_gpio_bank *bank; in stm32_pconf_parse_conf() local
1200 struct stm32_gpio_bank *bank; in stm32_pconf_dbg_show() local
1278 struct stm32_gpio_bank *bank, in stm32_pctrl_get_desc_pin_from_gpio()
1639 struct stm32_gpio_bank *bank = &pctl->banks[i]; in stm32_pctl_probe() local
[all …]
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-pic32.c41 #define GPIO_BANK_START(bank) ((bank) * PINS_PER_BANK) argument
1816 struct pic32_gpio_bank *bank = gpiochip_get_data(chip); in pic32_gpio_direction_input() local
1826 struct pic32_gpio_bank *bank = gpiochip_get_data(chip); in pic32_gpio_get() local
2001 struct pic32_gpio_bank *bank = irqd_to_bank(data); in pic32_gpio_irq_ack() local
2008 struct pic32_gpio_bank *bank = irqd_to_bank(data); in pic32_gpio_irq_mask() local
2016 struct pic32_gpio_bank *bank = irqd_to_bank(data); in pic32_gpio_irq_unmask() local
2034 struct pic32_gpio_bank *bank = irqd_to_bank(data); in pic32_gpio_irq_set_type() local
2073 struct pic32_gpio_bank *bank = gpiochip_get_data(gc); in pic32_gpio_get_pending() local
2094 struct pic32_gpio_bank *bank = gpiochip_get_data(gc); in pic32_gpio_irq_handler() local
2145 struct pic32_gpio_bank *bank = irqd_to_bank(data); in pic32_gpio_irq_print_chip() local
[all …]
/openbmc/u-boot/drivers/misc/
H A Dstm32mp_fuse.c18 int fuse_read(u32 bank, u32 word, u32 *val) in fuse_read()
46 int fuse_prog(u32 bank, u32 word, u32 val) in fuse_prog()
74 int fuse_sense(u32 bank, u32 word, u32 *val) in fuse_sense()
101 int fuse_override(u32 bank, u32 word, u32 val) in fuse_override()
/openbmc/linux/drivers/net/phy/mscc/
H A Dmscc_macsec.c23 enum macsec_bank bank, u32 reg) in vsc8584_macsec_phy_read()
97 enum macsec_bank bank) in vsc8584_macsec_classification()
107 enum macsec_bank bank, in vsc8584_macsec_flow_default_action()
154 enum macsec_bank bank) in vsc8584_macsec_integrity_checks()
176 enum macsec_bank bank) in vsc8584_macsec_block_init()
245 enum macsec_bank bank) in vsc8584_macsec_mac_init()
374 enum macsec_bank bank = flow->bank; in vsc8584_macsec_flow() local
449 enum macsec_bank bank) in vsc8584_macsec_find_flow()
464 enum macsec_bank bank = flow->bank; in vsc8584_macsec_flow_enable() local
483 enum macsec_bank bank = flow->bank; in vsc8584_macsec_flow_disable() local
[all …]
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip-core.c19 static int rockchip_verify_config(struct udevice *dev, u32 bank, u32 pin) in rockchip_verify_config()
38 static void rockchip_get_recalced_mux(struct rockchip_pin_bank *bank, int pin, in rockchip_get_recalced_mux()
61 static bool rockchip_get_mux_route(struct rockchip_pin_bank *bank, int pin, in rockchip_get_mux_route()
111 static int rockchip_get_mux(struct rockchip_pin_bank *bank, int pin) in rockchip_get_mux()
157 static int rockchip_verify_mux(struct rockchip_pin_bank *bank, in rockchip_verify_mux()
252 static int rockchip_set_drive_perpin(struct rockchip_pin_bank *bank, in rockchip_set_drive_perpin()
362 static int rockchip_set_pull(struct rockchip_pin_bank *bank, in rockchip_set_pull()
428 static int rockchip_set_schmitt(struct rockchip_pin_bank *bank, in rockchip_set_schmitt()
474 static int rockchip_pinconf_set(struct rockchip_pin_bank *bank, in rockchip_pinconf_set()
566 u32 bank, pin, mux, conf, arg, default_val; local
[all …]

12345678910>>...19