Searched refs:reg_width (Results 1 – 14 of 14) sorted by relevance
/u-boot/drivers/gpio/ |
A D | sh_pfc.c | 37 unsigned long reg_width) in gpio_read_raw_reg() argument 39 switch (reg_width) { in gpio_read_raw_reg() 54 unsigned long reg_width, in gpio_write_raw_reg() argument 57 switch (reg_width) { in gpio_write_raw_reg() 78 pos = dr->reg_width - (in_pos + 1); in gpio_read_bit() 84 dr->reg_width) >> pos) & 1; in gpio_read_bit() 92 pos = dr->reg_width - (in_pos + 1); in gpio_write_bit() 126 *posp = crp->reg_width; in config_reg_helper() 189 if (!data_reg->reg_width) in setup_data_reg() 223 if (!drp->reg_width) in setup_data_regs() [all …]
|
/u-boot/drivers/reset/ |
A D | reset-socfpga.c | 69 int reg_width = sizeof(u32); in socfpga_reset_assert() local 70 int bank = id / (reg_width * BITS_PER_BYTE); in socfpga_reset_assert() 71 int offset = id % (reg_width * BITS_PER_BYTE); in socfpga_reset_assert() 81 int reg_width = sizeof(u32); in socfpga_reset_deassert() local 82 int bank = id / (reg_width * BITS_PER_BYTE); in socfpga_reset_deassert() 83 int offset = id % (reg_width * BITS_PER_BYTE); in socfpga_reset_deassert()
|
/u-boot/include/ |
A D | sh_pfc.h | 45 unsigned long reg, reg_width, field_width; member 52 .reg = r, .reg_width = r_width, .field_width = f_width, \ 57 .reg = r, .reg_width = r_width, \ 63 unsigned long reg, reg_width, reg_shadow; member 69 .reg = r, .reg_width = r_width, \
|
A D | ns16550.h | 75 int reg_width; member
|
A D | serial.h | 149 u8 reg_width; member
|
/u-boot/drivers/pwm/ |
A D | pwm-mtk.c | 62 reg_width = PWMDWIDTH, reg_thres = PWMTHRES; in mtk_pwm_set_config() local 97 reg_width = PWM45DWIDTH_FIXUP; in mtk_pwm_set_config() 105 mtk_pwm_w32(dev, channel, reg_width, cnt_period); in mtk_pwm_set_config()
|
/u-boot/drivers/serial/ |
A D | serial_coreboot.c | 21 plat->reg_width = cb_info->regwidth; in coreboot_of_to_plat()
|
A D | ns16550.c | 112 } else if (plat->reg_width == 4) { in serial_out_dynamic() 132 } else if (plat->reg_width == 4) { in serial_in_dynamic() 478 info->reg_width = plat->reg_width; in ns16550_serial_getinfo() 552 plat->reg_width = dev_read_u32_default(dev, "reg-io-width", 1); in ns16550_serial_of_to_plat()
|
A D | sandbox.c | 172 .reg_width = 1, in sandbox_serial_getinfo()
|
/u-boot/drivers/pinctrl/renesas/ |
A D | pfc.c | 95 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument 97 switch (reg_width) { in sh_pfc_read_raw_reg() 110 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument 113 switch (reg_width) { in sh_pfc_write_raw_reg() 156 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper() 159 *posp = crp->reg_width; in sh_pfc_config_reg_helper() 179 crp->reg, value, field, crp->reg_width, crp->field_width); in sh_pfc_write_config_reg() 184 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg() 191 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); in sh_pfc_write_config_reg() 203 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
|
A D | sh_pfc.h | 113 u8 reg_width, field_width; member 138 .reg = r, .reg_width = r_width, \ 158 .reg = r, .reg_width = r_width, \ 195 u8 reg_width; member 208 .reg = r, .reg_width = r_width + \
|
/u-boot/arch/x86/cpu/slimbootloader/ |
A D | serial.c | 42 plat->reg_width = data->stride; in slimbootloader_serial_of_to_plat()
|
/u-boot/arch/x86/cpu/apollolake/ |
A D | uart.c | 108 ns.reg_width = 1; in apl_ns16550_of_to_plat()
|
/u-boot/arch/x86/lib/ |
A D | acpi_table.c | 398 serial_width = serial_info.reg_width * 8; in acpi_create_spcr()
|
Completed in 22 milliseconds