Home
last modified time | relevance | path

Searched refs:banknum (Results 1 – 18 of 18) sorted by relevance

/openbmc/u-boot/drivers/mtd/
H A Dst_smi.c136 static ulong flash_get_size(ulong base, int banknum) in flash_get_size() argument
138 flash_info_t *info = &flash_info[banknum]; in flash_get_size()
142 value = smi_read_id(info, banknum); in flash_get_size()
358 int banknum; in smi_write() local
363 banknum = BANK0; in smi_write()
366 banknum = BANK1; in smi_write()
369 banknum = BANK2; in smi_write()
372 banknum = BANK3; in smi_write()
384 if (smi_write_enable(banknum)) in smi_write()
390 if (smi_wait_till_ready(banknum, in smi_write()
[all …]
H A Dcfi_flash.c1801 static int flash_detect_legacy(phys_addr_t base, int banknum) in flash_detect_legacy() argument
1803 flash_info_t *info = &flash_info[banknum]; in flash_detect_legacy()
1805 if (board_flash_get_legacy(base, banknum, info)) { in flash_detect_legacy()
1861 static inline int flash_detect_legacy(phys_addr_t base, int banknum) in flash_detect_legacy() argument
2068 ulong flash_get_size(phys_addr_t base, int banknum) in flash_get_size() argument
2070 flash_info_t *info = &flash_info[banknum]; in flash_get_size()
2168 max_size = cfi_flash_bank_size(banknum); in flash_get_size()
/openbmc/u-boot/board/AndesTech/adp-ag101p/
H A Dadp-ag101p.c72 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
74 if (banknum == 0) { /* non-CFI boot flash */ in board_flash_get_legacy()
/openbmc/u-boot/board/AndesTech/adp-ae3xx/
H A Dadp-ae3xx.c65 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
67 if (banknum == 0) { /* non-CFI boot flash */ in board_flash_get_legacy()
/openbmc/u-boot/drivers/gpio/
H A Dimx_rgpio2p.c137 int banknum; in imx_rgpio2p_probe() local
140 banknum = plat->bank_index; in imx_rgpio2p_probe()
141 sprintf(name, "GPIO%d_", banknum + 1); in imx_rgpio2p_probe()
H A Dmxc_gpio.c279 int banknum; in mxc_gpio_probe() local
282 banknum = plat->bank_index; in mxc_gpio_probe()
283 sprintf(name, "GPIO%d_", banknum + 1); in mxc_gpio_probe()
/openbmc/u-boot/include/dm/
H A Dpinctrl.h135 int (*get_gpio_mux)(struct udevice *dev, int banknum, int index);
383 int pinctrl_get_gpio_mux(struct udevice *dev, int banknum, int index);
/openbmc/u-boot/drivers/pinctrl/broadcom/
H A Dpinctrl-bcm283x.c91 static int bcm283x_pinctrl_get_gpio_mux(struct udevice *dev, int banknum, in bcm283x_pinctrl_get_gpio_mux() argument
94 if (banknum != 0) in bcm283x_pinctrl_get_gpio_mux()
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-uclass.c264 int pinctrl_get_gpio_mux(struct udevice *dev, int banknum, int index) in pinctrl_get_gpio_mux() argument
271 return ops->get_gpio_mux(dev, banknum, index); in pinctrl_get_gpio_mux()
/openbmc/u-boot/board/AndesTech/ax25-ae350/
H A Dax25-ae350.c63 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
/openbmc/u-boot/board/shmin/
H A Dshmin.c47 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
/openbmc/u-boot/board/freescale/m54455evb/
H A Dm54455evb.c169 ulong board_flash_get_legacy (ulong base, int banknum, flash_info_t * info) in board_flash_get_legacy() argument
/openbmc/u-boot/board/tqc/tqm834x/
H A Dtqm834x.c40 ulong flash_get_size (ulong base, int banknum);
/openbmc/u-boot/board/socrates/
H A Dsocrates.c33 ulong flash_get_size (ulong base, int banknum);
/openbmc/u-boot/include/
H A Dflash.h115 extern ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info);
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip-core.c149 static int rockchip_pinctrl_get_gpio_mux(struct udevice *dev, int banknum, in rockchip_pinctrl_get_gpio_mux() argument
154 return rockchip_get_mux(&ctrl->pin_banks[banknum], index); in rockchip_pinctrl_get_gpio_mux()
/openbmc/u-boot/board/gdsys/mpc8308/
H A Dhrcon.c346 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument
H A Dstrider.c401 ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info) in board_flash_get_legacy() argument