/openbmc/u-boot/drivers/reset/ |
H A D | reset-ti-sci.c | 94 u32 reset_state; in ti_sci_reset_set() local 97 ret = dops->get_device_resets(sci, rst->id, &reset_state); in ti_sci_reset_set() 105 reset_state |= rst->data; in ti_sci_reset_set() 107 reset_state &= ~rst->data; in ti_sci_reset_set() 109 ret = dops->set_device_resets(sci, rst->id, reset_state); in ti_sci_reset_set() 170 u32 reset_state; in ti_sci_reset_status() local 175 ret = dops->get_device_resets(sci, rst->id, &reset_state); in ti_sci_reset_status() 182 return reset_state & rst->data; in ti_sci_reset_status()
|
/openbmc/linux/drivers/reset/ |
H A D | reset-ti-sci.c | 69 u32 reset_state; in ti_sci_reset_set() local 78 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set() 83 reset_state |= control->reset_mask; in ti_sci_reset_set() 85 reset_state &= ~control->reset_mask; in ti_sci_reset_set() 87 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set() 150 u32 reset_state; in ti_sci_reset_status() local 157 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_status() 161 return reset_state & control->reset_mask; in ti_sci_reset_status()
|
H A D | reset-ti-syscon.c | 134 unsigned int reset_state; in ti_syscon_reset_status() local 145 ret = regmap_read(data->regmap, control->status_offset, &reset_state); in ti_syscon_reset_status() 149 return !(reset_state & BIT(control->status_bit)) == in ti_syscon_reset_status()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | reset.c | 209 struct vcpu_reset_state reset_state; in kvm_reset_vcpu() local 215 reset_state = vcpu->arch.reset_state; in kvm_reset_vcpu() 216 vcpu->arch.reset_state.reset = false; in kvm_reset_vcpu() 279 if (reset_state.reset) { in kvm_reset_vcpu() 280 unsigned long target_pc = reset_state.pc; in kvm_reset_vcpu() 289 if (reset_state.be) in kvm_reset_vcpu() 293 vcpu_set_reg(vcpu, 0, reset_state.r0); in kvm_reset_vcpu()
|
H A D | psci.c | 62 struct vcpu_reset_state *reset_state; in kvm_psci_vcpu_on() local 91 reset_state = &vcpu->arch.reset_state; in kvm_psci_vcpu_on() 93 reset_state->pc = smccc_get_arg2(source_vcpu); in kvm_psci_vcpu_on() 96 reset_state->be = kvm_vcpu_is_be(source_vcpu); in kvm_psci_vcpu_on() 102 reset_state->r0 = smccc_get_arg3(source_vcpu); in kvm_psci_vcpu_on() 104 reset_state->reset = true; in kvm_psci_vcpu_on()
|
/openbmc/skeleton/op-pwrctl/ |
H A D | power_control_obj.c | 70 uint8_t reset_state; in poll_pgood() local 85 reset_state = pgood_state ^ g_gpio_configs.power_gpio.reset_pols[i]; in poll_pgood() 86 rc = gpio_open(reset_out, reset_state); in poll_pgood() 96 (int)pgood_state, reset_out->name, (int)reset_state); in poll_pgood() 97 gpio_write(reset_out, reset_state); in poll_pgood() 116 reset_state = pgood_state ^ g_gpio_configs.power_gpio.pci_reset_pols[i]; in poll_pgood() 117 rc = gpio_open(pci_reset_out, reset_state); in poll_pgood() 127 (int)pgood_state, pci_reset_out->name, (int)reset_state); in poll_pgood() 128 gpio_write(pci_reset_out, reset_state); in poll_pgood() 177 uint8_t reset_state; in on_boot_progress() local [all …]
|
/openbmc/hiomapd/test/ |
H A D | reset_state.c | 17 static const uint8_t reset_state[] = { variable 45 rc = mbox_command_dispatch(ctx, reset_state, sizeof(reset_state)); in main()
|
H A D | Makefile.am.include | 43 test_reset_state_SOURCES = %reldir%/reset_state.c \ 118 %reldir%/reset_state \
|
/openbmc/phosphor-mboxd/test/ |
H A D | reset_state.c | 17 static const uint8_t reset_state[] = { variable 45 rc = mbox_command_dispatch(ctx, reset_state, sizeof(reset_state)); in main()
|
H A D | Makefile.am.include | 34 test_reset_state_SOURCES = %reldir%/reset_state.c \ 106 %reldir%/reset_state \
|
/openbmc/hiomapd/vpnor/test/ |
H A D | toc_missing_file_reset.cpp | 24 static const uint8_t reset_state[] = {0x01, 0x01, 0x00, 0x00, 0x00, 0x00, variable 58 rc = mbox_command_dispatch(ctx, reset_state, sizeof(reset_state)); in main()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw_reset.c | 97 u8 *reset_type, u8 *reset_state) in mlx5_reg_mfrl_query() argument 111 if (reset_state) in mlx5_reg_mfrl_query() 112 *reset_state = MLX5_GET(mfrl_reg, out, reset_state); in mlx5_reg_mfrl_query() 125 u8 reset_state; in mlx5_fw_reset_get_reset_state_err() local 127 if (mlx5_reg_mfrl_query(dev, NULL, NULL, &reset_state)) in mlx5_fw_reset_get_reset_state_err() 130 if (!reset_state) in mlx5_fw_reset_get_reset_state_err() 133 switch (reset_state) { in mlx5_fw_reset_get_reset_state_err() 173 if (err == -EREMOTEIO && MLX5_CAP_MCAM_FEATURE(dev, reset_state)) { in mlx5_fw_reset_set_reset_sync()
|
/openbmc/qemu/hw/core/ |
H A D | resetcontainer.c | 23 ResettableState reset_state; member 43 return &rc->reset_state; in resettable_container_get_state()
|
H A D | reset.c | 55 ResettableState reset_state; member 66 return &lr->reset_state; in legacy_reset_get_state()
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | reset.c | 41 __le32 reset_state; member 54 __le32 reset_state; member 185 dom->reset_state = cpu_to_le32(state); in scmi_domain_reset() 275 r->reset_state = le32_to_cpu(p->reset_state); in scmi_reset_fill_custom_report()
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | linit.c | 893 info->reset_state = res; in aac_tmf_callback() 923 !(info->reset_state > 0))) in aac_eh_dev_reset() 936 info->reset_state = 1; in aac_eh_dev_reset() 942 info->reset_state = 0; in aac_eh_dev_reset() 949 if (info->reset_state == 0) { in aac_eh_dev_reset() 950 ret = info->reset_state == 0 ? SUCCESS : FAILED; in aac_eh_dev_reset() 986 !(info->reset_state > 0))) in aac_eh_target_reset() 1000 info->reset_state = 2; in aac_eh_target_reset() 1007 info->reset_state = 0; in aac_eh_target_reset() 1015 if (info->reset_state <= 0) { in aac_eh_target_reset() [all …]
|
/openbmc/u-boot/include/linux/soc/ti/ |
H A D | ti_sci_protocol.h | 134 u32 reset_state); 136 u32 *reset_state);
|
/openbmc/qemu/tests/qtest/ |
H A D | microbit-test.c | 274 } const reset_state[] = { in test_nrf51_gpio() local 284 for (i = 0; i < ARRAY_SIZE(reset_state); i++) { in test_nrf51_gpio() 285 expected = reset_state[i].expected; in test_nrf51_gpio() 286 actual = qtest_readl(qts, NRF51_GPIO_BASE + reset_state[i].addr); in test_nrf51_gpio()
|
H A D | pnv-xive2-test.c | 143 static void reset_state(QTestState *qts) in reset_state() function 333 reset_state(qts); in test_xive()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-mem.h | 121 ResettableState reset_state; member
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | pci_mac.c | 159 (READ_ONCE(dev->reset_state) & state), in mt7615_wait_reset_state() 212 if (!(READ_ONCE(dev->reset_state) & MT_MCU_CMD_STOP_PDMA)) in mt7615_mac_reset_work()
|
/openbmc/linux/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 2751 struct ibmvnic_rwi *rwi, u32 reset_state) in do_reset() argument 2763 adapter_state_to_string(reset_state)); in do_reset() 2778 reset_state = adapter->state; in do_reset() 2780 if (reset_state == VNIC_REMOVING || reset_state == VNIC_REMOVED) { in do_reset() 2794 if (reset_state == VNIC_OPEN && in do_reset() 2824 adapter_state_to_string(reset_state)); in do_reset() 2825 reset_state = VNIC_OPEN; in do_reset() 2883 if (reset_state == VNIC_PROBED || reset_state == VNIC_DOWN) { in do_reset() 2933 if (reset_state == VNIC_CLOSED) { in do_reset() 2956 adapter->state = reset_state; in do_reset() [all …]
|
/openbmc/u-boot/scripts/ |
H A D | kernel-doc | 395 reset_state(); 1668 sub reset_state { subroutine 1769 reset_state(); 1797 reset_state();
|
/openbmc/linux/drivers/usb/serial/ |
H A D | cp210x.c | 514 __le16 reset_state; member 529 __le16 reset_state; member 582 struct cp210x_quad_port_state reset_state; member 1737 gpio_latch = (u8)((le16_to_cpu(config.reset_state) & in cp2104_gpioconf_init() 1781 priv->gpio_pushpull = le16_to_cpu(config.reset_state.gpio_mode_pb1); in cp2108_gpio_init() 1782 gpio_latch = le16_to_cpu(config.reset_state.gpio_latch_pb1); in cp2108_gpio_init()
|
/openbmc/linux/include/linux/soc/ti/ |
H A D | ti_sci_protocol.h | 117 u32 reset_state); 119 u32 *reset_state);
|