/linux-6.12.1/drivers/media/tuners/ |
D | xc5000.c | 3 * Driver for Xceive XC5000 "QAM/8VSB single chip tuner" 20 #include "xc5000.h" 29 MODULE_PARM_DESC(no_poweroff, "0 (default) powers device off when not used.\n" 37 printk(KERN_INFO "%s: " fmt, "xc5000", ## arg) 72 #define XC_RF_MODE_AIR 0 76 #define XC_PRODUCT_ID_FW_NOT_LOADED 0x2000 77 #define XC_PRODUCT_ID_FW_LOADED 0x1388 80 #define XREG_INIT 0x00 81 #define XREG_VIDEO_MODE 0x01 82 #define XREG_AUDIO_MODE 0x02 [all …]
|
D | xc5000.h | 3 * Driver for Xceive XC5000 "QAM/8VSB single chip tuner" 29 /* xc5000 callback command */ 30 #define XC5000_TUNER_RESET 0 33 #define XC5000_RADIO_NOT_CONFIGURED 0 42 * The xc5000 driver cares not for this value, other than ensuring
|
D | tuner-types.c | 43 * 0x80 = Control Byte 44 * 0x40 = 250 uA charge pump (irrelevant) 45 * 0x18 = Aux Byte to follow 46 * 0x06 = 64.5 kHz divider (irrelevant) 47 * 0x01 = Disable Vt (aka sleep) 49 * 0x00 = AGC Time constant 2s Iagc = 300 nA (vs 0x80 = 9 nA) 50 * 0x50 = AGC Take over point = 103 dBuV 52 static u8 tua603x_agc103[] = { 2, 0x80|0x40|0x18|0x06|0x01, 0x00|0x50 }; 54 /* 0x04 = 166.67 kHz divider 56 * 0x80 = AGC Time constant 50ms Iagc = 9 uA [all …]
|
/linux-6.12.1/drivers/media/usb/au0828/ |
D | au0828-cards.c | 20 au0828_set(dev, REG_000, 0x10); in hvr950q_cs5340_audio() 22 au0828_clear(dev, REG_000, 0x10); in hvr950q_cs5340_audio() 39 .tuner_addr = 0x61, 66 .tuner_addr = 0x61, 93 .tuner_addr = 0x61, 99 .tuner_addr = 0x61, 105 .tuner_addr = 0x60, 111 * for HVR1500Q, which has an xc5000 tuner. 124 if (command == 0) { in au0828_tuner_callback() 125 /* Tuner Reset Command from xc5000 */ in au0828_tuner_callback() [all …]
|
D | au0828-i2c.c | 30 AU0828_I2C_STATUS_NO_READ_ACK ? 0 : 1; in i2c_slave_did_read_ack() 37 for (count = 0; count < I2C_WAIT_RETRY; count++) { in i2c_wait_read_ack() 44 return 0; in i2c_wait_read_ack() 53 AU0828_I2C_STATUS_READ_DONE ? 0 : 1; in i2c_is_read_busy() 60 for (count = 0; count < I2C_WAIT_RETRY; count++) { in i2c_wait_read_done() 67 return 0; in i2c_wait_read_done() 76 AU0828_I2C_STATUS_WRITE_DONE ? 1 : 0; in i2c_is_write_done() 83 for (count = 0; count < I2C_WAIT_RETRY; count++) { in i2c_wait_write_done() 90 return 0; in i2c_wait_write_done() 99 AU0828_I2C_STATUS_BUSY ? 1 : 0; in i2c_is_busy() [all …]
|
D | au0828-dvb.c | 18 #include "xc5000.h" 28 #define _AU0828_BULKPIPE 0x83 29 #define _BULKPIPESIZE 0xe522 32 0x00, /* off */ 33 0x02, /* yellow */ 34 0x04, /* green */ 38 .gpio_output = 0x00e0, 39 .gpio_output_enable = 0x6006, 40 .gpio_output_disable = 0x0660, 42 .gpio_leds = 0x00e2, [all …]
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | stv0367_defs.h | 17 #define STV0367_DEFTAB_GENERIC 0 21 #define STV0367_TAB_TER 0 33 {R367TER_ID, 0x60}, 34 {R367TER_I2CRPT, 0xa0}, 35 /* {R367TER_I2CRPT, 0x22},*/ 36 {R367TER_TOPCTRL, 0x00},/* for xc5000; was 0x02 */ 37 {R367TER_IOCFG0, 0x40}, 38 {R367TER_DAC0R, 0x00}, 39 {R367TER_IOCFG1, 0x00}, 40 {R367TER_DAC1R, 0x00}, [all …]
|
D | au8522_decoder.c | 12 * analog demodulator code isn't implemented (not needed for xc5000 since it 37 "Analog debugging messages [0=Off (default) 1=On]"); 47 0="ATV RF" 1="ATV RF13" 2="CVBS" 3="S-Video" 4="PAL" 5=CVBS13" 6="SVideo13" 50 {AU8522_FILTER_COEF_R410, {0x25, 0x00, 0x25, 0x25, 0x00, 0x00, 0x00} }, 51 {AU8522_FILTER_COEF_R411, {0x20, 0x00, 0x20, 0x20, 0x00, 0x00, 0x00} }, 52 {AU8522_FILTER_COEF_R412, {0x03, 0x00, 0x03, 0x03, 0x00, 0x00, 0x00} }, 53 {AU8522_FILTER_COEF_R413, {0xe6, 0x00, 0xe6, 0xe6, 0x00, 0x00, 0x00} }, 54 {AU8522_FILTER_COEF_R414, {0x40, 0x00, 0x40, 0x40, 0x00, 0x00, 0x00} }, 55 {AU8522_FILTER_COEF_R415, {0x1b, 0x00, 0x1b, 0x1b, 0x00, 0x00, 0x00} }, 56 {AU8522_FILTER_COEF_R416, {0xc0, 0x00, 0xc0, 0x04, 0x00, 0x00, 0x00} }, [all …]
|
/linux-6.12.1/drivers/media/usb/cx231xx/ |
D | cx231xx-dvb.c | 22 #include "xc5000.h" 80 .if_lvl = 1, .rfagc_top = 0x37, }, 82 .if_lvl = 1, .rfagc_top = 0x37, }, 84 .if_lvl = 1, .rfagc_top = 0x37, }, 89 .if_lvl = 0, .rfagc_top = 0x37, }, 117 .i2c_addr = 0x0e, 129 .if_lvl = 1, .rfagc_top = 0x58, }, 131 .if_lvl = 1, .rfagc_top = 0x58, }, 140 .demod_address = 0x10, 161 .i2c_addr = 0x3a, /* 0x74 >> 1 */ [all …]
|
D | cx231xx-i2c.c | 35 } while (0) 43 } while (0) 78 int status = 0; in cx231xx_i2c_send_bytes() 79 u16 size = 0; in cx231xx_i2c_send_bytes() 80 u8 loop = 0; in cx231xx_i2c_send_bytes() 83 u16 saddr = 0; in cx231xx_i2c_send_bytes() 84 u8 need_gpio = 0; in cx231xx_i2c_send_bytes() 91 * to XC5000. So ignore the request */ in cx231xx_i2c_send_bytes() 92 return 0; in cx231xx_i2c_send_bytes() 95 saddr = msg->buf[0] << 8 | msg->buf[1]; in cx231xx_i2c_send_bytes() [all …]
|
D | cx231xx-cards.c | 23 #include "xc5000.h" 33 MODULE_PARM_DESC(transfer_mode, "transfer mode (1-ISO or 0-BULK)"); 39 /* Bitmask marking allocated devices from 0 to CX231XX_MAXBOARDS */ 47 {0x03, 0x01, 10}, 48 {0x03, 0x00, 30}, 49 {0x03, 0x01, 10}, 83 .tuner_addr = 0x61, 85 .tuner_sif_gpio = 0x05, 86 .tuner_scl_gpio = 0x1a, 87 .tuner_sda_gpio = 0x1b, [all …]
|
/linux-6.12.1/drivers/media/pci/cx88/ |
D | cx88-cards.c | 19 static unsigned int tuner[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET }; 20 static unsigned int radio[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET }; 21 static unsigned int card[] = {[0 ... (CX88_MAXBOARDS - 1)] = UNSET }; 43 } while (0) 60 .vmux = 0, 81 .vmux = 0, 82 .gpio0 = 0xff00, // internal decoder 85 .vmux = 0, 86 .gpio0 = 0xff01, // mono from tuner chip 90 .gpio0 = 0xff02, [all …]
|
D | cx88-i2c.c | 40 } while (0) 49 core->i2c_state |= 0x02; in cx8800_bit_setscl() 51 core->i2c_state &= ~0x02; in cx8800_bit_setscl() 61 core->i2c_state |= 0x01; in cx8800_bit_setsda() 63 core->i2c_state &= ~0x01; in cx8800_bit_setsda() 74 return state & 0x02 ? 1 : 0; in cx8800_bit_getscl() 83 return state & 0x01; in cx8800_bit_getsda() 100 [0x1c >> 1] = "lgdt330x", 101 [0x86 >> 1] = "tda9887/cx22702", 102 [0xa0 >> 1] = "eeprom", [all …]
|
D | cx88-dvb.c | 32 #include "xc5000.h" 71 } while (0) 84 sizes[0] = dev->ts_packet_size * dev->ts_packet_count; in queue_setup() 86 return 0; in queue_setup() 108 memset(risc, 0, sizeof(*risc)); in buffer_finish() 128 return 0; in start_streaming() 167 int ret = 0; in cx88_dvb_bus_ctrl() 184 dev->frontends.active_fe_id = 0; in cx88_dvb_bus_ctrl() 218 static const u8 clock_config[] = { CLOCK_CTL, 0x38, 0x39 }; in dvico_fusionhdtv_demod_init() 219 static const u8 reset[] = { RESET, 0x80 }; in dvico_fusionhdtv_demod_init() [all …]
|
/linux-6.12.1/include/media/ |
D | tuner-types.h | 35 * Please notice that digital tuners like xc3028/xc4000/xc5000 don't use 98 * 0 means inactive, 1 means active. Note: the 100 * inverted. So a 0 here means a 1 in the B6 bit. 102 * 0 means inactive, 1 means active. Note: the 104 * inverted. So a 0 here means a 1 in the B7 bit. 112 * FM and 0 for stereo. 113 * @default_pll_gating_18: Select 18% (or according to datasheet 0%) 120 * 0 = 10.7, 1 = 33.3, 2 = 41.3 122 * band. Default is 0. Range: -16:+15 124 * band. Default is 0. Range: -16:+15 [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | marvell,pp2.yaml | 32 const: 0 59 '^(ethernet-)?port@[0-2]$': 92 "hifX", with X in [0..8], and "link". The names "tx-cpu0", 165 '^(ethernet-)?port@[0-2]$': 187 '^(ethernet-)?port@[0-1]$': 204 #size-cells = <0>; 206 reg = <0xf0000 0xa000>, 207 <0xc0000 0x3060>, 208 <0xc4000 0x100>, 209 <0xc5000 0x100>; [all …]
|
/linux-6.12.1/drivers/media/pci/cx23885/ |
D | cx23885-cards.c | 23 #include "xc5000.h" 39 "\t\t Default: 0 [Disabled]"); 48 .clk_freq = 0, 51 .vmux = 0, 68 .vmux = 0, 69 .gpio0 = 0xff00, 72 .vmux = 0, 73 .gpio0 = 0xff01, 77 .gpio0 = 0xff02, 81 .gpio0 = 0xff02, [all …]
|
D | cx23885-i2c.c | 29 } while (0) 41 return cx_read(bus->reg_stat) & 0x01; in i2c_slave_did_ack() 48 return cx_read(bus->reg_stat) & 0x02 ? 1 : 0; in i2c_is_busy() 55 for (count = 0; count < I2C_WAIT_RETRY; count++) { in i2c_wait_done() 62 return 0; in i2c_wait_done() 82 if (msg->len == 0) { in i2c_sendbytes() 90 dprintk(1, "%s() returns 0\n", __func__); in i2c_sendbytes() 91 return 0; in i2c_sendbytes() 96 addr = (msg->addr << 25) | msg->buf[0]; in i2c_sendbytes() 97 wdata = msg->buf[0]; in i2c_sendbytes() [all …]
|
D | cx23885-dvb.c | 28 #include "xc5000.h" 76 } while (0) 97 sizes[0] = port->ts_packet_size * port->ts_packet_count; in queue_setup() 99 return 0; in queue_setup() 158 return 0; in cx23885_start_streaming() 180 .demod_address = 0x32 >> 1, 190 .demod_address = 0x10 >> 1, 201 .demod_address = 0x10 >> 1, 212 .demod_address = 0x32 >> 1, 222 .demod_address = 0x32 >> 1, [all …]
|
/linux-6.12.1/arch/arm/boot/dts/marvell/ |
D | armada-375.dtsi | 36 #clock-cells = <0>; 42 #clock-cells = <0>; 49 #size-cells = <0>; 52 cpu0: cpu@0 { 55 reg = <0>; 75 pcie-mem-aperture = <0xe0000000 0x8000000>; 76 pcie-io-aperture = <0xe8000000 0x100000>; 80 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>; 85 reg = <MBUS_ID(0xf0, 0x01) 0x10400 0x8>; 86 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0xffffffff>; [all …]
|
/linux-6.12.1/drivers/media/usb/em28xx/ |
D | em28xx.h | 35 #include "xc5000.h" 39 #define EM2800_BOARD_UNKNOWN 0 157 #define EM28XX_BOARD_VALIDATED 0 161 #define EM28XX_STOP_AUDIO 0 201 #define PRIMARY_TS 0 306 EM28XX_NO_AC97 = 0, 317 EM28XX_INT_AUDIO_NONE = 0, 323 EM28XX_USB_AUDIO_NONE = 0, 369 EM28XX_AMUX_VIDEO = 0, 383 EM28XX_AOUT_MASTER = BIT(0), [all …]
|
/linux-6.12.1/drivers/media/common/ |
D | tveeprom.c | 67 /* 0-9 */ 233 { TUNER_XC5000, "Xceive XC5000"}, 284 /* 0-4 */ 306 { TVEEPROM_AUDPROC_OTHER, "Type 0x12" }, 319 { TVEEPROM_AUDPROC_MSP, "Type 0x1d" }, 352 /* 0-4 */ 412 return 0; in hasRadioTuner() 421 ** if packet[0] == 0x84, then packet[0..1] == length in tveeprom_hauppauge_analog() 422 ** else length = packet[0] & 3f; in tveeprom_hauppauge_analog() 423 ** if packet[0] & f8 == f8, then EOD and packet[1] == checksum in tveeprom_hauppauge_analog() [all …]
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | tuner-core.c | 41 #include "xc5000.h" 95 } while (0) 267 return 0; in fe_set_config() 308 dprintk("tuner 0x%02x: Tuner type absent\n", c->addr); in set_type() 350 buffer[0] = 0x0b; in set_type() 351 buffer[1] = 0xdc; in set_type() 352 buffer[2] = 0x9c; in set_type() 353 buffer[3] = 0x60; in set_type() 356 buffer[2] = 0x86; in set_type() 357 buffer[3] = 0x54; in set_type() [all …]
|
/linux-6.12.1/drivers/media/usb/dvb-usb/ |
D | dib0700_devices.c | 16 #include "xc5000.h" 29 …vation of Low-Noise-Amplifier(s) (LNA), if applicable for the device (default: 0=automatic/off)."); 42 .i2c_address = 0x60, 45 .i2c_address = 0x61, 52 .setup = (1 << 8) | (5 << 5) | (0 << 4) | (0 << 3) | (0 << 2) | (2 << 0), 57 .agc2_min = 0, 59 .agc1_pt1 = 0, 62 .agc1_slope1 = 0, 65 .agc2_pt1 = 0, 74 .max_time = 0x196, [all …]
|
/linux-6.12.1/scripts/ |
D | extract_xc3028.pl | 12 # wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip 25 my $debug=0; 50 while ($length > 0) { 66 my $msb = ($val >> 8) &0xff; 67 my $lsb = $val & 0xff; 75 my $l3 = ($val >> 24) & 0xff; 76 my $l2 = ($val >> 16) & 0xff; 77 my $l1 = ($val >> 8) & 0xff; 78 my $l0 = $val & 0xff; 87 my $l7 = ($msb_val >> 24) & 0xff; [all …]
|