Home
last modified time | relevance | path

Searched refs:valp (Results 1 – 16 of 16) sorted by relevance

/u-boot/include/
A Dregmap.h143 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 Dihs_fpga.h48 #define ihs_fpga_get(map, member, valp) \ argument
49 regmap_get(map, struct ihs_fpga_regs, member, valp)
A Dgdsys_ioep.h62 #define gdsys_ioep_get(map, member, valp) \ argument
63 regmap_get(map, struct gdsys_ioep_regs, member, valp)
A Dgdsys_rxaui_ctrl.c27 #define rxaui_ctrl_get(map, member, valp) \ argument
28 regmap_get(map, struct gdsys_rxaui_ctrl_regs, member, valp)
/u-boot/drivers/core/
A Dregmap.c388 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 Dbcb.c183 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 Ddate.c134 static int cnvrt2 (const char *str, int *valp) in cnvrt2() argument
148 *valp = 10 * val + (*str - '0'); in cnvrt2()
/u-boot/drivers/power/
A Dtwl4030.c204 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 Dpalmas.c198 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 Dtwl6030.c292 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 Dihs_axi.c64 #define ihs_axi_get(map, member, valp) \ argument
65 regmap_get(map, struct ihs_axi_regs, member, valp)
/u-boot/drivers/video/
A Dihs_video_out.c52 #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 Dfdt_sw.c295 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 Dlibfdt.h1436 int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp);
/u-boot/drivers/i2c/
A Dihs_i2c.c39 #define ihs_i2c_get(map, member, valp) \ argument
40 regmap_get(map, struct ihs_i2c_regs, member, valp)
/u-boot/drivers/net/
A Dsni_ave.c742 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()

Completed in 39 milliseconds