Home
last modified time | relevance | path

Searched refs:field_width (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/lib/
H A Dvsprintf.c256 static char *string(char *buf, char *end, char *s, int field_width, in string() argument
267 while (len < field_width--) in string()
271 while (len < field_width--) in string()
276 static char *string16(char *buf, char *end, u16 *s, int field_width, in string16() argument
287 while (utf8_len < field_width--) in string16()
291 while (utf8_len < field_width--) in string16()
297 static char *mac_address_string(char *buf, char *end, u8 *addr, int field_width, in mac_address_string() argument
312 return string(buf, end, mac_addr, field_width, precision, in mac_address_string()
316 static char *ip6_addr_string(char *buf, char *end, u8 *addr, int field_width, in ip6_addr_string() argument
332 return string(buf, end, ip6_addr, field_width, precision, in ip6_addr_string()
[all …]
/rk3399_rockchip-uboot/drivers/gpio/
H A Dsh_pfc.c117 if (crp->field_width) { in config_reg_helper()
118 *maskp = (1 << crp->field_width) - 1; in config_reg_helper()
119 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in config_reg_helper()
140 crp->reg, field, crp->reg_width, crp->field_width); in read_config_reg()
156 crp->reg, value, field, crp->reg_width, crp->field_width); in write_config_reg()
258 f_width = config_reg->field_width; in get_config_reg()
/rk3399_rockchip-uboot/include/
H A Dsh_pfc.h45 unsigned long reg, reg_width, field_width; member
52 .reg = r, .reg_width = r_width, .field_width = f_width, \