Home
last modified time | relevance | path

Searched refs:state (Results 5226 - 5250 of 20959) sorted by relevance

1...<<201202203204205206207208209210>>...839

/kernel/linux/linux-5.10/drivers/clk/tegra/
H A Dclk-pll-out.c22 int state; in clk_pll_out_is_enabled() local
24 state = (val & pll_out_enb(pll_out)) ? 1 : 0; in clk_pll_out_is_enabled()
26 state = 0; in clk_pll_out_is_enabled()
27 return state; in clk_pll_out_is_enabled()
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
H A Dmtk_sgmii.c64 const struct phylink_link_state *state) in mtk_sgmii_setup_mode_force()
73 if (state->interface == PHY_INTERFACE_MODE_2500BASEX) in mtk_sgmii_setup_mode_force()
86 switch (state->speed) { in mtk_sgmii_setup_mode_force()
99 if (state->duplex == DUPLEX_FULL) in mtk_sgmii_setup_mode_force()
104 /* Release PHYA power down state */ in mtk_sgmii_setup_mode_force()
63 mtk_sgmii_setup_mode_force(struct mtk_sgmii *ss, int id, const struct phylink_link_state *state) mtk_sgmii_setup_mode_force() argument
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dspinlock_test.c51 struct spin_multi_state *state; member
60 struct spin_multi_state *s = pt->state; in multi_other()
103 t1.state = &ms; in multi_get()
104 t2.state = &ms; in multi_get()
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A Dptrace.h18 unsigned long state:8, vec:8, cause:8, param:8; member
20 unsigned long param:8, cause:8, vec:8, state:8;
51 * Last word used by Linux for extra state mgmt (syscall-restart)
128 #define syscall_wont_restart(regs) (regs->ecr.state |= STATE_SCALL_RESTARTED)
129 #define syscall_restartable(regs) !(regs->ecr.state & STATE_SCALL_RESTARTED)
/kernel/linux/linux-6.6/arch/arm/mach-ux500/
H A Dpm.c80 * does not prevent the interrupt from changing state, for example
138 * monitor them and abort/finish the retention/off sequence or state.
156 static int ux500_suspend_enter(suspend_state_t state) in ux500_suspend_enter() argument
162 static int ux500_suspend_valid(suspend_state_t state) in ux500_suspend_valid() argument
164 return state == PM_SUSPEND_MEM || state == PM_SUSPEND_STANDBY; in ux500_suspend_valid()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
H A Devmcs_test.c5 * Tests for Enlightened VMCS, including nested guest state.
88 struct kvm_x86_state *state; in main() local
138 state = vcpu_save_state(vm, VCPU_ID); in main()
144 /* Restore state in a new VM. */ in main()
149 vcpu_load_state(vm, VCPU_ID, state); in main()
151 free(state); in main()
H A Dsmm_test.c99 struct kvm_x86_state *state; in main() local
152 state = vcpu_save_state(vm, VCPU_ID); in main()
157 vcpu_load_state(vm, VCPU_ID, state); in main()
159 free(state); in main()
/kernel/linux/linux-5.10/drivers/hv/
H A Dhv_debugfs.c82 /* Setup test state value for vmbus device */
86 bool *state = &channel->fuzz_testing_state; in hv_debug_set_test_state() local
91 state, in hv_debug_set_test_state()
159 bool state = test_channel->fuzz_testing_state; in hv_debug_delay_test() local
161 if (state) { in hv_debug_delay_test()
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_cmd_v5.c119 ctx->state = MFCINST_ERROR; in s5p_mfc_open_inst_cmd_v5()
130 if (ctx->state == MFCINST_FREE) { in s5p_mfc_close_inst_cmd_v5()
132 ctx->state = MFCINST_ERROR; in s5p_mfc_close_inst_cmd_v5()
144 ctx->state = MFCINST_ERROR; in s5p_mfc_close_inst_cmd_v5()
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_lid_angle.c93 struct cros_ec_lid_angle_state *state; in cros_ec_lid_angle_probe() local
96 indio_dev = devm_iio_device_alloc(dev, sizeof(*state)); in cros_ec_lid_angle_probe()
106 state = iio_priv(indio_dev); in cros_ec_lid_angle_probe()
110 state->core.read_ec_sensors_data = cros_ec_sensors_read_lid_angle; in cros_ec_lid_angle_probe()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-hydra.c44 static void hydra_bit_setscl(void *data, int state) in hydra_bit_setscl() argument
47 if (state) in hydra_bit_setscl()
56 static void hydra_bit_setsda(void *data, int state) in hydra_bit_setsda() argument
59 if (state) in hydra_bit_setsda()
H A Di2c-via.c41 static void bit_via_setscl(void *data, int state) in bit_via_setscl() argument
43 outb(state ? inb(I2C_DIR) & ~I2C_SCL : inb(I2C_DIR) | I2C_SCL, I2C_DIR); in bit_via_setscl()
46 static void bit_via_setsda(void *data, int state) in bit_via_setsda() argument
48 outb(state ? inb(I2C_DIR) & ~I2C_SDA : inb(I2C_DIR) | I2C_SDA, I2C_DIR); in bit_via_setsda()
H A Di2c-versatile.c29 static void i2c_versatile_setsda(void *data, int state) in i2c_versatile_setsda() argument
33 writel(SDA, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC)); in i2c_versatile_setsda()
36 static void i2c_versatile_setscl(void *data, int state) in i2c_versatile_setscl() argument
40 writel(SCL, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC)); in i2c_versatile_setscl()
H A Di2c-simtec.c34 static void simtec_i2c_setsda(void *pw, int state) in simtec_i2c_setsda() argument
37 writeb(CMD_SET_SDA | (state ? STATE_SDA : 0), pd->reg); in simtec_i2c_setsda()
40 static void simtec_i2c_setscl(void *pw, int state) in simtec_i2c_setscl() argument
43 writeb(CMD_SET_SCL | (state ? STATE_SCL : 0), pd->reg); in simtec_i2c_setscl()
/kernel/linux/linux-5.10/drivers/iio/dummy/
H A Diio_simple_dummy_events.c23 * @chan: channel for the event whose state is being queried
24 * @type: type of the event whose state is being queried
25 * @dir: direction of the vent whose state is being queried
43 * @chan: channel for the event whose state is being set
44 * @type: type of the event whose state is being set
45 * @dir: direction of the vent whose state is being set
46 * @state: whether to enable or disable the device.
56 int state) in iio_simple_dummy_write_event_config()
69 st->event_en = state; in iio_simple_dummy_write_event_config()
80 st->event_en = state; in iio_simple_dummy_write_event_config()
52 iio_simple_dummy_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) iio_simple_dummy_write_event_config() argument
[all...]
/kernel/linux/linux-5.10/net/x25/
H A Dx25_timer.c95 if (sock_owned_by_user(sk)) /* can currently only occur in state 3 */ in x25_heartbeat_expiry()
98 switch (x25_sk(sk)->state) { in x25_heartbeat_expiry()
117 * Check for the state of the receive buffer. in x25_heartbeat_expiry()
129 * by the state machine state.
135 switch (x25->state) { in x25_do_timer_expiry()
147 x25->state = X25_STATE_2; in x25_do_timer_expiry()
163 if (sock_owned_by_user(sk)) { /* can currently only occur in state 3 */ in x25_timer_expiry()
164 if (x25_sk(sk)->state == X25_STATE_3) in x25_timer_expiry()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dskl-sst-ipc.h41 enum skl_dsp_states *state; member
51 * @state: current state
58 enum skl_dsp_d0i3_states state; member
116 u8 instance_id, enum skl_ipc_pipeline_state state);
151 int skl_ipc_check_D0i0(struct sst_dsp *dsp, bool state);
/kernel/linux/linux-5.10/tools/bpf/runqslower/
H A Drunqslower.c44 static error_t parse_arg(int key, char *arg, struct argp_state *state) in parse_arg() argument
59 argp_usage(state); in parse_arg()
67 argp_usage(state); in parse_arg()
73 argp_usage(state); in parse_arg()
/kernel/linux/linux-5.10/include/trace/events/
H A Dsctp.h22 __field(__u32, state)
34 __entry->state = sp->state;
42 TP_printk("asoc=%#llx%s ipaddr=%pISpc state=%u cwnd=%u ssthresh=%u "
45 __entry->ipaddr, __entry->state, __entry->cwnd,
/kernel/linux/linux-5.10/include/sound/
H A Dcompress_driver.h24 * @state: stream state
42 snd_pcm_state_t state; member
187 /* for partial_drain case we are back to running state on success */ in snd_compr_drain_notify()
189 stream->runtime->state = SNDRV_PCM_STATE_RUNNING; in snd_compr_drain_notify()
192 stream->runtime->state = SNDRV_PCM_STATE_SETUP; in snd_compr_drain_notify()
229 snd_pcm_state_t state);
/kernel/linux/linux-5.10/net/llc/
H A Dllc_if.c38 * closed and -EBUSY when sending data is not permitted in this state or
50 if (unlikely(llc->state == LLC_CONN_STATE_ADM)) in llc_build_and_send_pkt()
53 if (unlikely(llc_data_accept_state(llc->state) || /* data_conn_refuse */ in llc_build_and_send_pkt()
79 * component state machine. Success or failure of connection
126 * and sends it to connection component state machine. Returns 0 for
137 llc_sk(sk)->state == LLC_CONN_STATE_ADM || in llc_send_disc()
138 llc_sk(sk)->state == LLC_CONN_OUT_OF_SVC) in llc_send_disc()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbusnv50.c36 nv50_i2c_bus_drive_scl(struct nvkm_i2c_bus *base, int state) in nv50_i2c_bus_drive_scl() argument
40 if (state) bus->data |= 0x01; in nv50_i2c_bus_drive_scl()
46 nv50_i2c_bus_drive_sda(struct nvkm_i2c_bus *base, int state) in nv50_i2c_bus_drive_sda() argument
50 if (state) bus->data |= 0x02; in nv50_i2c_bus_drive_sda()
H A Dbusnv04.c36 nv04_i2c_bus_drive_scl(struct nvkm_i2c_bus *base, int state) in nv04_i2c_bus_drive_scl() argument
41 if (state) val |= 0x20; in nv04_i2c_bus_drive_scl()
47 nv04_i2c_bus_drive_sda(struct nvkm_i2c_bus *base, int state) in nv04_i2c_bus_drive_sda() argument
52 if (state) val |= 0x10; in nv04_i2c_bus_drive_sda()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dintel_mrfld_pwrbtn.c27 unsigned int state; in mrfld_pwrbtn_interrupt() local
30 ret = regmap_read(regmap, BCOVE_PBSTATUS, &state); in mrfld_pwrbtn_interrupt()
34 dev_dbg(dev, "PBSTATUS=0x%x\n", state); in mrfld_pwrbtn_interrupt()
35 input_report_key(input, KEY_POWER, !(state & BCOVE_PBSTATUS_PBLVL)); in mrfld_pwrbtn_interrupt()
/kernel/linux/linux-5.10/drivers/scsi/isci/
H A Dunsolicited_frame_control.c116 uf->state = UNSOLICITED_FRAME_EMPTY; in sci_unsolicited_frame_control_construct()
184 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; in sci_unsolicited_frame_control_release_frame()
198 while (uf_control->buffers.array[frame_get].state == UNSOLICITED_FRAME_RELEASED) { in sci_unsolicited_frame_control_release_frame()
199 uf_control->buffers.array[frame_get].state = UNSOLICITED_FRAME_EMPTY; in sci_unsolicited_frame_control_release_frame()

Completed in 14 milliseconds

1...<<201202203204205206207208209210>>...839