/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()
|
/linux/drivers/firmware/arm_scmi/ |
H A D | reset.c | 44 __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 D | fw_reset.c | 100 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 D | mdio_device.c | 65 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 D | phy_device.c | 684 mdiodev->reset_state = -1; in phy_device_create()
|
/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 …]
|
/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | arch_timer_edge_cases.c | 324 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 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()
|
H A D | mmio.c | 129 dev->reset_state = mcu_int; in mt7615_irq_tasklet()
|
H A D | mt7615.h | 262 u32 reset_state; member
|
/linux/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 2797 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 D | cp210x.c | 513 __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 D | kernel-doc | 295 reset_state(); 1852 sub reset_state { subroutine 1958 reset_state(); 1986 reset_state();
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.h | 226 unsigned long reset_state; /* requested, pending */ member
|
H A D | hclgevf_main.c | 1559 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 D | hclgevf_mbx.c | 363 set_bit(HCLGEVF_RESET_PENDING, &hdev->reset_state); in hclgevf_mbx_async_handler()
|
/linux/arch/powerpc/kernel/ |
H A D | eeh.c | 834 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 D | maestro3.c | 743 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 D | scmi_protocol.h | 1089 unsigned int reset_state; member
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 875 unsigned long reset_state; member
|
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 1097 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 D | dmub_cmd.h | 3179 uint8_t reset_state : 1; member
|
/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 10577 u8 reset_state[0x1]; member 11323 u8 reset_state[0x4]; member
|