| /rk3399_rockchip-uboot/drivers/gpio/ |
| H A D | sandbox.c | 27 static u8 *get_gpio_flags(struct udevice *dev, unsigned offset) in get_gpio_flags() 41 static int get_gpio_flag(struct udevice *dev, unsigned offset, int flag) in get_gpio_flag() 46 static int set_gpio_flag(struct udevice *dev, unsigned offset, int flag, in set_gpio_flag() 63 int sandbox_gpio_get_value(struct udevice *dev, unsigned offset) in sandbox_gpio_get_value() 70 int sandbox_gpio_set_value(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_value() 75 int sandbox_gpio_get_open_drain(struct udevice *dev, unsigned offset) in sandbox_gpio_get_open_drain() 80 int sandbox_gpio_set_open_drain(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_open_drain() 85 int sandbox_gpio_get_direction(struct udevice *dev, unsigned offset) in sandbox_gpio_get_direction() 90 int sandbox_gpio_set_direction(struct udevice *dev, unsigned offset, int output) in sandbox_gpio_set_direction() 100 static int sb_gpio_direction_input(struct udevice *dev, unsigned offset) in sb_gpio_direction_input() [all …]
|
| H A D | imx_rgpio2p.c | 35 static int imx_rgpio2p_is_output(struct gpio_regs *regs, int offset) in imx_rgpio2p_is_output() 44 static void imx_rgpio2p_bank_direction(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_direction() 61 static void imx_rgpio2p_bank_set_value(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_set_value() 70 static int imx_rgpio2p_bank_get_value(struct gpio_regs *regs, int offset) in imx_rgpio2p_bank_get_value() 75 static int imx_rgpio2p_direction_input(struct udevice *dev, unsigned offset) in imx_rgpio2p_direction_input() 85 static int imx_rgpio2p_direction_output(struct udevice *dev, unsigned offset, in imx_rgpio2p_direction_output() 99 static int imx_rgpio2p_get_value(struct udevice *dev, unsigned offset) in imx_rgpio2p_get_value() 106 static int imx_rgpio2p_set_value(struct udevice *dev, unsigned offset, in imx_rgpio2p_set_value() 116 static int imx_rgpio2p_get_function(struct udevice *dev, unsigned offset) in imx_rgpio2p_get_function()
|
| H A D | gpio-uniphier.c | 26 static void uniphier_gpio_offset_write(struct udevice *dev, unsigned offset, in uniphier_gpio_offset_write() 40 static int uniphier_gpio_offset_read(struct udevice *dev, unsigned offset, in uniphier_gpio_offset_read() 48 static int uniphier_gpio_direction_input(struct udevice *dev, unsigned offset) in uniphier_gpio_direction_input() 55 static int uniphier_gpio_direction_output(struct udevice *dev, unsigned offset, in uniphier_gpio_direction_output() 64 static int uniphier_gpio_get_value(struct udevice *dev, unsigned offset) in uniphier_gpio_get_value() 69 static int uniphier_gpio_set_value(struct udevice *dev, unsigned offset, in uniphier_gpio_set_value() 77 static int uniphier_gpio_get_function(struct udevice *dev, unsigned offset) in uniphier_gpio_get_function()
|
| H A D | intel_ich6_gpio.c | 57 static int _ich6_gpio_set_value(struct ich6_bank_priv *bank, unsigned offset, in _ich6_gpio_set_value() 78 static int _ich6_gpio_set_direction(uint16_t base, unsigned offset, int dir) in _ich6_gpio_set_direction() 99 int offset; in gpio_ich6_ofdata_to_platdata() local 143 static int ich6_gpio_request(struct udevice *dev, unsigned offset, in ich6_gpio_request() 164 static int ich6_gpio_direction_input(struct udevice *dev, unsigned offset) in ich6_gpio_direction_input() 171 static int ich6_gpio_direction_output(struct udevice *dev, unsigned offset, in ich6_gpio_direction_output() 184 static int ich6_gpio_get_value(struct udevice *dev, unsigned offset) in ich6_gpio_get_value() 197 static int ich6_gpio_set_value(struct udevice *dev, unsigned offset, in ich6_gpio_set_value() 204 static int ich6_gpio_get_function(struct udevice *dev, unsigned offset) in ich6_gpio_get_function()
|
| H A D | bcm6345_gpio.c | 24 static int bcm6345_gpio_get_value(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_value() 31 static int bcm6345_gpio_set_value(struct udevice *dev, unsigned offset, in bcm6345_gpio_set_value() 44 static int bcm6345_gpio_set_direction(void __iomem *dirout, unsigned offset, in bcm6345_gpio_set_direction() 55 static int bcm6345_gpio_direction_input(struct udevice *dev, unsigned offset) in bcm6345_gpio_direction_input() 62 static int bcm6345_gpio_direction_output(struct udevice *dev, unsigned offset, in bcm6345_gpio_direction_output() 72 static int bcm6345_gpio_get_function(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_function()
|
| H A D | intel_broadwell_gpio.c | 32 int offset; member 35 static int broadwell_gpio_request(struct udevice *dev, unsigned offset, in broadwell_gpio_request() 58 static int broadwell_gpio_direction_input(struct udevice *dev, unsigned offset) in broadwell_gpio_direction_input() 68 static int broadwell_gpio_get_value(struct udevice *dev, unsigned offset) in broadwell_gpio_get_value() 77 static int broadwell_gpio_set_value(struct udevice *dev, unsigned offset, in broadwell_gpio_set_value() 91 static int broadwell_gpio_direction_output(struct udevice *dev, unsigned offset, in broadwell_gpio_direction_output() 103 static int broadwell_gpio_get_function(struct udevice *dev, unsigned offset) in broadwell_gpio_get_function()
|
| H A D | tegra186_gpio.c | 24 uint32_t offset; member 46 static int tegra186_gpio_set_out(struct udevice *dev, unsigned offset, in tegra186_gpio_set_out() 72 static int tegra186_gpio_set_val(struct udevice *dev, unsigned offset, bool val) in tegra186_gpio_set_val() 88 static int tegra186_gpio_direction_input(struct udevice *dev, unsigned offset) in tegra186_gpio_direction_input() 93 static int tegra186_gpio_direction_output(struct udevice *dev, unsigned offset, in tegra186_gpio_direction_output() 104 static int tegra186_gpio_get_value(struct udevice *dev, unsigned offset) in tegra186_gpio_get_value() 122 static int tegra186_gpio_set_value(struct udevice *dev, unsigned offset, in tegra186_gpio_set_value() 128 static int tegra186_gpio_get_function(struct udevice *dev, unsigned offset) in tegra186_gpio_get_function()
|
| H A D | mxc_gpio.c | 163 static int mxc_gpio_is_output(struct gpio_regs *regs, int offset) in mxc_gpio_is_output() 172 static void mxc_gpio_bank_direction(struct gpio_regs *regs, int offset, in mxc_gpio_bank_direction() 189 static void mxc_gpio_bank_set_value(struct gpio_regs *regs, int offset, in mxc_gpio_bank_set_value() 202 static int mxc_gpio_bank_get_value(struct gpio_regs *regs, int offset) in mxc_gpio_bank_get_value() 208 static int mxc_gpio_direction_input(struct udevice *dev, unsigned offset) in mxc_gpio_direction_input() 219 static int mxc_gpio_direction_output(struct udevice *dev, unsigned offset, in mxc_gpio_direction_output() 234 static int mxc_gpio_get_value(struct udevice *dev, unsigned offset) in mxc_gpio_get_value() 242 static int mxc_gpio_set_value(struct udevice *dev, unsigned offset, in mxc_gpio_set_value() 252 static int mxc_gpio_get_function(struct udevice *dev, unsigned offset) in mxc_gpio_get_function()
|
| H A D | pm8916_gpio.c | 56 static int pm8916_gpio_set_direction(struct udevice *dev, unsigned offset, in pm8916_gpio_set_direction() 106 static int pm8916_gpio_direction_input(struct udevice *dev, unsigned offset) in pm8916_gpio_direction_input() 111 static int pm8916_gpio_direction_output(struct udevice *dev, unsigned offset, in pm8916_gpio_direction_output() 117 static int pm8916_gpio_get_function(struct udevice *dev, unsigned offset) in pm8916_gpio_get_function() 139 static int pm8916_gpio_get_value(struct udevice *dev, unsigned offset) in pm8916_gpio_get_value() 152 static int pm8916_gpio_set_value(struct udevice *dev, unsigned offset, in pm8916_gpio_set_value() 225 static int pm8941_pwrkey_get_function(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_function() 230 static int pm8941_pwrkey_get_value(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_value()
|
| H A D | pic32_gpio.c | 42 static int pic32_gpio_get_value(struct udevice *dev, unsigned offset) in pic32_gpio_get_value() 49 static int pic32_gpio_set_value(struct udevice *dev, unsigned offset, in pic32_gpio_set_value() 63 static int pic32_gpio_direction(struct udevice *dev, unsigned offset) in pic32_gpio_direction() 77 static int pic32_gpio_direction_input(struct udevice *dev, unsigned offset) in pic32_gpio_direction_input() 89 unsigned offset, int value) in pic32_gpio_direction_output() 101 static int pic32_gpio_get_function(struct udevice *dev, unsigned offset) in pic32_gpio_get_function()
|
| H A D | 74x164_gpio.c | 63 static int gen_74x164_get_value(struct udevice *dev, unsigned offset) in gen_74x164_get_value() 72 static int gen_74x164_set_value(struct udevice *dev, unsigned offset, in gen_74x164_set_value() 92 static int gen_74x164_direction_input(struct udevice *dev, unsigned offset) in gen_74x164_direction_input() 97 static int gen_74x164_direction_output(struct udevice *dev, unsigned offset, in gen_74x164_direction_output() 103 static int gen_74x164_get_function(struct udevice *dev, unsigned offset) in gen_74x164_get_function()
|
| H A D | pca953x_gpio.c | 79 int offset) in pca953x_write_single() 96 int offset) in pca953x_read_single() 135 static int pca953x_is_output(struct udevice *dev, int offset) in pca953x_is_output() 146 static int pca953x_get_value(struct udevice *dev, unsigned offset) in pca953x_get_value() 160 static int pca953x_set_value(struct udevice *dev, unsigned offset, in pca953x_set_value() 183 static int pca953x_set_direction(struct udevice *dev, unsigned offset, int dir) in pca953x_set_direction() 205 static int pca953x_direction_input(struct udevice *dev, unsigned offset) in pca953x_direction_input() 210 static int pca953x_direction_output(struct udevice *dev, unsigned offset, in pca953x_direction_output() 222 static int pca953x_get_function(struct udevice *dev, unsigned offset) in pca953x_get_function()
|
| /rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/ |
| H A D | decode.c | 304 uint offset) in fetch_data_byte() 323 uint offset) in fetch_data_word() 342 uint offset) in fetch_data_long() 363 uint offset) in fetch_data_byte_abs() 384 uint offset) in fetch_data_word_abs() 405 uint offset) in fetch_data_long_abs() 426 uint offset, in store_data_byte() 448 uint offset, in store_data_word() 470 uint offset, in store_data_long() 493 uint offset, in store_data_byte_abs() [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/musb-new/ |
| H A D | musb_io.h | 46 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw() 49 static inline u32 musb_readl(const void __iomem *addr, unsigned offset) in musb_readl() 53 static inline void musb_writew(void __iomem *addr, unsigned offset, u16 data) in musb_writew() 56 static inline void musb_writel(void __iomem *addr, unsigned offset, u32 data) in musb_writel() 65 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() 79 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb() 94 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb() 97 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb()
|
| /rk3399_rockchip-uboot/scripts/dtc/libfdt/ |
| H A D | fdt.c | 77 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr() 98 int offset = startoffset; in fdt_next_tag() local 144 int _fdt_check_node_offset(const void *fdt, int offset) in _fdt_check_node_offset() 153 int _fdt_check_prop_offset(const void *fdt, int offset) in _fdt_check_prop_offset() 162 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node() 202 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode() 213 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
|
| H A D | fdt_ro.c | 58 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq() 94 int offset; in fdt_get_max_phandle() local 134 static int _nextprop(const void *fdt, int offset) in _nextprop() 158 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen() 187 int offset = 0; in fdt_path_offset_namelen() local 255 int offset; in fdt_first_property_offset() local 263 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset() 272 int offset, in fdt_get_property_by_offset() 293 int offset, in fdt_get_property_namelen() 336 const void *fdt_getprop_by_offset(const void *fdt, int offset, in fdt_getprop_by_offset() [all …]
|
| /rk3399_rockchip-uboot/include/ |
| H A D | spi_flash.h | 116 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read() 122 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write() 128 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase() 147 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read() 156 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write() 165 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase()
|
| /rk3399_rockchip-uboot/lib/libfdt/ |
| H A D | fdt_ro.c | 17 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq() 53 int offset; in fdt_get_max_phandle() local 93 static int _nextprop(const void *fdt, int offset) in _nextprop() 117 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen() 165 int offset = 0; in fdt_path_offset_namelen() local 234 int offset; in fdt_first_property_offset() local 242 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset() 251 int offset, in fdt_get_property_by_offset() 272 int offset, in fdt_get_property_namelen() 315 const void *fdt_getprop_by_offset(const void *fdt, int offset, in fdt_getprop_by_offset() [all …]
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | i2c_eeprom.c | 13 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_read() 23 int i2c_eeprom_write(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_write() 33 static int i2c_eeprom_std_read(struct udevice *dev, int offset, uint8_t *buf, in i2c_eeprom_std_read() 39 static int i2c_eeprom_std_write(struct udevice *dev, int offset, in i2c_eeprom_std_write()
|
| /rk3399_rockchip-uboot/drivers/video/drm/display-serdes/ |
| H A D | serdes-gpio.c | 13 static int serdes_gpio_get(struct udevice *dev, unsigned int offset) in serdes_gpio_get() 29 unsigned int offset, int value) in serdes_gpio_set() 45 unsigned int offset) in serdes_gpio_direction_input() 61 unsigned int offset, int value) in serdes_gpio_direction_output()
|
| /rk3399_rockchip-uboot/board/armltd/integrator/ |
| H A D | pci.c | 89 static unsigned long v3_open_config_window(pci_dev_t bdf, int offset) in v3_open_config_window() 189 int offset, unsigned char *val) in pci_integrator_read_byte() 200 pci_dev_t bdf, int offset, in pci_integrator_read__word() 212 pci_dev_t bdf, int offset, in pci_integrator_read_dword() 224 pci_dev_t bdf, int offset, in pci_integrator_write_byte() 237 pci_dev_t bdf, int offset, in pci_integrator_write_word() 250 pci_dev_t bdf, int offset, in pci_integrator_write_dword()
|
| /rk3399_rockchip-uboot/arch/arm/mach-sunxi/ |
| H A D | pinmux.c | 16 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_set_cfgbank() local 32 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_get_cfgbank() local 53 u32 offset = GPIO_DRV_OFFSET(pin); in sunxi_gpio_set_drv() local 65 u32 offset = GPIO_PULL_OFFSET(pin); in sunxi_gpio_set_pull() local
|
| /rk3399_rockchip-uboot/fs/cramfs/ |
| H A D | cramfs.c | 101 static char *cramfs_uncompress_link (unsigned long begin, unsigned long offset) in cramfs_uncompress_link() 116 static unsigned long cramfs_resolve (unsigned long begin, unsigned long offset, in cramfs_resolve() 207 static int cramfs_uncompress (unsigned long begin, unsigned long offset, in cramfs_uncompress() 239 unsigned long offset; in cramfs_load() local 256 static int cramfs_list_inode (struct part_info *info, unsigned long offset) in cramfs_list_inode() 300 unsigned long offset, size; in cramfs_ls() local
|
| /rk3399_rockchip-uboot/board/cavium/thunderx/ |
| H A D | atf.c | 21 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size) in atf_read_mmc() 34 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size) in atf_read_nor() 69 ssize_t atf_erase_nor(uintptr_t offset, size_t size) in atf_erase_nor() 81 ssize_t atf_write_nor(uintptr_t offset, const void *buffer, size_t size) in atf_write_nor() 95 ssize_t atf_write_mmc(uintptr_t offset, const void *buffer, size_t size) in atf_write_mmc() 232 size_t size, offset; in do_atf() local
|
| /rk3399_rockchip-uboot/test/dm/ |
| H A D | led.c | 34 const int offset = 1; in dm_test_led_gpio() local 59 const int offset = 1; in dm_test_led_toggle() local 106 const int offset = 1; in dm_test_led_blink() local
|