Home
last modified time | relevance | path

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

/drivers/firmware/efi/libstub/
Dvsprintf.c314 int field_width; /* width of output field */ in vsnprintf() local
347 field_width = get_int(&fmt, &args); in vsnprintf()
348 if (field_width < 0) { in vsnprintf()
349 field_width = -field_width; in vsnprintf()
451 --field_width; in vsnprintf()
475 field_width -= 2; in vsnprintf()
483 if ((flags & ZEROPAD) && field_width > precision) in vsnprintf()
484 precision = field_width; in vsnprintf()
488 field_width -= precision; in vsnprintf()
491 while (field_width-- > 0) in vsnprintf()
[all …]
/drivers/sh/intc/
Dhandle.c140 BUG_ON(n * pr->field_width > pr->reg_width); in _intc_prio_data()
142 bit = pr->reg_width - (n * pr->field_width); in _intc_prio_data()
147 pr->field_width, bit); in _intc_prio_data()
274 BUG_ON((j + 1) * sr->field_width > sr->reg_width); in intc_get_sense_handle()
276 bit = sr->reg_width - ((j + 1) * sr->field_width); in intc_get_sense_handle()
279 0, sr->field_width, bit); in intc_get_sense_handle()
/drivers/pinctrl/renesas/
Dcore.c209 if (crp->field_width) { in sh_pfc_config_reg_helper()
210 *maskp = (1 << crp->field_width) - 1; in sh_pfc_config_reg_helper()
211 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
255 unsigned int f_width = config_reg->field_width; in sh_pfc_get_config_reg()
852 if (cfg_reg->field_width) { in sh_pfc_check_cfg_reg()
853 fw = cfg_reg->field_width; in sh_pfc_check_cfg_reg()
Dsh_pfc.h126 u8 reg_width, field_width; member
152 .field_width = f_width + BUILD_BUG_ON_ZERO(r_width % f_width) + \