Home
last modified time | relevance | path

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

12

/linux-5.19.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()
/linux-5.19.10/arch/arm64/kvm/
Dreset.c251 struct vcpu_reset_state reset_state; in kvm_reset_vcpu() local
259 reset_state = vcpu->arch.reset_state; in kvm_reset_vcpu()
260 WRITE_ONCE(vcpu->arch.reset_state.reset, false); in kvm_reset_vcpu()
324 if (reset_state.reset) { in kvm_reset_vcpu()
325 unsigned long target_pc = reset_state.pc; in kvm_reset_vcpu()
334 if (reset_state.be) in kvm_reset_vcpu()
338 vcpu_set_reg(vcpu, 0, reset_state.r0); in kvm_reset_vcpu()
Dpsci.c62 struct vcpu_reset_state *reset_state; in kvm_psci_vcpu_on() local
86 reset_state = &vcpu->arch.reset_state; in kvm_psci_vcpu_on()
88 reset_state->pc = smccc_get_arg2(source_vcpu); in kvm_psci_vcpu_on()
91 reset_state->be = kvm_vcpu_is_be(source_vcpu); in kvm_psci_vcpu_on()
97 reset_state->r0 = smccc_get_arg3(source_vcpu); in kvm_psci_vcpu_on()
99 WRITE_ONCE(reset_state->reset, true); in kvm_psci_vcpu_on()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfw_reset.c62 u8 *reset_type, u8 *reset_state) in mlx5_reg_mfrl_query() argument
76 if (reset_state) in mlx5_reg_mfrl_query()
77 *reset_state = MLX5_GET(mfrl_reg, out, reset_state); in mlx5_reg_mfrl_query()
90 u8 reset_state; in mlx5_fw_reset_get_reset_state_err() local
92 if (mlx5_reg_mfrl_query(dev, NULL, NULL, &reset_state)) in mlx5_fw_reset_get_reset_state_err()
95 switch (reset_state) { in mlx5_fw_reset_get_reset_state_err()
132 if (err == -EREMOTEIO && MLX5_CAP_MCAM_FEATURE(dev, reset_state)) in mlx5_fw_reset_set_reset_sync()
/linux-5.19.10/drivers/firmware/arm_scmi/
Dreset.c41 __le32 reset_state; member
54 __le32 reset_state; member
181 dom->reset_state = cpu_to_le32(state); in scmi_domain_reset()
271 r->reset_state = le32_to_cpu(p->reset_state); in scmi_reset_fill_custom_report()
/linux-5.19.10/drivers/scsi/aacraid/
Dlinit.c894 info->reset_state = res; in aac_tmf_callback()
924 !(info->reset_state > 0))) in aac_eh_dev_reset()
937 info->reset_state = 1; in aac_eh_dev_reset()
943 info->reset_state = 0; in aac_eh_dev_reset()
950 if (info->reset_state == 0) { in aac_eh_dev_reset()
951 ret = info->reset_state == 0 ? SUCCESS : FAILED; in aac_eh_dev_reset()
987 !(info->reset_state > 0))) in aac_eh_target_reset()
1001 info->reset_state = 2; in aac_eh_target_reset()
1008 info->reset_state = 0; in aac_eh_target_reset()
1016 if (info->reset_state <= 0) { in aac_eh_target_reset()
[all …]
/linux-5.19.10/drivers/net/ethernet/ibm/
Dibmvnic.c2472 struct ibmvnic_rwi *rwi, u32 reset_state) in do_reset() argument
2484 adapter_state_to_string(reset_state)); in do_reset()
2499 reset_state = adapter->state; in do_reset()
2501 if (reset_state == VNIC_REMOVING || reset_state == VNIC_REMOVED) { in do_reset()
2515 if (reset_state == VNIC_OPEN && in do_reset()
2545 adapter_state_to_string(reset_state)); in do_reset()
2546 reset_state = VNIC_OPEN; in do_reset()
2604 if (reset_state == VNIC_PROBED || reset_state == VNIC_DOWN) { in do_reset()
2654 if (reset_state == VNIC_CLOSED) { in do_reset()
2677 adapter->state = reset_state; in do_reset()
[all …]
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_mac.c226 (READ_ONCE(dev->reset_state) & state), in mt7615_wait_reset_state()
276 if (!(READ_ONCE(dev->reset_state) & MT_MCU_CMD_STOP_PDMA)) in mt7615_mac_reset_work()
Dmmio.c147 dev->reset_state = mcu_int; in mt7615_irq_tasklet()
Dmt7615.h263 u32 reset_state; member
/linux-5.19.10/include/linux/soc/ti/
Dti_sci_protocol.h117 u32 reset_state);
119 u32 *reset_state);
/linux-5.19.10/drivers/usb/serial/
Dcp210x.c505 __le16 reset_state; member
520 __le16 reset_state; member
573 struct cp210x_quad_port_state reset_state; member
1706 gpio_latch = (u8)((le16_to_cpu(config.reset_state) & in cp2104_gpioconf_init()
1750 priv->gpio_pushpull = le16_to_cpu(config.reset_state.gpio_mode_pb1); in cp2108_gpio_init()
1751 gpio_latch = le16_to_cpu(config.reset_state.gpio_latch_pb1); in cp2108_gpio_init()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_main.h225 unsigned long reset_state; /* requested, pending */ member
Dhclgevf_mbx.c356 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_mbx_async_handler()
Dhclgevf_main.c1554 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_err_handle()
1691 set_bit(HCLGEVF_RESET_REQUESTED, &hdev->reset_state); in hclgevf_reset_event()
1818 &hdev->reset_state)) { in hclgevf_reset_service_task()
1832 &hdev->reset_state)) { in hclgevf_reset_service_task()
1861 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_service_task()
1866 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_service_task()
1988 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_check_evt_cause()
/linux-5.19.10/scripts/
Dkernel-doc283 reset_state();
1770 sub reset_state { subroutine
1877 reset_state();
1905 reset_state();
/linux-5.19.10/arch/powerpc/kernel/
Deeh.c825 int reset_state = (EEH_PE_RESET | EEH_PE_CFG_BLOCKED); in eeh_pe_reset_full() local
841 eeh_pe_state_mark(pe, reset_state); in eeh_pe_reset_full()
880 eeh_pe_state_clear(pe, reset_state, true); in eeh_pe_reset_full()
/linux-5.19.10/drivers/video/fbdev/intelfb/
Dintelfbhw.c1481 static void reset_state(struct intelfb_info *dinfo);
1525 reset_state(dinfo); in wait_ring()
1582 static void reset_state(struct intelfb_info *dinfo) in reset_state() function
1623 reset_state(dinfo); in intelfbhw_2d_stop()
/linux-5.19.10/include/linux/
Dscmi_protocol.h822 unsigned int reset_state; member
/linux-5.19.10/sound/pci/
Dmaestro3.c743 u8 reset_state; member
950 chip->reset_state = snd_m3_inb(chip, DSP_PORT_CONTROL_REG_B) & ~REGB_STOP_CLOCK; in snd_m3_assp_halt()
952 snd_m3_outb(chip, chip->reset_state & ~REGB_ENABLE_RESET, DSP_PORT_CONTROL_REG_B); 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_continue()
/linux-5.19.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmt7915.h301 u32 reset_state; member
Dmmio.c615 dev->reset_state = val; in mt7915_irq_tasklet()
/linux-5.19.10/arch/arm64/include/asm/
Dkvm_host.h393 struct vcpu_reset_state reset_state; member
/linux-5.19.10/drivers/firmware/
Dti_sci.c885 u32 id, u32 reset_state) in ti_sci_cmd_set_device_resets() argument
912 req->resets = reset_state; in ti_sci_cmd_set_device_resets()
940 u32 id, u32 *reset_state) in ti_sci_cmd_get_device_resets() argument
942 return ti_sci_get_device_state(handle, id, NULL, reset_state, NULL, in ti_sci_cmd_get_device_resets()

12