Home
last modified time | relevance | path

Searched refs:pd_state (Results 1 – 14 of 14) sorted by relevance

/external/arm-trusted-firmware/plat/rockchip/common/drivers/pmu/
Dpmu_com.h48 static int pmu_power_domain_ctr(uint32_t pd, uint32_t pd_state) in pmu_power_domain_ctr() argument
57 if (pd_state == pmu_pd_off) in pmu_power_domain_ctr()
65 while ((pmu_power_domain_st(pd) != pd_state) && (loop < PD_CTR_LOOP)) { in pmu_power_domain_ctr()
70 if (pmu_power_domain_st(pd) != pd_state) { in pmu_power_domain_ctr()
71 WARN("%s: %d, %d, error!\n", __func__, pd, pd_state); in pmu_power_domain_ctr()
/external/autotest/server/site_tests/firmware_TypeCCharging/
Dfirmware_TypeCCharging.py43 pd_state = self.pd_console_utils.get_pd_state(0)
48 logging.info('PDTester state = %s', pd_state)
49 if pd_state != expected_state:
51 (pd_state, expected_state))
/external/autotest/server/site_tests/firmware_PDDataSwap/
Dfirmware_PDDataSwap.py77 pd_state = self.dut_port.get_pd_state()
89 return bool(pd_state == pdtester_state)
198 pd_state = self.dut_port.get_pd_state()
199 if pd_state != dut_connect_state:
201 pd_state)
/external/arm-trusted-firmware/plat/rockchip/px30/drivers/pmu/
Dpmu.c131 static int pmu_power_domain_ctr(uint32_t pd, uint32_t pd_state) in pmu_power_domain_ctr() argument
139 BITS_WITH_WMASK(pd_state, 0x1, pd)); in pmu_power_domain_ctr()
142 while ((pmu_power_domain_st(pd) != pd_state) && (loop < PD_CTR_LOOP)) { in pmu_power_domain_ctr()
147 if (pmu_power_domain_st(pd) != pd_state) { in pmu_power_domain_ctr()
148 WARN("%s: %d, %d, error!\n", __func__, pd, pd_state); in pmu_power_domain_ctr()
264 static int pmu_set_power_domain(uint32_t pd_id, uint32_t pd_state) in pmu_set_power_domain() argument
268 if (pmu_power_domain_st(pd_id) == pd_state) in pmu_set_power_domain()
271 if (pd_state == pmu_pd_on) in pmu_set_power_domain()
272 pmu_power_domain_ctr(pd_id, pd_state); in pmu_set_power_domain()
274 state = (pd_state == pmu_pd_off) ? bus_idle : bus_active; in pmu_set_power_domain()
[all …]
/external/arm-trusted-firmware/lib/psci/
Dpsci_common.c309 plat_local_state_t *pd_state = target_state->pwr_domain_state; in psci_get_target_local_pwr_states() local
311 pd_state[PSCI_CPU_PWR_LVL] = psci_get_cpu_local_state(); in psci_get_target_local_pwr_states()
316 pd_state[lvl] = get_non_cpu_pd_node_local_state(parent_idx); in psci_get_target_local_pwr_states()
335 const plat_local_state_t *pd_state = target_state->pwr_domain_state; in psci_set_target_local_pwr_states() local
337 psci_set_cpu_local_state(pd_state[PSCI_CPU_PWR_LVL]); in psci_set_target_local_pwr_states()
349 set_non_cpu_pd_node_local_state(parent_idx, pd_state[lvl]); in psci_set_target_local_pwr_states()
/external/arm-trusted-firmware/plat/rockchip/rk3368/drivers/pmu/
Dpmu.c242 uint32_t pd_state, in cpus_id_power_domain() argument
253 if (pmu_power_domain_st(pd) == pd_state) in cpus_id_power_domain()
256 if (pd_state == pmu_pd_off) { in cpus_id_power_domain()
262 return pmu_power_domain_ctr(pd, pd_state); in cpus_id_power_domain()
/external/autotest/server/site_tests/firmware_PDPowerSwap/
Dfirmware_PDPowerSwap.py107 pd_state = self.dut_port.get_pd_state()
108 if pd_state != dut_power_role:
110 pd_state)
/external/cpuinfo/test/dmesg/
Dpixel-xl.log534 [ 1.470882] c2 1 FUSB platform_notify_pd_contract: Contract=[0], typec_state(0x0), pd_state
542 [ 1.475725] c0 251 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x2), pd_state(0x…
709 [ 2.476719] c0 251 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x2), pd_state(0x…
1117 [ 3.480049] c0 251 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x2), pd_state(0x…
1119 [ 3.607660] c1 251 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x3), pd_state(0x…
1234 [ 4.126586] c1 251 FUSB platform_notify_pd_contract: Contract=[0], typec_state(0x4), pd_state
1437 [ 5.142971] c3 251 FUSB StateMachineTypeC: leave typec_state(0x4), pd_state=(0x1e)
1463 [ 5.335961] c2 251 FUSB StateMachineTypeC: leave typec_state(0x4), pd_state=(0x1e)
1526 [ 5.535256] c3 251 FUSB platform_notify_pd_contract: Contract=[1], typec_state(0x4), pd_state
1528 [ 5.547496] c3 251 FUSB StateMachineTypeC: leave typec_state(0x4), pd_state=(0x22)
[all …]
Dpixel.log484 [ 1.315782] c3 1 FUSB platform_notify_pd_contract: Contract=[0], typec_state(0x0), pd_state
492 [ 1.320620] c0 258 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x2), pd_state(0x…
676 [ 2.323392] c0 258 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x2), pd_state(0x…
1090 [ 3.326704] c0 258 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x2), pd_state(0x…
1106 [ 3.455585] c1 258 FUSB fusb_GPIO_Set_VBus5v: set vbus ctrl: 0, typec_state(0x3), pd_state(0x…
1220 [ 3.973869] c1 258 FUSB platform_notify_pd_contract: Contract=[0], typec_state(0x4), pd_state
1436 [ 4.980880] c2 258 FUSB platform_notify_pd_contract: Contract=[0], typec_state(0x4), pd_state
1544 [ 6.011414] c2 258 FUSB platform_notify_pd_contract: Contract=[1], typec_state(0x4), pd_state
1552 [ 6.023605] c2 258 FUSB StateMachineTypeC: leave typec_state(0x4), pd_state=(0x22)
1558 [ 6.034447] c2 258 FUSB StateMachineTypeC: leave typec_state(0x4), pd_state=(0x22)
[all …]
Dgalaxy-s8-global.log491 [ 1.115633] [0:irq/305-s2mm005: 1826] usbpd-s2mm005 12-0033: process_cc_attach 592: pd_state:21…
Dgalaxy-s8-us.log1807 [ 2.273020] [6: swapper/0: 1] usbpd-s2mm005 7-0033: process_cc_attach 603: pd_state:21,…
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/pmu/
Dpmu.c239 static int pmu_set_power_domain(uint32_t pd_id, uint32_t pd_state) in pmu_set_power_domain() argument
243 if (pmu_power_domain_st(pd_id) == pd_state) in pmu_set_power_domain()
246 if (pd_state == pmu_pd_on) in pmu_set_power_domain()
247 pmu_power_domain_ctr(pd_id, pd_state); in pmu_set_power_domain()
249 state = (pd_state == pmu_pd_off) ? BUS_IDLE : BUS_ACTIVE; in pmu_set_power_domain()
320 if (pd_state == pmu_pd_off) in pmu_set_power_domain()
321 pmu_power_domain_ctr(pd_id, pd_state); in pmu_set_power_domain()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp2334 bool CoreChecks::ValidateQueueFamilyIndex(const PHYSICAL_DEVICE_STATE *pd_state, uint32_t requested… in ValidateQueueFamilyIndex() argument
2338 if (requested_queue_family >= pd_state->queue_family_known_count) { in ValidateQueueFamilyIndex()
2342 …const std::string count_note = (UNCALLED == pd_state->vkGetPhysicalDeviceQueueFamilyPropertiesStat… in ValidateQueueFamilyIndex()
2344 … : "i.e. is not less than " + std::to_string(pd_state->queue_family_known_count); in ValidateQueueFamilyIndex()
2347 HandleToUint64(pd_state->phys_device), err_code, in ValidateQueueFamilyIndex()
2357 bool CoreChecks::ValidateDeviceQueueCreateInfos(const PHYSICAL_DEVICE_STATE *pd_state, uint32_t inf… in ValidateDeviceQueueCreateInfos() argument
2367 …skip |= ValidateQueueFamilyIndex(pd_state, requested_queue_family, "VUID-VkDeviceQueueCreateInfo-q… in ValidateDeviceQueueCreateInfos()
2372 … HandleToUint64(pd_state->phys_device), "VUID-VkDeviceCreateInfo-queueFamilyIndex-00372", in ValidateDeviceQueueCreateInfos()
2378 if (requested_queue_family < pd_state->queue_family_known_count) { in ValidateDeviceQueueCreateInfos()
2380 …const bool queue_family_has_props = requested_queue_family < pd_state->queue_family_properties.siz… in ValidateDeviceQueueCreateInfos()
[all …]
Dcore_validation.h955 …bool ValidateQueueFamilyIndex(const PHYSICAL_DEVICE_STATE* pd_state, uint32_t requested_queue_fami…
957 bool ValidateDeviceQueueCreateInfos(const PHYSICAL_DEVICE_STATE* pd_state, uint32_t info_count,