/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | base.c | 81 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set() argument 88 int dir = !!(func.log[state] & 0x02); in nvkm_gpio_set() 89 int out = !!(func.log[state] & 0x01); in nvkm_gpio_set()
|
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb.h | 64 * pre-firmware state 66 * post-firmware state 248 * @identify_state: called to determine the state (cold or warm), when it 331 int state; member 392 int state; member 415 * @state: initialization and runtime state of the device. 418 * Powered is in/decremented for each call to modify the state. 434 * @last_state: last state (no, pressed, repeat) 449 int state; member [all...] |
/kernel/linux/linux-5.10/drivers/power/reset/ |
H A D | ltc2952-poweroff.c | 24 * A level change indicates the shut-down trigger. If it's state reverts 80 * remove it entirely once we don't need the global state anymore. 96 int state; in ltc2952_poweroff_timer_wde() local 102 state = gpiod_get_value(data->gpio_watchdog); in ltc2952_poweroff_timer_wde() 103 gpiod_set_value(data->gpio_watchdog, !state); in ltc2952_poweroff_timer_wde() 130 * Triggered each time the trigger signal changes state and (de)activates a
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.h | 199 enum HCLGEVF_MAC_NODE_STATE state; member 215 unsigned long state; member 296 void hclgevf_update_port_base_vlan_info(struct hclgevf_dev *hdev, u16 state,
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | extent-io-tree.h | 10 /* Bits for the extent state */ 50 * Bit not representing a state but a request for NOWAIT semantics, 89 struct rb_root state; member 108 u32 state; member 133 void free_extent_state(struct extent_state *state);
|
/kernel/linux/linux-6.6/fs/fscache/ |
H A D | internal.h | 33 return smp_load_acquire(&cache->state); in fscache_cache_state() 44 smp_store_release(&cache->state, new_state); in fscache_set_cache_state() 52 return try_cmpxchg_release(&cache->state, &old_state, new_state); in fscache_set_cache_state_maybe()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | wait_bit.h | 58 * @mode: the task state to sleep in 85 * @mode: the task state to sleep in 110 * @mode: the task state to sleep in 138 * @mode: the task state to sleep in 163 * @mode: the task state to sleep in 191 * @mode: the task state to sleep in 216 * @mode: the task state to sleep in 242 #define ___wait_var_event(var, condition, state, exclusive, ret, cmd) \ 254 state); \ 258 if (___wait_is_interruptible(state) [all...] |
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | lcs.h | 125 * Multicast state 167 * LCS device state machine 265 enum lcs_buffer_states state; member 289 enum lcs_channel_states state; member 306 enum lcs_dev_states state; member
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | raid_class.c | 128 static const char *raid_state_name(enum raid_state state) in raid_state_name() argument 134 if (raid_states[i].value == state) { in raid_state_name() 210 raid_attr_ro_state_fn(state); variable
|
/kernel/linux/linux-6.6/drivers/power/reset/ |
H A D | ltc2952-poweroff.c | 24 * A level change indicates the shut-down trigger. If it's state reverts 82 * remove it entirely once we don't need the global state anymore. 97 int state; in ltc2952_poweroff_timer_wde() local 103 state = gpiod_get_value(data->gpio_watchdog); in ltc2952_poweroff_timer_wde() 104 gpiod_set_value(data->gpio_watchdog, !state); in ltc2952_poweroff_timer_wde() 130 * Triggered each time the trigger signal changes state and (de)activates a
|
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_pwrctrl.c | 64 /* if driver is in active state, we dont need set smart_ps.*/ in r8712_set_ps_mode() 92 if (pwrpriv->cpwm_tog == ((preportpwrstate->state) & 0x80)) in r8712_cpwm_int_hdl() 96 pwrpriv->cpwm = (preportpwrstate->state) & 0xf; in r8712_cpwm_int_hdl() 101 pwrpriv->cpwm_tog = (preportpwrstate->state) & 0x80; in r8712_cpwm_int_hdl() 173 /* clear RPWM to ensure driver and fw back to initial state. */ in r8712_init_pwrctrl_priv() 183 * If not (cpwm should be is less than P2 state), then the sub-routine
|
/kernel/linux/linux-6.6/drivers/vdpa/solidrun/ |
H A D | snet_ctrl.c | 322 int snet_read_vq_state(struct snet *snet, u16 idx, struct vdpa_vq_state *state) in snet_read_vq_state() argument 324 return snet_ctrl_read_from_dpu(snet, SNET_CTRL_OP_READ_VQ_STATE, idx, state, in snet_read_vq_state() 325 sizeof(*state)); in snet_read_vq_state()
|
/kernel/linux/linux-6.6/drivers/clk/zynqmp/ |
H A D | pll.c | 230 unsigned int state; in zynqmp_pll_is_enabled() local 233 ret = zynqmp_pm_clock_getstate(clk_id, &state); in zynqmp_pll_is_enabled() 235 pr_debug("%s() clock get state failed for %s, ret = %d\n", in zynqmp_pll_is_enabled() 240 return state ? 1 : 0; in zynqmp_pll_is_enabled()
|
/kernel/linux/linux-6.6/drivers/comedi/drivers/ |
H A D | comedi_parport.c | 77 outb(s->state, dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits() 126 ctrl |= s->state; in parport_ctrl_reg_insn_bits() 130 data[1] = s->state; in parport_ctrl_reg_insn_bits()
|
/kernel/linux/linux-6.6/kernel/irq/ |
H A D | spurious.c | 154 unsigned int state; in poll_spurious_irqs() local 160 state = desc->istate; in poll_spurious_irqs() 162 if (!(state & IRQS_SPURIOUS_DISABLED)) in poll_spurious_irqs()
|
/kernel/linux/linux-6.6/arch/x86/entry/ |
H A D | common.c | 399 irqentry_state_t state = irqentry_enter(regs); in xen_pv_evtchn_do_upcall() local 406 if (inhcall && !WARN_ON_ONCE(state.exit_rcu)) { in xen_pv_evtchn_do_upcall() 412 irqentry_exit(regs, state); in xen_pv_evtchn_do_upcall()
|
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_protocol.c | 120 u32 state) in ipc_protocol_msg_send_host_sleep() 124 .sleep.state = state, in ipc_protocol_msg_send_host_sleep() 144 "irq ignored, CP IPC state is %d, should be RUNNING", in ipc_protocol_pm_dev_sleep_handle() 151 /* Get a copy of the requested PM state by the device and the local in ipc_protocol_pm_dev_sleep_handle() 152 * device PM state. in ipc_protocol_pm_dev_sleep_handle() 119 ipc_protocol_msg_send_host_sleep(struct iosm_protocol *ipc_protocol, u32 state) ipc_protocol_msg_send_host_sleep() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_encoder.c | 307 /* For atomic drivers only state objects are synchronously updated and in drm_encoder_get_crtc() 311 if (!connector->state) in drm_encoder_get_crtc() 316 if (connector->state->best_encoder != encoder) in drm_encoder_get_crtc() 320 return connector->state->crtc; in drm_encoder_get_crtc()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
H A D | dp_drm.c | 134 struct drm_atomic_state *atomic_state = old_bridge_state->base.state; in edp_bridge_atomic_enable() 141 * Check the old state of the crtc to determine if the panel in edp_bridge_atomic_enable() 142 * was put into psr state previously by the edp_bridge_atomic_disable. in edp_bridge_atomic_enable() 143 * If the panel is in psr, just exit psr state and skip the full in edp_bridge_atomic_enable() 164 struct drm_atomic_state *atomic_state = old_bridge_state->base.state; in edp_bridge_atomic_disable() 184 * Set self refresh mode if current crtc state is active. in edp_bridge_atomic_disable() 186 * If old crtc state is active, then this is a display disable in edp_bridge_atomic_disable() 187 * call while the sink is in psr state. So, exit psr here. in edp_bridge_atomic_disable() 192 * when display disable occurs while the sink is in psr state. in edp_bridge_atomic_disable() 209 struct drm_atomic_state *atomic_state = old_bridge_state->base.state; in edp_bridge_atomic_post_disable() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | ovly507e.c | 104 const struct drm_framebuffer *fb = asyw->state.fb; in ovly507e_acquire() 107 ret = drm_atomic_helper_check_plane_state(&asyw->state, &asyh->state, in ovly507e_acquire()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | msgq.c | 120 if (seq->state != SEQ_STATE_USED && seq->state != SEQ_STATE_CANCELLED) { in nvkm_falcon_msgq_exec() 125 if (seq->state == SEQ_STATE_USED) { in nvkm_falcon_msgq_exec()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | base.c | 80 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set() argument 87 int dir = !!(func.log[state] & 0x02); in nvkm_gpio_set() 88 int out = !!(func.log[state] & 0x01); in nvkm_gpio_set()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vkms/ |
H A D | vkms_drv.c | 123 static int vkms_atomic_check(struct drm_device *dev, struct drm_atomic_state *state) in vkms_atomic_check() argument 129 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in vkms_atomic_check() 138 return drm_atomic_helper_check(dev, state); in vkms_atomic_check()
|
/kernel/linux/linux-6.6/drivers/iio/position/ |
H A D | iqs624-pos.c | 184 int state) in iqs624_pos_write_event_config() 197 ret = iqs624_pos_angle_en(iqs62x, state); in iqs624_pos_write_event_config() 202 iqs624_pos->angle_en = state; in iqs624_pos_write_event_config() 180 iqs624_pos_write_event_config(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, enum iio_event_type type, enum iio_event_direction dir, int state) iqs624_pos_write_event_config() argument
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-mips-cpu.c | 186 struct cpu_ipi_domain_state *state = domain->host_data; in mips_cpu_ipi_alloc() local 191 hwirq = find_first_zero_bit(state->allocated, 2); in mips_cpu_ipi_alloc() 194 bitmap_set(state->allocated, hwirq, 1); in mips_cpu_ipi_alloc()
|