/u-boot/arch/arm/mach-tegra/tegra210/ |
A D | xusb-padctl.c | 101 u32 value; in tegra_xusb_padctl_enable() local 127 u32 value; in tegra_xusb_padctl_disable() local 233 u32 value; in pcie_phy_enable() local 248 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL1_PWR_OVRD; in pcie_phy_enable() 273 value &= ~XUSB_PADCTL_UPHY_PLL_P0_CTL1_IDDQ; in pcie_phy_enable() 287 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL2_CAL_EN; in pcie_phy_enable() 306 value &= ~XUSB_PADCTL_UPHY_PLL_P0_CTL2_CAL_EN; in pcie_phy_enable() 325 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL1_ENABLE; in pcie_phy_enable() 344 value |= XUSB_PADCTL_UPHY_PLL_P0_CTL8_RCAL_EN; in pcie_phy_enable() 449 u32 value; in tegra_xusb_padctl_exit() local [all …]
|
/u-boot/arch/arm/mach-tegra/tegra124/ |
A D | xusb-padctl.c | 113 u32 value; in tegra_xusb_padctl_enable() local 139 u32 value; in tegra_xusb_padctl_disable() local 183 u32 value; in pcie_phy_enable() local 196 value |= XUSB_PADCTL_IOPHY_PLL_P0_CTL1_PLL_RST; in pcie_phy_enable() 215 u32 value; in pcie_phy_disable() local 218 value &= ~XUSB_PADCTL_IOPHY_PLL_P0_CTL1_PLL_RST; in pcie_phy_disable() 229 u32 value; in sata_phy_enable() local 246 value |= XUSB_PADCTL_IOPHY_PLL_S0_CTL1_PLL_RST; in sata_phy_enable() 265 u32 value; in sata_phy_disable() local 268 value &= ~XUSB_PADCTL_IOPHY_PLL_S0_CTL1_PLL_RST; in sata_phy_disable() [all …]
|
/u-boot/include/ |
A D | debug_uart.h | 112 void printdec(unsigned int value); 120 #define serial_dout(reg, value) \ argument 124 CONFIG_DEBUG_UART_SHIFT, value) 168 printhex(value, 2); \ 173 printhex(value, 4); \ 178 printhex(value, 8); \ 183 if (value > 10) { \ 184 printdec(value / 10); \ 185 value %= 10; \ 186 } else if (value == 10) { \ [all …]
|
A D | atmel_hlcdc.h | 51 #define LCDC_LCDCFG0_CLKDIV(value) \ argument 56 #define LCDC_LCDCFG1_HSPW(value) \ argument 60 #define LCDC_LCDCFG1_VSPW(value) \ argument 65 #define LCDC_LCDCFG2_VFPW(value) \ argument 69 #define LCDC_LCDCFG2_VBPW(value) \ argument 74 #define LCDC_LCDCFG3_HFPW(value) \ argument 78 #define LCDC_LCDCFG3_HBPW(value) \ argument 83 #define LCDC_LCDCFG4_PPL(value) \ argument 87 #define LCDC_LCDCFG4_RPF(value) \ argument 113 #define LCDC_LCDCFG6_PWMPS(value) \ argument [all …]
|
/u-boot/arch/arm/mach-imx/ |
A D | mac.c | 39 mac[0] = value >> 24; in imx_get_mac_from_fuse() 40 mac[1] = value >> 16; in imx_get_mac_from_fuse() 41 mac[2] = value >> 8; in imx_get_mac_from_fuse() 42 mac[3] = value; in imx_get_mac_from_fuse() 45 mac[4] = value >> 24; in imx_get_mac_from_fuse() 46 mac[5] = value >> 16; in imx_get_mac_from_fuse() 51 mac[0] = value >> 8; in imx_get_mac_from_fuse() 52 mac[1] = value; in imx_get_mac_from_fuse() 55 mac[2] = value >> 24; in imx_get_mac_from_fuse() 57 mac[4] = value >> 8; in imx_get_mac_from_fuse() [all …]
|
/u-boot/board/samsung/smdkc100/ |
A D | onenand.c | 24 int value; in onenand_board_init() local 30 value = readl(&clk->gate_d01); in onenand_board_init() 31 value &= ~(1 << 2); /* CLK_ONENANDC */ in onenand_board_init() 32 value |= (1 << 2); in onenand_board_init() 33 writel(value, &clk->gate_d01); in onenand_board_init() 35 value = readl(&clk->src0); in onenand_board_init() 38 writel(value, &clk->src0); in onenand_board_init() 40 value = readl(&clk->div1); in onenand_board_init() 42 value |= (1 << 16); in onenand_board_init() 43 writel(value, &clk->div1); in onenand_board_init() [all …]
|
/u-boot/lib/crypto/ |
A D | rsa_helper.c | 24 const void *value, size_t vlen) in rsa_get_n() argument 28 const u8 *ptr = value; in rsa_get_n() 33 if (!value || !vlen) in rsa_get_n() 51 key->n = value; in rsa_get_n() 66 key->e = value; in rsa_get_e() 81 key->d = value; in rsa_get_d() 96 key->p = value; in rsa_get_p() 111 key->q = value; in rsa_get_q() 126 key->dp = value; in rsa_get_dp() 141 key->dq = value; in rsa_get_dq() [all …]
|
/u-boot/tools/binman/etype/ |
A D | text.py | 61 value = fdt_util.GetString(self._node, 'text') 62 if value: 63 value = tools.ToBytes(value) 68 value, = self.GetEntryArgsOrProps([EntryArg(self.text_label, 70 value = tools.ToBytes(value) if value is not None else value 71 self.value = value 74 if not self.value: 77 self.SetContents(self.value)
|
/u-boot/drivers/video/ |
A D | atmel_hlcdfb.c | 66 unsigned long value; in lcd_ctrl_init() local 104 value++; in lcd_ctrl_init() 106 if (value < 1) { in lcd_ctrl_init() 128 value = 0; in lcd_ctrl_init() 130 value |= panel_info.vl_sync; in lcd_ctrl_init() 302 unsigned long value, vl_clk_pol; in atmel_hlcdc_init() local 333 value++; in atmel_hlcdc_init() 339 if (value < 1) { in atmel_hlcdc_init() 361 value = 0; in atmel_hlcdc_init() 364 value |= LCDC_LCDCFG5_HSPOL; in atmel_hlcdc_init() [all …]
|
A D | atmel_lcdfb.c | 121 unsigned long value; in atmel_fb_init() local 146 value++; in atmel_fb_init() 147 value = (value / 2) - 1; in atmel_fb_init() 149 if (!value) { in atmel_fb_init() 158 value |= ATMEL_LCDC_DISTYPE_TFT; in atmel_fb_init() 164 value |= bpix << 5; in atmel_fb_init() 170 value |= timing->vfront_porch.typ; in atmel_fb_init() 172 value |= 1U << 31; in atmel_fb_init() 183 value |= timing->vactive.typ - 1; in atmel_fb_init() 197 value = ATMEL_LCDC_PS_DIV8 | in atmel_fb_init() [all …]
|
/u-boot/doc/device-tree-bindings/exynos/ |
A D | tmu.txt | 14 - samsung,efuse-min-value : SOC efuse min value (Constant 40) 15 - efuse-value should be more than this value. 16 - samsung,efuse-value : SOC actual efuse value (Literal value) 18 - This value is used to calculate measuring error. 19 - samsung,efuse-max-value : SoC max efuse value (Constant 100) 20 - efuse-value should be less than this value. 25 - samsung,dc-value : Measured data calibration value (Constant 25) 39 samsung,efuse-min-value = <40>; 40 samsung,efuse-value = <55>; 41 samsung,efuse-max-value = <100>; [all …]
|
/u-boot/arch/arm/mach-tegra/ |
A D | pmc.c | 23 u32 value, saved; in tegra_pmc_detect_tz_only() local 27 value = saved ^ 0xffffffff; in tegra_pmc_detect_tz_only() 29 if (value == 0xffffffff) in tegra_pmc_detect_tz_only() 30 value = 0xdeadbeef; in tegra_pmc_detect_tz_only() 37 if (value == 0) { in tegra_pmc_detect_tz_only() 77 value, 0, 0, 0, 0, &res); in tegra_pmc_writel() 85 writel(value, NV_PA_PMC_BASE + offset); in tegra_pmc_writel() 90 u32 value; in reset_cpu() local 92 value = tegra_pmc_readl(PMC_CNTRL); in reset_cpu() 93 value |= PMC_CNTRL_MAIN_RST; in reset_cpu() [all …]
|
A D | powergate.c | 26 u32 value, mask = state ? (1 << id) : 0, old_mask; in tegra_powergate_set() local 29 value = tegra_pmc_readl(PWRGATE_STATUS); in tegra_powergate_set() 30 old_mask = value & (1 << id); in tegra_powergate_set() 40 value = tegra_pmc_readl(PWRGATE_STATUS); in tegra_powergate_set() 41 if ((value & (1 << id)) == mask) in tegra_powergate_set() 60 unsigned long value; in tegra_powergate_remove_clamping() local 68 value = 1 << TEGRA_POWERGATE_PCIE; in tegra_powergate_remove_clamping() 70 value = 1 << TEGRA_POWERGATE_VDEC; in tegra_powergate_remove_clamping() 72 value = 1 << id; in tegra_powergate_remove_clamping() 74 tegra_pmc_writel(value, REMOVE_CLAMPING); in tegra_powergate_remove_clamping()
|
/u-boot/drivers/input/ |
A D | twl6030.c | 12 u8 value; in twl6030_input_power_button() local 14 twl6030_i2c_read_u8(TWL6030_CHIP_PM, TWL6030_STS_HW_CONDITIONS, &value); in twl6030_input_power_button() 17 if (value & TWL6030_STS_HW_CONDITIONS_PWRON) in twl6030_input_power_button() 25 u8 value; in twl6030_input_charger() local 28 &value); in twl6030_input_charger() 30 if (value & TWL6030_CONTROLLER_STAT1_VAC_DET) in twl6030_input_charger() 38 u8 value; in twl6030_input_usb() local 41 &value); in twl6030_input_usb() 43 if (value & TWL6030_CONTROLLER_STAT1_VBUS_DET) in twl6030_input_usb()
|
/u-boot/arch/sandbox/lib/ |
A D | pci_io.c | 97 unsigned long value; in _inl() local 100 ret = pci_io_read(addr, &value, PCI_SIZE_32); in _inl() 102 return ret ? 0 : value; in _inl() 107 unsigned long value; in _inw() local 112 return ret ? 0 : value; in _inw() 117 unsigned long value; in _inb() local 120 ret = pci_io_read(addr, &value, PCI_SIZE_8); in _inb() 122 return ret ? 0 : value; in _inb() 127 pci_io_write(addr, value, PCI_SIZE_32); in _outl() 132 pci_io_write(addr, value, PCI_SIZE_16); in _outw() [all …]
|
/u-boot/arch/x86/cpu/quark/ |
A D | msg_port.c | 20 u32 value; in msg_port_read() local 25 qrk_pci_read_config_dword(QUARK_HOST_BRIDGE, MSG_DATA_REG, &value); in msg_port_read() 27 return value; in msg_port_read() 30 void msg_port_write(u8 port, u32 reg, u32 value) in msg_port_write() argument 32 qrk_pci_write_config_dword(QUARK_HOST_BRIDGE, MSG_DATA_REG, value); in msg_port_write() 40 u32 value; in msg_port_alt_read() local 47 return value; in msg_port_alt_read() 50 void msg_port_alt_write(u8 port, u32 reg, u32 value) in msg_port_alt_write() argument 60 u32 value; in msg_port_io_read() local 67 return value; in msg_port_io_read() [all …]
|
/u-boot/drivers/power/pmic/ |
A D | as3722_gpio.c | 17 u8 value = 0; in as3722_gpio_configure() local 21 value |= AS3722_GPIO_CONTROL_MODE_OUTPUT_VDDH; in as3722_gpio_configure() 24 value |= AS3722_GPIO_CONTROL_INVERT; in as3722_gpio_configure() 40 u8 value; in as3722_gpio_set_value() local 51 value = err; in as3722_gpio_set_value() 54 value &= ~(1 << gpio); in as3722_gpio_set_value() 57 value |= 1 << gpio; in as3722_gpio_set_value() 71 int value) in as3722_gpio_direction_output() argument 79 if (value == 0) in as3722_gpio_direction_output() 80 value = AS3722_GPIO_CONTROL_MODE_OUTPUT_VDDL; in as3722_gpio_direction_output() [all …]
|
/u-boot/drivers/gpio/ |
A D | s5p_gpio.c | 77 unsigned int value; in s5p_gpio_cfg_pin() local 87 unsigned int value; in s5p_gpio_set_value() local 92 value |= DAT_SET(gpio); in s5p_gpio_set_value() 108 unsigned int value; in s5p_gpio_get_cfg_pin() local 111 value &= CON_MASK(gpio); in s5p_gpio_get_cfg_pin() 117 unsigned int value; in s5p_gpio_get_value() local 126 unsigned int value; in s5p_gpio_set_pull() local 145 unsigned int value; in s5p_gpio_set_drv() local 166 unsigned int value; in s5p_gpio_set_rate() local 203 int value) in exynos_gpio_direction_output() argument [all …]
|
/u-boot/env/ |
A D | flags.c | 192 return value[0] == '0' && (value[1] == 'x' || value[1] == 'X'); in is_hex_prefix() 201 value += 2; in skip_num() 208 value++; in skip_num() 211 *end = value; in skip_num() 264 if (value + 2 == end && is_hex_prefix(value)) in _env_flags_validate_type() 268 if (value[0] != '1' && value[0] != 'y' && value[0] != 't' && in _env_flags_validate_type() 269 value[0] != 'Y' && value[0] != 'T' && in _env_flags_validate_type() 270 value[0] != '0' && value[0] != 'n' && value[0] != 'f' && in _env_flags_validate_type() 271 value[0] != 'N' && value[0] != 'F') in _env_flags_validate_type() 278 cur = value; in _env_flags_validate_type() [all …]
|
/u-boot/drivers/pci/ |
A D | pci_tegra.c | 323 value = 0xffffffff; in pci_tegra_read_config() 359 value = pci_conv_size_to_32(old, value, offset, size); in pci_tegra_write_config() 611 unsigned long value; in tegra_pcie_power_on() local 641 value |= (1 << 0); in tegra_pcie_power_on() 642 value &= ~(1 << 1); in tegra_pcie_power_on() 659 u32 value; in tegra_pcie_pll_wait() local 673 u32 value; in tegra_pcie_phy_enable() local 730 u32 value; local 897 unsigned long value; local 926 unsigned long value; local [all …]
|
/u-boot/tools/dtoc/ |
A D | fdt_util.py | 108 value = fdt32_to_cpu(prop.value) 109 return value 125 value = prop.value 126 if isinstance(value, list): 129 return value 161 value = prop.value 162 if isinstance(value, list): 165 if len(value) != 1: 168 return ord(value[0]) 183 value = prop.value [all …]
|
/u-boot/drivers/usb/gadget/ |
A D | f_dfu.c | 270 int value = 0; in state_app_idle() local 289 return value; in state_app_idle() 312 return value; in state_app_detach() 372 return value; in state_dfu_idle() 395 return value; in state_dfu_dnload_sync() 415 return value; in state_dfu_dnbusy() 449 return value; in state_dfu_dnload_idle() 476 return value; in state_dfu_manifest_sync() 502 return value; in state_dfu_manifest() 519 if (value >= 0 && value < len) in state_dfu_upload_idle() [all …]
|
/u-boot/drivers/tpm/ |
A D | tpm_tis_lpc.c | 117 writeb(value, ptr); in tpm_write_byte() 149 return value; in tis_wait_reg() 207 u32 value; in tis_senddata() local 214 return value; in tis_senddata() 252 if ((value == -ETIMEDOUT) || !(value & TIS_STS_EXPECT)) { in tis_senddata() 255 return value == -ETIMEDOUT ? value : -EIO; in tis_senddata() 277 if ((value == -ETIMEDOUT) || (value & TIS_STS_EXPECT)) { in tis_senddata() 280 return value == -ETIMEDOUT ? value : -EIO; in tis_senddata() 305 u32 value; in tis_readresponse() local 318 return value; in tis_readresponse() [all …]
|
/u-boot/common/eeprom/ |
A D | eeprom_field.c | 28 const char *value, bool reverse) in __eeprom_field_update_bin() argument 30 int len = strlen(value); in __eeprom_field_update_bin() 51 tmp[k] = value[i]; in __eeprom_field_update_bin() 55 tmp[k] = value[reverse ? i - 1 + k : i + k]; in __eeprom_field_update_bin() 70 char *value, char *delimiter) in __eeprom_field_update_bin_delim() argument 74 const char *tmp = value; in __eeprom_field_update_bin_delim() 88 tok = strtok(value, delimiter); in __eeprom_field_update_bin_delim() 125 return __eeprom_field_update_bin(field, value, false); in eeprom_field_update_bin() 172 return __eeprom_field_update_bin(field, value, true); in eeprom_field_update_bin_rev() 224 if (strlen(value) >= field->size) { in eeprom_field_update_ascii() [all …]
|
/u-boot/arch/x86/lib/ |
A D | early_cmos.c | 26 u16 value = 0; in cmos_read16() local 30 for (i = 0; i < sizeof(value); i++) { in cmos_read16() 32 value |= data << (i << 3); in cmos_read16() 35 return value; in cmos_read16() 40 u32 value = 0; in cmos_read32() local 44 for (i = 0; i < sizeof(value); i++) { in cmos_read32() 46 value |= data << (i << 3); in cmos_read32() 49 return value; in cmos_read32()
|