Home
last modified time | relevance | path

Searched refs:tea (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/radio/
Dtea575x.c82 static void snd_tea575x_write(struct snd_tea575x *tea, unsigned int val) in snd_tea575x_write() argument
87 if (tea->ops->write_val) in snd_tea575x_write()
88 return tea->ops->write_val(tea, val); in snd_tea575x_write()
90 tea->ops->set_direction(tea, 1); in snd_tea575x_write()
96 tea->ops->set_pins(tea, data | TEA575X_WREN); in snd_tea575x_write()
98 tea->ops->set_pins(tea, data | TEA575X_WREN | TEA575X_CLK); in snd_tea575x_write()
100 tea->ops->set_pins(tea, data | TEA575X_WREN); in snd_tea575x_write()
104 if (!tea->mute) in snd_tea575x_write()
105 tea->ops->set_pins(tea, 0); in snd_tea575x_write()
108 static u32 snd_tea575x_read(struct snd_tea575x *tea) in snd_tea575x_read() argument
[all …]
Dradio-tea5777.c162 static u32 tea5777_freq_to_v4l2_freq(struct radio_tea5777 *tea, u32 freq) in tea5777_freq_to_v4l2_freq() argument
164 switch (tea->band) { in tea5777_freq_to_v4l2_freq()
173 int radio_tea5777_set_freq(struct radio_tea5777 *tea) in radio_tea5777_set_freq() argument
178 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq()
179 bands[tea->band].rangehigh); in radio_tea5777_set_freq()
182 switch (tea->band) { in radio_tea5777_set_freq()
184 tea->write_reg &= ~TEA5777_W_AM_FM_MASK; in radio_tea5777_set_freq()
186 tea->write_reg &= ~TEA5777_W_FM_PLL_MASK; in radio_tea5777_set_freq()
187 tea->write_reg |= (u64)freq << TEA5777_W_FM_PLL_SHIFT; in radio_tea5777_set_freq()
188 tea->write_reg &= ~TEA5777_W_FM_FREF_MASK; in radio_tea5777_set_freq()
[all …]
Dradio-maxiradio.c72 struct snd_tea575x tea; member
84 static void maxiradio_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in maxiradio_tea575x_set_pins() argument
86 struct maxiradio *dev = tea->private_data; in maxiradio_tea575x_set_pins()
99 static u8 maxiradio_tea575x_get_pins(struct snd_tea575x *tea) in maxiradio_tea575x_get_pins() argument
101 struct maxiradio *dev = tea->private_data; in maxiradio_tea575x_get_pins()
108 static void maxiradio_tea575x_set_direction(struct snd_tea575x *tea, bool output) in maxiradio_tea575x_set_direction() argument
139 dev->tea.private_data = dev; in maxiradio_probe()
140 dev->tea.ops = &maxiradio_tea_ops; in maxiradio_probe()
143 dev->tea.cannot_read_data = true; in maxiradio_probe()
144 dev->tea.v4l2_dev = v4l2_dev; in maxiradio_probe()
[all …]
Dradio-sf16fmr2.c34 struct snd_tea575x tea; member
60 static void fmr2_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in fmr2_tea575x_set_pins() argument
62 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_set_pins()
73 static u8 fmr2_tea575x_get_pins(struct snd_tea575x *tea) in fmr2_tea575x_get_pins() argument
75 struct fmr2 *fmr2 = tea->private_data; in fmr2_tea575x_get_pins()
82 static void fmr2_tea575x_set_direction(struct snd_tea575x *tea, bool output) in fmr2_tea575x_set_direction() argument
118 if (!fmr2->tea.mute) in tc9154a_set_pins()
151 struct snd_tea575x *tea = container_of(ctrl->handler, struct snd_tea575x, ctrl_handler); in fmr2_s_ctrl() local
152 struct fmr2 *fmr2 = tea->private_data; in fmr2_s_ctrl()
184 static int fmr2_tea_ext_init(struct snd_tea575x *tea) in fmr2_tea_ext_init() argument
[all …]
Dradio-shark2.c60 struct radio_tea5777 tea; member
75 static int shark_write_reg(struct radio_tea5777 *tea, u64 reg) in shark_write_reg() argument
77 struct shark_device *shark = tea->private_data; in shark_write_reg()
85 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-write: %*ph\n", in shark_write_reg()
93 v4l2_err(tea->v4l2_dev, "write error: %d\n", res); in shark_write_reg()
100 static int shark_read_reg(struct radio_tea5777 *tea, u32 *reg_ret) in shark_read_reg() argument
102 struct shark_device *shark = tea->private_data; in shark_read_reg()
113 v4l2_err(tea->v4l2_dev, "request-read error: %d\n", res); in shark_read_reg()
122 v4l2_err(tea->v4l2_dev, "read error: %d\n", res); in shark_read_reg()
129 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-read: %*ph\n", in shark_read_reg()
[all …]
Dradio-shark.c64 struct snd_tea575x tea; member
80 static void shark_write_val(struct snd_tea575x *tea, u32 val) in shark_write_val() argument
82 struct shark_device *shark = tea->private_data; in shark_write_val()
104 static u32 shark_read_val(struct snd_tea575x *tea) in shark_read_val() argument
106 struct shark_device *shark = tea->private_data; in shark_read_val()
142 shark->tea.stereo = true; in shark_read_val()
144 shark->tea.stereo = false; in shark_read_val()
295 mutex_lock(&shark->tea.mutex); in usb_shark_disconnect()
297 snd_tea575x_exit(&shark->tea); in usb_shark_disconnect()
298 mutex_unlock(&shark->tea.mutex); in usb_shark_disconnect()
[all …]
Dradio-tea5777.h36 int (*write_reg)(struct radio_tea5777 *tea, u64 val);
47 int (*read_reg)(struct radio_tea5777 *tea, u32 *val);
72 int radio_tea5777_init(struct radio_tea5777 *tea, struct module *owner);
73 void radio_tea5777_exit(struct radio_tea5777 *tea);
74 int radio_tea5777_set_freq(struct radio_tea5777 *tea);
/kernel/linux/linux-5.10/sound/i2c/
Dtea6330t.c56 static void snd_tea6330t_set(struct tea6330t *tea,
62 snd_i2c_write(tea->bus, TEA6330T_ADDR, addr, value, 1);
84 struct tea6330t *tea = snd_kcontrol_chip(kcontrol); in snd_tea6330t_get_master_volume() local
86 snd_i2c_lock(tea->bus); in snd_tea6330t_get_master_volume()
87 ucontrol->value.integer.value[0] = tea->mleft - 0x14; in snd_tea6330t_get_master_volume()
88 ucontrol->value.integer.value[1] = tea->mright - 0x14; in snd_tea6330t_get_master_volume()
89 snd_i2c_unlock(tea->bus); in snd_tea6330t_get_master_volume()
96 struct tea6330t *tea = snd_kcontrol_chip(kcontrol); in snd_tea6330t_put_master_volume() local
103 snd_i2c_lock(tea->bus); in snd_tea6330t_put_master_volume()
104 change = val1 != tea->mleft || val2 != tea->mright; in snd_tea6330t_put_master_volume()
[all …]
/kernel/linux/linux-5.10/include/media/drv-intf/
Dtea575x.h28 void (*write_val)(struct snd_tea575x *tea, u32 val);
29 u32 (*read_val)(struct snd_tea575x *tea);
31 void (*set_pins)(struct snd_tea575x *tea, u8 pins);
32 u8 (*get_pins)(struct snd_tea575x *tea);
33 void (*set_direction)(struct snd_tea575x *tea, bool output);
57 int (*ext_init)(struct snd_tea575x *tea);
60 int snd_tea575x_enum_freq_bands(struct snd_tea575x *tea,
62 int snd_tea575x_g_tuner(struct snd_tea575x *tea, struct v4l2_tuner *v);
63 int snd_tea575x_s_hw_freq_seek(struct file *file, struct snd_tea575x *tea,
65 int snd_tea575x_hw_init(struct snd_tea575x *tea);
[all …]
/kernel/linux/linux-5.10/sound/pci/
Dfm801.c224 struct snd_tea575x tea; member
763 static void snd_fm801_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in snd_fm801_tea575x_set_pins() argument
765 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_set_pins()
781 static u8 snd_fm801_tea575x_get_pins(struct snd_tea575x *tea) in snd_fm801_tea575x_get_pins() argument
783 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_get_pins()
796 static void snd_fm801_tea575x_set_direction(struct snd_tea575x *tea, bool output) in snd_fm801_tea575x_set_direction() argument
798 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_set_direction()
1192 snd_tea575x_exit(&chip->tea); in snd_fm801_free()
1270 chip->tea.v4l2_dev = &chip->v4l2_dev; in snd_fm801_create()
1271 chip->tea.radio_nr = radio_nr; in snd_fm801_create()
[all …]
Des1968.c552 struct snd_tea575x tea; member
2541 static void snd_es1968_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in snd_es1968_tea575x_set_pins() argument
2543 struct es1968 *chip = tea->private_data; in snd_es1968_tea575x_set_pins()
2554 static u8 snd_es1968_tea575x_get_pins(struct snd_tea575x *tea) in snd_es1968_tea575x_get_pins() argument
2556 struct es1968 *chip = tea->private_data; in snd_es1968_tea575x_get_pins()
2569 static void snd_es1968_tea575x_set_direction(struct snd_tea575x *tea, bool output) in snd_es1968_tea575x_set_direction() argument
2571 struct es1968 *chip = tea->private_data; in snd_es1968_tea575x_set_direction()
2610 snd_tea575x_exit(&chip->tea); in snd_es1968_free()
2761 chip->tea.v4l2_dev = &chip->v4l2_dev; in snd_es1968_create()
2762 chip->tea.private_data = chip; in snd_es1968_create()
[all …]
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsuspend.h47 unsigned long tea; member
/kernel/linux/linux-5.10/arch/sh/kernel/
Dasm-offsets.c52 DEFINE(SH_SLEEP_REG_TEA, offsetof(struct sh_sleep_regs, tea)); in main()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/shmobile/
Dpm.c93 sdp->addr.tea = 0xff00000c; /* TEA */ in sh_mobile_register_self_refresh()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttv-cards.c3741 static void bttv_tea575x_set_pins(struct snd_tea575x *tea, u8 pins) in bttv_tea575x_set_pins() argument
3743 struct bttv *btv = tea->private_data; in bttv_tea575x_set_pins()
3762 static u8 bttv_tea575x_get_pins(struct snd_tea575x *tea) in bttv_tea575x_get_pins() argument
3764 struct bttv *btv = tea->private_data; in bttv_tea575x_get_pins()
3789 static void bttv_tea575x_set_direction(struct snd_tea575x *tea, bool output) in bttv_tea575x_set_direction() argument
3791 struct bttv *btv = tea->private_data; in bttv_tea575x_set_direction()
3811 btv->tea.private_data = btv; in tea575x_init()
3812 btv->tea.ops = &bttv_tea_ops; in tea575x_init()
3813 if (!snd_tea575x_hw_init(&btv->tea)) { in tea575x_init()
3815 btv->tea.mute = false; in tea575x_init()
Dbttvp.h443 struct snd_tea575x tea; member
Dbttv-driver.c1834 btv->tea.freq = btv->radio_freq; in bttv_set_frequency()
1835 snd_tea575x_set_freq(&btv->tea); in bttv_set_frequency()
3214 return snd_tea575x_g_tuner(&btv->tea, t); in radio_g_tuner()
3240 return snd_tea575x_s_hw_freq_seek(file, &btv->tea, a); in radio_s_hw_freq_seek()
3252 return snd_tea575x_enum_freq_bands(&btv->tea, band); in radio_enum_freq_bands()
/kernel/linux/linux-5.10/crypto/
DMakefile146 obj-$(CONFIG_CRYPTO_TEA) += tea.o
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0003_linux_crypto.patch57 "cast6", "arc4", "michael_mic", "deflate", "crc32c", "tea", "xtea",
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dbttv.rst207 chips (tda/tea*).