/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-audio.h | 10 int cx18_audio_set_io(struct cx18 *cx);
|
H A D | cx18-i2c.h | 10 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 D | cx18-firmware.h | 8 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 D | cx18-scb.c | 13 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 D | cx18-video.h | 8 void cx18_video_set_io(struct cx18 *cx);
|
H A D | cx18-video.c | 12 void cx18_video_set_io(struct cx18 *cx) argument 14 int inp = cx->active_input; 16 v4l2_subdev_call(cx->sd_av, video, s_routing, 17 cx->card->video_inputs[inp].video_input, 0, 0);
|
H A D | cx18-driver.c | 282 static void cx18_iounmap(struct cx18 *cx) argument 284 if (!cx) 288 if (cx->enc_mem) { 290 iounmap(cx->enc_mem); 291 cx->enc_mem = NULL; 295 static void cx18_eeprom_dump(struct cx18 *cx, unsigned char *eedata, int len) argument 310 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) argument 322 c->adapter = &cx->i2c_adap[0]; 328 switch (cx->card->type) { 337 cx18_eeprom_dump(cx, eedat 351 cx18_process_eeprom(struct cx18 *cx) argument 442 cx18_parse_std(struct cx18 *cx) argument 524 cx18_process_options(struct cx18 *cx) argument 686 cx18_create_in_workq(struct cx18 *cx) argument 698 cx18_init_in_work_orders(struct cx18 *cx) argument 713 cx18_init_struct1(struct cx18 *cx) argument 770 cx18_init_struct2(struct cx18 *cx) argument 795 cx18_setup_pci(struct cx18 *cx, struct pci_dev *pci_dev, const struct pci_device_id *pci_id) argument 840 cx18_init_subdevs(struct cx18 *cx) argument 892 struct cx18 *cx; local 1134 cx18_init_on_first_open(struct cx18 *cx) argument 1234 cx18_cancel_in_work_orders(struct cx18 *cx) argument 1241 cx18_cancel_out_work_orders(struct cx18 *cx) argument 1252 struct cx18 *cx = to_cx18(v4l2_dev); local [all...] |
H A D | cx18-gpio.c | 38 static void gpio_write(struct cx18 *cx) argument 40 u32 dir_lo = cx->gpio_dir & 0xffff; 41 u32 val_lo = cx->gpio_val & 0xffff; 42 u32 dir_hi = cx->gpio_dir >> 16; 43 u32 val_hi = cx->gpio_val >> 16; 45 cx18_write_reg_expect(cx, dir_lo << 16, 47 cx18_write_reg_expect(cx, (dir_lo << 16) | val_lo, 49 cx18_write_reg_expect(cx, dir_hi << 16, 51 cx18_write_reg_expect(cx, (dir_hi << 16) | val_hi, 55 static void gpio_update(struct cx18 *cx, u3 argument 66 gpio_reset_seq(struct cx18 *cx, u32 active_lo, u32 active_hi, unsigned int assert_msecs, unsigned int recovery_msecs) argument 96 struct cx18 *cx = v4l2_get_subdevdata(sd); local 107 struct cx18 *cx = v4l2_get_subdevdata(sd); local 121 struct cx18 *cx = v4l2_get_subdevdata(sd); local 147 struct cx18 *cx = v4l2_get_subdevdata(sd); local 195 struct cx18 *cx = v4l2_get_subdevdata(sd); local 206 struct cx18 *cx = v4l2_get_subdevdata(sd); local 254 cx18_gpio_init(struct cx18 *cx) argument 280 cx18_gpio_register(struct cx18 *cx, u32 hw) argument 310 struct cx18 *cx = to_cx18(data); local 328 struct cx18 *cx = cb_data->cx; local [all...] |
H A D | cx18-av-audio.c | 13 static int set_audclk_freq(struct cx18 *cx, u32 freq) argument 15 struct cx18_av_state *state = &cx->av_state; 63 cx18_av_write4(cx, 0x108, 0x200d040f); 67 cx18_av_write4(cx, 0x10c, 0x002be2fe); 71 cx18_av_write4(cx, 0x110, 0x0176740c); 75 cx18_av_write4(cx, 0x900, 0x0801f77f); 76 cx18_av_write4(cx, 0x904, 0x0801f77f); 77 cx18_av_write4(cx, 0x90c, 0x0801f77f); 80 cx18_av_write(cx, 0x127, 0x60); 83 cx18_av_write4(cx, 289 cx18_av_audio_set_path(struct cx18 *cx) argument 331 set_volume(struct cx18 *cx, int volume) argument 347 set_bass(struct cx18 *cx, int bass) argument 353 set_treble(struct cx18 *cx, int treble) argument 359 set_balance(struct cx18 *cx, int balance) argument 375 set_mute(struct cx18 *cx, int mute) argument 404 struct cx18 *cx = v4l2_get_subdevdata(sd); local 431 struct cx18 *cx = v4l2_get_subdevdata(sd); local [all...] |
H A D | cx18-io.h | 24 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 D | cx18-io.c | 13 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 D | cx18-irq.c | 15 static void xpu_ack(struct cx18 *cx, u32 sw2) argument 18 wake_up(&cx->mb_cpu_waitq); 20 wake_up(&cx->mb_apu_waitq); 23 static void epu_cmd(struct cx18 *cx, u32 sw1) argument 26 cx18_api_epu_cmd_irq(cx, CPU); 28 cx18_api_epu_cmd_irq(cx, APU); 33 struct cx18 *cx = dev_id; local 36 sw1 = cx18_read_reg(cx, SW1_INT_STATUS) & cx->sw1_irq_mask; 37 sw2 = cx18_read_reg(cx, SW2_INT_STATU [all...] |
H A D | cx18-vbi.h | 10 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, 12 int cx18_used_line(struct cx18 *cx, int line, int field);
|
H A D | cx18-i2c.c | 69 static int cx18_i2c_new_ir(struct cx18 *cx, struct i2c_adapter *adap, u32 hw, argument 73 struct IR_i2c_init_data *init_data = &cx->ir_i2c_init_data; 86 init_data->name = cx->card_name; 95 int cx18_i2c_register(struct cx18 *cx, unsigned idx) argument 99 struct i2c_adapter *adap = &cx->i2c_adap[bus]; 105 sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, 106 adap, type, 0, cx->card_i2c->radio); 109 sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, 110 adap, type, 0, cx->card_i2c->demod); 113 sd = v4l2_i2c_new_subdev(&cx 136 cx18_find_hw(struct cx18 *cx, u32 hw) argument 154 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; local 167 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; local 180 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; local 189 struct cx18 *cx = ((struct cx18_i2c_algo_callback_data *)data)->cx; local 217 init_cx18_i2c(struct cx18 *cx) argument 288 exit_cx18_i2c(struct cx18 *cx) argument [all...] |
H A D | cx18-gpio.h | 11 void cx18_gpio_init(struct cx18 *cx); 12 int cx18_gpio_register(struct cx18 *cx, u32 hw);
|
H A D | cx18-streams.h | 11 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 D | cx18-controls.c | 21 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 D | cx18-firmware.c | 87 static int load_cpu_fw_direct(const char *fn, u8 __iomem *mem, struct cx18 *cx) argument 95 if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { 104 cx18_setup_page(cx, i); 107 cx18_raw_writel(cx, *src, dst); 108 if (cx18_raw_readl(cx, dst) != *src) { 111 cx18_setup_page(cx, 0); 118 if (!test_bit(CX18_F_I_LOADED_FW, &cx->i_flags)) 122 cx18_setup_page(cx, SCB_OFFSET); 126 static int load_apu_fw_direct(const char *fn, u8 __iomem *dst, struct cx18 *cx, argument 139 if (request_firmware(&fw, fn, &cx 199 cx18_halt_firmware(struct cx18 *cx) argument 208 cx18_init_power(struct cx18 *cx, int lowpwr) argument 317 cx18_init_memory(struct cx18 *cx) argument 368 cx18_firmware_init(struct cx18 *cx) argument [all...] |
H A D | cx18-ioctl.c | 56 struct cx18 *cx = id->cx; local 57 struct cx18_stream *s = &cx->streams[id->type]; 60 pixfmt->width = cx->cxhdl.width; 61 pixfmt->height = cx->cxhdl.height; 80 struct cx18 *cx = id->cx; local 88 h = min(h, cx->is_50hz ? 576 : 480); 89 h = max(h, (cx->is_50hz ? 576 : 480) / 8); 125 struct cx18 *cx local 264 struct cx18 *cx = fh2id(fh)->cx; local 283 struct cx18 *cx = fh2id(fh)->cx; local 314 struct cx18 *cx = fh2id(fh)->cx; local 334 struct cx18 *cx = id->cx; local 364 struct cx18 *cx = id->cx; local 395 struct cx18 *cx = fh2id(fh)->cx; local 409 struct cx18 *cx = fh2id(fh)->cx; local 424 struct cx18 *cx = id->cx; local 434 struct cx18 *cx = fh2id(fh)->cx; local 441 struct cx18 *cx = fh2id(fh)->cx; local 449 struct cx18 *cx = fh2id(fh)->cx; local 460 struct cx18 *cx = fh2id(fh)->cx; local 469 struct cx18 *cx = fh2id(fh)->cx; local 482 struct cx18 *cx = fh2id(fh)->cx; local 518 struct cx18 *cx = fh2id(fh)->cx; local 527 struct cx18 *cx = id->cx; local 564 struct cx18 *cx = fh2id(fh)->cx; local 576 struct cx18 *cx = id->cx; local 590 struct cx18 *cx = fh2id(fh)->cx; local 599 struct cx18 *cx = id->cx; local 648 struct cx18 *cx = id->cx; local 659 struct cx18 *cx = fh2id(fh)->cx; local 676 struct cx18 *cx = fh2id(fh)->cx; local 797 struct cx18 *cx = fh2id(fh)->cx; local 845 struct cx18 *cx = id->cx; local 903 struct cx18 *cx = fh2id(fh)->cx; local 935 struct cx18 *cx = fh2id(fh)->cx; local 979 struct cx18 *cx = fh2id(fh)->cx; local [all...] |
H A D | cx18-audio.c | 23 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 D | cx18-streams.c | 109 struct cx18 *cx = s->cx; local 117 szimage = cx->cxhdl.height * 720 * 3 / 2; 119 szimage = cx->cxhdl.height * 720 * 2; 156 struct cx18 *cx = s->cx; local 164 size = cx->cxhdl.height * 720 * 3 / 2; 166 size = cx->cxhdl.height * 720 * 2; 236 static int cx18_stream_init(struct cx18 *cx, int type) argument 238 struct cx18_stream *s = &cx 303 cx18_prep_dev(struct cx18 *cx, int type) argument 384 cx18_streams_setup(struct cx18 *cx) argument 408 cx18_reg_dev(struct cx18 *cx, int type) argument 476 cx18_streams_register(struct cx18 *cx) argument 498 cx18_streams_cleanup(struct cx18 *cx, int unregister) argument 552 struct cx18 *cx = s->cx; local 660 cx18_stream_rotate_idx_mdls(struct cx18 *cx) argument 690 struct cx18 *cx = s->cx; local 785 struct cx18 *cx = s->cx; local 959 cx18_stop_all_captures(struct cx18 *cx) argument 975 struct cx18 *cx = s->cx; local 1023 cx18_find_handle(struct cx18 *cx) argument 1037 cx18_handle_to_stream(struct cx18 *cx, u32 handle) argument [all...] |
H A D | cx18-av-core.c | 15 int cx18_av_write(struct cx18 *cx, u16 addr, u8 value) argument 20 u32 x = cx18_read_reg(cx, reg); 23 cx18_write_reg(cx, x, reg); 27 int cx18_av_write_expect(struct cx18 *cx, u16 addr, u8 value, u8 eval, u8 mask) argument 31 u32 x = cx18_read_reg(cx, reg); 34 cx18_write_reg_expect(cx, x, reg, 39 int cx18_av_write4(struct cx18 *cx, u16 addr, u32 value) argument 41 cx18_write_reg(cx, value, 0xc40000 + addr); 46 cx18_av_write4_expect(struct cx18 *cx, u16 addr, u32 value, u32 eval, u32 mask) argument 48 cx18_write_reg_expect(cx, valu 52 cx18_av_write4_noretry(struct cx18 *cx, u16 addr, u32 value) argument 58 cx18_av_read(struct cx18 *cx, u16 addr) argument 66 cx18_av_read4(struct cx18 *cx, u16 addr) argument 71 cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned and_mask, u8 or_value) argument 79 cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 and_mask, u32 or_value) argument 87 cx18_av_init(struct cx18 *cx) argument 116 struct cx18 *cx = v4l2_get_subdevdata(sd); local 273 cx18_av_std_setup(struct cx18 *cx) argument 516 input_change(struct cx18 *cx) argument 564 struct cx18 *cx = v4l2_get_subdevdata(sd); local 569 set_input(struct cx18 *cx, enum cx18_av_video_input vid_input, enum cx18_av_audio_input aud_input) argument 746 struct cx18 *cx = v4l2_get_subdevdata(sd); local 754 struct cx18 *cx = v4l2_get_subdevdata(sd); local 761 struct cx18 *cx = v4l2_get_subdevdata(sd); local 798 struct cx18 *cx = v4l2_get_subdevdata(sd); local 843 struct cx18 *cx = v4l2_get_subdevdata(sd); local 906 struct cx18 *cx = v4l2_get_subdevdata(sd); local 938 struct cx18 *cx = v4l2_get_subdevdata(sd); local 1011 struct cx18 *cx = v4l2_get_subdevdata(sd); local 1024 log_video_status(struct cx18 *cx) argument 1065 log_audio_status(struct cx18 *cx) argument 1216 struct cx18 *cx = v4l2_get_subdevdata(sd); local 1226 struct cx18 *cx = v4l2_get_subdevdata(sd); local 1238 struct cx18 *cx = v4l2_get_subdevdata(sd); local 1299 cx18_av_probe(struct cx18 *cx) argument [all...] |
H A D | cx18-av-firmware.c | 22 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...] |
/linux-master/arch/x86/boot/ |
H A D | copy.S | 23 pushw %cx 24 shrw $2, %cx 26 popw %cx 27 andw $3, %cx 39 pushw %cx 40 shrw $2, %cx 42 popw %cx 43 andw $3, %cx
|
/linux-master/arch/arm/boot/dts/nspire/ |
H A D | Makefile | 3 nspire-cx.dtb \
|