/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | max98088.c | 652 u8 *state; in max98088_line_pga() local 659 state = &max98088->ina_state; in max98088_line_pga() 662 state = &max98088->inb_state; in max98088_line_pga() 670 *state |= channel; in max98088_line_pga() 675 *state &= ~channel; in max98088_line_pga() 676 if (*state == 0) { in max98088_line_pga() 1455 /* Disable EQ while configuring, and save current on/off state */ in max98088_setup_eq1() 1467 /* Restore the original on/off state */ in max98088_setup_eq1() 1502 /* Disable EQ while configuring, and save current on/off state */ in max98088_setup_eq2() 1514 /* Restore the original on/off state */ in max98088_setup_eq2() [all...] |
H A D | tlv320dac33.c | 110 enum dac33_state state; member 372 dev_dbg(component->dev, "Trying to set the same power state: %s\n", in dac33_hard_power() 726 switch (dac33->state) { in dac33_work() 728 dac33->state = DAC33_PLAYBACK; in dac33_work() 737 dac33->state = DAC33_IDLE; in dac33_work() 847 * writes happens in different order, than dac33 might end up in unknown state. 1117 dac33->state = DAC33_PREFILL; in dac33_pcm_trigger() 1125 dac33->state = DAC33_FLUSH; in dac33_pcm_trigger()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ioctl.c | 1237 __u32 state = 0; in __ext4_ioctl() local 1240 state |= EXT4_STATE_FLAG_EXT_PRECACHED; in __ext4_ioctl() 1242 state |= EXT4_STATE_FLAG_NEW; in __ext4_ioctl() 1244 state |= EXT4_STATE_FLAG_NEWENTRY; in __ext4_ioctl() 1246 state |= EXT4_STATE_FLAG_DA_ALLOC_CLOSE; in __ext4_ioctl() 1248 return put_user(state, (__u32 __user *) arg); in __ext4_ioctl()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | ptrace.c | 88 * __ptrace_unlink - unlink ptracee and restore its execution state 92 * and restore the execution state so that it conforms to the group stop 93 * state. 98 * If the ptracer is exiting, the ptracee can be in any state. 100 * After detach, the ptracee should be in a state which conforms to the 109 * state is not hidden even from the current ptracer and if it immediately 199 task->state = __TASK_TRACED; in ptrace_freeze_traced() 209 if (task->state != __TASK_TRACED) in ptrace_unfreeze_traced() 216 * Recheck state under the lock to close this race. in ptrace_unfreeze_traced() 219 if (task->state in ptrace_unfreeze_traced() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_trace.h | 642 struct drm_plane_state *state, struct dpu_plane_state *pstate, 645 TP_ARGS(crtc_id, plane_id, state, pstate, stage_idx, sspp, 664 __entry->fb_id = state ? state->fb->base.id : 0; 665 __entry->src_rect = drm_plane_state_src(state); 666 __entry->dst_rect = drm_plane_state_dest(state); 720 TP_printk("id:%u encoder:%u enable:%s state{enabled:%s}", 739 TP_printk("id:%u enable:%s state{enabled:%s}",
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | nv10.c | 414 #define PIPE_SAVE(gr, state, addr) \ 418 for (__i = 0; __i < ARRAY_SIZE(state); __i++) \ 419 state[__i] = nvkm_rd32(device, NV10_PGRAPH_PIPE_DATA); \ 422 #define PIPE_RESTORE(gr, state, addr) \ 426 for (__i = 0; __i < ARRAY_SIZE(state); __i++) \ 427 nvkm_wr32(device, NV10_PGRAPH_PIPE_DATA, state[__i]); \ 820 /* NV10TCL_DMA_VTXBUF (method 0x18c) modifies hidden state in nv10_gr_load_dma_vtxbuf() 843 /* Save the FIFO state */ in nv10_gr_load_dma_vtxbuf() 867 /* Restore the FIFO state */ in nv10_gr_load_dma_vtxbuf()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | uvd_v6_0.c | 52 enum amd_clockgating_state state); 813 /* force RBC into idle state */ in uvd_v6_0_start() 871 /* force RBC into idle state */ in uvd_v6_0_stop() 1213 enum amdgpu_interrupt_state state) in uvd_v6_0_set_interrupt_state() 1424 enum amd_clockgating_state state) in uvd_v6_0_set_clockgating_state() 1427 bool enable = (state == AMD_CG_STATE_GATE); in uvd_v6_0_set_clockgating_state() 1445 enum amd_powergating_state state) in uvd_v6_0_set_powergating_state() 1459 if (state == AMD_PG_STATE_GATE) { in uvd_v6_0_set_powergating_state() 1484 DRM_INFO("Cannot get clockgating state when UVD is powergated.\n"); in uvd_v6_0_get_clockgating_state() 1210 uvd_v6_0_set_interrupt_state(struct amdgpu_device *adev, struct amdgpu_irq_src *source, unsigned type, enum amdgpu_interrupt_state state) uvd_v6_0_set_interrupt_state() argument 1423 uvd_v6_0_set_clockgating_state(void *handle, enum amd_clockgating_state state) uvd_v6_0_set_clockgating_state() argument 1444 uvd_v6_0_set_powergating_state(void *handle, enum amd_powergating_state state) uvd_v6_0_set_powergating_state() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_device.c | 1072 * @state: enable/disable vga decode 1077 static unsigned int radeon_vga_set_decode(void *cookie, bool state) in radeon_vga_set_decode() argument 1080 radeon_vga_set_state(rdev, state); in radeon_vga_set_decode() 1081 if (state) in radeon_vga_set_decode() 1216 * radeon_switcheroo_set_state - set switcheroo state 1219 * @state: vga_switcheroo state 1224 static void radeon_switcheroo_set_state(struct pci_dev *pdev, enum vga_switcheroo_state state) in radeon_switcheroo_set_state() argument 1228 if (radeon_is_px(dev) && state == VGA_SWITCHEROO_OFF) in radeon_switcheroo_set_state() 1231 if (state in radeon_switcheroo_set_state() [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | power_supply_core.c | 1007 unsigned long *state) in ps_get_max_charge_cntl_limit() 1019 *state = val.intval; in ps_get_max_charge_cntl_limit() 1025 unsigned long *state) in ps_get_cur_charge_cntl_limit() 1037 *state = val.intval; in ps_get_cur_charge_cntl_limit() 1043 unsigned long state) in ps_set_cur_charge_cntl_limit() 1050 val.intval = state; in ps_set_cur_charge_cntl_limit() 1006 ps_get_max_charge_cntl_limit(struct thermal_cooling_device *tcd, unsigned long *state) ps_get_max_charge_cntl_limit() argument 1024 ps_get_cur_charge_cntl_limit(struct thermal_cooling_device *tcd, unsigned long *state) ps_get_cur_charge_cntl_limit() argument 1042 ps_set_cur_charge_cntl_limit(struct thermal_cooling_device *tcd, unsigned long state) ps_set_cur_charge_cntl_limit() argument
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | s2mps11.c | 267 unsigned int val, state; in s2mps11_regulator_set_suspend_disable() local 281 state = S2MPS14_ENABLE_SUSPEND; in s2mps11_regulator_set_suspend_disable() 291 state = S2MPS14_ENABLE_SUSPEND; in s2mps11_regulator_set_suspend_disable() 302 state = S2MPU02_DISABLE_SUSPEND; in s2mps11_regulator_set_suspend_disable() 305 state = S2MPU02_ENABLE_SUSPEND; in s2mps11_regulator_set_suspend_disable() 329 rdev->desc->enable_mask, state); in s2mps11_regulator_set_suspend_disable()
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
H A D | esas2r.h | 719 u8 state; member 781 enum state { enum 788 enum state state; member 999 int esas2r_suspend(struct pci_dev *pcid, pm_message_t state); 1011 u8 state); 1352 /* Set the initial state for resetting the adapter on the next pass through
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
H A D | light.c | 398 /* we need to keep module alive when turning to active state */ in __gb_lights_led_brightness_set() 488 /* we need to keep module alive when turning to active state */ in gb_blink_set() 631 bool state) in gb_lights_flash_strobe_set() 649 req.state = state ? 1 : 0; in gb_lights_flash_strobe_set() 654 channel->strobe_state = state; in gb_lights_flash_strobe_set() 662 bool *state) in gb_lights_flash_strobe_get() 667 *state = channel->strobe_state; in gb_lights_flash_strobe_get() 630 gb_lights_flash_strobe_set(struct led_classdev_flash *fcdev, bool state) gb_lights_flash_strobe_set() argument 661 gb_lights_flash_strobe_get(struct led_classdev_flash *fcdev, bool *state) gb_lights_flash_strobe_get() argument
|
/kernel/linux/linux-6.6/drivers/net/can/ |
H A D | bxcan.c | 469 enum can_state new_state = priv->can.state; in bxcan_handle_state_change() 489 /* state hasn't changed */ in bxcan_handle_state_change() 490 if (unlikely(new_state == priv->can.state)) in bxcan_handle_state_change() 659 * bus-off state left on sw request in bxcan_chip_start() 728 priv->can.state = CAN_STATE_ERROR_ACTIVE; in bxcan_chip_start() 816 priv->can.state = CAN_STATE_STOPPED; in bxcan_chip_stop() 1058 priv->can.state = CAN_STATE_SLEEPING; in bxcan_suspend() 1073 priv->can.state = CAN_STATE_ERROR_ACTIVE; in bxcan_resume()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | helene.c | 31 enum helene_state state; member 393 if (priv->state == STATE_SLEEP) in helene_enter_power_save() 402 priv->state = STATE_SLEEP; in helene_enter_power_save() 409 if (priv->state == STATE_ACTIVE) in helene_leave_power_save() 418 priv->state = STATE_ACTIVE; in helene_leave_power_save() 688 if (priv->state == STATE_SLEEP) in helene_set_params_t()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.c | 82 if (test_bit(BNXT_STATE_IN_FW_RESET, &bp->state)) in bnxt_refclk_read() 274 u8 state = usage != BNXT_PPS_PIN_NONE; in bnxt_ptp_cfg_pin() local 295 *(pin_state + (pin * 2)) = state; in bnxt_ptp_cfg_pin() 303 ptp->pps_info.pins[pin].state = state; in bnxt_ptp_cfg_pin() 368 if (pps->pins[pin].state) { in bnxt_ptp_reapply_pps()
|
/kernel/linux/linux-6.6/drivers/media/pci/dm1105/ |
H A D | dm1105.c | 433 static void dm1105_setline(struct dm1105_dev *dev, u32 line, int state) in dm1105_setline() argument 435 if (state) in dm1105_setline() 443 static void dm1105_setsda(void *data, int state) in dm1105_setsda() argument 447 dm1105_setline(dev, dm1105_boards[dev->boardnr].gpio_sda, state); in dm1105_setsda() 450 static void dm1105_setscl(void *data, int state) in dm1105_setscl() argument 454 dm1105_setline(dev, dm1105_boards[dev->boardnr].gpio_scl, state); in dm1105_setscl()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en.h | 452 unsigned long state; member 516 unsigned long state; member 544 unsigned long state; member 711 unsigned long state; member 783 DECLARE_BITMAP(state, MLX5E_CHANNEL_NUM_STATES); 875 unsigned long state; member 876 struct mutex state_lock; /* Protects Interface state */
|
/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 204 if (!(dev->state & PCAN_USB_STATE_CONNECTED)) in pcan_usb_fd_send_cmd() 607 /* nothing should be sent while in BUS_OFF state */ in pcan_usb_fd_decode_status() 608 if (dev->can.state == CAN_STATE_BUS_OFF) in pcan_usb_fd_decode_status() 618 /* back to (or still in) ERROR_ACTIVE state */ in pcan_usb_fd_decode_status() 624 /* state hasn't changed */ in pcan_usb_fd_decode_status() 625 if (new_state == dev->can.state) in pcan_usb_fd_decode_status() 628 /* handle bus state change */ in pcan_usb_fd_decode_status() 1044 /* set LED in default state (end of init phase) */ in pcan_usb_fd_init() 1066 if (dev->can.state != CAN_STATE_STOPPED) { in pcan_usb_fd_exit() 1105 enum ethtool_phys_id_state state) in pcan_usb_fd_set_phys_id() 1104 pcan_usb_fd_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) pcan_usb_fd_set_phys_id() argument [all...] |
/kernel/linux/linux-6.6/drivers/base/firmware_loader/ |
H A D | main.c | 55 int state; member 723 fw_priv->fwc->state == FW_LOADER_START_CACHE) in assign_fw() 1479 fwc->state = FW_LOADER_START_CACHE; in device_cache_fw_images() 1542 fw_cache.state = FW_LOADER_NO_CACHE; in fw_pm_notify() 1555 fw_cache.state = FW_LOADER_NO_CACHE; in fw_suspend() 1605 fw_cache.state = FW_LOADER_NO_CACHE; in fw_cache_init()
|
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_csi2.c | 1056 csi2_set_format(sd, fh ? fh->state : NULL, &format); in csi2_init_formats() 1064 * @enable: ISS pipeline stream state 1075 if (csi2->state == ISS_PIPELINE_STREAM_STOPPED) { in csi2_set_stream() 1110 if (csi2->state == ISS_PIPELINE_STREAM_STOPPED) in csi2_set_stream() 1124 csi2->state = enable; in csi2_set_stream() 1318 csi2a->state = ISS_PIPELINE_STREAM_STOPPED; in omap4iss_csi2_init() 1330 csi2b->state = ISS_PIPELINE_STREAM_STOPPED; in omap4iss_csi2_init()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | mxs-auart.c | 221 /* Tx FIFO EMPTY Raw Interrupt state */ 250 /* RO. The UART Debug Register contains the state of the DMA signals. */ 520 struct circ_buf *xmit = &s->port.state->xmit; in dma_tx_callback() 571 struct circ_buf *xmit = &s->port.state->xmit; in mxs_auart_tx_chars() 676 tty_flip_buffer_push(&s->port.state->port); in mxs_auart_rx_chars() 734 s->port.state != NULL) { in mxs_auart_modem_status() 744 wake_up_interruptible(&s->port.state->port.delta_msr_wait); in mxs_auart_modem_status() 823 struct tty_port *port = &s->port.state->port; in dma_rx_callback() 1148 /* if already in reset state, keep it untouched */ in mxs_auart_reset_assert() 1178 /* reset the unit to a well known state */ in mxs_auart_startup() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_scan.c | 395 BUG_ON(starget->state == STARGET_DEL); in scsi_target_destroy() 396 starget->state = STARGET_DEL; in scsi_target_destroy() 462 * if we get here and the target is still in a CREATED state that in scsi_target_reap_ref_release() 466 if ((starget->state != STARGET_CREATED) && in scsi_target_reap_ref_release() 467 (starget->state != STARGET_CREATED_REMOVE)) { in scsi_target_reap_ref_release() 486 * gone into STARGET_DEL state, otherwise allocate a new target. 521 starget->state = STARGET_CREATED; in scsi_alloc_target() 597 BUG_ON(starget->state == STARGET_DEL); in scsi_target_reap() 897 * the SATL power management specifications which state that in scsi_add_lun() 1033 "in wrong state in scsi_add_lun() [all...] |
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | light.c | 397 /* we need to keep module alive when turning to active state */ in __gb_lights_led_brightness_set() 487 /* we need to keep module alive when turning to active state */ in gb_blink_set() 630 bool state) in gb_lights_flash_strobe_set() 648 req.state = state ? 1 : 0; in gb_lights_flash_strobe_set() 653 channel->strobe_state = state; in gb_lights_flash_strobe_set() 661 bool *state) in gb_lights_flash_strobe_get() 666 *state = channel->strobe_state; in gb_lights_flash_strobe_get() 629 gb_lights_flash_strobe_set(struct led_classdev_flash *fcdev, bool state) gb_lights_flash_strobe_set() argument 660 gb_lights_flash_strobe_get(struct led_classdev_flash *fcdev, bool *state) gb_lights_flash_strobe_get() argument
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xen-hcd.c | 418 if ((hcd->state == HC_STATE_SUSPENDED) && (changed == 1)) in xenhcd_hub_status_data() 1265 if (likely(HC_IS_RUNNING(xenhcd_info_to_hcd(info)->state))) { in xenhcd_watchdog() 1299 hcd->state = HC_STATE_RUNNING; in xenhcd_run() 1313 hcd->state = HC_STATE_HALT; in xenhcd_stop() 1512 if (dev->state != XenbusStateInitialising) in xenhcd_backend_changed() 1519 if (dev->state == XenbusStateClosed) in xenhcd_backend_changed() 1521 fallthrough; /* Missed the backend's Closing state. */ in xenhcd_backend_changed() 1527 xenbus_dev_fatal(dev, -EINVAL, "saw state %d at frontend", in xenhcd_backend_changed()
|
H A D | ehci-q.c | 161 * the TT buffer may be left in an indeterminate state. We in ehci_clear_tt_buffer() 296 u8 state; in qh_completions() local 309 state = qh->qh_state; in qh_completions() 311 stopped = (state == QH_STATE_IDLE); in qh_completions() 331 /* clean up any state from previous QTD ...*/ in qh_completions() 443 if (state == QH_STATE_IDLE && in qh_completions() 482 * state (if you believe Figures 11-48 - 11-51 in qh_completions() 519 if (state == QH_STATE_IDLE) in qh_completions() 525 /* restore original state; caller must unlink or relink */ in qh_completions() 526 qh->qh_state = state; in qh_completions() [all...] |