/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mac80211.c | 543 set_bit(MT76_STATE_REGISTERED, &phy->state); in mt76_register_phy() 554 if (!test_bit(MT76_STATE_REGISTERED, &phy->state)) in mt76_unregister_phy() 729 set_bit(MT76_STATE_REGISTERED, &phy->state); in mt76_register_device() 740 if (!test_bit(MT76_STATE_REGISTERED, &dev->phy.state)) in mt76_unregister_device() 825 if (!test_bit(MT76_STATE_RUNNING, &phy->state)) { in mt76_rx() 831 if (phy->test.state == MT76_TM_STATE_RX_FRAMES) { in mt76_rx() 876 struct mt76_channel_state *state = phy->chan_state; in mt76_update_survey_active_time() local 878 state->cc_active += ktime_to_us(ktime_sub(time, in mt76_update_survey_active_time() 896 struct mt76_channel_state *state = phy->chan_state; in mt76_update_survey() local 899 state in mt76_update_survey() 939 struct mt76_channel_state *state; mt76_get_survey() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ctxfi/ |
H A D | ctatc.c | 1031 static int atc_daio_unmute(struct ct_atc *atc, unsigned char state, int type) in atc_daio_unmute() argument 1035 if (state) in atc_daio_unmute() 1062 static int atc_line_front_unmute(struct ct_atc *atc, unsigned char state) in atc_line_front_unmute() argument 1064 return atc_daio_unmute(atc, state, LINEO1); in atc_line_front_unmute() 1067 static int atc_line_surround_unmute(struct ct_atc *atc, unsigned char state) in atc_line_surround_unmute() argument 1069 return atc_daio_unmute(atc, state, LINEO2); in atc_line_surround_unmute() 1072 static int atc_line_clfe_unmute(struct ct_atc *atc, unsigned char state) in atc_line_clfe_unmute() argument 1074 return atc_daio_unmute(atc, state, LINEO3); in atc_line_clfe_unmute() 1077 static int atc_line_rear_unmute(struct ct_atc *atc, unsigned char state) in atc_line_rear_unmute() argument 1079 return atc_daio_unmute(atc, state, LINEO in atc_line_rear_unmute() 1082 atc_line_in_unmute(struct ct_atc *atc, unsigned char state) atc_line_in_unmute() argument 1087 atc_mic_unmute(struct ct_atc *atc, unsigned char state) atc_mic_unmute() argument 1092 atc_spdif_out_unmute(struct ct_atc *atc, unsigned char state) atc_spdif_out_unmute() argument 1097 atc_spdif_in_unmute(struct ct_atc *atc, unsigned char state) atc_spdif_in_unmute() argument 1112 atc_spdif_out_passthru(struct ct_atc *atc, unsigned char state) atc_spdif_out_passthru() argument [all...] |
/kernel/linux/linux-6.6/net/ceph/ |
H A D | messenger.c | 39 * We track the state of the socket on a given connection using 40 * values defined below. The transition to a new socket state is 42 * unexpected state. 45 * | NEW* | transient initial state 278 /* Connection socket state transition functions */ 286 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_init() 297 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_connecting() 308 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_connected() 321 printk("%s: unexpected old state %d\n", __func__, old_state); in con_sock_state_closing() 335 printk("%s: unexpected old state in con_sock_state_closed() [all...] |
H A D | messenger_v1.c | 845 if (con->state != CEPH_CON_S_V1_CONNECT_MSG) in process_connect() 894 WARN_ON(con->state != CEPH_CON_S_V1_CONNECT_MSG); in process_connect() 895 con->state = CEPH_CON_S_OPEN; in process_connect() 1331 dout("try_read start %p state %d\n", con, con->state); in ceph_con_v1_try_read() 1332 if (con->state != CEPH_CON_S_V1_BANNER && in ceph_con_v1_try_read() 1333 con->state != CEPH_CON_S_V1_CONNECT_MSG && in ceph_con_v1_try_read() 1334 con->state != CEPH_CON_S_OPEN) in ceph_con_v1_try_read() 1342 if (con->state == CEPH_CON_S_V1_BANNER) { in ceph_con_v1_try_read() 1350 con->state in ceph_con_v1_try_read() [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd.c | 144 device->state = DASD_STATE_NEW; in dasd_alloc_device() 207 * As long as the device is not in state DASD_STATE_NEW we want to in dasd_state_new_to_known() 219 device->state = DASD_STATE_KNOWN; in dasd_state_new_to_known() 230 device->state = DASD_STATE_NEW; in dasd_state_known_to_new() 286 device->state = DASD_STATE_BASIC; in dasd_state_known_to_basic() 322 device->state = DASD_STATE_KNOWN; in dasd_state_basic_to_known() 328 * -EAGAIN in which case the device keeps the state DASD_STATE_BASIC 354 device->state = DASD_STATE_UNFMT; in dasd_state_basic_to_ready() 366 device->state = DASD_STATE_READY; in dasd_state_basic_to_ready() 369 device->state in dasd_state_basic_to_ready() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 526 * new one. In this case the link state is in rtllib_softmac_scan_syncro() 529 * will set the state to RTLLIB_LINKED, so we stop in rtllib_softmac_scan_syncro() 538 * if the state become LINKED because of the #1 situation in rtllib_softmac_scan_syncro() 541 if (ieee->state == RTLLIB_LINKED) in rtllib_softmac_scan_syncro() 562 if (ieee->state >= RTLLIB_LINKED) { in rtllib_softmac_scan_syncro() 591 "======>%s():rf state is eRfOff, return\n", in rtllib_softmac_scan_wq() 1406 if (ieee->state == RTLLIB_ASSOCIATING_AUTHENTICATING) { in rtllib_associate_abort() 1414 ieee->state = RTLLIB_ASSOCIATING_RETRY; in rtllib_associate_abort() 1443 ieee->state = RTLLIB_ASSOCIATING_AUTHENTICATING; in rtllib_associate_step1() 1569 ieee->state in rtllib_associate_complete() [all...] |
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd.c | 128 device->state = DASD_STATE_NEW; in dasd_alloc_device() 189 * As long as the device is not in state DASD_STATE_NEW we want to in dasd_state_new_to_known() 193 device->state = DASD_STATE_KNOWN; in dasd_state_new_to_known() 204 device->state = DASD_STATE_NEW; in dasd_state_known_to_new() 257 device->state = DASD_STATE_BASIC; in dasd_state_known_to_basic() 293 device->state = DASD_STATE_KNOWN; in dasd_state_basic_to_known() 299 * -EAGAIN in which case the device keeps the state DASD_STATE_BASIC 325 device->state = DASD_STATE_UNFMT; in dasd_state_basic_to_ready() 337 device->state = DASD_STATE_READY; in dasd_state_basic_to_ready() 340 device->state in dasd_state_basic_to_ready() [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid10.c | 325 if (!test_bit(R10BIO_Uptodate, &r10_bio->state)) in raid_end_bio_io() 401 set_bit(R10BIO_Uptodate, &r10_bio->state); in raid10_end_read_request() 408 if (!_enough(conf, test_bit(R10BIO_Previous, &r10_bio->state), in raid10_end_read_request() 423 set_bit(R10BIO_ReadError, &r10_bio->state); in raid10_end_read_request() 433 !test_bit(R10BIO_Degraded, &r10_bio->state), in close_write() 441 if (test_bit(R10BIO_WriteError, &r10_bio->state)) in one_write_done() 445 if (test_bit(R10BIO_MadeGood, &r10_bio->state)) in one_write_done() 501 set_bit(R10BIO_WriteError, &r10_bio->state); in raid10_end_write_request() 504 set_bit(R10BIO_Degraded, &r10_bio->state); in raid10_end_write_request() 533 set_bit(R10BIO_Uptodate, &r10_bio->state); in raid10_end_write_request() [all...] |
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | cyapa_gen5.c | 789 /* Normal state of Gen5 with no data to response */ in gen5_idle_state_parse() 816 cyapa->state = CYAPA_STATE_GEN5_BL; in gen5_idle_state_parse() 823 cyapa->state = CYAPA_STATE_GEN5_APP; in gen5_idle_state_parse() 826 cyapa->state = CYAPA_STATE_NO_DEVICE; in gen5_idle_state_parse() 861 cyapa->state = CYAPA_STATE_GEN5_BL; in gen5_hid_description_header_parse() 868 cyapa->state = CYAPA_STATE_GEN5_APP; in gen5_hid_description_header_parse() 875 cyapa->state = CYAPA_STATE_GEN5_BL; in gen5_hid_description_header_parse() 882 cyapa->state = CYAPA_STATE_GEN5_APP; in gen5_hid_description_header_parse() 885 cyapa->state = CYAPA_STATE_NO_DEVICE; in gen5_hid_description_header_parse() 918 cyapa->state in gen5_report_data_header_parse() 1596 cyapa_pip_deep_sleep(struct cyapa *cyapa, u8 state) cyapa_pip_deep_sleep() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 122 if (!test_bit(MT76_STATE_RUNNING, &phy->mt76->state)) in mt7615_mac_set_timing() 177 if (!test_bit(MT76_HW_SCANNING, &mphy->state) && in mt7615_get_status_freq_info() 178 !test_bit(MT76_HW_SCHED_SCANNING, &mphy->state) && in mt7615_get_status_freq_info() 179 !test_bit(MT76_STATE_ROC, &mphy->state)) { in mt7615_get_status_freq_info() 350 if (!test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt7615_mac_fill_rx() 1463 if (test_bit(MT76_STATE_PM, &dev->phy.mt76->state)) in mt7615_mac_tx_free() 1751 struct mt76_channel_state *state; in mt7615_phy_update_channel() local 1770 state = mphy->chan_state; in mt7615_phy_update_channel() 1771 state->cc_busy += busy_time; in mt7615_phy_update_channel() 1772 state in mt7615_phy_update_channel() 2038 mt7615_wait_reset_state(struct mt7615_dev *dev, u32 state) mt7615_wait_reset_state() argument [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | samsung_tty.c | 288 struct dma_tx_state state; in s3c24xx_serial_stop_tx() local 308 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state); in s3c24xx_serial_stop_tx() 314 count = dma->tx_bytes_requested - state.residue; in s3c24xx_serial_stop_tx() 333 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_dma_complete() 335 struct dma_tx_state state; in s3c24xx_serial_tx_dma_complete() local 339 dmaengine_tx_status(dma->tx_chan, dma->tx_cookie, &state); in s3c24xx_serial_tx_dma_complete() 340 count = dma->tx_bytes_requested - state.residue; in s3c24xx_serial_tx_dma_complete() 438 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx_dma() 472 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_next_tx() 494 struct circ_buf *xmit = &port->state in s3c24xx_serial_start_tx() 541 struct dma_tx_state state; s3c24xx_serial_stop_rx() local 614 struct dma_tx_state state; s3c24xx_serial_rx_dma_complete() local 720 struct dma_tx_state state; s3c24xx_serial_rx_chars_dma() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov8865.c | 705 struct ov8865_state state; member 2227 u16 vts = sensor->state.mode->output_size_y + vblank; in ov8865_vts_configure() 2304 if (sensor->state.streaming) in ov8865_state_configure() 2319 sensor->state.mode = mode; in ov8865_state_configure() 2320 sensor->state.mbus_code = mbus_code; in ov8865_state_configure() 2387 ret = ov8865_state_configure(sensor, sensor->state.mode, in ov8865_sensor_init() 2388 sensor->state.mbus_code); in ov8865_sensor_init() 2390 dev_err(sensor->dev, "failed to configure state\n"); in ov8865_sensor_init() 2468 exposure_max = sensor->state.mode->output_size_y + ctrl->val - in ov8865_s_ctrl() 2619 struct ov8865_state *state in ov8865_s_stream() local 2813 __ov8865_get_pad_crop(struct ov8865_sensor *sensor, struct v4l2_subdev_state *state, unsigned int pad, enum v4l2_subdev_format_whence which, struct v4l2_rect *r) __ov8865_get_pad_crop() argument 2832 ov8865_get_selection(struct v4l2_subdev *subdev, struct v4l2_subdev_state *state, struct v4l2_subdev_selection *sel) ov8865_get_selection() argument 2884 struct ov8865_state *state = &sensor->state; ov8865_suspend() local 2910 struct ov8865_state *state = &sensor->state; ov8865_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 309 if (!test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt7915_mac_fill_rx() 1162 if (!test_bit(MT76_STATE_RUNNING, &phy->mt76->state)) in mt7915_mac_set_timing() 1251 struct mt76_channel_state *state = mphy->chan_state; in mt7915_update_channel() local 1262 state->noise = -(phy->noise >> 4); in mt7915_update_channel() 1266 mt7915_wait_reset_state(struct mt7915_dev *dev, u32 state) in mt7915_wait_reset_state() argument 1271 (READ_ONCE(dev->recovery.state) & state), in mt7915_wait_reset_state() 1274 WARN(!ret, "Timeout waiting for MCU reset state %x\n", state); in mt7915_wait_reset_state() 1338 set_bit(MT76_RESET, &dev->mphy.state); in mt7915_mac_restart() [all...] |
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | cyapa_gen5.c | 790 /* Normal state of Gen5 with no data to response */ in gen5_idle_state_parse() 817 cyapa->state = CYAPA_STATE_GEN5_BL; in gen5_idle_state_parse() 824 cyapa->state = CYAPA_STATE_GEN5_APP; in gen5_idle_state_parse() 827 cyapa->state = CYAPA_STATE_NO_DEVICE; in gen5_idle_state_parse() 862 cyapa->state = CYAPA_STATE_GEN5_BL; in gen5_hid_description_header_parse() 869 cyapa->state = CYAPA_STATE_GEN5_APP; in gen5_hid_description_header_parse() 876 cyapa->state = CYAPA_STATE_GEN5_BL; in gen5_hid_description_header_parse() 883 cyapa->state = CYAPA_STATE_GEN5_APP; in gen5_hid_description_header_parse() 886 cyapa->state = CYAPA_STATE_NO_DEVICE; in gen5_hid_description_header_parse() 919 cyapa->state in gen5_report_data_header_parse() 1597 cyapa_pip_deep_sleep(struct cyapa *cyapa, u8 state) cyapa_pip_deep_sleep() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | jpeg_v2_0.c | 58 enum amd_powergating_state state); 691 enum amd_clockgating_state state) in jpeg_v2_0_set_clockgating_state() 694 bool enable = (state == AMD_CG_STATE_GATE); in jpeg_v2_0_set_clockgating_state() 708 enum amd_powergating_state state) in jpeg_v2_0_set_powergating_state() 713 if (state == adev->jpeg.cur_state) in jpeg_v2_0_set_powergating_state() 716 if (state == AMD_PG_STATE_GATE) in jpeg_v2_0_set_powergating_state() 722 adev->jpeg.cur_state = state; in jpeg_v2_0_set_powergating_state() 730 enum amdgpu_interrupt_state state) in jpeg_v2_0_set_interrupt_state() 690 jpeg_v2_0_set_clockgating_state(void *handle, enum amd_clockgating_state state) jpeg_v2_0_set_clockgating_state() argument 707 jpeg_v2_0_set_powergating_state(void *handle, enum amd_powergating_state state) jpeg_v2_0_set_powergating_state() argument 727 jpeg_v2_0_set_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned type, enum amdgpu_interrupt_state state) jpeg_v2_0_set_interrupt_state() argument
|
/kernel/linux/linux-5.10/drivers/clk/ti/ |
H A D | dpll3xxx.c | 60 /* _omap3_wait_dpll_status: wait for a DPLL to enter a specific state */ 61 static int _omap3_wait_dpll_status(struct clk_hw_omap *clk, u8 state) in _omap3_wait_dpll_status() argument 71 state <<= __ffs(dd->idlest_mask); in _omap3_wait_dpll_status() 74 != state) && i < MAX_DPLL_WAIT_TRIES) { in _omap3_wait_dpll_status() 81 clk_name, (state) ? "locked" : "bypassed"); in _omap3_wait_dpll_status() 84 clk_name, (state) ? "locked" : "bypassed", i); in _omap3_wait_dpll_status() 134 * autoidle state across the enable, per the CDP code. If the DPLL 142 u8 state = 1; in _omap3_noncore_dpll_lock() local 148 state <<= __ffs(dd->idlest_mask); in _omap3_noncore_dpll_lock() 152 state) in _omap3_noncore_dpll_lock() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | kvm.c | 257 irqentry_state_t state; in __kvm_handle_async_pf() local 262 state = irqentry_enter(regs); in __kvm_handle_async_pf() 283 irqentry_exit(regs, state); in __kvm_handle_async_pf() 685 u8 state; in kvm_flush_tlb_others() local 697 state = READ_ONCE(src->preempted); in kvm_flush_tlb_others() 698 if ((state & KVM_VCPU_PREEMPTED)) { in kvm_flush_tlb_others() 699 if (try_cmpxchg(&src->preempted, &state, in kvm_flush_tlb_others() 700 state | KVM_VCPU_FLUSH_TLB)) in kvm_flush_tlb_others() 833 /* No checking of the return state needed */ in kvm_sev_es_hcall_finish()
|
/kernel/linux/linux-5.10/arch/x86/events/ |
H A D | rapl.c | 248 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in __rapl_pmu_event_start() 251 event->hw.state = 0; in __rapl_pmu_event_start() 281 if (!(hwc->state & PERF_HES_STOPPED)) { in rapl_pmu_event_stop() 289 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in rapl_pmu_event_stop() 290 hwc->state |= PERF_HES_STOPPED; in rapl_pmu_event_stop() 294 if ((mode & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in rapl_pmu_event_stop() 300 hwc->state |= PERF_HES_UPTODATE; in rapl_pmu_event_stop() 314 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in rapl_pmu_event_add()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | sbs.c | 75 u16 state; member 324 {0x16, SMBUS_READ_WORD, offsetof(struct acpi_battery, state)}, 477 u16 state; in acpi_battery_read() local 481 ACPI_SBS_MANAGER, 0x01, (u8 *)&state); in acpi_battery_read() 483 battery->present = state & (1 << battery->id); in acpi_battery_read() 484 state &= 0x0fff; in acpi_battery_read() 485 state |= 1 << (battery->id + 12); in acpi_battery_read() 487 ACPI_SBS_MANAGER, 0x01, (u8 *)&state, 2); in acpi_battery_read()
|
H A D | processor_perflib.c | 67 * _PPC indicates the maximum state currently supported by the platform in acpi_processor_get_platform_limit() 117 * 0: success. OSPM is now using the performance state specificed. 294 * Bit 63: PstateEn. Read-write. If set, the P-state is valid. in amd_fixup_frequency() 317 struct acpi_buffer state = { 0, NULL }; in acpi_processor_get_performance_states() local 353 state.length = sizeof(struct acpi_processor_px); in acpi_processor_get_performance_states() 354 state.pointer = px; in acpi_processor_get_performance_states() 356 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Extracting state %d\n", i)); in acpi_processor_get_performance_states() 359 &format, &state); in acpi_processor_get_performance_states() 538 struct acpi_buffer state = {0, NULL}; in acpi_processor_get_psd() local 559 state in acpi_processor_get_psd() [all...] |
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | sata_highbank.c | 94 static void ecx_parse_sgpio(struct ecx_plat_data *pdata, u32 port, u32 state) in ecx_parse_sgpio() argument 96 if (state & ECX_ACTIVITY_BITS) in ecx_parse_sgpio() 102 if (state & ECX_LOCATE_BITS) in ecx_parse_sgpio() 108 if (state & ECX_FAULT_BITS) in ecx_parse_sgpio() 128 static ssize_t ecx_transmit_led_message(struct ata_port *ap, u32 state, in ecx_transmit_led_message() argument 140 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ecx_transmit_led_message() 150 ecx_parse_sgpio(pdata, ap->port_no, state); in ecx_transmit_led_message() 170 /* save off new led state for port/slot */ in ecx_transmit_led_message() 171 emp->led_state = state; in ecx_transmit_led_message() 585 * transition of the HBA to D3 state in ahci_highbank_suspend() [all...] |
H A D | pdc_adma.c | 112 adma_state_t state; member 181 /* reset ADMA to idle state */ in adma_reset_engine() 232 /* reset ADMA to idle state */ in adma_freeze() 249 if (pp->state != adma_state_idle) /* healthy paranoia */ in adma_prereset() 250 pp->state = adma_state_mmio; in adma_prereset() 394 pp->state = adma_state_pkt; in adma_qc_issue() 406 pp->state = adma_state_mmio; in adma_qc_issue() 426 if (!pp || pp->state != adma_state_pkt) in adma_intr_pkt() 469 if (!pp || pp->state != adma_state_mmio) in adma_intr_mmio() 482 pp->state in adma_intr_mmio() [all...] |
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
H A D | rmi_f54.c | 297 enum vb2_buffer_state state; in rmi_f54_buffer_queue() local 306 state = VB2_BUF_STATE_ERROR; in rmi_f54_buffer_queue() 311 state = VB2_BUF_STATE_ERROR; in rmi_f54_buffer_queue() 318 state = VB2_BUF_STATE_ERROR; in rmi_f54_buffer_queue() 330 state = VB2_BUF_STATE_ERROR; in rmi_f54_buffer_queue() 339 state = VB2_BUF_STATE_ERROR; in rmi_f54_buffer_queue() 345 state = VB2_BUF_STATE_DONE; in rmi_f54_buffer_queue() 353 vb2_buffer_done(vb, state); in rmi_f54_buffer_queue()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sched.c | 131 if (e->state == SCHED_STATE_UNUSED || in t4_sched_entry_lookup() 490 if (e->state == SCHED_STATE_UNUSED) { in t4_sched_class_lookup() 506 if (e->state == SCHED_STATE_UNUSED) in t4_sched_class_lookup() 566 e->state = SCHED_STATE_ACTIVE; in t4_sched_class_alloc() 615 if (!atomic_read(&e->refcnt) && e->state != SCHED_STATE_UNUSED) { in cxgb4_sched_class_free() 638 e->state = SCHED_STATE_UNUSED; in cxgb4_sched_class_free() 665 s->tab[i].state = SCHED_STATE_UNUSED; in t4_init_sched() 688 if (e->state == SCHED_STATE_ACTIVE) in t4_cleanup_sched()
|
/kernel/linux/linux-5.10/drivers/s390/cio/ |
H A D | chp.c | 55 /* Set vary state for given chpid. */ 58 chpid_to_chp(chpid)->state = onoff; in set_chp_logically_online() 65 return (chpid_to_chp(chpid) ? chpid_to_chp(chpid)->state : -ENODEV); in chp_get_status() 239 status = chp->state; in chp_status_show() 490 chp->state = 1; in chp_new() 814 int state, ret; in chp_init() local 825 state = chp_info_get_status(chpid); in chp_init() 826 if (state == CHP_STATUS_CONFIGURED || in chp_init() 827 state == CHP_STATUS_STANDBY) in chp_init()
|