Searched refs:cx (Results 1 - 25 of 157) sorted by path

1234567

/linux-master/arch/s390/include/uapi/asm/
H A Dguarded_storage.h28 __u8 cx : 1; member in struct:gs_epl::__anon937::__anon938
/linux-master/arch/x86/boot/
H A Dedd.c29 ireg.cx = 0x0001; /* Sector 0-0-1 */
95 ei->interface_support = oreg.cx; /* EDD functionality subsets */
H A Dmemory.c27 ireg.cx = sizeof(buf);
84 if (oreg.cx || oreg.dx) {
85 oreg.ax = oreg.cx;
H A Dvideo-vga.c85 ireg.cx = 0x0607;
108 ireg.cx = 0x0b0c;
/linux-master/arch/x86/include/asm/
H A Dapm.h52 int cx, dx, si; local
67 : "=a" (*eax), "=b" (error), "=c" (cx), "=d" (dx),
/linux-master/arch/x86/kvm/
H A Dtss.h46 u16 cx; member in struct:tss_segment_16
/linux-master/arch/x86/mm/
H A Dpf_in.c248 rv = (unsigned char *)&regs->cx;
316 rv = 1 + (unsigned char *)&regs->cx;
344 rv = &regs->cx;
/linux-master/drivers/media/pci/cx18/
H A Dcx18-alsa.h27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local
28 mutex_lock(&cx->serialize_lock);
33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); local
34 mutex_unlock(&cx->serialize_lock);
H A Dcx18-audio.c23 int cx18_audio_set_io(struct cx18 *cx) argument
30 if (test_bit(CX18_F_I_RADIO_USER, &cx->i_flags))
31 in = &cx->card->radio_input;
33 in = &cx->card->audio_inputs[cx->audio_input];
36 v4l2_subdev_call(cx->sd_extmux, audio, s_routing,
39 err = cx18_call_hw_err(cx, cx->card->hw_audio_ctrl,
45 u = cx18_read_reg(cx, CX18_AUDIO_ENABLE);
72 cx18_write_reg_expect(cx,
[all...]
H A Dcx18-audio.h10 int cx18_audio_set_io(struct cx18 *cx);
H A Dcx18-av-core.h344 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value);
345 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value);
346 int cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value);
347 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask);
348 int cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval,
350 u8 cx18_av_read(struct cx18 *cx, u16 addr);
351 u32 cx18_av_read4(struct cx18 *cx, u16 addr);
352 int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned mask, u8 value);
353 int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value);
354 void cx18_av_std_setup(struct cx18 *cx);
[all...]
H A Dcx18-av-firmware.c22 static int cx18_av_verifyfw(struct cx18 *cx, const struct firmware *fw) argument
24 struct v4l2_subdev *sd = &cx->av_state.sd;
32 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL);
36 cx18_av_write4_noretry(cx, CXADEC_DL_CTL, dl_control);
37 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL);
42 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL);
55 dl_control = cx18_av_read4(cx, CXADEC_DL_CTL);
63 int cx18_av_loadfw(struct cx18 *cx) argument
65 struct v4l2_subdev *sd = &cx->av_state.sd;
73 if (request_firmware(&fw, FWFILE, &cx
[all...]
H A Dcx18-cards.h137 int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input);
138 int cx18_get_audio_input(struct cx18 *cx, u16 index, struct v4l2_audio *input);
H A Dcx18-controls.c21 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); local
24 if (atomic_read(&cx->ana_capturing) > 0)
32 cx->vbi.insert_mpeg = V4L2_MPEG_STREAM_VBI_FMT_NONE;
38 if (cx->vbi.sliced_mpeg_data[0] == NULL) {
42 cx->vbi.sliced_mpeg_data[i] =
44 if (cx->vbi.sliced_mpeg_data[i] == NULL) {
46 kfree(cx->vbi.sliced_mpeg_data[i]);
47 cx->vbi.sliced_mpeg_data[i] = NULL;
49 cx->vbi.insert_mpeg =
57 cx
77 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); local
95 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); local
106 struct cx18 *cx = container_of(cxhdl, struct cx18, cxhdl); local
[all...]
H A Dcx18-firmware.h8 int cx18_firmware_init(struct cx18 *cx);
9 void cx18_halt_firmware(struct cx18 *cx);
10 void cx18_init_memory(struct cx18 *cx);
11 void cx18_init_power(struct cx18 *cx, int lowpwr);
H A Dcx18-gpio.h11 void cx18_gpio_init(struct cx18 *cx);
12 int cx18_gpio_register(struct cx18 *cx, u32 hw);
H A Dcx18-i2c.h10 int cx18_i2c_register(struct cx18 *cx, unsigned idx);
11 struct v4l2_subdev *cx18_find_hw(struct cx18 *cx, u32 hw);
14 int init_cx18_i2c(struct cx18 *cx);
15 void exit_cx18_i2c(struct cx18 *cx);
H A Dcx18-io.c13 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) argument
21 cx18_writeb(cx, (u8) val, dst);
26 cx18_writew(cx, val2, dst);
31 cx18_writel(cx, val4, dst);
36 cx18_writew(cx, val2, dst);
41 cx18_writeb(cx, (u8) val, dst);
44 void cx18_sw1_irq_enable(struct cx18 *cx, u32 val) argument
46 cx18_write_reg_expect(cx, val, SW1_INT_STATUS, ~val, val);
47 cx->sw1_irq_mask = cx18_read_reg(cx, SW1_INT_ENABLE_PC
51 cx18_sw1_irq_disable(struct cx18 *cx, u32 val) argument
57 cx18_sw2_irq_enable(struct cx18 *cx, u32 val) argument
64 cx18_sw2_irq_disable(struct cx18 *cx, u32 val) argument
70 cx18_sw2_irq_disable_cpu(struct cx18 *cx, u32 val) argument
77 cx18_setup_page(struct cx18 *cx, u32 addr) argument
[all...]
H A Dcx18-io.h24 static inline u32 cx18_raw_readl(struct cx18 *cx, const void __iomem *addr) argument
30 void cx18_raw_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) argument
35 static inline void cx18_raw_writel(struct cx18 *cx, u32 val, void __iomem *addr) argument
39 cx18_raw_writel_noretry(cx, val, addr);
40 if (val == cx18_raw_readl(cx, addr))
46 static inline u32 cx18_readl(struct cx18 *cx, const void __iomem *addr) argument
52 void cx18_writel_noretry(struct cx18 *cx, u32 val, void __iomem *addr) argument
57 static inline void cx18_writel(struct cx18 *cx, u32 val, void __iomem *addr) argument
61 cx18_writel_noretry(cx, val, addr);
62 if (val == cx18_readl(cx, add
68 cx18_writel_expect(struct cx18 *cx, u32 val, void __iomem *addr, u32 eval, u32 mask) argument
84 cx18_readw(struct cx18 *cx, const void __iomem *addr) argument
90 cx18_writew_noretry(struct cx18 *cx, u16 val, void __iomem *addr) argument
95 cx18_writew(struct cx18 *cx, u16 val, void __iomem *addr) argument
105 cx18_readb(struct cx18 *cx, const void __iomem *addr) argument
111 cx18_writeb_noretry(struct cx18 *cx, u8 val, void __iomem *addr) argument
116 cx18_writeb(struct cx18 *cx, u8 val, void __iomem *addr) argument
127 cx18_memcpy_fromio(struct cx18 *cx, void *to, const void __iomem *from, unsigned int len) argument
137 cx18_write_reg_noretry(struct cx18 *cx, u32 val, u32 reg) argument
142 cx18_write_reg(struct cx18 *cx, u32 val, u32 reg) argument
147 cx18_write_reg_expect(struct cx18 *cx, u32 val, u32 reg, u32 eval, u32 mask) argument
153 cx18_read_reg(struct cx18 *cx, u32 reg) argument
160 cx18_write_enc(struct cx18 *cx, u32 val, u32 addr) argument
165 cx18_read_enc(struct cx18 *cx, u32 addr) argument
[all...]
H A Dcx18-mailbox.h70 int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]);
71 int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd,
73 int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...);
77 void cx18_api_epu_cmd_irq(struct cx18 *cx, int rpu);
H A Dcx18-scb.c13 void cx18_init_scb(struct cx18 *cx) argument
15 cx18_setup_page(cx, SCB_OFFSET);
16 cx18_memset_io(cx, cx->scb, 0, 0x10000);
18 cx18_writel(cx, IRQ_APU_TO_CPU, &cx->scb->apu2cpu_irq);
19 cx18_writel(cx, IRQ_CPU_TO_APU_ACK, &cx->scb->cpu2apu_irq_ack);
20 cx18_writel(cx, IRQ_HPU_TO_CPU, &cx
[all...]
H A Dcx18-scb.h264 void cx18_init_scb(struct cx18 *cx);
H A Dcx18-streams.h11 u32 cx18_find_handle(struct cx18 *cx);
12 struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle);
13 int cx18_streams_setup(struct cx18 *cx);
14 int cx18_streams_register(struct cx18 *cx);
15 void cx18_streams_cleanup(struct cx18 *cx, int unregister);
18 void cx18_stream_rotate_idx_mdls(struct cx18 *cx);
25 s->cx->stream_buffers[CX18_ENC_STREAM_TYPE_IDX] != 0);
48 void cx18_stop_all_captures(struct cx18 *cx);
H A Dcx18-vbi.c25 static void copy_vbi_data(struct cx18 *cx, int lines, u32 pts_stamp) argument
45 int idx = cx->vbi.frame % CX18_VBI_FRAMES;
46 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0];
49 struct v4l2_sliced_vbi_data *sdata = cx->vbi.sliced_data + i;
89 cx->vbi.sliced_mpeg_size[idx] = sd + size;
95 static u32 compress_raw_buf(struct cx18 *cx, u8 *buf, u32 size, u32 hdr_size) argument
98 u32 lines = cx->vbi.count * 2;
128 static u32 compress_sliced_buf(struct cx18 *cx, u8 *buf, u32 size, argument
134 u32 line_size = cx->is_60hz ? VBI_HBLANK_SAMPLES_60HZ
163 v4l2_subdev_call(cx
175 _cx18_process_vbi_data(struct cx18 *cx, struct cx18_buffer *buf) argument
237 cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, int streamtype) argument
[all...]
H A Dcx18-vbi.h10 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl,
12 int cx18_used_line(struct cx18 *cx, int line, int field);

Completed in 246 milliseconds

1234567