| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-driver.c | 282 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 D | cx18-ioctl.c | 56 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 D | cx18-dvb.c | 125 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 D | cx18-alsa-main.c | 95 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 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() 190 cx = to_cx18(v4l2_dev); in cx18_alsa_load() [all …]
|
| H A D | cx18-alsa-pcm.c | 139 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 D | cx18-alsa.h | 27 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 D | cx18-ioctl.h | 17 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 D | xattr.c | 68 struct orangefs_cached_xattr *cx; in find_cached_xattr() local 74 hlist_for_each_entry_safe(cx, tmp, h, node) { in find_cached_xattr() 80 if (!strcmp(cx->key, key)) in find_cached_xattr() 81 return cx; in find_cached_xattr() 100 struct orangefs_cached_xattr *cx; in orangefs_inode_getxattr() local 129 cx = find_cached_xattr(inode, name); in orangefs_inode_getxattr() 130 if (cx && time_before(jiffies, cx->timeout)) { in orangefs_inode_getxattr() 131 if (cx->length == -1) { in orangefs_inode_getxattr() 136 ret = cx->length; in orangefs_inode_getxattr() 139 if (cx->length > size) { in orangefs_inode_getxattr() [all …]
|
| /linux/arch/x86/kernel/acpi/ |
| H A D | cstate.c | 126 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 D | cpuidle44xx.c | 97 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 D | cpuidle34xx.c | 111 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 D | printk.c | 30 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/drivers/acpi/ |
| H A D | acpi_processor.c | 872 struct acpi_processor_cx cx; in acpi_processor_evaluate_cst() local 885 memset(&cx, 0, sizeof(cx)); in acpi_processor_evaluate_cst() 917 cx.type = obj->integer.value; in acpi_processor_evaluate_cst() 923 if (i == 1 && cx.type != ACPI_STATE_C1) in acpi_processor_evaluate_cst() 926 cx.address = reg->address; in acpi_processor_evaluate_cst() 927 cx.index = last_index + 1; in acpi_processor_evaluate_cst() 930 if (!acpi_processor_ffh_cstate_probe(cpu, &cx, reg)) { in acpi_processor_evaluate_cst() 937 if (cx.type == ACPI_STATE_C1 && in acpi_processor_evaluate_cst() 939 cx.entry_method = ACPI_CSTATE_HALT; in acpi_processor_evaluate_cst() 940 snprintf(cx.desc, ACPI_CX_DESC_LEN, "ACPI HLT"); in acpi_processor_evaluate_cst() [all …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | wakeup_asm.S | 50 movw $16, %cx 57 movw %cx, %ds 58 movw %cx, %es 59 movw %cx, %ss 60 movw %cx, %fs 61 movw %cx, %gs
|
| /linux/drivers/char/ |
| H A D | toshiba.c | 350 unsigned short bx,cx; in tosh_get_machine_id() local 380 cx = readw(bios + address); in tosh_get_machine_id() 381 address = 9+bx+cx; in tosh_get_machine_id() 382 cx = readw(bios + address); in tosh_get_machine_id() 383 address = 0xa+cx; in tosh_get_machine_id() 384 cx = readw(bios + address); in tosh_get_machine_id() 388 id = ((cx & 0xff)<<8)+((cx & 0xff00)>>8); in tosh_get_machine_id()
|
| /linux/drivers/xen/ |
| H A D | xen-acpi-processor.c | 60 struct acpi_processor_cx *cx; in push_cxx_to_hypervisor() local 70 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor() 71 if (!cx->valid) in push_cxx_to_hypervisor() 77 if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) { in push_cxx_to_hypervisor() 83 if (cx->entry_method == ACPI_CSTATE_FFH) { in push_cxx_to_hypervisor() 90 dst_cx->reg.address = cx->address; in push_cxx_to_hypervisor() 92 dst_cx->type = cx->type; in push_cxx_to_hypervisor() 93 dst_cx->latency = cx->latency; in push_cxx_to_hypervisor() 118 cx = &_pr->power.states[i]; in push_cxx_to_hypervisor() 119 if (!cx->valid) in push_cxx_to_hypervisor() [all …]
|
| /linux/tools/testing/selftests/x86/ |
| H A D | check_initial_reg_state.c | 11 unsigned long ax, bx, cx, dx, si, di, bp, sp, flags; variable 63 if (ax || bx || cx || dx || si || di || bp in main() 72 SHOW(cx); in main()
|
| /linux/arch/x86/boot/ |
| H A D | apm.c | 34 if (!(oreg.cx & 0x02)) /* 32 bits supported? */ in query_apm_bios() 47 boot_params.apm_bios_info.cseg_16 = oreg.cx; in query_apm_bios() 70 boot_params.apm_bios_info.flags = oreg.cx; in query_apm_bios()
|
| H A D | memory.c | 27 ireg.cx = sizeof(buf); in detect_memory_e820() 84 if (oreg.cx || oreg.dx) { in detect_memory_e801() 85 oreg.ax = oreg.cx; in detect_memory_e801()
|
| /linux/arch/x86/math-emu/ |
| H A D | reg_u_add.S | 56 negw %cx 79 cmpw $32,%cx /* shrd only works for 0..31 bits */ 89 cmpw $64,%cx 114 cmpw $65,%cx
|
| H A D | reg_round.S | 482 movw EXP_UNDER+1,%cx 483 subw EXP(%edi),%cx 485 cmpw $64,%cx /* shrd only works for 0..31 bits */ 488 cmpw $32,%cx /* shrd only works for 0..31 bits */ 496 addw %cx,EXP(%edi) 509 addw %cx,EXP(%edi) 530 cmpw $64,%cx 534 addw %cx,EXP(%edi)
|
| H A D | reg_u_sub.S | 79 cmpw $32,%cx /* shrd only works for 0..31 bits */ 89 cmpw $64,%cx 114 cmpw $65,%cx 226 subw %cx,EXP(%edi) /* Can get underflow here */
|
| /linux/arch/x86/include/asm/ |
| H A D | syscall.h | 93 args[1] = regs->cx; in syscall_get_arguments() 105 regs->cx = args[1]; in syscall_set_arguments() 126 *args++ = regs->cx; in syscall_get_arguments() 150 regs->cx = *args++; in syscall_set_arguments()
|
| /linux/arch/arm/boot/dts/nspire/ |
| H A D | nspire-cx.dts | 40 compatible = "lsi,nspire-cx-clock"; 44 compatible = "lsi,nspire-cx-ahb-divider"; 123 compatible = "ti,nspire-cx"; 160 compatible = "ti,nspire-cx-lcd-panel";
|
| /linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
| H A D | EventClass.py | 60 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf) 65 self.cx = cx
|