Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/gpio/
H 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()
/OK3568_Linux_fs/u-boot/drivers/tpm/
H A Dtpm_tis_sandbox.c61 } g_state; variable
87 memcpy(g_state.nvdata[i], prop, NV_DATA_SIZE); in sandbox_tpm_read_state()
115 fdt_setprop(blob, node, prop_name, g_state.nvdata[i], in sandbox_tpm_write_state()
259 memcpy(tpm, &g_state, sizeof(*tpm)); in sandbox_tpm_probe()
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_arm.c107 static struct vchiq_state g_state; variable
523 DEBUG_INITIALISE(g_state.local) in add_completion()
596 DEBUG_INITIALISE(g_state.local) in service_callback()
876 DEBUG_INITIALISE(g_state.local) in vchiq_ioc_dequeue_message()
1106 DEBUG_INITIALISE(g_state.local) in vchiq_ioc_await_completion()
2167 err = vchiq_dump_state(&context, &g_state); in vchiq_read()
2180 if (!g_state.remote) in vchiq_get_state()
2182 else if (g_state.remote->initialised != 1) in vchiq_get_state()
2184 __func__, g_state.remote->initialised); in vchiq_get_state()
2186 return (g_state.remote && in vchiq_get_state()
[all …]
/OK3568_Linux_fs/u-boot/drivers/misc/
H A Dcros_ec_sandbox.c89 } s_state, *g_state; variable
142 struct ec_state *ec = g_state; in cros_ec_write_state()
562 g_state = ec; in cros_ec_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath5k/
H A Dphy.c428 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_rfgain_opt_init()
434 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_rfgain_opt_init()
462 if (ah->ah_gain.g_state != AR5K_RFGAIN_ACTIVE) in ath5k_hw_request_rfgain_probe()
471 ah->ah_gain.g_state = AR5K_RFGAIN_READ_REQUESTED; in ath5k_hw_request_rfgain_probe()
684 ah->ah_gain.g_state == AR5K_RFGAIN_INACTIVE) in ath5k_hw_gainf_calibrate()
689 if (ah->ah_gain.g_state != AR5K_RFGAIN_READ_REQUESTED) in ath5k_hw_gainf_calibrate()
728 ah->ah_gain.g_state = AR5K_RFGAIN_NEED_CHANGE; in ath5k_hw_gainf_calibrate()
730 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_gainf_calibrate()
735 return ah->ah_gain.g_state; in ath5k_hw_gainf_calibrate()
992 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_rfregs_init()
[all …]
H A Dath5k.h790 u8 g_state; member