Home
last modified time | relevance | path

Searched refs:reset_state (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/reset/
Dreset-ti-sci.c77 u32 reset_state; in ti_sci_reset_set() local
86 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_set()
91 reset_state |= control->reset_mask; in ti_sci_reset_set()
93 reset_state &= ~control->reset_mask; in ti_sci_reset_set()
95 ret = dev_ops->set_device_resets(sci, control->dev_id, reset_state); in ti_sci_reset_set()
158 u32 reset_state; in ti_sci_reset_status() local
165 ret = dev_ops->get_device_resets(sci, control->dev_id, &reset_state); in ti_sci_reset_status()
169 return reset_state & control->reset_mask; in ti_sci_reset_status()
Dreset-ti-syscon.c142 unsigned int reset_state; in ti_syscon_reset_status() local
153 ret = regmap_read(data->regmap, control->status_offset, &reset_state); in ti_syscon_reset_status()
157 return !(reset_state & BIT(control->status_bit)) == in ti_syscon_reset_status()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dreset.c266 struct vcpu_reset_state reset_state; in kvm_reset_vcpu() local
272 reset_state = vcpu->arch.reset_state; in kvm_reset_vcpu()
273 WRITE_ONCE(vcpu->arch.reset_state.reset, false); in kvm_reset_vcpu()
334 if (reset_state.reset) { in kvm_reset_vcpu()
335 unsigned long target_pc = reset_state.pc; in kvm_reset_vcpu()
344 if (reset_state.be) in kvm_reset_vcpu()
348 vcpu_set_reg(vcpu, 0, reset_state.r0); in kvm_reset_vcpu()
Dpsci.c64 struct vcpu_reset_state *reset_state; in kvm_psci_vcpu_on() local
88 reset_state = &vcpu->arch.reset_state; in kvm_psci_vcpu_on()
90 reset_state->pc = smccc_get_arg2(source_vcpu); in kvm_psci_vcpu_on()
93 reset_state->be = kvm_vcpu_is_be(source_vcpu); in kvm_psci_vcpu_on()
99 reset_state->r0 = smccc_get_arg3(source_vcpu); in kvm_psci_vcpu_on()
101 WRITE_ONCE(reset_state->reset, true); in kvm_psci_vcpu_on()
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Dreset.c38 __le32 reset_state; member
51 __le32 reset_state; member
165 dom->reset_state = cpu_to_le32(state); in scmi_domain_reset()
254 r->reset_state = le32_to_cpu(p->reset_state); in scmi_reset_fill_custom_report()
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Dlinit.c892 info->reset_state = res; in aac_tmf_callback()
922 !(info->reset_state > 0))) in aac_eh_dev_reset()
935 info->reset_state = 1; in aac_eh_dev_reset()
941 info->reset_state = 0; in aac_eh_dev_reset()
948 if (info->reset_state == 0) { in aac_eh_dev_reset()
949 ret = info->reset_state == 0 ? SUCCESS : FAILED; in aac_eh_dev_reset()
985 !(info->reset_state > 0))) in aac_eh_target_reset()
999 info->reset_state = 2; in aac_eh_target_reset()
1006 info->reset_state = 0; in aac_eh_target_reset()
1014 if (info->reset_state <= 0) { in aac_eh_target_reset()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmvnic.c1859 u32 reset_state) in do_change_param_reset() argument
1872 if (reset_state == VNIC_OPEN) { in do_change_param_reset()
1901 if (reset_state == VNIC_PROBED) in do_change_param_reset()
1917 if (reset_state == VNIC_CLOSED) in do_change_param_reset()
1935 adapter->state = reset_state; in do_change_param_reset()
1944 struct ibmvnic_rwi *rwi, u32 reset_state) in do_reset() argument
1954 rwi->reset_reason, reset_state); in do_reset()
1975 if (reset_state == VNIC_OPEN && in do_reset()
2034 if (reset_state == VNIC_PROBED) { in do_reset()
2081 if (reset_state == VNIC_CLOSED) { in do_reset()
[all …]
/kernel/linux/linux-5.10/include/linux/soc/ti/
Dti_sci_protocol.h117 u32 reset_state);
119 u32 *reset_state);
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dpci.c66 dev->reset_state = val; in mt7915_irq_handler()
Dmt7915.h153 u32 reset_state; member
Dmac.c1134 (READ_ONCE(dev->reset_state) & state), in mt7915_wait_reset_state()
1202 if (!(READ_ONCE(dev->reset_state) & MT_MCU_CMD_STOP_DMA)) in mt7915_mac_reset_work()
/kernel/linux/linux-5.10/scripts/
Dkernel-doc422 reset_state();
1850 sub reset_state { subroutine
1956 reset_state();
1984 reset_state();
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h280 unsigned long reset_state; /* requested, pending */ member
Dhclgevf_mbx.c327 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_mbx_async_handler()
Dhclgevf_main.c1890 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_err_handle()
2027 set_bit(HCLGEVF_RESET_REQUESTED, &hdev->reset_state); in hclgevf_reset_event()
2154 &hdev->reset_state)) { in hclgevf_reset_service_task()
2168 &hdev->reset_state)) { in hclgevf_reset_service_task()
2197 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_service_task()
2202 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_service_task()
2324 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_check_evt_cause()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmmio.c132 dev->reset_state = val; in mt7615_irq_tasklet()
Dmt7615.h270 u32 reset_state; member
/kernel/linux/linux-5.10/include/linux/
Dscmi_protocol.h434 unsigned int reset_state; member
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Deeh.c836 int reset_state = (EEH_PE_RESET | EEH_PE_CFG_BLOCKED); in eeh_pe_reset_full() local
852 eeh_pe_state_mark(pe, reset_state); in eeh_pe_reset_full()
891 eeh_pe_state_clear(pe, reset_state, true); in eeh_pe_reset_full()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_host.h373 struct vcpu_reset_state reset_state; member
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
Dintelfbhw.c1483 static void reset_state(struct intelfb_info *dinfo);
1527 reset_state(dinfo); in wait_ring()
1584 static void reset_state(struct intelfb_info *dinfo) in reset_state() function
1625 reset_state(dinfo); in intelfbhw_2d_stop()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dcp210x.c500 __le16 reset_state; member
515 __le16 reset_state; member
1824 gpio_latch = (u8)((le16_to_cpu(config.reset_state) & in cp2104_gpioconf_init()
/kernel/linux/linux-5.10/sound/pci/
Dmaestro3.c748 u8 reset_state; member
955 chip->reset_state = snd_m3_inb(chip, DSP_PORT_CONTROL_REG_B) & ~REGB_STOP_CLOCK; in snd_m3_assp_halt()
957 snd_m3_outb(chip, chip->reset_state & ~REGB_ENABLE_RESET, DSP_PORT_CONTROL_REG_B); in snd_m3_assp_halt()
962 snd_m3_outb(chip, chip->reset_state | REGB_ENABLE_RESET, DSP_PORT_CONTROL_REG_B); in snd_m3_assp_continue()
/kernel/linux/linux-5.10/drivers/firmware/
Dti_sci.c866 u32 id, u32 reset_state) in ti_sci_cmd_set_device_resets() argument
893 req->resets = reset_state; in ti_sci_cmd_set_device_resets()
921 u32 id, u32 *reset_state) in ti_sci_cmd_get_device_resets() argument
923 return ti_sci_get_device_state(handle, id, NULL, reset_state, NULL, in ti_sci_cmd_get_device_resets()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h698 unsigned long reset_state; member

12