Home
last modified time | relevance | path

Searched full:cx (Results 1 – 25 of 248) sorted by relevance

12345678910

/linux/drivers/media/pci/cx18/
H A Dcx18-ioctl.c56 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() local
57 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap()
60 pixfmt->width = cx->cxhdl.width; in cx18_g_fmt_vid_cap()
61 pixfmt->height = cx->cxhdl.height; in cx18_g_fmt_vid_cap()
80 struct cx18 *cx = id->cx; in cx18_try_fmt_vid_cap() local
88 h = min(h, cx->is_50hz ? 576 : 480); in cx18_try_fmt_vid_cap()
89 h = max(h, (cx->is_50hz ? 576 : 480) / 8); in cx18_try_fmt_vid_cap()
125 struct cx18 *cx = id->cx; in cx18_s_fmt_vid_cap() local
129 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap()
139 if (cx->cxhdl.width == w && cx->cxhdl.height == h && in cx18_s_fmt_vid_cap()
[all …]
H A Dcx18-streams.c109 struct cx18 *cx = s->cx; in cx18_queue_setup() local
117 szimage = cx->cxhdl.height * 720 * 3 / 2; in cx18_queue_setup()
119 szimage = cx->cxhdl.height * 720 * 2; in cx18_queue_setup()
156 struct cx18 *cx = s->cx; in cx18_buf_prepare() local
164 size = cx->cxhdl.height * 720 * 3 / 2; in cx18_buf_prepare()
166 size = cx->cxhdl.height * 720 * 2; in cx18_buf_prepare()
234 static int cx18_stream_init(struct cx18 *cx, int type) in cx18_stream_init() argument
236 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
243 s->cx = cx; in cx18_stream_init()
250 s->buffers = cx->stream_buffers[type]; in cx18_stream_init()
[all …]
H A Dcx18-fileops.c32 struct cx18 *cx = id->cx; in cx18_claim_stream() local
33 struct cx18_stream *s = &cx->streams[type]; in cx18_claim_stream()
73 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_claim_stream()
74 if (cx->vbi.insert_mpeg && !cx18_raw_vbi(cx)) in cx18_claim_stream()
75 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_claim_stream()
91 struct cx18 *cx = s->cx; in cx18_release_stream() local
125 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_release_stream()
132 s_assoc = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_release_stream()
146 static void cx18_dualwatch(struct cx18 *cx) in cx18_dualwatch() argument
152 new_stereo_mode = v4l2_ctrl_g_ctrl(cx->cxhdl.audio_mode); in cx18_dualwatch()
[all …]
H A Dcx18-dvb.c125 struct cx18 *cx = stream->cx; in yuan_mpc718_mt352_reqfw() local
129 ret = request_firmware(fw, fn, &cx->pci_dev->dev); in yuan_mpc718_mt352_reqfw()
238 struct cx18 *cx; in cx18_dvb_start_feed() local
245 cx = stream->cx; in cx18_dvb_start_feed()
249 mutex_lock(&cx->serialize_lock); in cx18_dvb_start_feed()
250 ret = cx18_init_on_first_open(cx); in cx18_dvb_start_feed()
251 mutex_unlock(&cx->serialize_lock); in cx18_dvb_start_feed()
258 switch (cx->card->type) { in cx18_dvb_start_feed()
262 v = cx18_read_reg(cx, CX18_REG_DMUX_NUM_PORT_0_CONTROL); in cx18_dvb_start_feed()
268 cx18_write_reg(cx, v, CX18_REG_DMUX_NUM_PORT_0_CONTROL); in cx18_dvb_start_feed()
[all …]
H A Dcx18-alsa-main.c95 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names() local
103 cx->instance); in snd_cx18_card_set_names()
108 cx->instance, cx->card_name); in snd_cx18_card_set_names()
115 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init() local
123 /* This is a no-op for us. We'll use the cx->instance */ in snd_cx18_init()
126 ret = snd_card_new(&cx->pci_dev->dev, in snd_cx18_init()
158 cx->alsa = cxsc; in snd_cx18_init()
163 cx->alsa = NULL; in snd_cx18_init()
179 static int cx18_alsa_load(struct cx18 *cx) in cx18_alsa_load() argument
181 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; in cx18_alsa_load()
[all …]
H A Dcx18-queue.c128 struct cx18 *cx = s->cx; in cx18_queue_get_mdl() local
264 struct cx18 *cx = s->cx; in cx18_load_queues() local
292 cx18_writel(cx, buf->dma_handle, in cx18_load_queues()
293 &cx->scb->cpu_mdl[mdl_id + i].paddr); in cx18_load_queues()
294 cx18_writel(cx, s->buf_size, in cx18_load_queues()
295 &cx->scb->cpu_mdl[mdl_id + i].length); in cx18_load_queues()
308 cx18_writel(cx, partial_buf_size, in cx18_load_queues()
309 &cx->scb->cpu_mdl[mdl_id + i - 1].length); in cx18_load_queues()
324 struct pci_dev *pci_dev = s->cx->pci_dev; in _cx18_mdl_sync_for_device()
334 struct cx18 *cx = s->cx; in cx18_stream_alloc() local
[all …]
H A Dcx18-alsa-pcm.c139 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_pcm_capture_open() local
146 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in snd_cx18_pcm_capture_open()
148 item.cx = cx; in snd_cx18_pcm_capture_open()
150 item.open_id = cx->open_id++; in snd_cx18_pcm_capture_open()
170 runtime->private_data = cx; in snd_cx18_pcm_capture_open()
172 cx->pcm_announce_callback = cx18_alsa_announce_pcm_data; in snd_cx18_pcm_capture_open()
186 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_pcm_capture_close() local
191 s = &cx->streams[CX18_ENC_STREAM_TYPE_PCM]; in snd_cx18_pcm_capture_close()
197 cx->pcm_announce_callback = NULL; in snd_cx18_pcm_capture_close()
245 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_pcm_create() local
[all …]
H A Dcx18-alsa.h27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_lock() local
28 mutex_lock(&cx->serialize_lock); in snd_cx18_lock()
33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock() local
34 mutex_unlock(&cx->serialize_lock); in snd_cx18_unlock()
H A Dcx18-ioctl.h17 int cx18_do_s_std(struct cx18 *cx, v4l2_std_id std);
18 int cx18_do_s_frequency(struct cx18 *cx, const struct v4l2_frequency *vf);
19 int cx18_do_s_input(struct cx18 *cx, unsigned int inp);
/linux/fs/orangefs/
H A Dxattr.c68 struct orangefs_cached_xattr *cx; in find_cached_xattr() local
74 hlist_for_each_entry_safe(cx, tmp, h, node) { in find_cached_xattr()
75 if (!strcmp(cx->key, key)) in find_cached_xattr()
76 return cx; in find_cached_xattr()
95 struct orangefs_cached_xattr *cx; in orangefs_inode_getxattr() local
124 cx = find_cached_xattr(inode, name); in orangefs_inode_getxattr()
125 if (cx && time_before(jiffies, cx->timeout)) { in orangefs_inode_getxattr()
126 if (cx->length == -1) { in orangefs_inode_getxattr()
131 ret = cx->length; in orangefs_inode_getxattr()
134 if (cx->length > size) { in orangefs_inode_getxattr()
[all …]
/linux/drivers/acpi/
H A Dprocessor_idle.c133 struct acpi_processor_cx *cx) in lapic_timer_check_state() argument
151 if (cx->type >= type) in lapic_timer_check_state()
173 struct acpi_processor_cx *cx) in lapic_timer_needs_broadcast() argument
175 return cx - pr->power.states >= pr->power.timer_broadcast_on_state; in lapic_timer_needs_broadcast()
185 struct acpi_processor_cx *cx) in lapic_timer_needs_broadcast() argument
322 struct acpi_processor_cx *cx) in acpi_processor_power_verify_c3() argument
328 if (!cx->address) in acpi_processor_power_verify_c3()
387 cx->valid = 1; in acpi_processor_power_verify_c3()
431 struct acpi_processor_cx *cx = &pr->power.states[i]; in acpi_processor_power_verify() local
433 switch (cx->type) { in acpi_processor_power_verify()
[all …]
/linux/arch/x86/kernel/acpi/
H A Dcstate.c126 struct acpi_processor_cx *cx = _cx; in acpi_processor_ffh_cstate_probe_cpu() local
136 cstate_type = (((cx->address >> MWAIT_SUBSTATE_SIZE) & in acpi_processor_ffh_cstate_probe_cpu()
145 cx->address, edx_part); in acpi_processor_ffh_cstate_probe_cpu()
161 cx->type); in acpi_processor_ffh_cstate_probe_cpu()
163 snprintf(cx->desc, in acpi_processor_ffh_cstate_probe_cpu()
165 cx->address); in acpi_processor_ffh_cstate_probe_cpu()
171 struct acpi_processor_cx *cx, struct acpi_power_register *reg) in acpi_processor_ffh_cstate_probe() argument
184 percpu_entry->states[cx->index].eax = 0; in acpi_processor_ffh_cstate_probe()
185 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe()
189 retval = call_on_cpu(cpu, acpi_processor_ffh_cstate_probe_cpu, cx, in acpi_processor_ffh_cstate_probe()
[all …]
/linux/arch/arm/mach-omap2/
H A Dcpuidle44xx.c97 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_smp() local
101 cx->mpu_state_vote++; in omap_enter_idle_smp()
102 if (cx->mpu_state_vote == num_online_cpus()) { in omap_enter_idle_smp()
103 pwrdm_set_logic_retst(mpu_pd, cx->mpu_logic_state); in omap_enter_idle_smp()
104 omap_set_pwrdm_state(mpu_pd, cx->mpu_state); in omap_enter_idle_smp()
108 omap4_enter_lowpower(dev->cpu, cx->cpu_state, true); in omap_enter_idle_smp()
111 if (cx->mpu_state_vote == num_online_cpus()) in omap_enter_idle_smp()
113 cx->mpu_state_vote--; in omap_enter_idle_smp()
123 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_coupled() local
150 mpuss_can_lose_context = (cx->mpu_state == PWRDM_POWER_RET) && in omap_enter_idle_coupled()
[all …]
H A Dcpuidle34xx.c111 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in omap3_enter_idle() local
118 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) { in omap3_enter_idle()
121 pwrdm_set_next_pwrst(mpu_pd, cx->mpu_state); in omap3_enter_idle()
122 pwrdm_set_next_pwrst(core_pd, cx->core_state); in omap3_enter_idle()
129 if (cx->mpu_state == PWRDM_POWER_OFF) { in omap3_enter_idle()
142 if (cx->mpu_state == PWRDM_POWER_OFF && in omap3_enter_idle()
148 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) in omap3_enter_idle()
172 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in next_valid_state() local
190 if ((cx->mpu_state >= mpu_deepest_state) && in next_valid_state()
191 (cx->core_state >= core_deepest_state)) in next_valid_state()
[all …]
/linux/drivers/firmware/efi/libstub/
H A Dprintk.c30 u8 c0, cx; in utf8_to_utf32() local
33 c0 = cx = *(*s8)++; in utf8_to_utf32()
38 for (clen = 0; cx & 0x80; ++clen) in utf8_to_utf32()
39 cx <<= 1; in utf8_to_utf32()
49 c32 = cx >> clen--; in utf8_to_utf32()
52 cx = (*s8)[i] ^ 0x80; in utf8_to_utf32()
53 if (cx & 0xc0) in utf8_to_utf32()
55 c32 = (c32 << 6) | cx; in utf8_to_utf32()
/linux/Documentation/RCU/Design/Data-Structures/
H A DHugeTreeClassicRCU.svg65 inkscape:cx="679.5"
154 cx="8550"
161 cx="9000"
168 cx="9450"
187 cx="13950"
194 cx="13500"
201 cx="13050"
208 cx="9450"
215 cx="9000"
222 cx="8550"
[all …]
H A DTreeLevel.svg65 inkscape:cx="796.50006"
154 cx="11655"
161 cx="12105"
168 cx="12555"
187 cx="17055"
194 cx="16605"
201 cx="16155"
208 cx="12555"
215 cx="12105"
222 cx="11655"
[all …]
H A DBigTreeClassicRCU.svg65 inkscape:cx="409.50003"
118 cx="7425"
125 cx="7875"
132 cx="8325"
139 cx="2025"
146 cx="2475"
153 cx="2925"
160 cx="4725"
167 cx="5175"
174 cx="5625"
/linux/Documentation/devicetree/bindings/display/panel/
H A Dpanel-mipi-dbi-spi.yaml34 - D/CX: Data/command selection, high=data, low=command
41 - Option 1: 9-bit mode and D/CX as the 9th bit
43 |<0><D7><D6><D5><D4><D3><D2><D1><D0>|<D/CX><D7><D6><D5><D4><D3><D2><D1><D0>|
45 - Option 2: 16-bit mode and D/CX as a 9th bit
47 |<X><X><X><X><X><X><X><D/CX><D7><D6><D5><D4><D3><D2><D1><D0>|
49 - Option 3: 8-bit mode and D/CX as a separate interface line
92 Controller data/command selection (D/CX) in 4-line SPI mode.
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.c1018 struct rtw89_btc_cx *cx = &btc->cx; in _send_fw_cmd() local
1019 struct rtw89_btc_wl_info *wl = &cx->wl; in _send_fw_cmd()
1125 struct rtw89_btc_cx *cx = &btc->cx; in _reset_btc_var() local
1127 struct rtw89_btc_bt_info *bt0 = &cx->bt0; in _reset_btc_var()
1128 struct rtw89_btc_bt_info *bt1 = &cx->bt1; in _reset_btc_var()
1134 memset(cx, 0, sizeof(*cx)); in _reset_btc_var()
1135 cx->bt_ext.max_tx_pwr = RTW89_BTC_BT_DEF_LE_TX_PWR; in _reset_btc_var()
1136 cx->bt_ext.ant_iso_to_wl = RTW89_BTC_DEFAULT_ANISO; in _reset_btc_var()
1316 struct rtw89_btc_cx *cx = &btc->cx; in _chk_btc_err() local
1317 struct rtw89_btc_bt_info *bt = &cx->bt0; in _chk_btc_err()
[all …]
/linux/tools/testing/selftests/x86/
H A Dcheck_initial_reg_state.c11 unsigned long ax, bx, cx, dx, si, di, bp, sp, flags; variable
22 "mov %rcx, cx\n\t"
41 "mov %ecx, cx\n\t"
63 if (ax || bx || cx || dx || si || di || bp in main()
72 SHOW(cx); in main()
/linux/arch/x86/realmode/rm/
H A Dwakeup_asm.S50 movw $16, %cx
57 movw %cx, %ds
58 movw %cx, %es
59 movw %cx, %ss
60 movw %cx, %fs
61 movw %cx, %gs
/linux/Documentation/input/devices/
H A Dsentelic.rst338 Absolute position for STL3888-Cx and STL3888-Dx
408 Notify Packet for STL3888-Cx/Dx::
488 2. For FSP version < STL3888 Cx, determine number of buttons by reading
506 3. For FSP version >= STL3888 Cx:
565 * Note that since the Cx release, the hardware will return 1's
620 * Since the Cx release, the hardware will return 1's
734 0xe0 ~ 0xe1: STL3888 Cx
746 *only supported by H/W prior to Cx
751 *supported since Cx
754 *only supported by H/W prior to Cx
[all …]
/linux/drivers/xen/
H A Dxen-acpi-processor.c60 struct acpi_processor_cx *cx; in push_cxx_to_hypervisor() local
69 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor()
70 if (!cx->valid) in push_cxx_to_hypervisor()
76 if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) { in push_cxx_to_hypervisor()
82 if (cx->entry_method == ACPI_CSTATE_FFH) { in push_cxx_to_hypervisor()
89 dst_cx->reg.address = cx->address; in push_cxx_to_hypervisor()
91 dst_cx->type = cx->type; in push_cxx_to_hypervisor()
92 dst_cx->latency = cx->latency; in push_cxx_to_hypervisor()
117 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor()
118 if (!cx->valid) in push_cxx_to_hypervisor()
[all …]
/linux/Documentation/dev-tools/kunit/
H A Dkunit_suitememorydiagram.svg45 <circle cx="149.97" cy="373.01" r="3.4012"/>
46 <circle cx="163.46" cy="373.01" r="3.4012"/>
47 <circle cx="176.95" cy="373.01" r="3.4012"/>
50 <circle cx="149.97" cy="373.01" r="3.4012"/>
51 <circle cx="163.46" cy="373.01" r="3.4012"/>
52 <circle cx="176.95" cy="373.01" r="3.4012"/>
57 <circle cx="149.97" cy="373.01" r="3.4012"/>
58 <circle cx="163.46" cy="373.01" r="3.4012"/>
59 <circle cx="176.95" cy="373.01" r="3.4012"/>

12345678910