Searched refs:state (Results 376 - 400 of 7100) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/media/i2c/
H A Dupd64031a.c102 struct upd64031a_state *state = to_state(sd); local
103 u8 reg = state->regs[R00];
116 struct upd64031a_state *state = to_state(sd); local
119 state->gr_mode = (input & 3) << 6;
120 state->direct_3dycs_connect = (input & 0xc) << 4;
121 state->ext_comp_sync =
123 state->ext_vert_sync =
125 r00 = (state->regs[R00] & ~GR_MODE_MASK) | state->gr_mode;
126 r05 = (state
188 struct upd64031a_state *state; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crtc.c68 return acrtc->dm_irq_params.freesync_config.state ==
70 acrtc->dm_irq_params.freesync_config.state ==
95 return dm_state->freesync_config.state == VRR_STATE_ACTIVE_VARIABLE ||
96 dm_state->freesync_config.state == VRR_STATE_ACTIVE_FIXED;
199 struct dm_crtc_state *acrtc_state = to_dm_crtc_state(crtc->state);
262 struct drm_crtc_state *state)
264 struct dm_crtc_state *cur = to_dm_crtc_state(state);
271 __drm_atomic_helper_crtc_destroy_state(state);
274 kfree(state);
279 struct dm_crtc_state *state, *cu local
261 amdgpu_dm_crtc_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *state) argument
320 struct dm_crtc_state *state; local
363 amdgpu_dm_atomic_crtc_set_property(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val) argument
388 amdgpu_dm_atomic_crtc_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) argument
435 struct drm_atomic_state *state = new_crtc_state->state; local
487 amdgpu_dm_crtc_helper_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *state) argument
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Ds5h1411.c330 static int s5h1411_writereg(struct s5h1411_state *state, argument
338 ret = i2c_transfer(state->i2c, &msg, 1);
347 static u16 s5h1411_readreg(struct s5h1411_state *state, u8 addr, u8 reg) argument
357 ret = i2c_transfer(state->i2c, msg, 2);
367 struct s5h1411_state *state = fe->demodulator_priv; local
371 s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0xf7, 0);
372 s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0xf7, 1);
378 struct s5h1411_state *state = fe->demodulator_priv; local
384 s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0x38, 0x10d5);
385 s5h1411_writereg(state, S5H1411_I2C_TOP_ADD
417 struct s5h1411_state *state = fe->demodulator_priv; local
447 struct s5h1411_state *state = fe->demodulator_priv; local
462 struct s5h1411_state *state = fe->demodulator_priv; local
477 struct s5h1411_state *state = fe->demodulator_priv; local
519 struct s5h1411_state *state = fe->demodulator_priv; local
531 struct s5h1411_state *state = fe->demodulator_priv; local
547 struct s5h1411_state *state = fe->demodulator_priv; local
568 struct s5h1411_state *state = fe->demodulator_priv; local
579 struct s5h1411_state *state = fe->demodulator_priv; local
610 struct s5h1411_state *state = fe->demodulator_priv; local
652 struct s5h1411_state *state = fe->demodulator_priv; local
760 struct s5h1411_state *state = fe->demodulator_priv; local
819 struct s5h1411_state *state = fe->demodulator_priv; local
834 struct s5h1411_state *state = fe->demodulator_priv; local
851 struct s5h1411_state *state = fe->demodulator_priv; local
860 struct s5h1411_state *state = NULL; local
[all...]
H A Dstb6100.c121 static int stb6100_read_regs(struct stb6100_state *state, u8 regs[]) argument
125 .addr = state->config->tuner_address,
131 rc = i2c_transfer(state->i2c, &msg, 1);
134 state->config->tuner_address, rc);
141 dprintk(verbose, FE_DEBUG, 1, " Read from 0x%02x", state->config->tuner_address);
148 static int stb6100_read_reg(struct stb6100_state *state, u8 reg) argument
153 .addr = state->config->tuner_address + reg,
159 i2c_transfer(state->i2c, &msg, 1);
166 dprintk(verbose, FE_DEBUG, 1, " Read from 0x%02x", state->config->tuner_address);
173 static int stb6100_write_reg_range(struct stb6100_state *state, u argument
215 stb6100_write_reg(struct stb6100_state *state, u8 reg, u8 data) argument
231 struct stb6100_state *state = fe->tuner_priv; local
246 struct stb6100_state *state = fe->tuner_priv; local
264 struct stb6100_state *state = fe->tuner_priv; local
303 struct stb6100_state *state = fe->tuner_priv; local
328 struct stb6100_state *state = fe->tuner_priv; local
488 struct stb6100_state *state = fe->tuner_priv; local
535 struct stb6100_state *state = NULL; local
554 struct stb6100_state *state = fe->tuner_priv; local
[all...]
H A Dau8522_dig.c234 struct au8522_state *state = fe->demodulator_priv; local
262 au8522_writereg(state, 0x00b5, r0b5);
263 au8522_writereg(state, 0x00b6, r0b6);
264 au8522_writereg(state, 0x00b7, r0b7);
544 struct au8522_state *state = fe->demodulator_priv; local
553 au8522_writereg(state,
556 au8522_set_if(fe, state->config.vsb_if);
561 au8522_writereg(state,
564 au8522_set_if(fe, state->config.qam_if);
570 au8522_writereg(state,
599 struct au8522_state *state = fe->demodulator_priv; local
636 struct au8522_state *state = fe->demodulator_priv; local
692 au8522_led_status(struct au8522_state *state, const u16 *snr) argument
727 struct au8522_state *state = fe->demodulator_priv; local
791 struct au8522_state *state = fe->demodulator_priv; local
809 struct au8522_state *state = fe->demodulator_priv; local
829 struct au8522_state *state = fe->demodulator_priv; local
836 struct au8522_state *state = NULL; local
[all...]
/linux-master/drivers/iio/chemical/
H A Dpms7003.c75 struct mutex lock; /* must be held whenever state gets touched */
83 static int pms7003_do_cmd(struct pms7003_state *state, enum pms7003_cmd cmd) argument
87 ret = serdev_device_write(state->serdev, pms7003_cmd_tbl[cmd],
92 ret = wait_for_completion_interruptible_timeout(&state->frame_ready,
110 struct pms7003_state *state = iio_priv(indio_dev); local
111 struct pms7003_frame *frame = &state->frame;
114 mutex_lock(&state->lock);
115 ret = pms7003_do_cmd(state, CMD_READ_PASSIVE);
117 mutex_unlock(&state->lock);
121 state
141 struct pms7003_state *state = iio_priv(indio_dev); local
218 struct pms7003_state *state = iio_priv(indio_dev); local
263 struct pms7003_state *state = data; local
272 struct pms7003_state *state; local
[all...]
/linux-master/kernel/
H A Dcontext_tracking.c16 * RCU extended quiescent state bits imported from kernel/rcu/tree.c
34 .state = ATOMIC_INIT(RCU_DYNTICKS_IDX),
76 * Record entry into an extended quiescent state. This is only to be
77 * called when not already in an extended quiescent state, that is,
92 // RCU is no longer watching. Better be in extended quiescent state!
97 * Record exit from an extended quiescent state. This is only to be
98 * called from an extended quiescent state, that is, RCU is not watching
111 // RCU is now watching. Better not be in an extended quiescent state!
117 * Enter an RCU extended quiescent state, which can be either the
145 instrument_atomic_write(&ct->state, sizeo
468 __ct_user_enter(enum ctx_state state) argument
557 ct_user_enter(enum ctx_state state) argument
610 __ct_user_exit(enum ctx_state state) argument
667 ct_user_exit(enum ctx_state state) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-wiimote-core.c58 spin_lock_irqsave(&wdata->state.lock, flags);
60 spin_unlock_irqrestore(&wdata->state.lock, flags);
126 if (wdata->state.flags & WIIPROTO_FLAG_RUMBLE)
135 if (rumble == !!(wdata->state.flags & WIIPROTO_FLAG_RUMBLE))
139 wdata->state.flags |= WIIPROTO_FLAG_RUMBLE;
141 wdata->state.flags &= ~WIIPROTO_FLAG_RUMBLE;
155 if ((wdata->state.flags & WIIPROTO_FLAGS_LEDS) == leds)
157 wdata->state.flags = (wdata->state.flags & ~WIIPROTO_FLAGS_LEDS) | leds;
196 __u8 ir = wdata->state
[all...]
/linux-master/arch/mips/cavium-octeon/crypto/
H A Docteon-crypto.c19 * sure the state of COP2 isn't corrupted if userspace is also performing
20 * hardware crypto operations. Allocate the state parameter on the stack.
23 * @state: Pointer to state structure to store current COP2 state in.
27 unsigned long octeon_crypto_enable(struct octeon_cop2_state *state) argument
41 octeon_cop2_save(state);
53 * @state: Pointer to COP2 state to restore
56 void octeon_crypto_disable(struct octeon_cop2_state *state, argument
[all...]
/linux-master/include/linux/mfd/
H A Dqcom_rpm.h12 int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
/linux-master/kernel/livepatch/
H A Dtransition.h9 void klp_init_transition(struct klp_patch *patch, int state);
H A DMakefile4 livepatch-objs := core.o patch.o shadow.o state.o transition.o
/linux-master/drivers/net/wireless/st/cw1200/
H A Dpm.c161 struct cw1200_suspend_state *state; local
209 /* Allocate state */
210 state = kzalloc(sizeof(struct cw1200_suspend_state), GFP_KERNEL);
211 if (!state)
218 state->prev_ps_mode = priv->powersave_mode.mode;
228 state->bss_loss_tmo =
230 state->join_tmo =
232 state->direct_probe =
234 state->link_id_gc =
244 state
306 struct cw1200_suspend_state *state; local
[all...]
/linux-master/include/xen/interface/io/
H A Dtpmif.h14 * Xenbus state machine
28 * 3. Backend unmaps grant and event, changes state to InitWait
37 /* The backend should only change state to IDLE or FINISH, while the
44 uint8_t state; /* enum vtpm_shared_page_state */ member in struct:vtpm_shared_page
/linux-master/block/partitions/
H A Dultrix.c12 int ultrix_partition(struct parsed_partitions *state) argument
29 data = read_part_sector(state, (16384 - sizeof(*label))/512, &sect);
38 put_partition(state, i+1,
42 strlcat(state->pp_buf, "\n", PAGE_SIZE);
/linux-master/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c46 int cpu, state; local
49 for (state = 0; state < cpuidle_sysfs_monitor.hw_states_num;
50 state++) {
51 previous_count[cpu][state] =
52 cpuidle_state_time(cpu, state);
54 cpu, state, previous_count[cpu][state]);
62 int cpu, state; local
68 for (state
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/
H A Dia_css_dpc2.host.h30 void *state,
/linux-master/include/linux/
H A Dpsci.h19 int psci_cpu_suspend_enter(u32 state);
20 bool psci_power_state_is_valid(u32 state);
26 int (*cpu_suspend)(u32 state, unsigned long entry_point);
27 int (*cpu_off)(u32 state);
H A Dks0108.h20 /* Set the controller's current display state (0..1) */
21 extern void ks0108_displaystate(unsigned char state);
H A Dinterval_tree.h67 void interval_tree_span_iter_first(struct interval_tree_span_iter *state,
74 void interval_tree_span_iter_next(struct interval_tree_span_iter *state);
77 interval_tree_span_iter_done(struct interval_tree_span_iter *state) argument
79 return state->is_hole == -1;
/linux-master/tools/build/feature/
H A Dtest-libtraceevent.c9 rv += !(s.state == TRACE_SEQ__GOOD);
/linux-master/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser_helper.c68 uint32_t state)
70 REG_UPDATE(BIOS_SCRATCH_6, S6_ACC_MODE, state);
76 bool state)
78 uint32_t critial_state = state ? 1 : 0;
66 bios_set_scratch_acc_mode_change( struct dc_bios *bios, uint32_t state) argument
74 bios_set_scratch_critical_state( struct dc_bios *bios, bool state) argument
/linux-master/drivers/staging/media/atomisp/pci/
H A Dia_css_isp_states.c32 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.aa.size;
34 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.aa.offset;
54 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.cnr.size;
56 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.cnr.offset;
78 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.cnr2.size;
80 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.cnr2.offset;
102 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.dp.size;
104 unsigned int offset = binary->info->mem_offsets.offsets.state->vmem.dp.offset;
126 unsigned int size = binary->info->mem_offsets.offsets.state->vmem.de.size;
128 unsigned int offset = binary->info->mem_offsets.offsets.state
[all...]
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_framebuffer.c18 struct drm_atomic_state *state)
22 ret = drm_atomic_helper_check_modeset(dev, state);
26 ret = drm_atomic_normalize_zpos(dev, state);
30 return drm_atomic_helper_check_planes(dev, state);
17 sun4i_de_atomic_check(struct drm_device *dev, struct drm_atomic_state *state) argument
/linux-master/tools/testing/selftests/bpf/progs/
H A Dcgroup_hierarchical_stats.c13 /* Previous percpu state, to figure out if we have new updates */
15 /* Current percpu state */
16 __u64 state; member in struct:percpu_attach_counter
22 /* Total state, including all cpus and all children */
23 __u64 state; member in struct:attach_counter
48 static int create_percpu_attach_counter(__u64 cg_id, __u64 state) argument
50 struct percpu_attach_counter pcpu_init = {.state = state, .prev = 0};
56 static int create_attach_counter(__u64 cg_id, __u64 state, __u64 pending) argument
58 struct attach_counter init = {.state
89 __u64 state; local
[all...]

Completed in 204 milliseconds

<<11121314151617181920>>