| /linux/drivers/media/tuners/ |
| H A 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
|
| /linux/drivers/media/usb/au0828/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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/drivers/media/dvb-frontends/ |
| H A 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 …]
|
| H A 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/drivers/media/usb/cx231xx/ |
| H A 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 …]
|
| /linux/drivers/media/pci/cx88/ |
| H A 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 …]
|
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A 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/drivers/media/pci/cx23885/ |
| H A 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 …]
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A 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/drivers/media/usb/em28xx/ |
| H A 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 …]
|
| H A D | em28xx-cards.c | 44 static unsigned int card[] = {[0 ... (EM28XX_MAXBOARDS - 1)] = -1U }; 51 "USB transfer mode for frame data (-1 = auto, 0 = prefer isoc, 1 = prefer bulk)"); 53 /* Bitmask marking allocated devices from 0 to EM28XX_MAXBOARDS - 1 */ 70 {EM2820_R08_GPIO_CTRL, 0x6d, ~EM_GPIO_4, 10}, 76 {EM2820_R08_GPIO_CTRL, 0x6e, ~EM_GPIO_4, 10}, 82 {EM2820_R08_GPIO_CTRL, 0xfd, 0xff, 100}, 83 {EM2820_R08_GPIO_CTRL, 0xfe, 0xff, 100}, 88 {EM2820_R08_GPIO_CTRL, 0x6a, 0xff, 100}, 89 {EM2820_R08_GPIO_CTRL, 0x7a, 0xff, 100}, 90 {EM2880_R04_GPO, 0x04, 0xff, 100}, [all …]
|
| /linux/drivers/media/common/ |
| H A 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/drivers/interconnect/qcom/ |
| H A D | sm8650.c | 29 .port_offsets = { 0xc000 }, 31 .urg_fwd = 0, 32 .prio_fwd_disable = 0, 47 .port_offsets = { 0xd000 }, 49 .urg_fwd = 0, 50 .prio_fwd_disable = 0, 74 .port_offsets = { 0xe000 }, 76 .urg_fwd = 0, 77 .prio_fwd_disable = 0, 92 .port_offsets = { 0xf000 }, [all …]
|
| /linux/drivers/media/v4l2-core/ |
| H A 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/drivers/media/usb/dvb-usb/ |
| H A 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/scripts/ |
| H A 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 …]
|
| /linux/drivers/media/pci/saa7134/ |
| H A D | saa7134-dvb.c | 30 #include "xc5000.h" 65 MODULE_PARM_DESC(use_frontend,"for cards with multiple frontends (0: terrestrial, 1: satellite)"); 80 return 0; in pinnacle_antenna_pwr() 102 static u8 clock_config [] = { CLOCK_CTL, 0x3d, 0x28 }; in mt352_pinnacle_init() 103 static u8 reset [] = { RESET, 0x80 }; in mt352_pinnacle_init() 104 static u8 adc_ctl_1_cfg [] = { ADC_CTL_1, 0x40 }; in mt352_pinnacle_init() 105 static u8 agc_cfg [] = { AGC_TARGET, 0x28, 0xa0 }; in mt352_pinnacle_init() 106 static u8 capt_range_cfg[] = { CAPT_RANGE, 0x31 }; in mt352_pinnacle_init() 107 static u8 fsm_ctl_cfg[] = { 0x7b, 0x04 }; in mt352_pinnacle_init() 108 static u8 gpp_ctl_cfg [] = { GPP_CTL, 0x0f }; in mt352_pinnacle_init() [all …]
|