Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 712) sorted by relevance

12345678910>>...29

/u-boot/drivers/bios_emulator/x86emu/
A Ddecode.c304 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 …]
/u-boot/drivers/misc/
A Dp2sb-uclass.c31 void *pcr_reg_address(struct udevice *dev, uint offset) in pcr_reg_address()
53 static inline void check_pcr_offset_align(uint offset, uint size) in check_pcr_offset_align()
60 uint pcr_read32(struct udevice *dev, uint offset) in pcr_read32()
75 uint pcr_read16(struct udevice *dev, uint offset) in pcr_read16()
83 uint pcr_read8(struct udevice *dev, uint offset) in pcr_read8()
97 static void write_completion(struct udevice *dev, uint offset) in write_completion()
102 void pcr_write32(struct udevice *dev, uint offset, uint indata) in pcr_write32()
112 void pcr_write16(struct udevice *dev, uint offset, uint indata) in pcr_write16()
122 void pcr_write8(struct udevice *dev, uint offset, uint indata) in pcr_write8()
132 void pcr_clrsetbits32(struct udevice *dev, uint offset, uint clr, uint set) in pcr_clrsetbits32()
[all …]
/u-boot/drivers/pinctrl/
A Dpinctrl-stmfx.c59 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) argument
60 #define get_shift(offset) ((offset) % NR_GPIOS_PER_REG) argument
61 #define get_mask(offset) (BIT(get_shift(offset))) argument
67 static int stmfx_read(struct udevice *dev, uint offset) in stmfx_read()
77 static int stmfx_read_reg(struct udevice *dev, u8 reg_base, uint offset) in stmfx_read_reg()
105 static int stmfx_conf_set_pupd(struct udevice *dev, unsigned int offset, in stmfx_conf_set_pupd()
111 static int stmfx_conf_get_pupd(struct udevice *dev, unsigned int offset) in stmfx_conf_get_pupd()
116 static int stmfx_conf_set_type(struct udevice *dev, unsigned int offset, in stmfx_conf_set_type()
122 static int stmfx_conf_get_type(struct udevice *dev, unsigned int offset) in stmfx_conf_get_type()
127 static int stmfx_gpio_get(struct udevice *dev, unsigned int offset) in stmfx_gpio_get()
[all …]
/u-boot/drivers/gpio/
A Dimx_rgpio2p.c33 static int imx_rgpio2p_is_output(struct gpio_regs *regs, int offset) in imx_rgpio2p_is_output()
42 static void imx_rgpio2p_bank_direction(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_direction()
59 static void imx_rgpio2p_bank_set_value(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_set_value()
68 static int imx_rgpio2p_bank_get_value(struct gpio_regs *regs, int offset) in imx_rgpio2p_bank_get_value()
73 static int imx_rgpio2p_direction_input(struct udevice *dev, unsigned offset) in imx_rgpio2p_direction_input()
83 static int imx_rgpio2p_direction_output(struct udevice *dev, unsigned offset, in imx_rgpio2p_direction_output()
97 static int imx_rgpio2p_get_value(struct udevice *dev, unsigned offset) in imx_rgpio2p_get_value()
104 static int imx_rgpio2p_set_value(struct udevice *dev, unsigned offset, in imx_rgpio2p_set_value()
114 static int imx_rgpio2p_get_function(struct udevice *dev, unsigned offset) in imx_rgpio2p_get_function()
A Dbcm6345_gpio.c22 static int bcm6345_gpio_get_value(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_value()
29 static int bcm6345_gpio_set_value(struct udevice *dev, unsigned offset, in bcm6345_gpio_set_value()
42 static int bcm6345_gpio_set_direction(void __iomem *dirout, unsigned offset, in bcm6345_gpio_set_direction()
53 static int bcm6345_gpio_direction_input(struct udevice *dev, unsigned offset) in bcm6345_gpio_direction_input()
60 static int bcm6345_gpio_direction_output(struct udevice *dev, unsigned offset, in bcm6345_gpio_direction_output()
70 static int bcm6345_gpio_get_function(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_function()
A Dgpio-rcar.c41 static int rcar_gpio_get_value(struct udevice *dev, unsigned offset) in rcar_gpio_get_value()
56 static int rcar_gpio_set_value(struct udevice *dev, unsigned offset, in rcar_gpio_set_value()
69 static void rcar_gpio_set_direction(void __iomem *regs, unsigned offset, in rcar_gpio_set_direction()
91 static int rcar_gpio_direction_input(struct udevice *dev, unsigned offset) in rcar_gpio_direction_input()
100 static int rcar_gpio_direction_output(struct udevice *dev, unsigned offset, in rcar_gpio_direction_output()
112 static int rcar_gpio_get_function(struct udevice *dev, unsigned offset) in rcar_gpio_get_function()
122 static int rcar_gpio_request(struct udevice *dev, unsigned offset, in rcar_gpio_request()
128 static int rcar_gpio_free(struct udevice *dev, unsigned offset) in rcar_gpio_free()
A Dsandbox.c29 static ulong *get_gpio_dir_flags(struct udevice *dev, unsigned int offset) in get_gpio_dir_flags()
44 static int get_gpio_flag(struct udevice *dev, unsigned int offset, ulong flag) in get_gpio_flag()
66 int sandbox_gpio_get_value(struct udevice *dev, unsigned offset) in sandbox_gpio_get_value()
73 int sandbox_gpio_set_value(struct udevice *dev, unsigned offset, int value) in sandbox_gpio_set_value()
78 int sandbox_gpio_get_direction(struct udevice *dev, unsigned offset) in sandbox_gpio_get_direction()
91 ulong sandbox_gpio_get_dir_flags(struct udevice *dev, unsigned int offset) in sandbox_gpio_get_dir_flags()
96 int sandbox_gpio_set_dir_flags(struct udevice *dev, unsigned int offset, in sandbox_gpio_set_dir_flags()
109 static int sb_gpio_direction_input(struct udevice *dev, unsigned offset) in sb_gpio_direction_input()
117 static int sb_gpio_direction_output(struct udevice *dev, unsigned offset, in sb_gpio_direction_output()
127 static int sb_gpio_get_value(struct udevice *dev, unsigned offset) in sb_gpio_get_value()
[all …]
A Dintel_ich6_gpio.c59 static int _ich6_gpio_set_value(struct ich6_bank_priv *bank, unsigned offset, in _ich6_gpio_set_value()
80 static int _ich6_gpio_set_direction(uint16_t base, unsigned offset, int dir) in _ich6_gpio_set_direction()
101 int offset; in gpio_ich6_of_to_plat() local
145 static int ich6_gpio_request(struct udevice *dev, unsigned offset, in ich6_gpio_request()
166 static int ich6_gpio_direction_input(struct udevice *dev, unsigned offset) in ich6_gpio_direction_input()
173 static int ich6_gpio_direction_output(struct udevice *dev, unsigned offset, in ich6_gpio_direction_output()
186 static int ich6_gpio_get_value(struct udevice *dev, unsigned offset) in ich6_gpio_get_value()
199 static int ich6_gpio_set_value(struct udevice *dev, unsigned offset, in ich6_gpio_set_value()
206 static int ich6_gpio_get_function(struct udevice *dev, unsigned offset) in ich6_gpio_get_function()
A Dgpio-uniphier.c41 static void uniphier_gpio_get_bank_and_mask(unsigned int offset, in uniphier_gpio_get_bank_and_mask()
71 static void uniphier_gpio_offset_write(struct udevice *dev, unsigned int offset, in uniphier_gpio_offset_write()
83 unsigned int offset, unsigned int reg) in uniphier_gpio_offset_read()
95 static int uniphier_gpio_get_function(struct udevice *dev, unsigned int offset) in uniphier_gpio_get_function()
102 unsigned int offset) in uniphier_gpio_direction_input()
110 unsigned int offset, int value) in uniphier_gpio_direction_output()
118 static int uniphier_gpio_get_value(struct udevice *dev, unsigned int offset) in uniphier_gpio_get_value()
124 unsigned int offset, int value) in uniphier_gpio_set_value()
A Dintel_broadwell_gpio.c34 int offset; member
37 static int broadwell_gpio_request(struct udevice *dev, unsigned offset, in broadwell_gpio_request()
60 static int broadwell_gpio_direction_input(struct udevice *dev, unsigned offset) in broadwell_gpio_direction_input()
70 static int broadwell_gpio_get_value(struct udevice *dev, unsigned offset) in broadwell_gpio_get_value()
79 static int broadwell_gpio_set_value(struct udevice *dev, unsigned offset, in broadwell_gpio_set_value()
93 static int broadwell_gpio_direction_output(struct udevice *dev, unsigned offset, in broadwell_gpio_direction_output()
105 static int broadwell_gpio_get_function(struct udevice *dev, unsigned offset) in broadwell_gpio_get_function()
A Dsifive-gpio.c37 static void sifive_update_gpio_reg(void *bptr, u32 offset, bool value) in sifive_update_gpio_reg()
50 static int sifive_gpio_direction_input(struct udevice *dev, u32 offset) in sifive_gpio_direction_input()
65 static int sifive_gpio_direction_output(struct udevice *dev, u32 offset, in sifive_gpio_direction_output()
84 static int sifive_gpio_get_value(struct udevice *dev, u32 offset) in sifive_gpio_get_value()
105 static int sifive_gpio_set_value(struct udevice *dev, u32 offset, int value) in sifive_gpio_set_value()
118 static int sifive_gpio_get_function(struct udevice *dev, unsigned int offset) in sifive_gpio_get_function()
A Dcortina_gpio.c33 static int ca_gpio_direction_input(struct udevice *dev, unsigned int offset) in ca_gpio_direction_input()
42 ca_gpio_direction_output(struct udevice *dev, unsigned int offset, int value) in ca_gpio_direction_output()
50 static int ca_gpio_get_value(struct udevice *dev, unsigned int offset) in ca_gpio_get_value()
57 static int ca_gpio_set_value(struct udevice *dev, unsigned int offset, in ca_gpio_set_value()
66 static int ca_gpio_get_function(struct udevice *dev, unsigned int offset) in ca_gpio_get_function()
A Dtegra186_gpio.c21 uint32_t offset; member
43 static int tegra186_gpio_set_out(struct udevice *dev, unsigned offset, in tegra186_gpio_set_out()
69 static int tegra186_gpio_set_val(struct udevice *dev, unsigned offset, bool val) in tegra186_gpio_set_val()
85 static int tegra186_gpio_direction_input(struct udevice *dev, unsigned offset) in tegra186_gpio_direction_input()
90 static int tegra186_gpio_direction_output(struct udevice *dev, unsigned offset, in tegra186_gpio_direction_output()
101 static int tegra186_gpio_get_value(struct udevice *dev, unsigned offset) in tegra186_gpio_get_value()
119 static int tegra186_gpio_set_value(struct udevice *dev, unsigned offset, in tegra186_gpio_set_value()
125 static int tegra186_gpio_get_function(struct udevice *dev, unsigned offset) in tegra186_gpio_get_function()
A Dmxc_gpio.c173 static int mxc_gpio_is_output(struct gpio_regs *regs, int offset) in mxc_gpio_is_output()
182 static void mxc_gpio_bank_direction(struct gpio_regs *regs, int offset, in mxc_gpio_bank_direction()
199 static void mxc_gpio_bank_set_value(struct gpio_regs *regs, int offset, in mxc_gpio_bank_set_value()
212 static int mxc_gpio_bank_get_value(struct gpio_regs *regs, int offset) in mxc_gpio_bank_get_value()
218 static int mxc_gpio_direction_input(struct udevice *dev, unsigned offset) in mxc_gpio_direction_input()
229 static int mxc_gpio_direction_output(struct udevice *dev, unsigned offset, in mxc_gpio_direction_output()
244 static int mxc_gpio_get_value(struct udevice *dev, unsigned offset) in mxc_gpio_get_value()
252 static int mxc_gpio_set_value(struct udevice *dev, unsigned offset, in mxc_gpio_set_value()
262 static int mxc_gpio_get_function(struct udevice *dev, unsigned offset) in mxc_gpio_get_function()
A Dpm8916_gpio.c54 static int pm8916_gpio_set_direction(struct udevice *dev, unsigned offset, in pm8916_gpio_set_direction()
104 static int pm8916_gpio_direction_input(struct udevice *dev, unsigned offset) in pm8916_gpio_direction_input()
109 static int pm8916_gpio_direction_output(struct udevice *dev, unsigned offset, in pm8916_gpio_direction_output()
115 static int pm8916_gpio_get_function(struct udevice *dev, unsigned offset) in pm8916_gpio_get_function()
137 static int pm8916_gpio_get_value(struct udevice *dev, unsigned offset) in pm8916_gpio_get_value()
150 static int pm8916_gpio_set_value(struct udevice *dev, unsigned offset, in pm8916_gpio_set_value()
224 static int pm8941_pwrkey_get_function(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_function()
229 static int pm8941_pwrkey_get_value(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_value()
A Docteon_gpio.c59 static u32 gpio_tx_reg(int offset, int value) in gpio_tx_reg()
71 static u32 gpio_rx_dat_reg(int offset) in gpio_rx_dat_reg()
82 static int octeon_gpio_dir_input(struct udevice *dev, unsigned int offset) in octeon_gpio_dir_input()
94 static int octeon_gpio_dir_output(struct udevice *dev, unsigned int offset, in octeon_gpio_dir_output()
110 static int octeon_gpio_get_value(struct udevice *dev, unsigned int offset) in octeon_gpio_get_value()
123 unsigned int offset, int value) in octeon_gpio_set_value()
134 static int octeon_gpio_get_function(struct udevice *dev, unsigned int offset) in octeon_gpio_get_function()
A Dmt7620_gpio.c32 static int mt7620_gpio_get_value(struct udevice *dev, unsigned int offset) in mt7620_gpio_get_value()
39 static int mt7620_gpio_set_value(struct udevice *dev, unsigned int offset, in mt7620_gpio_set_value()
52 static int mt7620_gpio_direction_input(struct udevice *dev, unsigned int offset) in mt7620_gpio_direction_input()
62 unsigned int offset, int value) in mt7620_gpio_direction_output()
74 static int mt7620_gpio_get_function(struct udevice *dev, unsigned int offset) in mt7620_gpio_get_function()
/u-boot/drivers/usb/musb-new/
A Dmusb_io.h45 static inline u16 musb_readw(const void __iomem *addr, unsigned offset) in musb_readw()
48 static inline u32 musb_readl(const void __iomem *addr, unsigned offset) in musb_readl()
52 static inline void musb_writew(void __iomem *addr, unsigned offset, u16 data) in musb_writew()
55 static inline void musb_writel(void __iomem *addr, unsigned offset, u32 data) in musb_writel()
64 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb()
78 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb()
93 static inline u8 musb_readb(const void __iomem *addr, unsigned offset) in musb_readb()
96 static inline void musb_writeb(void __iomem *addr, unsigned offset, u8 data) in musb_writeb()
/u-boot/include/
A Dp2sb.h114 static inline void pcr_setbits32(struct udevice *dev, uint offset, uint set) in pcr_setbits32()
119 static inline void pcr_setbits16(struct udevice *dev, uint offset, uint set) in pcr_setbits16()
124 static inline void pcr_setbits8(struct udevice *dev, uint offset, uint set) in pcr_setbits8()
129 static inline void pcr_clrbits32(struct udevice *dev, uint offset, uint clr) in pcr_clrbits32()
134 static inline void pcr_clrbits16(struct udevice *dev, uint offset, uint clr) in pcr_clrbits16()
139 static inline void pcr_clrbits8(struct udevice *dev, uint offset, uint clr) in pcr_clrbits8()
A Dspi_flash.h102 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read()
108 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write()
114 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase()
133 static inline int spi_flash_read(struct spi_flash *flash, u32 offset, in spi_flash_read()
142 static inline int spi_flash_write(struct spi_flash *flash, u32 offset, in spi_flash_write()
151 static inline int spi_flash_erase(struct spi_flash *flash, u32 offset, in spi_flash_erase()
/u-boot/drivers/pinctrl/mscc/
A Dmscc-common.c28 static void mscc_writel(unsigned int offset, void *addr) in mscc_writel()
36 static unsigned int mscc_readl(unsigned int offset, void *addr) in mscc_readl()
44 static void mscc_setbits(unsigned int offset, void *addr) in mscc_setbits()
52 static void mscc_clrbits(unsigned int offset, void *addr) in mscc_clrbits()
94 int f, offset, regoff; in mscc_pinmux_set_mux() local
179 static int mscc_gpio_get(struct udevice *dev, unsigned int offset) in mscc_gpio_get()
195 static int mscc_gpio_set(struct udevice *dev, unsigned int offset, int value) in mscc_gpio_set()
209 static int mscc_gpio_get_direction(struct udevice *dev, unsigned int offset) in mscc_gpio_get_direction()
219 static int mscc_gpio_direction_input(struct udevice *dev, unsigned int offset) in mscc_gpio_direction_input()
229 unsigned int offset, int value) in mscc_gpio_direction_output()
/u-boot/drivers/video/meson/
A Dmeson_vpu.h42 #define hhi_update_bits(offset, mask, value) \ argument
45 #define hhi_write(offset, value) \ argument
48 #define hhi_read(offset) \ argument
51 #define dmc_update_bits(offset, mask, value) \ argument
54 #define dmc_write(offset, value) \ argument
57 #define dmc_read(offset) \ argument
/u-boot/scripts/dtc/libfdt/
A Dfdt.c132 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int len) in fdt_offset_ptr()
158 int offset = startoffset; in fdt_next_tag() local
209 int fdt_check_node_offset_(const void *fdt, int offset) in fdt_check_node_offset_()
218 int fdt_check_prop_offset_(const void *fdt, int offset) in fdt_check_prop_offset_()
227 int fdt_next_node(const void *fdt, int offset, int *depth) in fdt_next_node()
267 int fdt_first_subnode(const void *fdt, int offset) in fdt_first_subnode()
278 int fdt_next_subnode(const void *fdt, int offset) in fdt_next_subnode()
/u-boot/include/dt-bindings/clock/
A Dam3.h17 #define AM3_CLKCTRL_INDEX(offset) ((offset) - AM3_CLKCTRL_OFFSET) argument
23 #define AM3_L4_PER_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_PER_CLKCTRL_OFFSET) argument
78 #define AM3_L4_WKUP_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_WKUP_CLKCTRL_OFFSET) argument
94 #define AM3_MPU_CLKCTRL_INDEX(offset) ((offset) - AM3_MPU_CLKCTRL_OFFSET) argument
102 #define AM3_GFX_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_GFX_L3_CLKCTRL_OFFSET) argument
114 #define AM3_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4LS_CLKCTRL_OFFSET) argument
149 #define AM3_L3S_CLKCTRL_INDEX(offset) ((offset) - AM3_L3S_CLKCTRL_OFFSET) argument
158 #define AM3_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_CLKCTRL_OFFSET) argument
172 #define AM3_L4HS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4HS_CLKCTRL_OFFSET) argument
185 #define AM3_LCDC_CLKCTRL_INDEX(offset) ((offset) - AM3_LCDC_CLKCTRL_OFFSET) argument
[all …]
/u-boot/drivers/dfu/
A Ddfu_mmc.c26 u64 offset, void *buf, long *len) in mmc_block_op()
98 u64 offset, void *buf, u64 *len) in mmc_file_op()
160 static int mmc_file_buf_write(struct dfu_entity *dfu, u64 offset, void *buf, long *len) in mmc_file_buf_write()
198 u64 offset, void *buf, long *len) in dfu_write_medium_mmc()
273 static int mmc_file_buf_read(struct dfu_entity *dfu, u64 offset, void *buf, in mmc_file_buf_read()
298 int dfu_read_medium_mmc(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_mmc()
402 int offset = 0; in dfu_fill_entity_mmc() local

Completed in 87 milliseconds

12345678910>>...29