Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/media/pci/cx18/
H A Dcx18-driver.c282 static void cx18_iounmap(struct cx18 *cx) in cx18_iounmap() argument
284 if (!cx) in cx18_iounmap()
288 if (cx->enc_mem) { in cx18_iounmap()
290 iounmap(cx->enc_mem); in cx18_iounmap()
291 cx->enc_mem = NULL; in cx18_iounmap()
295 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) in cx18_eeprom_dump() argument
310 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() argument
322 c->adapter = &cx->i2c_adap[0]; in cx18_read_eeprom()
328 switch (cx->card->type) { in cx18_read_eeprom()
337 cx18_eeprom_dump(cx, eedata, sizeof(eedata)); in cx18_read_eeprom()
[all …]
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()
/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 …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,sc7180-pas.yaml102 - description: CX power domain
107 - const: cx
120 - description: CX power domain
124 - const: cx
137 - description: CX power domain
141 - const: cx
174 power-domain-names = "cx", "mx", "mss";
/linux/drivers/s390/char/
H A Dcon3270.c96 unsigned int cx, cy; /* Current output position. */ member
1269 if (line->len <= tp->cx) { in tty3270_put_character()
1270 while (line->len < tp->cx) { in tty3270_put_character()
1278 cell = line->cells + tp->cx; in tty3270_put_character()
1289 tp->cx = 0; in tty3270_cr()
1335 while (line->len < tp->cx) in tty3270_insert_characters()
1337 if (n > tp->view.cols - tp->cx) in tty3270_insert_characters()
1338 n = tp->view.cols - tp->cx; in tty3270_insert_characters()
1339 k = min_t(int, line->len - tp->cx, tp->view.cols - tp->cx - n); in tty3270_insert_characters()
1341 line->cells[tp->cx + n + k] = line->cells[tp->cx + k]; in tty3270_insert_characters()
[all …]
/linux/drivers/acpi/
H A Dacpi_processor.c870 struct acpi_processor_cx cx; in acpi_processor_evaluate_cst() local
883 memset(&cx, 0, sizeof(cx)); in acpi_processor_evaluate_cst()
915 cx.type = obj->integer.value; in acpi_processor_evaluate_cst()
921 if (i == 1 && cx.type != ACPI_STATE_C1) in acpi_processor_evaluate_cst()
924 cx.address = reg->address; in acpi_processor_evaluate_cst()
925 cx.index = last_index + 1; in acpi_processor_evaluate_cst()
928 if (!acpi_processor_ffh_cstate_probe(cpu, &cx, reg)) { in acpi_processor_evaluate_cst()
935 if (cx.type == ACPI_STATE_C1 && in acpi_processor_evaluate_cst()
937 cx.entry_method = ACPI_CSTATE_HALT; in acpi_processor_evaluate_cst()
938 snprintf(cx.desc, ACPI_CX_DESC_LEN, "ACPI HLT"); in acpi_processor_evaluate_cst()
[all …]
/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/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/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/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/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"/>
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-lx2160a-clearfog-cx.dts3 // Device Tree file for LX2160A Clearfog CX board
12 model = "SolidRun LX2160A Clearfog CX";
13 compatible = "solidrun,clearfog-cx",

12345678910>>...12