Searched refs:g_state (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/drivers/gpio/ |
H A D | vybrid_gpio.c | 67 u32 g_state = 0; in vybrid_gpio_get_function() local 71 imx_iomux_gpio_get_function(gpio, &g_state); in vybrid_gpio_get_function() 73 if (((g_state & (0x07 << PAD_MUX_MODE_SHIFT)) >> PAD_MUX_MODE_SHIFT) > 0) in vybrid_gpio_get_function() 75 if (g_state & PAD_CTL_OBE_ENABLE) in vybrid_gpio_get_function() 77 if (g_state & PAD_CTL_IBE_ENABLE) in vybrid_gpio_get_function() 79 if (!(g_state & PAD_CTL_OBE_IBE_ENABLE)) in vybrid_gpio_get_function()
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm_tis_sandbox.c | 74 } 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()
|
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_arm.c | 66 struct vchiq_state g_state; variable 987 DEBUG_INITIALISE(g_state.local); in add_completion() 1054 DEBUG_INITIALISE(g_state.local); in service_callback() 1292 if (!g_state.remote) { in vchiq_get_state() 1297 if (g_state.remote->initialised != 1) { in vchiq_get_state() 1299 __func__, g_state.remote->initialised); in vchiq_get_state() 1303 return &g_state; in vchiq_get_state() 1807 err = vchiq_platform_init(pdev, &g_state); in vchiq_probe()
|
H A D | vchiq_arm.h | 83 extern struct vchiq_state g_state;
|
H A D | vchiq_dev.c | 212 DEBUG_INITIALISE(g_state.local); in vchiq_ioc_dequeue_message() 440 DEBUG_INITIALISE(g_state.local); in vchiq_ioc_await_completion() 1320 err = vchiq_dump_state(&context, &g_state); in vchiq_read()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_sandbox.c | 86 } s_state, *g_state; variable 139 struct ec_state *ec = g_state; in cros_ec_write_state() 561 g_state = ec; in cros_ec_probe()
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 429 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_rfgain_opt_init() 435 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_rfgain_opt_init() 463 if (ah->ah_gain.g_state != AR5K_RFGAIN_ACTIVE) in ath5k_hw_request_rfgain_probe() 472 ah->ah_gain.g_state = AR5K_RFGAIN_READ_REQUESTED; in ath5k_hw_request_rfgain_probe() 685 ah->ah_gain.g_state == AR5K_RFGAIN_INACTIVE) in ath5k_hw_gainf_calibrate() 690 if (ah->ah_gain.g_state != AR5K_RFGAIN_READ_REQUESTED) in ath5k_hw_gainf_calibrate() 729 ah->ah_gain.g_state = AR5K_RFGAIN_NEED_CHANGE; in ath5k_hw_gainf_calibrate() 731 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_gainf_calibrate() 736 return ah->ah_gain.g_state; in ath5k_hw_gainf_calibrate() 993 ah->ah_gain.g_state = AR5K_RFGAIN_ACTIVE; in ath5k_hw_rfregs_init() [all …]
|
H A D | ath5k.h | 790 u8 g_state; member
|