/u-boot/include/ |
A D | regmap.h | 143 int regmap_read(struct regmap *map, uint offset, uint *valp); 179 int regmap_raw_read(struct regmap *map, uint offset, void *valp, 211 void *valp, size_t val_len); 249 #define regmap_range_get(map, range, type, member, valp) \ argument 251 (void *)valp, sizeof(((type *)0)->member)) 262 #define regmap_get(map, type, member, valp) \ argument 263 regmap_range_get(map, 0, type, member, valp)
|
/u-boot/drivers/misc/ |
A D | ihs_fpga.h | 48 #define ihs_fpga_get(map, member, valp) \ argument 49 regmap_get(map, struct ihs_fpga_regs, member, valp)
|
A D | gdsys_ioep.h | 62 #define gdsys_ioep_get(map, member, valp) \ argument 63 regmap_get(map, struct gdsys_ioep_regs, member, valp)
|
A D | gdsys_rxaui_ctrl.c | 27 #define rxaui_ctrl_get(map, member, valp) \ argument 28 regmap_get(map, struct gdsys_rxaui_ctrl_regs, member, valp)
|
/u-boot/drivers/core/ |
A D | regmap.c | 388 void *valp, size_t val_len) in regmap_raw_read_range() argument 410 *((u8 *)valp) = __read_8(ptr, map->endianness); in regmap_raw_read_range() 413 *((u16 *)valp) = __read_16(ptr, map->endianness); in regmap_raw_read_range() 416 *((u32 *)valp) = __read_32(ptr, map->endianness); in regmap_raw_read_range() 420 *((u64 *)valp) = __read_64(ptr, map->endianness); in regmap_raw_read_range() 431 int regmap_raw_read(struct regmap *map, uint offset, void *valp, size_t val_len) in regmap_raw_read() argument 433 return regmap_raw_read_range(map, 0, offset, valp, val_len); in regmap_raw_read() 436 int regmap_read(struct regmap *map, uint offset, uint *valp) in regmap_read() argument 438 return regmap_raw_read(map, offset, valp, map->width); in regmap_read()
|
/u-boot/cmd/ |
A D | bcb.c | 183 static int __bcb_set(char *fieldp, const char *valp) in __bcb_set() argument 191 len = strlen(valp); in __bcb_set() 194 valp, len, size, fieldp); in __bcb_set() 197 str = strdup(valp); in __bcb_set()
|
A D | date.c | 134 static int cnvrt2 (const char *str, int *valp) in cnvrt2() argument 148 *valp = 10 * val + (*str - '0'); in cnvrt2()
|
/u-boot/drivers/power/ |
A D | twl4030.c | 204 int twl4030_i2c_read(u8 chip_no, u8 reg, u8 *valp, int len) in twl4030_i2c_read() argument 214 ret = dm_i2c_read(dev, reg, valp, len); in twl4030_i2c_read()
|
A D | palmas.c | 198 int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *valp) in palmas_i2c_read_u8() argument 213 *valp = (u8)ret; in palmas_i2c_read_u8()
|
A D | twl6030.c | 292 int twl6030_i2c_read_u8(u8 chip_no, u8 reg, u8 *valp) in twl6030_i2c_read_u8() argument 307 *valp = (u8)ret; in twl6030_i2c_read_u8()
|
/u-boot/drivers/axi/ |
A D | ihs_axi.c | 64 #define ihs_axi_get(map, member, valp) \ argument 65 regmap_get(map, struct ihs_axi_regs, member, valp)
|
/u-boot/drivers/video/ |
A D | ihs_video_out.c | 52 #define ihs_video_out_get(map, member, valp) \ argument 53 regmap_range_get(map, 1, struct ihs_video_out_regs, member, valp)
|
/u-boot/scripts/dtc/libfdt/ |
A D | fdt_sw.c | 295 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp) in fdt_property_placeholder() argument 323 *valp = prop->data; in fdt_property_placeholder()
|
A D | libfdt.h | 1436 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp);
|
/u-boot/drivers/i2c/ |
A D | ihs_i2c.c | 39 #define ihs_i2c_get(map, member, valp) \ argument 40 regmap_get(map, struct ihs_i2c_regs, member, valp)
|
/u-boot/drivers/net/ |
A D | sni_ave.c | 742 const u32 *valp; in ave_of_to_plat() local 762 valp = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "max-speed", in ave_of_to_plat() 764 if (valp) in ave_of_to_plat() 765 pdata->max_speed = fdt32_to_cpu(*valp); in ave_of_to_plat()
|