Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/reset/
Dreset-ti-sci.c69 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()
Dreset-ti-syscon.c134 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()
/Linux-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfw_reset.c63 u8 *reset_type, u8 *reset_state) in mlx5_reg_mfrl_query() argument
77 if (reset_state) in mlx5_reg_mfrl_query()
78 *reset_state = MLX5_GET(mfrl_reg, out, reset_state); in mlx5_reg_mfrl_query()
91 u8 reset_state; in mlx5_fw_reset_get_reset_state_err() local
93 if (mlx5_reg_mfrl_query(dev, NULL, NULL, &reset_state)) in mlx5_fw_reset_get_reset_state_err()
96 switch (reset_state) { in mlx5_fw_reset_get_reset_state_err()
133 if (err == -EREMOTEIO && MLX5_CAP_MCAM_FEATURE(dev, reset_state)) in mlx5_fw_reset_set_reset_sync()
/Linux-v6.1/drivers/firmware/arm_scmi/
Dreset.c41 __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()
/Linux-v6.1/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-v6.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_mac.c159 (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()
Dmmio.c147 dev->reset_state = mcu_int; in mt7615_irq_tasklet()
Dmt7615.h264 u32 reset_state; member
/Linux-v6.1/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-v6.1/include/linux/soc/ti/
Dti_sci_protocol.h117 u32 reset_state);
119 u32 *reset_state);
/Linux-v6.1/drivers/usb/serial/
Dcp210x.c505 __le16 reset_state; member
520 __le16 reset_state; member
573 struct cp210x_quad_port_state reset_state; member
1709 gpio_latch = (u8)((le16_to_cpu(config.reset_state) & in cp2104_gpioconf_init()
1753 priv->gpio_pushpull = le16_to_cpu(config.reset_state.gpio_mode_pb1); in cp2108_gpio_init()
1754 gpio_latch = le16_to_cpu(config.reset_state.gpio_latch_pb1); in cp2108_gpio_init()
/Linux-v6.1/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-v6.1/scripts/
Dkernel-doc283 reset_state();
1772 sub reset_state { subroutine
1879 reset_state();
1907 reset_state();
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/include/linux/
Dscmi_protocol.h948 unsigned int reset_state; member
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmmio.c617 dev->reset_state = val; in mt7915_irq_tasklet()
Dmt7915.h306 u32 reset_state; member
/Linux-v6.1/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()
/Linux-v6.1/arch/arm64/include/asm/
Dkvm_host.h413 struct vcpu_reset_state reset_state; member

12