Home
last modified time | relevance | path

Searched defs:bank (Results 26 – 50 of 465) sorted by relevance

12345678910>>...19

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c1151 static int rockchip_verify_mux(struct rockchip_pin_bank *bank, in rockchip_verify_mux()
2492 static int rockchip_set_pull(struct rockchip_pin_bank *bank, in rockchip_set_pull()
2649 static int rockchip_set_schmitt(struct rockchip_pin_bank *bank, in rockchip_set_schmitt()
2721 struct rockchip_pin_bank *bank; in rockchip_pmx_set() local
2758 struct rockchip_pin_bank *bank; in rockchip_pmx_gpio_set_direction() local
2826 struct rockchip_pin_bank *bank = pin_to_bank(info, pin); in rockchip_pinconf_set() local
2932 struct rockchip_pin_bank *bank = pin_to_bank(info, pin); in rockchip_pinconf_get() local
3036 struct rockchip_pin_bank *bank; in rockchip_pinctrl_parse_groups() local
3178 int pin, bank, ret; in rockchip_pinctrl_register() local
3234 struct rockchip_pin_bank *bank; in rockchip_pinctrl_get_soc_data() local
[all …]
H A Dpinctrl-microchip-sgpio.c357 struct sgpio_bank *bank = pinctrl_dev_get_drvdata(pctldev); in sgpio_pinconf_get() local
529 struct sgpio_bank *bank = gpiochip_get_data(gc); in microchip_sgpio_direction_input() local
538 struct sgpio_bank *bank = gpiochip_get_data(gc); in microchip_sgpio_direction_output() local
553 struct sgpio_bank *bank = gpiochip_get_data(gc); in microchip_sgpio_get_direction() local
566 struct sgpio_bank *bank = gpiochip_get_data(gc); in microchip_sgpio_get_value() local
579 struct sgpio_bank *bank = gpiochip_get_data(gc); in microchip_sgpio_of_xlate() local
645 struct sgpio_bank *bank = gpiochip_get_data(chip); in microchip_sgpio_irq_settype() local
680 struct sgpio_bank *bank = gpiochip_get_data(chip); in microchip_sgpio_irq_setreg() local
711 struct sgpio_bank *bank = gpiochip_get_data(chip); in microchip_sgpio_irq_ack() local
764 struct sgpio_bank *bank = gpiochip_get_data(chip); in sgpio_irq_handler() local
[all …]
/openbmc/u-boot/drivers/misc/
H A Dmxc_ocotp.c135 u32 fuse_word_physical(u32 bank, u32 word_index) in fuse_word_physical()
150 u32 fuse_word_physical(u32 bank, u32 word_index) in fuse_word_physical()
168 static int prepare_access(struct ocotp_regs **regs, u32 bank, u32 word, in prepare_access()
215 static int prepare_read(struct ocotp_regs **regs, u32 bank, u32 word, u32 *val, in prepare_read()
221 int fuse_read(u32 bank, u32 word, u32 *val) in fuse_read()
295 static void setup_direct_access(struct ocotp_regs *regs, u32 bank, u32 word, in setup_direct_access()
319 int fuse_sense(u32 bank, u32 word, u32 *val) in fuse_sense()
348 static int prepare_write(struct ocotp_regs **regs, u32 bank, u32 word, in prepare_write()
371 int fuse_prog(u32 bank, u32 word, u32 val) in fuse_prog()
426 int fuse_override(u32 bank, u32 word, u32 val) in fuse_override()
H A Dfsl_iim.c93 } bank[8]; member
100 static int prepare_access(struct fsl_iim **regs, u32 bank, u32 word, int assert, in prepare_access()
128 static int prepare_read(struct fsl_iim **regs, u32 bank, u32 word, u32 *val, in prepare_read()
142 int fuse_read(u32 bank, u32 word, u32 *val) in fuse_read()
163 static void direct_access(struct fsl_iim *regs, u32 bank, u32 word, u32 bit, in direct_access()
176 int fuse_sense(u32 bank, u32 word, u32 *val) in fuse_sense()
202 static int prog_bit(struct fsl_iim *regs, u32 bank, u32 word, u32 bit) in prog_bit()
228 static int prepare_write(struct fsl_iim **regs, u32 bank, u32 word, u32 val, in prepare_write()
234 int fuse_prog(u32 bank, u32 word, u32 val) in fuse_prog()
258 int fuse_override(u32 bank, u32 word, u32 val) in fuse_override()
H A Dmxs_ocotp.c273 static int mxs_ocotp_valid(u32 bank, u32 word) in mxs_ocotp_valid()
285 int fuse_read(u32 bank, u32 word, u32 *val) in fuse_read()
296 int fuse_prog(u32 bank, u32 word, u32 val) in fuse_prog()
307 int fuse_sense(u32 bank, u32 word, u32 *val) in fuse_sense()
313 int fuse_override(u32 bank, u32 word, u32 val) in fuse_override()
/openbmc/u-boot/drivers/gpio/
H A Dimx_rgpio2p.c74 struct imx_rgpio2p_data *bank = dev_get_priv(dev); in imx_rgpio2p_direction_input() local
85 struct imx_rgpio2p_data *bank = dev_get_priv(dev); in imx_rgpio2p_direction_output() local
98 struct imx_rgpio2p_data *bank = dev_get_priv(dev); in imx_rgpio2p_get_value() local
106 struct imx_rgpio2p_data *bank = dev_get_priv(dev); in imx_rgpio2p_set_value() local
115 struct imx_rgpio2p_data *bank = dev_get_priv(dev); in imx_rgpio2p_get_function() local
134 struct imx_rgpio2p_data *bank = dev_get_priv(dev); in imx_rgpio2p_probe() local
H A Dtegra_gpio.c31 struct gpio_ctlr_bank *bank; member
38 struct gpio_ctlr_bank *bank; member
46 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in get_config() local
63 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_config() local
81 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in get_direction() local
98 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_direction() local
116 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_level() local
318 int bank; in gpio_tegra_bind() local
H A Daspeed_gpio.c147 const struct aspeed_gpio_bank *bank, in bank_reg()
187 unsigned int bank = GPIO_BANK(offset); in to_bank() local
197 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_direction_input() local
211 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_direction_output() local
231 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get_value() local
241 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_set_value() local
257 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get_function() local
H A Dmxs_gpio.c56 uint32_t bank = PAD_BANK(gpio); in gpio_get_value() local
66 uint32_t bank = PAD_BANK(gpio); in gpio_set_value() local
79 uint32_t bank = PAD_BANK(gpio); in gpio_direction_input() local
91 uint32_t bank = PAD_BANK(gpio); in gpio_direction_output() local
118 unsigned bank, pin; in name_to_gpio() local
H A Dgpio-uniphier.c25 static unsigned int uniphier_gpio_bank_to_reg(unsigned int bank) in uniphier_gpio_bank_to_reg()
42 unsigned int *bank, u32 *mask) in uniphier_gpio_get_bank_and_mask()
59 static void uniphier_gpio_bank_write(struct udevice *dev, unsigned int bank, in uniphier_gpio_bank_write()
74 unsigned int bank; in uniphier_gpio_offset_write() local
86 unsigned int bank, reg_offset; in uniphier_gpio_offset_read() local
H A Dxilinx_gpio.c39 u32 bank, max_pins; in xilinx_gpio_get_bank_pin() local
64 u32 bank, pin; in xilinx_gpio_set_value() local
92 u32 bank, pin; in xilinx_gpio_get_value() local
118 u32 bank, pin; in xilinx_gpio_get_function() local
147 u32 bank, pin; in xilinx_gpio_direction_output() local
172 u32 bank, pin; in xilinx_gpio_direction_input() local
H A Dmxc_gpio.c213 struct mxc_bank_info *bank = dev_get_priv(dev); in mxc_gpio_direction_input() local
225 struct mxc_bank_info *bank = dev_get_priv(dev); in mxc_gpio_direction_output() local
239 struct mxc_bank_info *bank = dev_get_priv(dev); in mxc_gpio_get_value() local
248 struct mxc_bank_info *bank = dev_get_priv(dev); in mxc_gpio_set_value() local
257 struct mxc_bank_info *bank = dev_get_priv(dev); in mxc_gpio_get_function() local
276 struct mxc_bank_info *bank = dev_get_priv(dev); in mxc_gpio_probe() local
/openbmc/qemu/hw/misc/
H A Dstm32l4x5_exti.c69 static unsigned valid_mask(unsigned bank) in valid_mask()
74 static unsigned configurable_mask(unsigned bank) in configurable_mask()
83 for (unsigned bank = 0; bank < EXTI_NUM_REGISTER; bank++) { in stm32l4x5_exti_reset_hold() local
97 const unsigned bank = regbank_index_by_irq(irq); in stm32l4x5_exti_set_irq() local
136 const unsigned bank = regbank_index_by_addr(addr); in stm32l4x5_exti_read() local
180 const unsigned bank = regbank_index_by_addr(addr); in stm32l4x5_exti_write() local
/openbmc/u-boot/cmd/
H A Dflash.c51 int bank, first, last; in abbrev_spec() local
94 ulong bank, sector_end_addr; in flash_sect_roundb() local
193 ulong bank; in flash_fill_sect_ranges() local
274 ulong bank; in do_flinfo() local
303 ulong bank, addr_first, addr_last; in do_flerase() local
396 ulong bank; in flash_sect_erase() local
437 ulong bank; in do_protect() local
592 ulong bank; in flash_sect_protect() local
/openbmc/linux/drivers/gpio/
H A Dgpio-aspeed.c34 unsigned int bank; member
211 const struct aspeed_gpio_bank *bank, in bank_reg()
255 unsigned int bank = GPIO_BANK(offset); in to_bank() local
283 const struct aspeed_gpio_bank *bank = to_bank(offset); in have_gpio() local
308 const struct aspeed_gpio_bank *bank, in aspeed_gpio_change_cmd_source()
342 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_copro_request() local
510 const struct aspeed_gpio_bank **bank, in irqd_to_aspeed_gpio_data()
532 const struct aspeed_gpio_bank *bank; in aspeed_gpio_irq_ack() local
558 const struct aspeed_gpio_bank *bank; in aspeed_gpio_irq_set_mask() local
611 const struct aspeed_gpio_bank *bank; in aspeed_gpio_set_type() local
[all …]
H A Dgpio-aspeed-sgpio.c105 const struct aspeed_sgpio_bank *bank, in bank_reg()
137 unsigned int bank; in to_bank() local
172 const struct aspeed_sgpio_bank *bank = to_bank(offset); in aspeed_sgpio_get() local
190 const struct aspeed_sgpio_bank *bank = to_bank(offset); in sgpio_set_value() local
254 const struct aspeed_sgpio_bank **bank, in irqd_to_aspeed_sgpio_data()
270 const struct aspeed_sgpio_bank *bank; in aspeed_sgpio_irq_ack() local
290 const struct aspeed_sgpio_bank *bank; in aspeed_sgpio_irq_set_mask() local
339 const struct aspeed_sgpio_bank *bank; in aspeed_sgpio_set_type() local
404 const struct aspeed_sgpio_bank *bank = &aspeed_sgpio_banks[i]; in aspeed_sgpio_irq_handler() local
417 const struct aspeed_sgpio_bank *bank; in aspeed_sgpio_irq_print_chip() local
[all …]
H A Dgpio-npcm-sgpio.c138 const struct npcm_sgpio_bank *bank, in bank_reg()
159 unsigned int bank = GPIO_BANK(offset); in offset_to_bank() local
166 const struct npcm_sgpio_bank **bank, in npcm_sgpio_irqd_to_data()
232 const struct npcm_sgpio_bank *bank = offset_to_bank(offset); in npcm_sgpio_set() local
250 const struct npcm_sgpio_bank *bank; in npcm_sgpio_get() local
319 const struct npcm_sgpio_bank *bank; in npcm_sgpio_irq_set_mask() local
356 const struct npcm_sgpio_bank *bank; in npcm_sgpio_irq_ack() local
382 const struct npcm_sgpio_bank *bank; in npcm_sgpio_set_type() local
443 const struct npcm_sgpio_bank *bank = &npcm_sgpio_banks[i]; in npcm_sgpio_irq_handler() local
480 const struct npcm_sgpio_bank *bank = &npcm_sgpio_banks[i]; in npcm_sgpio_setup_irqs() local
/openbmc/libcper/sections/
H A Dcper-section-memory.c32 json_object *bank = json_object_new_object(); in cper_section_platform_memory_to_ir() local
131 json_object *bank = json_object_new_object(); in cper_section_platform_memory2_to_ir() local
228 json_object *bank = json_object_object_get(section, "bank"); in ir_section_memory_to_cper() local
313 json_object *bank = json_object_object_get(section, "bank"); in ir_section_memory2_to_cper() local
/openbmc/linux/drivers/leds/
H A Dleds-tca6507.c162 struct bank { struct
163 int level;
164 int ontime, offtime;
165 int on_dflt, off_dflt;
166 int time_use, level_use;
167 } bank[3]; member
178 int bank; /* Bank used, or -1 */ member
281 static void set_code(struct tca6507_chip *tca, int reg, int bank, int new) in set_code()
298 static void set_level(struct tca6507_chip *tca, int bank, int level) in set_level()
313 static void set_times(struct tca6507_chip *tca, int bank) in set_times()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dpinmux.c22 u32 bank = GPIO_BANK(pin); in sunxi_gpio_set_cfgpin() local
42 u32 bank = GPIO_BANK(pin); in sunxi_gpio_get_cfgpin() local
50 u32 bank = GPIO_BANK(pin); in sunxi_gpio_set_drv() local
62 u32 bank = GPIO_BANK(pin); in sunxi_gpio_set_pull() local
/openbmc/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c359 struct samsung_pin_bank **bank) in pin_to_reg_bank()
381 struct samsung_pin_bank *bank; in samsung_pinmux_setup() local
436 struct samsung_pin_bank *bank; in samsung_pinconf_rw() local
544 struct samsung_pin_bank *bank = gpiochip_get_data(gc); in samsung_gpio_set_value() local
595 struct samsung_pin_bank *bank; in samsung_gpio_set_direction() local
861 int pin, bank, ret; in samsung_pinctrl_register() local
933 struct samsung_pin_bank *bank = drvdata->pin_banks; in samsung_pinctrl_unregister() local
957 struct samsung_pin_bank *bank = drvdata->pin_banks; in samsung_gpiolib_register() local
1007 struct samsung_pin_bank *bank; in samsung_banks_node_put() local
1022 struct samsung_pin_bank *bank; in samsung_banks_node_get() local
[all …]
/openbmc/linux/arch/arm/mach-omap2/
H A Dpowerdomain-common.c47 u32 omap2_pwrdm_get_mem_bank_onstate_mask(u8 bank) in omap2_pwrdm_get_mem_bank_onstate_mask()
67 u32 omap2_pwrdm_get_mem_bank_retst_mask(u8 bank) in omap2_pwrdm_get_mem_bank_retst_mask()
87 u32 omap2_pwrdm_get_mem_bank_stst_mask(u8 bank) in omap2_pwrdm_get_mem_bank_stst_mask()
/openbmc/u-boot/board/xilinx/zynqmp/
H A Dtap_delays.c84 static void arasan_zynqmp_tap_sdr104(u8 deviceid, u8 timing, u8 bank) in arasan_zynqmp_tap_sdr104()
105 static void arasan_zynqmp_tap_hs(u8 deviceid, u8 timing, u8 bank) in arasan_zynqmp_tap_hs()
142 static void arasan_zynqmp_tap_ddr50(u8 deviceid, u8 timing, u8 bank) in arasan_zynqmp_tap_ddr50()
187 static void arasan_zynqmp_tap_sdr50(u8 deviceid, u8 timing, u8 bank) in arasan_zynqmp_tap_sdr50()
200 void arasan_zynqmp_set_tapdelay(u8 deviceid, u8 timing, u8 bank) in arasan_zynqmp_set_tapdelay()
/openbmc/linux/drivers/pinctrl/meson/
H A Dpinctrl-meson.c73 struct meson_bank **bank) in meson_get_bank()
97 static void meson_calc_reg_and_bit(struct meson_bank *bank, unsigned int pin, in meson_calc_reg_and_bit()
184 struct meson_bank *bank; in meson_pinconf_set_gpio_bit() local
201 struct meson_bank *bank; in meson_pinconf_get_gpio_bit() local
264 struct meson_bank *bank; in meson_pinconf_disable_bias() local
283 struct meson_bank *bank; in meson_pinconf_enable_bias() local
311 struct meson_bank *bank; in meson_pinconf_set_drive_strength() local
402 struct meson_bank *bank; in meson_pinconf_get_pull() local
438 struct meson_bank *bank; in meson_pinconf_get_drive_strength() local
591 struct meson_bank *bank; in meson_gpio_get() local
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/
H A Dfsl_corenet_serdes.c62 int bank; member
110 int bank = lanes[lane].bank; in serdes_lane_enabled() local
281 static void enable_bank(ccsr_gur_t *gur, int bank) in enable_bank()
450 int bank = serdes_get_bank_by_device(cfg, device); in p4080_erratum_serdes_a005() local
462 static void wait_for_rstdone(unsigned int bank) in wait_for_rstdone()
496 int lane, bank, idx; in fsl_serdes_init() local

12345678910>>...19