/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-pistachio.c | 58 #define GPIO_BANK_BASE(bank) (0x200 + 0x24 * (bank)) argument 1168 struct pistachio_gpio_bank *bank = gpiochip_get_data(chip); in pistachio_gpio_get_direction() local 1178 struct pistachio_gpio_bank *bank = gpiochip_get_data(chip); in pistachio_gpio_get() local 1192 struct pistachio_gpio_bank *bank = gpiochip_get_data(chip); in pistachio_gpio_set() local 1222 struct pistachio_gpio_bank *bank = irqd_to_bank(data); in pistachio_gpio_irq_ack() local 1229 struct pistachio_gpio_bank *bank = irqd_to_bank(data); in pistachio_gpio_irq_mask() local 1237 struct pistachio_gpio_bank *bank = irqd_to_bank(data); in pistachio_gpio_irq_unmask() local 1255 struct pistachio_gpio_bank *bank = irqd_to_bank(data); in pistachio_gpio_irq_set_type() local 1303 struct pistachio_gpio_bank *bank = gpiochip_get_data(gc); in pistachio_gpio_irq_handler() local 1347 struct pistachio_gpio_bank *bank = irqd_to_bank(data); in pistachio_gpio_irq_print_chip() local [all …]
|
H A D | pinctrl-st.c | 1057 int bank, struct st_pio_control *pc) in st_pctl_dt_setup_retime_packed() 1093 int bank, struct st_pio_control *pc) in st_pctl_dt_setup_retime_dedicated() 1117 int bank, struct st_pio_control *pc) in st_pctl_dt_setup_retime() 1130 struct regmap *regmap, int bank, in st_pc_get_value() 1170 phandle bank, unsigned int offset) in st_pctl_dt_calculate_pin() 1207 phandle bank; in st_pctl_dt_parse_groups() local 1314 struct st_gpio_bank *bank = gpiochip_get_data(gc); in st_gpio_irq_mask() local 1323 struct st_gpio_bank *bank = gpiochip_get_data(gc); in st_gpio_irq_unmask() local 1348 struct st_gpio_bank *bank = gpiochip_get_data(gc); in st_gpio_irq_set_type() local 1462 struct st_gpio_bank *bank = gpiochip_get_data(gc); in st_gpio_irq_handler() local [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | prm2xxx_3xxx.c | 111 int omap2_pwrdm_set_mem_onst(struct powerdomain *pwrdm, u8 bank, in omap2_pwrdm_set_mem_onst() 124 int omap2_pwrdm_set_mem_retst(struct powerdomain *pwrdm, u8 bank, in omap2_pwrdm_set_mem_retst() 137 int omap2_pwrdm_read_mem_pwrst(struct powerdomain *pwrdm, u8 bank) in omap2_pwrdm_read_mem_pwrst() 147 int omap2_pwrdm_read_mem_retst(struct powerdomain *pwrdm, u8 bank) in omap2_pwrdm_read_mem_retst()
|
/openbmc/linux/drivers/mfd/ |
H A D | abx500-core.c | 62 int abx500_set_register_interruptible(struct device *dev, u8 bank, u8 reg, in abx500_set_register_interruptible() 75 int abx500_get_register_interruptible(struct device *dev, u8 bank, u8 reg, in abx500_get_register_interruptible() 88 int abx500_get_register_page_interruptible(struct device *dev, u8 bank, in abx500_get_register_page_interruptible() 102 int abx500_mask_and_set_register_interruptible(struct device *dev, u8 bank, in abx500_mask_and_set_register_interruptible()
|
H A D | ab8500-sysctrl.c | 93 static inline bool valid_bank(u8 bank) in valid_bank() 101 u8 bank; in ab8500_sysctrl_read() local 117 u8 bank; in ab8500_sysctrl_write() local
|
/openbmc/u-boot/drivers/pinctrl/rockchip/ |
H A D | pinctrl-rk3328.c | 126 static void rk3328_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rk3328_calc_pull_reg_and_bit() 143 static void rk3328_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rk3328_calc_drv_reg_and_bit() 163 static int rk3328_calc_schmitt_reg_and_bit(struct rockchip_pin_bank *bank, in rk3328_calc_schmitt_reg_and_bit()
|
H A D | pinctrl-rv1108.c | 81 static void rv1108_calc_pull_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_pull_reg_and_bit() 107 static void rv1108_calc_drv_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_drv_reg_and_bit() 137 static int rv1108_calc_schmitt_reg_and_bit(struct rockchip_pin_bank *bank, in rv1108_calc_schmitt_reg_and_bit()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-bcm-kona.c | 31 #define GPIO_OUT_STATUS(bank) (0x00000000 + ((bank) << 2)) argument 32 #define GPIO_IN_STATUS(bank) (0x00000020 + ((bank) << 2)) argument 33 #define GPIO_OUT_SET(bank) (0x00000040 + ((bank) << 2)) argument 34 #define GPIO_OUT_CLEAR(bank) (0x00000060 + ((bank) << 2)) argument 35 #define GPIO_INT_STATUS(bank) (0x00000080 + ((bank) << 2)) argument 36 #define GPIO_INT_MASK(bank) (0x000000a0 + ((bank) << 2)) argument 37 #define GPIO_INT_MSKCLR(bank) (0x000000c0 + ((bank) << 2)) argument 38 #define GPIO_PWD_STATUS(bank) (0x00000500 + ((bank) << 2)) argument 445 struct bcm_kona_gpio_bank *bank = irq_desc_get_handler_data(desc); in bcm_kona_gpio_irq_handler() local 560 struct bcm_kona_gpio_bank *bank; in bcm_kona_gpio_probe() local
|
H A D | gpio-f7188x.c | 95 struct f7188x_gpio_bank *bank; member 291 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_get_direction() local 316 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_direction_in() local 341 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_get() local 366 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_direction_out() local 397 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_set() local 421 struct f7188x_gpio_bank *bank = gpiochip_get_data(chip); in f7188x_gpio_set_config() local 506 struct f7188x_gpio_bank *bank = &data->bank[i]; in f7188x_gpio_probe() local
|
H A D | gpio-sim.c | 589 gpio_sim_bank_get_device(struct gpio_sim_bank *bank) in gpio_sim_bank_get_device() 619 struct gpio_sim_bank *bank = line->parent; in gpio_sim_line_get_device() local 738 struct gpio_sim_bank *bank; in gpio_sim_add_hogs() local 814 gpio_sim_make_bank_swnode(struct gpio_sim_bank *bank, in gpio_sim_make_bank_swnode() 878 struct gpio_sim_bank *bank; in gpio_sim_device_activate_unlocked() local 1010 struct gpio_sim_bank *bank = to_gpio_sim_bank(item); in gpio_sim_bank_config_chip_name_show() local 1028 struct gpio_sim_bank *bank = to_gpio_sim_bank(item); in gpio_sim_bank_config_label_show() local 1039 struct gpio_sim_bank *bank = to_gpio_sim_bank(item); in gpio_sim_bank_config_label_store() local 1063 struct gpio_sim_bank *bank = to_gpio_sim_bank(item); in gpio_sim_bank_config_num_lines_show() local 1075 struct gpio_sim_bank *bank = to_gpio_sim_bank(item); in gpio_sim_bank_config_num_lines_store() local [all …]
|
H A D | gpio-74x164.c | 44 u8 bank = chip->registers - 1 - offset / 8; in gen_74x164_get_value() local 59 u8 bank = chip->registers - 1 - offset / 8; in gen_74x164_set_value() local 78 size_t bank; in gen_74x164_set_multiple() local
|
/openbmc/u-boot/drivers/gpio/ |
H A D | atmel_pio4.c | 182 u32 bank) in atmel_pio4_bank_base() 194 u32 bank = ATMEL_PIO_BANK(offset); in atmel_pio4_direction_input() local 210 u32 bank = ATMEL_PIO_BANK(offset); in atmel_pio4_direction_output() local 230 u32 bank = ATMEL_PIO_BANK(offset); in atmel_pio4_get_value() local 241 u32 bank = ATMEL_PIO_BANK(offset); in atmel_pio4_set_value() local 256 u32 bank = ATMEL_PIO_BANK(offset); in atmel_pio4_get_function() local
|
/openbmc/linux/drivers/memory/ |
H A D | jz4780-nemc.c | 71 unsigned int bank, count = 0; in jz4780_nemc_num_banks() local 93 void jz4780_nemc_set_type(struct device *dev, unsigned int bank, in jz4780_nemc_set_type() 125 void jz4780_nemc_assert(struct device *dev, unsigned int bank, bool assert) in jz4780_nemc_assert() 159 unsigned int bank, in jz4780_nemc_configure_bank() 277 unsigned int bank; in jz4780_nemc_probe() local
|
/openbmc/linux/drivers/reset/ |
H A D | reset-zynq.c | 34 int bank = id / BITS_PER_LONG; in zynq_reset_assert() local 51 int bank = id / BITS_PER_LONG; in zynq_reset_deassert() local 68 int bank = id / BITS_PER_LONG; in zynq_reset_status() local
|
/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-axg-pmx.c | 30 struct meson_pmx_bank **bank) in meson_axg_pmx_get_bank() 45 static int meson_pmx_calc_reg_and_offset(struct meson_pmx_bank *bank, in meson_pmx_calc_reg_and_offset() 65 struct meson_pmx_bank *bank; in meson_axg_pmx_update_function() local
|
/openbmc/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-s3c64xx.c | 213 struct samsung_pin_bank *bank; member 268 struct samsung_pin_bank *bank, int pin) in s3c64xx_irq_set_function() 305 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in s3c64xx_gpio_irq_set_mask() local 331 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in s3c64xx_gpio_irq_ack() local 341 struct samsung_pin_bank *bank = irq_data_get_irq_chip_data(irqd); in s3c64xx_gpio_irq_set_type() local 385 struct samsung_pin_bank *bank = h->host_data; in s3c64xx_gpio_irq_map() local 452 struct samsung_pin_bank *bank; in s3c64xx_eint_gpio_init() local 547 struct samsung_pin_bank *bank = ddata->bank; in s3c64xx_eint0_irq_set_type() local 655 struct samsung_pin_bank *bank = ddata->bank; in s3c64xx_eint0_irq_map() local 690 struct samsung_pin_bank *bank; in s3c64xx_eint_eint0_init() local
|
/openbmc/qemu/hw/intc/ |
H A D | omap_intc.c | 60 struct omap_intr_handler_bank_s bank[3]; member 115 struct omap_intr_handler_bank_s *bank = &ih->bank[irq >> 5]; in omap_set_intr() local 142 struct omap_intr_handler_bank_s *bank = &ih->bank[irq >> 5]; in omap_set_intr_noedge() local 163 struct omap_intr_handler_bank_s *bank = &s->bank[bank_no]; in omap_inth_read() local 240 struct omap_intr_handler_bank_s *bank = &s->bank[bank_no]; in omap_inth_write() local 429 struct omap_intr_handler_bank_s *bank = NULL; in omap2_inth_read() local 510 struct omap_intr_handler_bank_s *bank = NULL; in omap2_inth_write() local
|
/openbmc/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-axg-pmx.c | 15 struct meson_pmx_bank **bank) in meson_axg_pmx_get_bank() 31 static int meson_axg_pmx_calc_reg_and_offset(struct meson_pmx_bank *bank, in meson_axg_pmx_calc_reg_and_offset() 50 struct meson_pmx_bank *bank; in meson_axg_pmx_update_function() local
|
/openbmc/linux/drivers/pinctrl/sunxi/ |
H A D | pinctrl-sunxi.h | 32 #define SUNXI_PINCTRL_PIN(bank, pin) \ argument 226 static inline u32 sunxi_irq_hw_bank_num(const struct sunxi_pinctrl_desc *desc, u8 bank) in sunxi_irq_hw_bank_num() 237 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_cfg_reg() local 250 static inline u32 sunxi_irq_ctrl_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank) in sunxi_irq_ctrl_reg_from_bank() 258 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_ctrl_reg() local 269 static inline u32 sunxi_irq_debounce_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank) in sunxi_irq_debounce_reg_from_bank() 275 static inline u32 sunxi_irq_status_reg_from_bank(const struct sunxi_pinctrl_desc *desc, u8 bank) in sunxi_irq_status_reg_from_bank() 284 u8 bank = irq / IRQ_PER_BANK; in sunxi_irq_status_reg() local 297 u8 bank = pin / PINS_PER_BANK; in sunxi_grp_config_reg() local
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_nvm.c | 247 static u32 ice_get_flash_bank_offset(struct ice_hw *hw, enum ice_bank_select bank, u16 module) in ice_get_flash_bank_offset() 321 ice_read_flash_module(struct ice_hw *hw, enum ice_bank_select bank, u16 module, in ice_read_flash_module() 356 ice_read_nvm_module(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data) in ice_read_nvm_module() 380 ice_read_nvm_sr_copy(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data) in ice_read_nvm_sr_copy() 395 ice_read_netlist_module(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data) in ice_read_netlist_module() 577 ice_get_nvm_ver_info(struct ice_hw *hw, enum ice_bank_select bank, struct ice_nvm_info *nvm) in ice_get_nvm_ver_info() 631 ice_get_orom_civd_data(struct ice_hw *hw, enum ice_bank_select bank, in ice_get_orom_civd_data() 709 ice_get_orom_ver_info(struct ice_hw *hw, enum ice_bank_select bank, struct ice_orom_info *orom) in ice_get_orom_ver_info() 755 ice_get_netlist_info(struct ice_hw *hw, enum ice_bank_select bank, in ice_get_netlist_info()
|
/openbmc/u-boot/arch/arm/mach-mvebu/ |
H A D | efuse.c | 197 int fuse_read(u32 bank, u32 word, u32 *val) in fuse_read() 217 int fuse_sense(u32 bank, u32 word, u32 *val) in fuse_sense() 223 int fuse_prog(u32 bank, u32 word, u32 val) in fuse_prog() 259 int fuse_override(u32 bank, u32 word, u32 val) in fuse_override()
|
H A D | dram.c | 51 u32 mvebu_sdram_bar(enum memory_bank bank) in mvebu_sdram_bar() 68 static void mvebu_sdram_bs_set(enum memory_bank bank, u32 size) in mvebu_sdram_bs_set() 87 u32 mvebu_sdram_bs(enum memory_bank bank) in mvebu_sdram_bs() 101 void mvebu_sdram_size_adjust(enum memory_bank bank) in mvebu_sdram_size_adjust()
|
/openbmc/u-boot/arch/arm/mach-tegra/tegra186/ |
H A D | nvtboot_board.c | 42 static void mark_ram_allocated(int bank, u64 allocated_start, u64 allocated_end) in mark_ram_allocated() 86 int bank; in reserve_ram() local 103 int bank; in alloc_ram() local 214 int bank; in dump_ram_banks() local
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | spear_smi.c | 196 u32 bank; member 221 static int spear_smi_read_sr(struct spear_smi *dev, u32 bank) in spear_smi_read_sr() 264 static int spear_smi_wait_till_ready(struct spear_smi *dev, u32 bank, in spear_smi_wait_till_ready() 379 static int spear_smi_write_enable(struct spear_smi *dev, u32 bank) in spear_smi_write_enable() 445 u32 bank, u32 command, u32 bytes) in spear_smi_erase_sector() 498 u32 addr, command, bank; in spear_mtd_erase() local 615 static inline int spear_smi_cpy_toio(struct spear_smi *dev, u32 bank, in spear_smi_cpy_toio() 745 static int spear_smi_probe_flash(struct spear_smi *dev, u32 bank) in spear_smi_probe_flash() 842 u32 bank, struct device_node *np) in spear_smi_setup_banks()
|
/openbmc/linux/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-npcm7xx.c | 134 struct npcm7xx_gpio *bank = gpiochip_get_data(chip); in npcmgpio_dbg_show() local 221 struct npcm7xx_gpio *bank; in npcmgpio_irq_handler() local 243 struct npcm7xx_gpio *bank = gpiochip_get_data(gc); in npcmgpio_set_irq_type() local 291 struct npcm7xx_gpio *bank = gpiochip_get_data(gc); in npcmgpio_irq_ack() local 302 struct npcm7xx_gpio *bank = gpiochip_get_data(gc); in npcmgpio_irq_mask() local 315 struct npcm7xx_gpio *bank = gpiochip_get_data(gc); in npcmgpio_irq_unmask() local 1511 struct npcm7xx_gpio *bank = in npcm7xx_get_drive_strength() local 1537 struct npcm7xx_gpio *bank = in npcm7xx_set_drive_strength() local 1696 struct npcm7xx_gpio *bank = in npcm_gpio_set_direction() local 1726 struct npcm7xx_gpio *bank = in npcm7xx_config_get() local [all …]
|