Home
last modified time | relevance | path

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

/openbmc/u-boot/lib/
H A Dvsprintf.c257 static char *string(char *buf, char *end, char *s, int field_width, in string() argument
268 while (len < field_width--) in string()
272 while (len < field_width--) in string()
279 static char *string16(char *buf, char *end, u16 *s, int field_width, in string16() argument
286 for (; len < field_width; --field_width) in string16()
295 for (; len < field_width; --field_width) in string16()
300 static char *device_path_string(char *buf, char *end, void *dp, int field_width, in device_path_string() argument
307 return string16(buf, end, dp, field_width, precision, flags); in device_path_string()
313 buf = string16(buf, end, str, field_width, precision, flags); in device_path_string()
320 static char *mac_address_string(char *buf, char *end, u8 *addr, int field_width, in mac_address_string() argument
[all …]
/openbmc/u-boot/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()
/openbmc/qemu/include/hw/sh4/
H A Dsh_intc.h29 unsigned long set_reg, clr_reg, reg_width, field_width; member
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dpfc.c148 if (crp->field_width) { in sh_pfc_config_reg_helper()
149 *maskp = (1 << crp->field_width) - 1; in sh_pfc_config_reg_helper()
150 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
173 crp->reg, value, field, crp->reg_width, crp->field_width); in sh_pfc_write_config_reg()
198 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg()
H A Dsh_pfc.h98 u8 reg_width, field_width; member
114 .reg = r, .reg_width = r_width, .field_width = f_width, \
/openbmc/u-boot/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, \
/openbmc/qemu/hw/intc/
H A Dsh_intc.c162 *first = pr->reg_width / pr->field_width - 1; in sh_intc_locate()
163 *width = pr->field_width; in sh_intc_locate()