Home
last modified time | relevance | path

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

/linux/drivers/reset/
H A 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()
H A 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/drivers/firmware/arm_scmi/
H A Dreset.c44 __le32 reset_state; member
57 __le32 reset_state; member
198 dom->reset_state = cpu_to_le32(state); in scmi_domain_reset()
302 r->reset_state = le32_to_cpu(p->reset_state); in scmi_reset_fill_custom_report()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfw_reset.c100 u8 *reset_type, u8 *reset_state, u8 *reset_method) in mlx5_reg_mfrl_query() argument
114 if (reset_state) in mlx5_reg_mfrl_query()
115 *reset_state = MLX5_GET(mfrl_reg, out, reset_state); in mlx5_reg_mfrl_query()
141 u8 reset_state; in mlx5_fw_reset_get_reset_state_err() local
143 if (mlx5_reg_mfrl_query(dev, NULL, NULL, &reset_state, NULL)) in mlx5_fw_reset_get_reset_state_err()
146 if (!reset_state) in mlx5_fw_reset_get_reset_state_err()
149 switch (reset_state) { in mlx5_fw_reset_get_reset_state_err()
189 if (err == -EREMOTEIO && MLX5_CAP_MCAM_FEATURE(dev, reset_state)) { in mlx5_fw_reset_set_reset_sync()
/linux/drivers/net/phy/
H A Dmdio_device.c65 mdiodev->reset_state = -1; in mdio_device_create()
126 if (mdiodev->reset_state == value) in mdio_device_reset()
143 mdiodev->reset_state = value; in mdio_device_reset()
H A Dphy_device.c684 mdiodev->reset_state = -1; in phy_device_create()
/linux/drivers/scsi/aacraid/
H A Dlinit.c893 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 …]
/linux/tools/testing/selftests/kvm/aarch64/
H A Darch_timer_edge_cases.c324 enum timer_view tv, irq_wait_method_t wm, bool reset_state, in test_timer_xval() argument
329 if (reset_state) in test_timer_xval()
351 irq_wait_method_t wm, bool reset_state, in test_timer_cval() argument
354 test_timer_xval(timer, cval, TIMER_CVAL, wm, reset_state, reset_cnt); in test_timer_cval()
358 irq_wait_method_t wm, bool reset_state, in test_timer_tval() argument
361 test_timer_xval(timer, (uint64_t) tval, TIMER_TVAL, wm, reset_state, in test_timer_tval()
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A 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()
H A Dmmio.c129 dev->reset_state = mcu_int; in mt7615_irq_tasklet()
H A Dmt7615.h262 u32 reset_state; member
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c2797 struct ibmvnic_rwi *rwi, u32 reset_state) in do_reset() argument
2809 adapter_state_to_string(reset_state)); in do_reset()
2824 reset_state = adapter->state; in do_reset()
2826 if (reset_state == VNIC_REMOVING || reset_state == VNIC_REMOVED) { in do_reset()
2840 if (reset_state == VNIC_OPEN && in do_reset()
2870 adapter_state_to_string(reset_state)); in do_reset()
2871 reset_state = VNIC_OPEN; in do_reset()
2929 if (reset_state == VNIC_PROBED || reset_state == VNIC_DOWN) { in do_reset()
2979 if (reset_state == VNIC_CLOSED) { in do_reset()
3002 adapter->state = reset_state; in do_reset()
[all …]
/linux/drivers/usb/serial/
H A Dcp210x.c513 __le16 reset_state; member
528 __le16 reset_state; member
581 struct cp210x_quad_port_state reset_state; member
1736 gpio_latch = (u8)((le16_to_cpu(config.reset_state) & in cp2104_gpioconf_init()
1780 priv->gpio_pushpull = le16_to_cpu(config.reset_state.gpio_mode_pb1); in cp2108_gpio_init()
1781 gpio_latch = le16_to_cpu(config.reset_state.gpio_latch_pb1); in cp2108_gpio_init()
/linux/scripts/
H A Dkernel-doc295 reset_state();
1852 sub reset_state { subroutine
1958 reset_state();
1986 reset_state();
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.h226 unsigned long reset_state; /* requested, pending */ member
H A Dhclgevf_main.c1559 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_err_handle()
1697 set_bit(HCLGEVF_RESET_REQUESTED, &hdev->reset_state); in hclgevf_reset_event()
1836 &hdev->reset_state)) { in hclgevf_reset_service_task()
1850 &hdev->reset_state)) { in hclgevf_reset_service_task()
1879 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_service_task()
1884 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_reset_service_task()
2007 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_check_evt_cause()
H A Dhclgevf_mbx.c363 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_mbx_async_handler()
/linux/arch/powerpc/kernel/
H A Deeh.c834 int reset_state = (EEH_PE_RESET | EEH_PE_CFG_BLOCKED); in eeh_pe_reset_full() local
850 eeh_pe_state_mark(pe, reset_state); in eeh_pe_reset_full()
889 eeh_pe_state_clear(pe, reset_state, true); in eeh_pe_reset_full()
/linux/sound/pci/
H A Dmaestro3.c743 u8 reset_state; member
948 chip->reset_state = snd_m3_inb(chip, DSP_PORT_CONTROL_REG_B) & ~REGB_STOP_CLOCK; in snd_m3_assp_halt()
950 snd_m3_outb(chip, chip->reset_state & ~REGB_ENABLE_RESET, DSP_PORT_CONTROL_REG_B); in snd_m3_assp_halt()
955 snd_m3_outb(chip, chip->reset_state | REGB_ENABLE_RESET, DSP_PORT_CONTROL_REG_B); in snd_m3_assp_continue()
/linux/include/linux/
H A Dscmi_protocol.h1089 unsigned int reset_state; member
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h875 unsigned long reset_state; member
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hw_v2.c1097 reset_stage = handle->rinfo.reset_state; in check_aedev_reset_status()
1246 if (handle->rinfo.reset_state == HNS_ROCE_STATE_RST_INIT || in update_cmdq_status()
3448 if (priv->handle->rinfo.reset_state == HNS_ROCE_STATE_RST_INIT || in free_mr_send_cmd_to_hw()
7106 handle->rinfo.reset_state = HNS_ROCE_STATE_RST_DOWN; in hns_roce_hw_v2_reset_notify_down()
7130 handle->rinfo.reset_state = HNS_ROCE_STATE_RST_INITED; in hns_roce_hw_v2_reset_notify_init()
7134 handle->rinfo.reset_state = HNS_ROCE_STATE_RST_INIT; in hns_roce_hw_v2_reset_notify_init()
7146 handle->rinfo.reset_state = HNS_ROCE_STATE_RST_INITED; in hns_roce_hw_v2_reset_notify_init()
7158 handle->rinfo.reset_state = HNS_ROCE_STATE_RST_UNINIT; in hns_roce_hw_v2_reset_notify_uninit()
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h3179 uint8_t reset_state : 1; member
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h10577 u8 reset_state[0x1]; member
11323 u8 reset_state[0x4]; member