/linux-4.1.27/drivers/media/radio/ |
D | tea575x.c | 97 static void snd_tea575x_write(struct snd_tea575x *tea, unsigned int val) in snd_tea575x_write() argument 102 if (tea->ops->write_val) in snd_tea575x_write() 103 return tea->ops->write_val(tea, val); in snd_tea575x_write() 105 tea->ops->set_direction(tea, 1); in snd_tea575x_write() 111 tea->ops->set_pins(tea, data | TEA575X_WREN); in snd_tea575x_write() 113 tea->ops->set_pins(tea, data | TEA575X_WREN | TEA575X_CLK); in snd_tea575x_write() 115 tea->ops->set_pins(tea, data | TEA575X_WREN); in snd_tea575x_write() 119 if (!tea->mute) in snd_tea575x_write() 120 tea->ops->set_pins(tea, 0); in snd_tea575x_write() 123 static u32 snd_tea575x_read(struct snd_tea575x *tea) in snd_tea575x_read() argument [all …]
|
D | radio-tea5777.c | 176 static u32 tea5777_freq_to_v4l2_freq(struct radio_tea5777 *tea, u32 freq) in tea5777_freq_to_v4l2_freq() argument 178 switch (tea->band) { in tea5777_freq_to_v4l2_freq() 187 int radio_tea5777_set_freq(struct radio_tea5777 *tea) in radio_tea5777_set_freq() argument 192 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq() 193 bands[tea->band].rangehigh); in radio_tea5777_set_freq() 196 switch (tea->band) { in radio_tea5777_set_freq() 198 tea->write_reg &= ~TEA5777_W_AM_FM_MASK; in radio_tea5777_set_freq() 200 tea->write_reg &= ~TEA5777_W_FM_PLL_MASK; in radio_tea5777_set_freq() 201 tea->write_reg |= (u64)freq << TEA5777_W_FM_PLL_SHIFT; in radio_tea5777_set_freq() 202 tea->write_reg &= ~TEA5777_W_FM_FREF_MASK; in radio_tea5777_set_freq() [all …]
|
D | radio-maxiradio.c | 71 struct snd_tea575x tea; member 83 static void maxiradio_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in maxiradio_tea575x_set_pins() argument 85 struct maxiradio *dev = tea->private_data; in maxiradio_tea575x_set_pins() 98 static u8 maxiradio_tea575x_get_pins(struct snd_tea575x *tea) in maxiradio_tea575x_get_pins() argument 100 struct maxiradio *dev = tea->private_data; in maxiradio_tea575x_get_pins() 107 static void maxiradio_tea575x_set_direction(struct snd_tea575x *tea, bool output) in maxiradio_tea575x_set_direction() argument 138 dev->tea.private_data = dev; in maxiradio_probe() 139 dev->tea.ops = &maxiradio_tea_ops; in maxiradio_probe() 142 dev->tea.cannot_read_data = true; in maxiradio_probe() 143 dev->tea.v4l2_dev = v4l2_dev; in maxiradio_probe() [all …]
|
D | radio-sf16fmr2.c | 33 struct snd_tea575x tea; member 59 static void fmr2_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in fmr2_tea575x_set_pins() argument 61 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_set_pins() 72 static u8 fmr2_tea575x_get_pins(struct snd_tea575x *tea) in fmr2_tea575x_get_pins() argument 74 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_get_pins() 81 static void fmr2_tea575x_set_direction(struct snd_tea575x *tea, bool output) in fmr2_tea575x_set_direction() argument 117 if (!fmr2->tea.mute) in tc9154a_set_pins() 150 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in fmr2_s_ctrl() local 151 struct fmr2 *fmr2 = tea->private_data; in fmr2_s_ctrl() 183 static int fmr2_tea_ext_init(struct snd_tea575x *tea) in fmr2_tea_ext_init() argument [all …]
|
D | radio-shark2.c | 64 struct radio_tea5777 tea; member 79 static int shark_write_reg(struct radio_tea5777 *tea, u64 reg) in shark_write_reg() argument 81 struct shark_device *shark = tea->private_data; in shark_write_reg() 89 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-write: %*ph\n", in shark_write_reg() 97 v4l2_err(tea->v4l2_dev, "write error: %d\n", res); in shark_write_reg() 104 static int shark_read_reg(struct radio_tea5777 *tea, u32 *reg_ret) in shark_read_reg() argument 106 struct shark_device *shark = tea->private_data; in shark_read_reg() 117 v4l2_err(tea->v4l2_dev, "request-read error: %d\n", res); in shark_read_reg() 126 v4l2_err(tea->v4l2_dev, "read error: %d\n", res); in shark_read_reg() 133 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-read: %*ph\n", in shark_read_reg() [all …]
|
D | radio-shark.c | 68 struct snd_tea575x tea; member 84 static void shark_write_val(struct snd_tea575x *tea, u32 val) in shark_write_val() argument 86 struct shark_device *shark = tea->private_data; in shark_write_val() 108 static u32 shark_read_val(struct snd_tea575x *tea) in shark_read_val() argument 110 struct shark_device *shark = tea->private_data; in shark_read_val() 146 shark->tea.stereo = true; in shark_read_val() 148 shark->tea.stereo = false; in shark_read_val() 299 mutex_lock(&shark->tea.mutex); in usb_shark_disconnect() 301 snd_tea575x_exit(&shark->tea); in usb_shark_disconnect() 302 mutex_unlock(&shark->tea.mutex); in usb_shark_disconnect() [all …]
|
D | radio-tea5777.h | 50 int (*write_reg)(struct radio_tea5777 *tea, u64 val); 61 int (*read_reg)(struct radio_tea5777 *tea, u32 *val); 86 int radio_tea5777_init(struct radio_tea5777 *tea, struct module *owner); 87 void radio_tea5777_exit(struct radio_tea5777 *tea); 88 int radio_tea5777_set_freq(struct radio_tea5777 *tea);
|
/linux-4.1.27/sound/i2c/ |
D | tea6330t.c | 71 static void snd_tea6330t_set(struct tea6330t *tea, 77 snd_i2c_write(tea->bus, TEA6330T_ADDR, addr, value, 1); 99 struct tea6330t *tea = snd_kcontrol_chip(kcontrol); in snd_tea6330t_get_master_volume() local 101 snd_i2c_lock(tea->bus); in snd_tea6330t_get_master_volume() 102 ucontrol->value.integer.value[0] = tea->mleft - 0x14; in snd_tea6330t_get_master_volume() 103 ucontrol->value.integer.value[1] = tea->mright - 0x14; in snd_tea6330t_get_master_volume() 104 snd_i2c_unlock(tea->bus); in snd_tea6330t_get_master_volume() 111 struct tea6330t *tea = snd_kcontrol_chip(kcontrol); in snd_tea6330t_put_master_volume() local 118 snd_i2c_lock(tea->bus); in snd_tea6330t_put_master_volume() 119 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume() [all …]
|
/linux-4.1.27/include/media/ |
D | tea575x.h | 42 void (*write_val)(struct snd_tea575x *tea, u32 val); 43 u32 (*read_val)(struct snd_tea575x *tea); 45 void (*set_pins)(struct snd_tea575x *tea, u8 pins); 46 u8 (*get_pins)(struct snd_tea575x *tea); 47 void (*set_direction)(struct snd_tea575x *tea, bool output); 71 int (*ext_init)(struct snd_tea575x *tea); 74 int snd_tea575x_enum_freq_bands(struct snd_tea575x *tea, 76 int snd_tea575x_g_tuner(struct snd_tea575x *tea, struct v4l2_tuner *v); 77 int snd_tea575x_s_hw_freq_seek(struct file *file, struct snd_tea575x *tea, 79 int snd_tea575x_hw_init(struct snd_tea575x *tea); [all …]
|
/linux-4.1.27/sound/pci/ |
D | fm801.c | 207 struct snd_tea575x tea; member 748 static void snd_fm801_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in snd_fm801_tea575x_set_pins() argument 750 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_set_pins() 766 static u8 snd_fm801_tea575x_get_pins(struct snd_tea575x *tea) in snd_fm801_tea575x_get_pins() argument 768 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_get_pins() 781 static void snd_fm801_tea575x_set_direction(struct snd_tea575x *tea, bool output) in snd_fm801_tea575x_set_direction() argument 783 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_set_direction() 1171 snd_tea575x_exit(&chip->tea); in snd_fm801_free() 1239 chip->tea.v4l2_dev = &chip->v4l2_dev; in snd_fm801_create() 1240 chip->tea.radio_nr = radio_nr; in snd_fm801_create() [all …]
|
D | es1968.c | 566 struct snd_tea575x tea; member 2560 static void snd_es1968_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in snd_es1968_tea575x_set_pins() argument 2562 struct es1968 *chip = tea->private_data; in snd_es1968_tea575x_set_pins() 2573 static u8 snd_es1968_tea575x_get_pins(struct snd_tea575x *tea) in snd_es1968_tea575x_get_pins() argument 2575 struct es1968 *chip = tea->private_data; in snd_es1968_tea575x_get_pins() 2588 static void snd_es1968_tea575x_set_direction(struct snd_tea575x *tea, bool output) in snd_es1968_tea575x_set_direction() argument 2590 struct es1968 *chip = tea->private_data; in snd_es1968_tea575x_set_direction() 2631 snd_tea575x_exit(&chip->tea); in snd_es1968_free() 2781 chip->tea.v4l2_dev = &chip->v4l2_dev; in snd_es1968_create() 2782 chip->tea.private_data = chip; in snd_es1968_create() [all …]
|
/linux-4.1.27/arch/sh/include/asm/ |
D | suspend.h | 46 unsigned long tea; member
|
/linux-4.1.27/arch/sh/kernel/ |
D | asm-offsets.c | 51 DEFINE(SH_SLEEP_REG_TEA, offsetof(struct sh_sleep_regs, tea)); in main()
|
/linux-4.1.27/arch/sh/kernel/cpu/shmobile/ |
D | pm.c | 96 sdp->addr.tea = 0xff00000c; /* TEA */ in sh_mobile_register_self_refresh()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | bttv-cards.c | 3749 static void bttv_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in bttv_tea575x_set_pins() argument 3751 struct bttv *btv = tea->private_data; in bttv_tea575x_set_pins() 3770 static u8 bttv_tea575x_get_pins(struct snd_tea575x *tea) in bttv_tea575x_get_pins() argument 3772 struct bttv *btv = tea->private_data; in bttv_tea575x_get_pins() 3797 static void bttv_tea575x_set_direction(struct snd_tea575x *tea, bool output) in bttv_tea575x_set_direction() argument 3799 struct bttv *btv = tea->private_data; in bttv_tea575x_set_direction() 3819 btv->tea.private_data = btv; in tea575x_init() 3820 btv->tea.ops = &bttv_tea_ops; in tea575x_init() 3821 if (!snd_tea575x_hw_init(&btv->tea)) { in tea575x_init() 3823 btv->tea.mute = false; in tea575x_init()
|
D | bttvp.h | 455 struct snd_tea575x tea; member
|
D | bttv-driver.c | 1878 btv->tea.freq = btv->radio_freq; in bttv_set_frequency() 1879 snd_tea575x_set_freq(&btv->tea); in bttv_set_frequency() 3264 return snd_tea575x_g_tuner(&btv->tea, t); in radio_g_tuner() 3290 return snd_tea575x_s_hw_freq_seek(file, &btv->tea, a); in radio_s_hw_freq_seek() 3302 return snd_tea575x_enum_freq_bands(&btv->tea, band); in radio_enum_freq_bands()
|
/linux-4.1.27/crypto/ |
D | Makefile | 77 obj-$(CONFIG_CRYPTO_TEA) += tea.o
|
/linux-4.1.27/Documentation/video4linux/bttv/ |
D | Insmod-options | 86 driver for all simple i2c audio control chips (tda/tea*).
|