Home
last modified time | relevance | path

Searched refs:state (Results 7051 - 7075 of 20928) sorted by relevance

1...<<281282283284285286287288289290>>...838

/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dcomedi_parport.c78 outb(s->state, dev->iobase + PARPORT_DATA_REG); in parport_data_reg_insn_bits()
127 ctrl |= s->state; in parport_ctrl_reg_insn_bits()
131 data[1] = s->state; in parport_ctrl_reg_insn_bits()
218 comedi_buf_write_samples(s, &s->state, 1); in parport_interrupt()
H A Ddyna_pci10xx.c137 data[0] = s->state; in dyna_pci10xx_di_insn_bits()
152 outw_p(s->state, devpriv->BADR3); in dyna_pci10xx_do_insn_bits()
156 data[1] = s->state; in dyna_pci10xx_do_insn_bits()
220 s->state = 0; in dyna_pci10xx_auto_attach()
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A DcinergyT2-core.c81 deb_rc("cinergyt2_power_ctrl() Failed to retrieve sleep state info\n"); in cinergyt2_frontend_attach()
142 static int cinergyt2_rc_query(struct dvb_usb_device *d, u32 *event, int *state) in cinergyt2_rc_query() argument
147 *state = REMOTE_NO_KEY_PRESSED; in cinergyt2_rc_query()
162 *state = REMOTE_KEY_REPEAT; in cinergyt2_rc_query()
176 dvb_usb_nec_rc_key_to_event(d, st->data, event, state); in cinergyt2_rc_query()
H A Ddvb-usb.h65 * pre-firmware state
67 * post-firmware state
258 * @identify_state: called to determine the state (cold or warm), when it
327 * @state: state of the stream
346 int state; member
391 * @state: status
412 int state; member
435 * @state: initialization and runtime state o
473 int state; global() member
[all...]
H A Dnova-t-usb2.c72 static int nova_t_rc_query(struct dvb_usb_device *d, u32 *event, int *state) in nova_t_rc_query() argument
89 *state = REMOTE_NO_KEY_PRESSED; in nova_t_rc_query()
108 *state = REMOTE_KEY_PRESSED; in nova_t_rc_query()
111 *state = REMOTE_NO_KEY_PRESSED; in nova_t_rc_query()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_txrx.c54 if (unlikely(!test_bit(MLX5E_SQ_STATE_DIM, &sq->state))) in mlx5e_handle_tx_dim()
66 if (unlikely(!test_bit(MLX5E_RQ_STATE_DIM, &rq->state))) in mlx5e_handle_rx_dim()
145 xsk_open = test_bit(MLX5E_CHANNEL_STATE_XSK, c->state); in mlx5e_napi_poll()
186 clear_bit(MLX5E_SQ_STATE_PENDING_XSK_TX, &c->async_icosq.state); in mlx5e_napi_poll()
/kernel/linux/linux-6.6/include/net/
H A Dbond_3ad.h224 u16 sm_vars; /* all state machines variables for this port */
225 rx_states_t sm_rx_state; /* state machine rx state */
226 u16 sm_rx_timer_counter; /* state machine rx timer counter */
227 periodic_states_t sm_periodic_state; /* state machine periodic state */
228 u16 sm_periodic_timer_counter; /* state machine periodic timer counter */
229 mux_states_t sm_mux_state; /* state machine mux state */
230 u16 sm_mux_timer_counter; /* state machin
274 bond_3ad_churn_desc(churn_state_t state) bond_3ad_churn_desc() argument
[all...]
/kernel/linux/linux-6.6/drivers/pmdomain/sunxi/
H A Dsun20i-ppu.c60 u32 state, status; in sun20i_ppu_pd_set_power() local
72 state = power_on ? PD_STATE_ON : PD_STATE_OFF; in sun20i_ppu_pd_set_power()
73 writel(state, pd->base + PD_COMMAND_REG); in sun20i_ppu_pd_set_power()
75 /* Wait for the state transition to complete. */ in sun20i_ppu_pd_set_power()
77 FIELD_GET(PD_STATUS_STATE, status) == state && in sun20i_ppu_pd_set_power()
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dusb-acpi.c106 * @enable: power state expected to be set
118 unsigned char state; in usb_acpi_set_power_state() local
131 state = ACPI_STATE_D0; in usb_acpi_set_power_state()
133 state = ACPI_STATE_D3_COLD; in usb_acpi_set_power_state()
135 error = acpi_bus_set_power(port_handle, state); in usb_acpi_set_power_state()
/kernel/linux/linux-6.6/drivers/video/fbdev/intelfb/
H A Dintelfb_i2c.c54 static void intelfb_gpio_setscl(void *data, int state) in intelfb_gpio_setscl() argument
60 OUTREG(chan->reg, (state ? SCL_VAL_OUT : 0) | in intelfb_gpio_setscl()
65 static void intelfb_gpio_setsda(void *data, int state) in intelfb_gpio_setsda() argument
71 OUTREG(chan->reg, (state ? SDA_VAL_OUT : 0) | in intelfb_gpio_setsda()
/kernel/linux/linux-6.6/drivers/video/fbdev/i810/
H A Di810-i2c.c42 static void i810i2c_setscl(void *data, int state) in i810i2c_setscl() argument
48 if (state) in i810i2c_setscl()
55 static void i810i2c_setsda(void *data, int state) in i810i2c_setsda() argument
61 if (state) in i810i2c_setsda()
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Ddyna_pci10xx.c136 data[0] = s->state; in dyna_pci10xx_di_insn_bits()
151 outw_p(s->state, devpriv->BADR3); in dyna_pci10xx_do_insn_bits()
155 data[1] = s->state; in dyna_pci10xx_do_insn_bits()
219 s->state = 0; in dyna_pci10xx_auto_attach()
/kernel/linux/linux-6.6/kernel/locking/
H A Dspinlock_rt.c8 * - Contrary to plain rtmutexes, spinlocks and rwlocks are state
9 * preserving. The task state is saved before blocking on the underlying
11 * during that time are redirected to the saved state so no wake up is
28 * __might_resched() skips the state check as rtlocks are state
148 #define rwbase_set_and_save_current_state(state) \
155 rwbase_rtmutex_lock_state(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_lock_state() argument
163 rwbase_rtmutex_slowlock_locked(struct rt_mutex_base *rtm, unsigned int state) in rwbase_rtmutex_slowlock_locked() argument
185 #define rwbase_signal_pending_state(state, current) (0)
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dsha512_ssse3_glue.c42 asmlinkage void sha512_transform_ssse3(struct sha512_state *state,
56 * 512-bit internal state, as this is what the asm functions expect. in sha512_update()
58 BUILD_BUG_ON(offsetof(struct sha512_state, state) != 0); in sha512_update()
145 asmlinkage void sha512_transform_avx(struct sha512_state *state,
221 asmlinkage void sha512_transform_rorx(struct sha512_state *state,
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/
H A Drt2800soc.c55 enum dev_state state) in rt2800soc_set_device_state()
59 switch (state) { in rt2800soc_set_device_state()
70 rt2800mmio_toggle_irq(rt2x00dev, state); in rt2800soc_set_device_state()
87 rt2x00_err(rt2x00dev, "Device failed to enter state %d (%d)\n", in rt2800soc_set_device_state()
88 state, retval); in rt2800soc_set_device_state()
54 rt2800soc_set_device_state(struct rt2x00_dev *rt2x00dev, enum dev_state state) rt2800soc_set_device_state() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_connector.c47 * need it we'll free the state and allocate a smaller one on the first in intel_connector_init()
82 * Otherwise the destroy callbacks for the connector and the state should
87 kfree(to_intel_digital_connector_state(connector->base.state)); in intel_connector_free()
152 * one connector and no cloning and hence the encoder state determines the state
170 if (!connector->base.state->crtc) in intel_connector_get_pipe()
173 return to_intel_crtc(connector->base.state->crtc)->pipe; in intel_connector_get_pipe()
309 connector->state->scaling_mode = DRM_MODE_SCALE_ASPECT; in intel_attach_scaling_mode_property()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dfiji_baco.c153 int fiji_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in fiji_baco_set_state() argument
159 if (cur_state == state) in fiji_baco_set_state()
160 /* aisc already in the target state */ in fiji_baco_set_state()
163 if (state == BACO_STATE_IN) { in fiji_baco_set_state()
175 } else if (state == BACO_STATE_OUT) { in fiji_baco_set_state()
H A Dci_baco.c155 int ci_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state) in ci_baco_set_state() argument
161 if (cur_state == state) in ci_baco_set_state()
162 /* aisc already in the target state */ in ci_baco_set_state()
165 if (state == BACO_STATE_IN) { in ci_baco_set_state()
176 } else if (state == BACO_STATE_OUT) { in ci_baco_set_state()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbus.c47 nvkm_i2c_bus_setscl(void *data, int state) in nvkm_i2c_bus_setscl() argument
50 bus->func->drive_scl(bus, state); in nvkm_i2c_bus_setscl()
54 nvkm_i2c_bus_setsda(void *data, int state) in nvkm_i2c_bus_setsda() argument
57 bus->func->drive_sda(bus, state); in nvkm_i2c_bus_setsda()
/kernel/linux/linux-6.6/net/rose/
H A Drose_timer.c125 switch (rose->state) { in rose_heartbeat_expiry()
140 * Check for the state of the receive buffer. in rose_heartbeat_expiry()
165 switch (rose->state) { in rose_timer_expiry()
169 rose->state = ROSE_STATE_2; in rose_timer_expiry()
198 rose_sk(sk)->state = ROSE_STATE_2; in rose_idletimer_expiry()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_evmcs.c5 * Tests for Enlightened VMCS, including nested guest state.
210 struct kvm_x86_state *state; in save_restore_vm() local
212 state = vcpu_save_state(vcpu); in save_restore_vm()
218 /* Restore state in a new VM. */ in save_restore_vm()
222 vcpu_load_state(vcpu, state); in save_restore_vm()
223 kvm_x86_state_cleanup(state); in save_restore_vm()
/kernel/linux/linux-6.6/sound/drivers/opl3/
H A Dopl3_seq.c54 opl3->voices[idx].state = SNDRV_OPL3_ST_OFF; in snd_opl3_synth_setup()
101 opl3->voices[6].state = opl3->voices[7].state = in snd_opl3_synth_use()
102 opl3->voices[8].state = SNDRV_OPL3_ST_NOT_AVAIL; in snd_opl3_synth_use()
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
H A Dconntrack_tcp_unreplied.sh79 ip netns exec $ns1 iptables -A INPUT -m state --state established,related -j ACCEPT
97 ct state new tcp flags syn ip daddr 10.99.99.99 tcp dport 80 counter name "connreq" accept
98 ct state new ct status dnat tcp dport 8080 counter name "redir" accept
/kernel/liteos_a/kernel/base/include/
H A Dlos_task_pri.h58 #define SCHEDULER_LOCK(state) LOS_SpinLockSave(&g_taskSpin, &(state))
59 #define SCHEDULER_UNLOCK(state) LOS_SpinUnlockRestore(&g_taskSpin, state)
/kernel/liteos_a/kernel/base/mem/membox/
H A Dlos_membox.c53 #define MEMBOX_LOCK(state) LOS_SpinLockSave(&g_memboxSpin, &(state))
54 #define MEMBOX_UNLOCK(state) LOS_SpinUnlockRestore(&g_memboxSpin, (state))

Completed in 18 milliseconds

1...<<281282283284285286287288289290>>...838