Home
last modified time | relevance | path

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

/u-boot/drivers/gpio/
A Dvybrid_gpio.c68 u32 g_state = 0; in vybrid_gpio_get_function() local
72 imx_iomux_gpio_get_function(gpio, &g_state); in vybrid_gpio_get_function()
74 if (((g_state & (0x07 << PAD_MUX_MODE_SHIFT)) >> PAD_MUX_MODE_SHIFT) > 0) in vybrid_gpio_get_function()
76 if (g_state & PAD_CTL_OBE_ENABLE) in vybrid_gpio_get_function()
78 if (g_state & PAD_CTL_IBE_ENABLE) in vybrid_gpio_get_function()
80 if (!(g_state & PAD_CTL_OBE_IBE_ENABLE)) in vybrid_gpio_get_function()
/u-boot/drivers/tpm/
A Dtpm_tis_sandbox.c74 } g_state; variable
100 memcpy(g_state.nvdata[i].data, prop, NV_DATA_SIZE); in sandbox_tpm_read_state()
101 g_state.nvdata[i].present = true; in sandbox_tpm_read_state()
104 g_state.valid = true; in sandbox_tpm_read_state()
130 if (g_state.nvdata[i].present) { in sandbox_tpm_write_state()
133 g_state.nvdata[i].data, NV_DATA_SIZE); in sandbox_tpm_write_state()
331 memcpy(tpm, &g_state, sizeof(*tpm)); in sandbox_tpm_probe()
/u-boot/drivers/misc/
A Dcros_ec_sandbox.c101 } s_state, *g_state; variable
154 struct ec_state *ec = g_state; in cros_ec_write_state()
667 g_state = ec; in cros_ec_probe()

Completed in 5 milliseconds