Home
last modified time | relevance | path

Searched refs:cx231xx (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/drivers/media/usb/cx231xx/
Dcx231xx.h149 struct cx231xx;
182 int (*isoc_copy) (struct cx231xx *dev, struct urb *urb);
216 int (*bulk_copy) (struct cx231xx *dev, struct urb *urb);
447 struct cx231xx *dev;
514 struct cx231xx *dev;
562 struct cx231xx { struct
661 int (*cx231xx_read_ctrl_reg) (struct cx231xx *dev, u8 req, u16 reg, argument
663 int (*cx231xx_write_ctrl_reg) (struct cx231xx *dev, u8 req, u16 reg, argument
667 int (*cx231xx_gpio_i2c_read) (struct cx231xx *dev, u8 dev_addr, argument
669 int (*cx231xx_gpio_i2c_write) (struct cx231xx *dev, u8 dev_addr, argument
[all …]
DMakefile2 cx231xx-y += cx231xx-video.o cx231xx-i2c.o cx231xx-cards.o cx231xx-core.o
3 cx231xx-y += cx231xx-avcore.o cx231xx-417.o cx231xx-pcb-cfg.o cx231xx-vbi.o
4 cx231xx-$(CONFIG_VIDEO_CX231XX_RC) += cx231xx-input.o
6 cx231xx-alsa-objs := cx231xx-audio.o
8 obj-$(CONFIG_VIDEO_CX231XX) += cx231xx.o
9 obj-$(CONFIG_VIDEO_CX231XX_ALSA) += cx231xx-alsa.o
10 obj-$(CONFIG_VIDEO_CX231XX_DVB) += cx231xx-dvb.o
Dcx231xx-vbi.h30 int cx231xx_init_vbi_isoc(struct cx231xx *dev, int max_packets,
32 int (*bulk_copy) (struct cx231xx *dev,
35 void cx231xx_uninit_vbi_isoc(struct cx231xx *dev);
38 u32 cx231xx_get_vbi_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
41 u32 cx231xx_copy_vbi_line(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
44 void cx231xx_reset_vbi_buffer(struct cx231xx *dev,
47 int cx231xx_do_vbi_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q,
50 u8 cx231xx_is_vbi_buffer_done(struct cx231xx *dev,
Dcx231xx-vbi.c28 static inline void print_err_status(struct cx231xx *dev, int packet, int status) in print_err_status()
71 static inline int cx231xx_isoc_vbi_copy(struct cx231xx *dev, struct urb *urb) in cx231xx_isoc_vbi_copy()
160 struct cx231xx *dev = vb2_get_drv_priv(vq); in vbi_queue_setup()
174 struct cx231xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buf_prepare()
190 struct cx231xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buf_queue()
201 static void return_all_buffers(struct cx231xx *dev, in return_all_buffers()
219 struct cx231xx *dev = vb2_get_drv_priv(vq); in vbi_start_streaming()
235 struct cx231xx *dev = vb2_get_drv_priv(vq); in vbi_stop_streaming()
262 struct cx231xx *dev = container_of(vmode, struct cx231xx, vbi_mode); in cx231xx_irq_vbi_callback()
297 void cx231xx_uninit_vbi_isoc(struct cx231xx *dev) in cx231xx_uninit_vbi_isoc()
[all …]
Dcx231xx-video.c90 static int cx231xx_enable_analog_tuner(struct cx231xx *dev) in cx231xx_enable_analog_tuner()
164 static inline void buffer_filled(struct cx231xx *dev, in buffer_filled()
184 static inline void print_err_status(struct cx231xx *dev, int packet, int status) in print_err_status()
230 struct cx231xx *dev = container_of(vmode, struct cx231xx, video_mode); in get_next_buf()
262 static inline int cx231xx_isoc_copy(struct cx231xx *dev, struct urb *urb) in cx231xx_isoc_copy()
359 static inline int cx231xx_bulk_copy(struct cx231xx *dev, struct urb *urb) in cx231xx_bulk_copy()
497 u32 cx231xx_get_video_line(struct cx231xx *dev, in cx231xx_get_video_line()
542 u32 cx231xx_copy_video_line(struct cx231xx *dev, in cx231xx_copy_video_line()
607 void cx231xx_reset_video_buffer(struct cx231xx *dev, in cx231xx_reset_video_buffer()
639 int cx231xx_do_copy(struct cx231xx *dev, struct cx231xx_dmaqueue *dma_q, in cx231xx_do_copy()
[all …]
Dcx231xx-417.c308 static int set_itvc_reg(struct cx231xx *dev, u32 gpio_direction, u32 value) in set_itvc_reg()
320 static int get_itvc_reg(struct cx231xx *dev, u32 gpio_direction, u32 *val_ptr) in get_itvc_reg()
333 static int wait_for_mci_complete(struct cx231xx *dev) in wait_for_mci_complete()
353 static int mc417_register_write(struct cx231xx *dev, u16 address, u32 value) in mc417_register_write()
411 static int mc417_register_read(struct cx231xx *dev, u16 address, u32 *value) in mc417_register_read()
485 static int mc417_memory_write(struct cx231xx *dev, u32 address, u32 value) in mc417_memory_write()
549 static int mc417_memory_read(struct cx231xx *dev, u32 address, u32 *value) in mc417_memory_read()
717 struct cx231xx *dev = priv; in cx231xx_mbox_func()
793 static int cx231xx_api_cmd(struct cx231xx *dev, u32 command, in cx231xx_api_cmd()
817 static int cx231xx_find_mailbox(struct cx231xx *dev) in cx231xx_find_mailbox()
[all …]
Dcx231xx-core.c58 void cx231xx_remove_from_devlist(struct cx231xx *dev) in cx231xx_remove_from_devlist()
73 void cx231xx_add_into_devlist(struct cx231xx *dev) in cx231xx_add_into_devlist()
85 struct cx231xx *dev = NULL; in cx231xx_register_extension()
100 struct cx231xx *dev = NULL; in cx231xx_unregister_extension()
113 void cx231xx_init_extension(struct cx231xx *dev) in cx231xx_init_extension()
125 void cx231xx_close_extension(struct cx231xx *dev) in cx231xx_close_extension()
144 struct cx231xx *dev = i2c_bus->dev; in cx231xx_send_usb_command()
221 static int __usb_control_msg(struct cx231xx *dev, unsigned int pipe, in __usb_control_msg()
278 int cx231xx_read_ctrl_reg(struct cx231xx *dev, u8 req, u16 reg, in cx231xx_read_ctrl_reg()
317 int cx231xx_send_vendor_cmd(struct cx231xx *dev, in cx231xx_send_vendor_cmd()
[all …]
Dcx231xx-avcore.c46 static int verve_write_byte(struct cx231xx *dev, u8 saddr, u8 data) in verve_write_byte()
52 static int verve_read_byte(struct cx231xx *dev, u8 saddr, u8 *data) in verve_read_byte()
62 void initGPIO(struct cx231xx *dev) in initGPIO()
84 void uninitGPIO(struct cx231xx *dev) in uninitGPIO()
98 static int afe_write_byte(struct cx231xx *dev, u16 saddr, u8 data) in afe_write_byte()
104 static int afe_read_byte(struct cx231xx *dev, u16 saddr, u8 *data) in afe_read_byte()
115 int cx231xx_afe_init_super_block(struct cx231xx *dev, u32 ref_count) in cx231xx_afe_init_super_block()
186 int cx231xx_afe_init_channels(struct cx231xx *dev) in cx231xx_afe_init_channels()
235 int cx231xx_afe_setup_AFE_for_baseband(struct cx231xx *dev) in cx231xx_afe_setup_AFE_for_baseband()
256 int cx231xx_afe_set_input_mux(struct cx231xx *dev, u32 input_mux) in cx231xx_afe_set_input_mux()
[all …]
DKconfig3 tristate "Conexant cx231xx USB video capture support"
15 module will be called cx231xx
18 bool "Conexant cx231xx Remote Controller additional support"
24 cx231xx hardware has a builtin RX/TX support. However, a few
40 module will be called cx231xx-alsa
59 Conexant cx231xx chips.
Dcx231xx-i2c.c45 static inline int get_real_i2c_port(struct cx231xx *dev, int bus_nr) in get_real_i2c_port()
52 static inline bool is_tuner(struct cx231xx *dev, struct cx231xx_i2c *bus, in is_tuner()
76 struct cx231xx *dev = bus->dev; in cx231xx_i2c_send_bytes()
187 struct cx231xx *dev = bus->dev; in cx231xx_i2c_recv_bytes()
274 struct cx231xx *dev = bus->dev; in cx231xx_i2c_recv_bytes_with_saddr()
337 struct cx231xx *dev = bus->dev; in cx231xx_i2c_check_for_device()
364 struct cx231xx *dev = bus->dev; in cx231xx_i2c_xfer()
476 void cx231xx_do_i2c_scan(struct cx231xx *dev, int i2c_port) in cx231xx_do_i2c_scan()
516 struct cx231xx *dev = bus->dev; in cx231xx_i2c_register()
553 struct cx231xx *dev = i2c_mux_priv(muxc); in cx231xx_i2c_mux_select()
[all …]
Dcx231xx-audio.c31 static int cx231xx_isoc_audio_deinit(struct cx231xx *dev) in cx231xx_isoc_audio_deinit()
55 static int cx231xx_bulk_audio_deinit(struct cx231xx *dev) in cx231xx_bulk_audio_deinit()
81 struct cx231xx *dev = urb->context; in cx231xx_audio_isocirq()
173 struct cx231xx *dev = urb->context; in cx231xx_audio_bulkirq()
258 static int cx231xx_init_audio_isoc(struct cx231xx *dev) in cx231xx_init_audio_isoc()
319 static int cx231xx_init_audio_bulk(struct cx231xx *dev) in cx231xx_init_audio_bulk()
397 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_capture_open()
444 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_pcm_close()
481 struct cx231xx *dev = snd_pcm_substream_chip(substream); in snd_cx231xx_prepare()
491 struct cx231xx *dev = container_of(work, struct cx231xx, wq_trigger); in audio_trigger()
[all …]
Dcx231xx-cards.c1086 struct cx231xx *dev = ptr; in cx231xx_tuner_callback()
1118 static void cx231xx_reset_out(struct cx231xx *dev) in cx231xx_reset_out()
1127 static void cx231xx_enable_OSC(struct cx231xx *dev) in cx231xx_enable_OSC()
1132 static void cx231xx_sleep_s5h1432(struct cx231xx *dev) in cx231xx_sleep_s5h1432()
1137 static inline void cx231xx_set_model(struct cx231xx *dev) in cx231xx_set_model()
1145 void cx231xx_pre_card_setup(struct cx231xx *dev) in cx231xx_pre_card_setup()
1173 static void cx231xx_config_tuner(struct cx231xx *dev) in cx231xx_config_tuner()
1211 static int read_eeprom(struct cx231xx *dev, struct i2c_client *client, in read_eeprom()
1250 void cx231xx_card_setup(struct cx231xx *dev) in cx231xx_card_setup()
1321 int cx231xx_config(struct cx231xx *dev) in cx231xx_config()
[all …]
Dcx231xx-dvb.c167 static inline void print_err_status(struct cx231xx *dev, int packet, int status) in print_err_status()
207 static inline int dvb_isoc_copy(struct cx231xx *dev, struct urb *urb) in dvb_isoc_copy()
241 static inline int dvb_bulk_copy(struct cx231xx *dev, struct urb *urb) in dvb_bulk_copy()
265 struct cx231xx *dev = dvb->adapter.priv; in start_streaming()
295 struct cx231xx *dev = dvb->adapter.priv; in stop_streaming()
349 struct cx231xx *dev = fe->dvb->priv; in cx231xx_dvb_bus_ctrl()
370 static int attach_xc5000(u8 addr, struct cx231xx *dev)
400 int cx231xx_set_analog_freq(struct cx231xx *dev, u32 freq) in cx231xx_set_analog_freq()
423 int cx231xx_reset_analog_tuner(struct cx231xx *dev) in cx231xx_reset_analog_tuner()
456 struct cx231xx *dev, struct device *device) in register_dvb()
[all …]
Dcx231xx-input.c49 int cx231xx_ir_init(struct cx231xx *dev) in cx231xx_ir_init()
97 void cx231xx_ir_exit(struct cx231xx *dev) in cx231xx_ir_exit()
Dcx231xx-pcb-cfg.h210 struct cx231xx;
212 int initialize_cx231xx(struct cx231xx *p_dev);
Dcx231xx-pcb-cfg.c645 int initialize_cx231xx(struct cx231xx *dev) in initialize_cx231xx()
/linux-6.12.1/drivers/media/usb/
DMakefile26 obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
DKconfig38 source "drivers/media/usb/cx231xx/Kconfig"
/linux-6.12.1/Documentation/admin-guide/media/
Dusb-cardlist.rst46 cx231xx Conexant cx231xx USB video capture
105 cx231xx-cardlist
Dcx231xx-cardlist.rst3 cx231xx cards list
Dbuilding.rst277 :doc:`this table <cx231xx-cardlist>`, with modular media core modules, the
/linux-6.12.1/scripts/
Dget_dvb_firmware352 sub cx231xx { subroutine
/linux-6.12.1/Documentation/i2c/
Di2c-topology.rst411 usb/cx231xx/ Parent-locked
/linux-6.12.1/Documentation/driver-api/media/drivers/
Dcx2341x-devel.rst3587 The cx231xx DMA engine