Home
last modified time | relevance | path

Searched +full:chip +full:- +full:to +full:- +full:chip (Results 1 – 25 of 1072) sorted by relevance

12345678910>>...43

/linux/tools/testing/selftests/gpio/
H A Dgpio-sim.sh2 # SPDX-License-Identifier: GPL-2.0
6 CONFIGFS_DIR="/sys/kernel/config/gpio-sim"
7 MODULE="gpio-sim"
22 local CHIP=$1
24 for FILE in $CONFIGFS_DIR/$CHIP/*; do
26 if [ "$BANK" = "live" -o "$BANK" = "dev_name" ]; then
30 LINES=`ls $CONFIGFS_DIR/$CHIP/$BANK/ | grep -E ^line`
33 if [ -e $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog ]; then
34 rmdir $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog || \
35 fail "Unable to remove the hog"
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c1 // SPDX-License-Identifier: GPL-2.0
4 * 2002-2006 Thomas Gleixner (tglx@linutronix.de)
23 * nand_read_byte - [DEFAULT] read one byte from the chip
24 * @chip: NAND chip object
28 static uint8_t nand_read_byte(struct nand_chip *chip) in nand_read_byte() argument
30 return readb(chip->legacy.IO_ADDR_R); in nand_read_byte()
34 * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip
35 * @chip: NAND chip object
40 static uint8_t nand_read_byte16(struct nand_chip *chip) in nand_read_byte16() argument
42 return (uint8_t) cpu_to_le16(readw(chip->legacy.IO_ADDR_R)); in nand_read_byte16()
[all …]
/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
35 static int restore_dsp_rettings(struct echoaudio *chip);
38 /* Some vector commands involve the DSP reading or writing data to and from the
39 comm page; if you send one of these commands to the DSP, it will complete the
40 command and then write a non-zero value to the Handshake field in the
41 comm page. This function waits for the handshake to show up. */
[all …]
H A Dechoaudio_3g.c3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 MA 02111-1307, USA.
26 Translation from C++ and adaptation for use in ALSA-Driver
36 static int check_asic_status(struct echoaudio *chip) in check_asic_status() argument
40 if (wait_handshake(chip)) in check_asic_status()
41 return -EIO; in check_asic_status()
43 chip->comm_pag in check_asic_status()
64 get_frq_reg(struct echoaudio * chip) get_frq_reg() argument
73 write_control_reg(struct echoaudio * chip,u32 ctl,u32 frq,char force) write_control_reg() argument
102 set_digital_mode(struct echoaudio * chip,u8 mode) set_digital_mode() argument
145 set_spdif_bits(struct echoaudio * chip,u32 control_reg,u32 rate) set_spdif_bits() argument
177 set_professional_spdif(struct echoaudio * chip,char prof) set_professional_spdif() argument
193 detect_input_clocks(const struct echoaudio * chip) detect_input_clocks() argument
223 load_asic(struct echoaudio * chip) load_asic() argument
258 set_sample_rate(struct echoaudio * chip,u32 rate) set_sample_rate() argument
328 set_input_clock(struct echoaudio * chip,u16 clock) set_input_clock() argument
376 dsp_set_digital_mode(struct echoaudio * chip,u8 mode) dsp_set_digital_mode() argument
[all...]
H A Dlayla24_dsp.c3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston,
21 MA 02111-1307, USA.
25 Translation from C++ and adaptation for use in ALSA-Driver
31 static int write_control_reg(struct echoaudio *chip, u32 value, char force);
32 static int set_input_clock(struct echoaudio *chip, u16 clock);
33 static int set_professional_spdif(struct echoaudio *chip, char prof);
34 static int set_digital_mode(struct echoaudio *chip, u8 mode);
35 static int load_asic_generic(struct echoaudio *chip, u3
39 init_hw(struct echoaudio * chip,u16 device_id,u16 subdevice_id) init_hw() argument
80 set_mixer_defaults(struct echoaudio * chip) set_mixer_defaults() argument
90 detect_input_clocks(const struct echoaudio * chip) detect_input_clocks() argument
115 load_asic(struct echoaudio * chip) load_asic() argument
160 set_sample_rate(struct echoaudio * chip,u32 rate) set_sample_rate() argument
252 set_input_clock(struct echoaudio * chip,u16 clock) set_input_clock() argument
301 switch_asic(struct echoaudio * chip,short asic) switch_asic() argument
333 dsp_set_digital_mode(struct echoaudio * chip,u8 mode) dsp_set_digital_mode() argument
[all...]
/linux/drivers/gpio/
H A Dgpio-xilinx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2008 - 2013 Xilinx, Inc.
35 /* Read/Write access to the GPIO registers */
45 * struct xgpio_instance - Stores information about GPIO device
46 * @gc: GPIO chip
74 static inline int xgpio_regoffset(struct xgpio_instance *chip, int ch) in xgpio_regoffset() argument
82 return -EINVAL; in xgpio_regoffset()
86 static void xgpio_read_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_read_ch() argument
88 void __iomem *addr = chip->regs + reg + xgpio_regoffset(chip, bit / 32); in xgpio_read_ch()
94 static void xgpio_write_ch(struct xgpio_instance *chip, int reg, int bit, unsigned long *a) in xgpio_write_ch() argument
[all …]
H A Dgpio-pch.c1 // SPDX-License-Identifier: GPL-2.0
47 OKISEMI_ML7223m_IOH, /* LAPIS Semiconductor ML7223 IOH PCIe Bus-m */
48 OKISEMI_ML7223n_IOH /* LAPIS Semiconductor ML7223 IOH PCIe Bus-n */
59 * struct pch_gpio_reg_data - The register store data.
60 * @ien_reg: To store contents of IEN register.
61 * @imask_reg: To store contents of IMASK register.
62 * @po_reg: To store contents of PO register.
63 * @pm_reg: To store contents of PM register.
64 * @im0_reg: To store contents of IM0 register.
65 * @im1_reg: To store contents of IM1 register.
[all …]
H A Dgpio-ml-ioh.c1 // SPDX-License-Identifier: GPL-2.0-only
46 * struct ioh_gpio_reg_data - The register store data.
47 * @ien_reg: To store contents of interrupt enable register.
48 * @imask_reg: To store contents of interrupt mask regist
49 * @po_reg: To store contents of PO register.
50 * @pm_reg: To store contents of PM register.
51 * @im0_reg: To store contents of interrupt mode regist0
52 * @im1_reg: To store contents of interrupt mode regist1
53 * @use_sel_reg: To store contents of GPIO_USE_SEL0~3
66 * struct ioh_gpio - GPIO private data structure.
[all …]
/linux/drivers/char/tpm/
H A Dtpm-interface.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * Maintained by: <tpmdd-devel@lists.sourceforge.net>
17 * Note, the TPM chip is not interrupt driven (only polling)
19 * calls to msleep.
33 * Bug workaround - some TPM's don't flush the most
35 * with an extend to the selected _unused_ non-volatile pcr.
40 "PCR to use for dummy writes to facilitate flush on suspend.");
43 * tpm_calc_ordinal_duration() - calculate the maximum command duration
44 * @chip: TPM chip to use.
47 * The function returns the maximum amount of time the chip could take
[all …]
H A Dtpm_tis_i2c_cr50.c1 // SPDX-License-Identifier: GPL-2.0
10 * - Use an interrupt for transaction status instead of hardcoded delays.
11 * - Must use write+wait+read read protocol.
12 * - All 4 bytes of status register must be read/written at once.
13 * - Burst count max is 63 bytes, and burst count behaves slightly differently
15 * - When reading from FIFO the full burstcnt must be read instead of just
37 #define TPM_CR50_I2C_MAX_RETRIES 3 /* Max retries due to I2C errors */
48 * struct tpm_i2c_cr50_priv_data - Driver private data.
49 * @irq: Irq number used for this chip.
51 * @tpm_ready: Struct used by irq handler to signal R/W readiness.
[all …]
/linux/sound/pci/cs46xx/
H A Dcs46xx_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Abramo Bagnara <abramo@alsa-project.org>
9 * - Sometimes the SPDIF input DSP tasks get's unsynchronized
11 * are swapped. To get around this problem when it happens, mute and unmute
13 * - On the Hercules Game Theater XP the amplifier are sometimes turned
17 * - Secondar
74 snd_cs46xx_codec_read(struct snd_cs46xx * chip,unsigned short reg,int codec_index) snd_cs46xx_codec_read() argument
204 struct snd_cs46xx *chip = ac97->private_data; snd_cs46xx_ac97_read() local
218 snd_cs46xx_codec_write(struct snd_cs46xx * chip,unsigned short reg,unsigned short val,int codec_index) snd_cs46xx_codec_write() argument
289 struct snd_cs46xx *chip = ac97->private_data; snd_cs46xx_ac97_write() local
304 snd_cs46xx_download(struct snd_cs46xx * chip,u32 * src,unsigned long offset,unsigned long len) snd_cs46xx_download() argument
382 load_firmware(struct snd_cs46xx * chip,struct dsp_module_desc ** module_ret,const char * fw_name) load_firmware() argument
468 snd_cs46xx_clear_BA1(struct snd_cs46xx * chip,unsigned long offset,unsigned long len) snd_cs46xx_clear_BA1() argument
501 load_firmware(struct snd_cs46xx * chip) load_firmware() argument
534 snd_cs46xx_download_image(struct snd_cs46xx * chip) snd_cs46xx_download_image() argument
557 snd_cs46xx_reset(struct snd_cs46xx * chip) snd_cs46xx_reset() argument
586 cs46xx_wait_for_fifo(struct snd_cs46xx * chip,int retry_timeout) cs46xx_wait_for_fifo() argument
610 snd_cs46xx_clear_serial_FIFOs(struct snd_cs46xx * chip) snd_cs46xx_clear_serial_FIFOs() argument
666 snd_cs46xx_proc_start(struct snd_cs46xx * chip) snd_cs46xx_proc_start() argument
693 snd_cs46xx_proc_stop(struct snd_cs46xx * chip) snd_cs46xx_proc_stop() argument
708 snd_cs46xx_set_play_sample_rate(struct snd_cs46xx * chip,unsigned int rate) snd_cs46xx_set_play_sample_rate() argument
754 snd_cs46xx_set_capture_sample_rate(struct snd_cs46xx * chip,unsigned int rate) snd_cs46xx_set_capture_sample_rate() argument
883 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_cp_trans_copy() local
891 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_transfer() local
898 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_direct_pointer() local
916 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_indirect_pointer() local
933 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_direct_pointer() local
940 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_indirect_pointer() local
948 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_trigger() local
1013 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_trigger() local
1041 _cs46xx_adjust_sample_rate(struct snd_cs46xx * chip,struct snd_cs46xx_pcm * cpcm,int sample_rate) _cs46xx_adjust_sample_rate() argument
1086 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_hw_params() local
1203 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_prepare() local
1273 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_hw_params() local
1299 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_hw_free() local
1311 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_prepare() local
1326 struct snd_cs46xx *chip = dev_id; snd_cs46xx_interrupt() local
1479 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); _cs46xx_playback_open_channel() local
1540 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_open_iec958() local
1556 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_close_iec958() local
1572 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_open() local
1595 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_playback_close() local
1624 struct snd_cs46xx *chip = snd_pcm_substream_chip(substream); snd_cs46xx_capture_close() local
1747 snd_cs46xx_pcm(struct snd_cs46xx * chip,int device) snd_cs46xx_pcm() argument
1775 snd_cs46xx_pcm_rear(struct snd_cs46xx * chip,int device) snd_cs46xx_pcm_rear() argument
1800 snd_cs46xx_pcm_center_lfe(struct snd_cs46xx * chip,int device) snd_cs46xx_pcm_center_lfe() argument
1825 snd_cs46xx_pcm_iec958(struct snd_cs46xx * chip,int device) snd_cs46xx_pcm_iec958() argument
1856 struct snd_cs46xx *chip = ac97->private_data; snd_cs46xx_mixer_free_ac97() local
1882 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_get() local
1892 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_put() local
1910 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_dac_get() local
1920 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_vol_dac_put() local
1966 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_iec958_get() local
1980 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_iec958_put() local
2017 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_adc_capture_get() local
2031 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_adc_capture_put() local
2048 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_pcm_capture_get() local
2063 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_pcm_capture_put() local
2081 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_herc_spdif_select_get() local
2099 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_herc_spdif_select_put() local
2131 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_default_get() local
2147 struct snd_cs46xx * chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_default_put() local
2184 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_stream_get() local
2200 struct snd_cs46xx * chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_spdif_stream_put() local
2326 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_front_dup_get() local
2336 struct snd_cs46xx *chip = snd_kcontrol_chip(kcontrol); snd_cs46xx_front_dup_put() local
2415 cs46xx_detect_codec(struct snd_cs46xx * chip,int codec) cs46xx_detect_codec() argument
2449 snd_cs46xx_mixer(struct snd_cs46xx * chip,int spdif_device) snd_cs46xx_mixer() argument
2523 snd_cs46xx_midi_reset(struct snd_cs46xx * chip) snd_cs46xx_midi_reset() argument
2532 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_input_open() local
2550 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_input_close() local
2568 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_output_open() local
2587 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_output_close() local
2606 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_input_trigger() local
2626 struct snd_cs46xx *chip = substream->rmidi->private_data; snd_cs46xx_midi_output_trigger() local
2667 snd_cs46xx_midi(struct snd_cs46xx * chip,int device) snd_cs46xx_midi() argument
2693 struct snd_cs46xx *chip = gameport_get_port_data(gameport); snd_cs46xx_gameport_trigger() local
2702 struct snd_cs46xx *chip = gameport_get_port_data(gameport); snd_cs46xx_gameport_read() local
2711 struct snd_cs46xx *chip = gameport_get_port_data(gameport); snd_cs46xx_gameport_cooked_read() local
2746 snd_cs46xx_gameport(struct snd_cs46xx * chip) snd_cs46xx_gameport() argument
2775 snd_cs46xx_remove_gameport(struct snd_cs46xx * chip) snd_cs46xx_remove_gameport() argument
2783 snd_cs46xx_gameport(struct snd_cs46xx * chip) snd_cs46xx_gameport() argument
2784 snd_cs46xx_remove_gameport(struct snd_cs46xx * chip) snd_cs46xx_remove_gameport() argument
2808 snd_cs46xx_proc_init(struct snd_card * card,struct snd_cs46xx * chip) snd_cs46xx_proc_init() argument
2829 snd_cs46xx_proc_done(struct snd_cs46xx * chip) snd_cs46xx_proc_done() argument
2837 snd_cs46xx_proc_init(card,chip) global() argument
2838 snd_cs46xx_proc_done(chip) global() argument
2844 snd_cs46xx_hw_stop(struct snd_cs46xx * chip) snd_cs46xx_hw_stop() argument
2893 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_free() local
2928 snd_cs46xx_chip_init(struct snd_cs46xx * chip) snd_cs46xx_chip_init() argument
3165 cs46xx_enable_stream_irqs(struct snd_cs46xx * chip) cs46xx_enable_stream_irqs() argument
3181 snd_cs46xx_start_dsp(struct snd_cs46xx * chip) snd_cs46xx_start_dsp() argument
3264 amp_none(struct snd_cs46xx * chip,int change) amp_none() argument
3269 voyetra_setup_eapd_slot(struct snd_cs46xx * chip) voyetra_setup_eapd_slot() argument
3392 amp_voyetra(struct snd_cs46xx * chip,int change) amp_voyetra() argument
3428 hercules_init(struct snd_cs46xx * chip) hercules_init() argument
3439 amp_hercules(struct snd_cs46xx * chip,int change) amp_hercules() argument
3460 voyetra_mixer_init(struct snd_cs46xx * chip) voyetra_mixer_init() argument
3469 hercules_mixer_init(struct snd_cs46xx * chip) hercules_mixer_init() argument
3537 clkrun_hack(struct snd_cs46xx * chip,int change) clkrun_hack() argument
3562 clkrun_init(struct snd_cs46xx * chip) clkrun_init() argument
3721 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_suspend() local
3749 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_resume() local
3823 struct snd_cs46xx *chip = card->private_data; snd_cs46xx_create() local
[all...]
/linux/sound/ppc/
H A Dpmac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <linux/dma-mapping.h>
37 * we will allocate a single 'emergency' dbdma cmd block to use if the
39 * clones, either owing to a bug in dbdma or some interaction between
50 static int snd_pmac_dbdma_alloc(struct snd_pmac *chip, struct pmac_dbdma *rec, int size) in snd_pmac_dbdma_alloc() argument
54 rec->spac in snd_pmac_dbdma_alloc()
66 snd_pmac_dbdma_free(struct snd_pmac * chip,struct pmac_dbdma * rec) snd_pmac_dbdma_free() argument
84 snd_pmac_rate_index(struct snd_pmac * chip,struct pmac_stream * rec,unsigned int rate) snd_pmac_rate_index() argument
113 snd_pmac_get_stream(struct snd_pmac * chip,int stream) snd_pmac_get_stream() argument
141 snd_pmac_pcm_set_format(struct snd_pmac * chip) snd_pmac_pcm_set_format() argument
179 snd_pmac_pcm_prepare(struct snd_pmac * chip,struct pmac_stream * rec,struct snd_pcm_substream * subs) snd_pmac_pcm_prepare() argument
243 snd_pmac_pcm_trigger(struct snd_pmac * chip,struct pmac_stream * rec,struct snd_pcm_substream * subs,int cmd) snd_pmac_pcm_trigger() argument
289 snd_pmac_pcm_pointer(struct snd_pmac * chip,struct pmac_stream * rec,struct snd_pcm_substream * subs) snd_pmac_pcm_pointer() argument
315 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_prepare() local
322 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_trigger() local
328 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_pointer() local
339 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_prepare() local
346 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_trigger() local
352 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_pointer() local
427 snd_pmac_pcm_update(struct snd_pmac * chip,struct pmac_stream * rec) snd_pmac_pcm_update() argument
548 snd_pmac_pcm_open(struct snd_pmac * chip,struct pmac_stream * rec,struct snd_pcm_substream * subs) snd_pmac_pcm_open() argument
597 snd_pmac_pcm_close(struct snd_pmac * chip,struct pmac_stream * rec,struct snd_pcm_substream * subs) snd_pmac_pcm_close() argument
617 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_open() local
625 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_open() local
633 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_playback_close() local
640 struct snd_pmac *chip = snd_pcm_substream_chip(subs); snd_pmac_capture_close() local
664 snd_pmac_pcm_new(struct snd_pmac * chip) snd_pmac_pcm_new() argument
703 snd_pmac_dbdma_reset(struct snd_pmac * chip) snd_pmac_dbdma_reset() argument
715 snd_pmac_beep_dma_start(struct snd_pmac * chip,int bytes,unsigned long addr,int speed) snd_pmac_beep_dma_start() argument
733 snd_pmac_beep_dma_stop(struct snd_pmac * chip) snd_pmac_beep_dma_stop() argument
747 struct snd_pmac *chip = devid; snd_pmac_tx_intr() local
756 struct snd_pmac *chip = devid; snd_pmac_rx_intr() local
765 struct snd_pmac *chip = devid; snd_pmac_ctrl_intr() local
787 snd_pmac_sound_feature(struct snd_pmac * chip,int enable) snd_pmac_sound_feature() argument
797 snd_pmac_free(struct snd_pmac * chip) snd_pmac_free() argument
853 struct snd_pmac *chip = device->device_data; snd_pmac_dev_free() local
862 detect_byte_swap(struct snd_pmac * chip) detect_byte_swap() argument
888 snd_pmac_detect(struct snd_pmac * chip) snd_pmac_detect() argument
1071 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_auto_mute_get() local
1079 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_auto_mute_put() local
1092 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); pmac_hp_detect_get() local
1115 snd_pmac_add_automute(struct snd_pmac * chip) snd_pmac_add_automute() argument
1135 struct snd_pmac *chip; snd_pmac_new() local
1322 snd_pmac_suspend(struct snd_pmac * chip) snd_pmac_suspend() argument
1341 snd_pmac_resume(struct snd_pmac * chip) snd_pmac_resume() argument
[all...]
/linux/drivers/net/dsa/mv88e6xxx/
H A Dglobal1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2016-2017 Savoir-faire Linux Inc.
13 #include "chip.h"
16 int mv88e6xxx_g1_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g1_read() argument
18 int addr = chip->info->global1_addr; in mv88e6xxx_g1_read()
20 return mv88e6xxx_read(chip, addr, reg, val); in mv88e6xxx_g1_read()
23 int mv88e6xxx_g1_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g1_write() argument
25 int addr = chip->info->global1_addr; in mv88e6xxx_g1_write()
27 return mv88e6xxx_write(chip, addr, reg, val); in mv88e6xxx_g1_write()
30 int mv88e6xxx_g1_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g1_wait_bit() argument
[all …]
/linux/sound/pcmcia/vx/
H A Dvxp_ops.c1 // SPDX-License-Identifier: GPL-2.0-or-later
40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr() local
41 return chip->port + vxp_reg_offset[reg]; in vxp_reg_addr()
45 * snd_vx_inb - read a byte from the register
48 static unsigned char vxp_inb(struct vx_core *chip, in argument
58 vxp_outb(struct vx_core * chip,int offset,unsigned char val) vxp_outb() argument
67 vx_inb(chip,reg) global() argument
69 vx_outb(chip,reg,val) global() argument
77 vx_check_magic(struct vx_core * chip) vx_check_magic() argument
100 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_dsp() local
118 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_codec() local
137 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_load_xilinx_binary() local
274 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_test_and_ack() local
301 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_validate_irq() local
317 struct snd_vxpocket *chip = to_vxpocket(_chip); vx_setup_pseudo_dma() local
337 struct snd_vxpocket *chip = to_vxpocket(_chip); vx_release_pseudo_dma() local
355 vxp_dma_write(struct vx_core * chip,struct snd_pcm_runtime * runtime,struct vx_pipe * pipe,int count) vxp_dma_write() argument
394 vxp_dma_read(struct vx_core * chip,struct snd_pcm_runtime * runtime,struct vx_pipe * pipe,int count) vxp_dma_read() argument
436 vxp_write_codec_reg(struct vx_core * chip,int codec,unsigned int data) vxp_write_codec_reg() argument
459 vx_set_mic_boost(struct vx_core * chip,int boost) vx_set_mic_boost() argument
501 vx_set_mic_level(struct vx_core * chip,int level) vx_set_mic_level() argument
522 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_change_audio_source() local
562 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_set_clock_source() local
577 struct snd_vxpocket *chip = to_vxpocket(_chip); vxp_reset_board() local
[all...]
/linux/drivers/input/misc/
H A Dmax8997_haptic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MAX8997-haptic controller driver
17 #include <linux/mfd/max8997-private.h>
56 static void max8997_haptic_set_internal_duty_cycle(struct max8997_haptic *chip) in max8997_haptic_set_internal_duty_cycle() argument
58 u8 duty_index = DIV_ROUND_UP(chip->level * 64, 100); in max8997_haptic_set_internal_duty_cycle()
60 switch (chip->internal_mode_pattern) { in max8997_haptic_set_internal_duty_cycle()
62 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
66 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
70 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
74 max8997_write_reg(chip->client, in max8997_haptic_set_internal_duty_cycle()
[all …]
/linux/sound/pci/nm256/
H A Dnm256.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * The original author of OSS nm256 driver wishes to remain anonymous,
8 * so I just put my acknoledgment to him/her here.
60 MODULE_PARM_DESC(force_ac97, "Force to use AC97 codec for " CARD_NAME " soundcard.");
104 #define NM_ACK_INT(chip, X) snd_nm256_writew(chip, NM_INT_RE argument
121 NM2_ACK_INT(chip,X) global() argument
173 struct nm256 *chip; global() member
262 snd_nm256_readb(struct nm256 * chip,int offset) snd_nm256_readb() argument
268 snd_nm256_readw(struct nm256 * chip,int offset) snd_nm256_readw() argument
274 snd_nm256_readl(struct nm256 * chip,int offset) snd_nm256_readl() argument
280 snd_nm256_writeb(struct nm256 * chip,int offset,u8 val) snd_nm256_writeb() argument
286 snd_nm256_writew(struct nm256 * chip,int offset,u16 val) snd_nm256_writew() argument
292 snd_nm256_writel(struct nm256 * chip,int offset,u32 val) snd_nm256_writel() argument
298 snd_nm256_write_buffer(struct nm256 * chip,const void * src,int offset,int size) snd_nm256_write_buffer() argument
326 snd_nm256_load_one_coefficient(struct nm256 * chip,int stream,u32 port,int which) snd_nm256_load_one_coefficient() argument
341 snd_nm256_load_coefficient(struct nm256 * chip,int stream,int number) snd_nm256_load_coefficient() argument
411 snd_nm256_set_format(struct nm256 * chip,struct nm256_stream * s,struct snd_pcm_substream * substream) snd_nm256_set_format() argument
447 snd_nm256_acquire_irq(struct nm256 * chip) snd_nm256_acquire_irq() argument
467 snd_nm256_release_irq(struct nm256 * chip) snd_nm256_release_irq() argument
485 snd_nm256_pcm_mark(struct nm256 * chip,struct nm256_stream * s,int reg) snd_nm256_pcm_mark() argument
492 snd_nm256_playback_mark(chip,s) global() argument
493 snd_nm256_capture_mark(chip,s) global() argument
496 snd_nm256_playback_start(struct nm256 * chip,struct nm256_stream * s,struct snd_pcm_substream * substream) snd_nm256_playback_start() argument
513 snd_nm256_capture_start(struct nm256 * chip,struct nm256_stream * s,struct snd_pcm_substream * substream) snd_nm256_capture_start() argument
529 snd_nm256_playback_stop(struct nm256 * chip) snd_nm256_playback_stop() argument
539 snd_nm256_capture_stop(struct nm256 * chip) snd_nm256_capture_stop() argument
548 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_trigger() local
586 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_trigger() local
623 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_pcm_prepare() local
649 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_pointer() local
663 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_pointer() local
729 snd_nm256_playback_update(struct nm256 * chip) snd_nm256_playback_update() argument
744 snd_nm256_capture_update(struct nm256 * chip) snd_nm256_capture_update() argument
811 snd_nm256_setup_stream(struct nm256 * chip,struct nm256_stream * s,struct snd_pcm_substream * substream,const struct snd_pcm_hardware * hw_ptr) snd_nm256_setup_stream() argument
834 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_open() local
846 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_open() local
861 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_playback_close() local
871 struct nm256 *chip = snd_pcm_substream_chip(substream); snd_nm256_capture_close() local
908 snd_nm256_pcm(struct nm256 * chip,int device) snd_nm256_pcm() argument
939 snd_nm256_init_chip(struct nm256 * chip) snd_nm256_init_chip() argument
951 snd_nm256_intr_check(struct nm256 * chip) snd_nm256_intr_check() argument
988 struct nm256 *chip = dev_id; snd_nm256_interrupt() local
1054 struct nm256 *chip = dev_id; snd_nm256_interrupt_zx() local
1119 snd_nm256_ac97_ready(struct nm256 * chip) snd_nm256_ac97_ready() argument
1190 struct nm256 *chip = ac97->private_data; snd_nm256_ac97_read() local
1204 struct nm256 *chip = ac97->private_data; snd_nm256_ac97_write() local
1250 struct nm256 *chip = ac97->private_data; snd_nm256_ac97_reset() local
1277 snd_nm256_mixer(struct nm256 * chip) snd_nm256_mixer() argument
1320 snd_nm256_peek_for_sig(struct nm256 * chip) snd_nm256_peek_for_sig() argument
1370 struct nm256 *chip = card->private_data; nm256_suspend() local
1381 struct nm256 *chip = card->private_data; nm256_resume() local
1410 struct nm256 *chip = card->private_data; snd_nm256_free() local
1421 struct nm256 *chip = card->private_data; snd_nm256_create() local
1568 struct nm256 *chip; snd_nm256_probe() local
[all...]
/linux/sound/drivers/vx/
H A Dvx_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 * vx_check_reg_bit - wait for the specified bit is set/reset on a register
32 * @reg: register to check
34 * @bit: resultant bit to be checked
35 * @time: time-out of loop in msec
39 int snd_vx_check_reg_bit(struct vx_core *chip, in argument
71 vx_send_irq_dsp(struct vx_core * chip,int num) vx_send_irq_dsp() argument
92 vx_reset_chk(struct vx_core * chip) vx_reset_chk() argument
111 vx_transfer_end(struct vx_core * chip,int cmd) vx_transfer_end() argument
155 vx_read_status(struct vx_core * chip,struct vx_rmh * rmh) vx_read_status() argument
236 vx_send_msg_nolock(struct vx_core * chip,struct vx_rmh * rmh) vx_send_msg_nolock() argument
345 vx_send_msg(struct vx_core * chip,struct vx_rmh * rmh) vx_send_msg() argument
367 vx_send_rih_nolock(struct vx_core * chip,int cmd) vx_send_rih_nolock() argument
405 vx_send_rih(struct vx_core * chip,int cmd) vx_send_rih() argument
422 snd_vx_load_boot_image(struct vx_core * chip,const struct firmware * boot) snd_vx_load_boot_image() argument
479 vx_test_irq_src(struct vx_core * chip,unsigned int * ret) vx_test_irq_src() argument
500 struct vx_core *chip = dev; snd_vx_threaded_irq_handler() local
542 struct vx_core *chip = dev; snd_vx_irq_handler() local
556 vx_reset_board(struct vx_core * chip,int cold_reset) vx_reset_board() argument
598 struct vx_core *chip = entry->private_data; vx_proc_read() local
639 vx_proc_init(struct vx_core * chip) vx_proc_init() argument
650 snd_vx_dsp_boot(struct vx_core * chip,const struct firmware * boot) snd_vx_dsp_boot() argument
673 snd_vx_dsp_load(struct vx_core * chip,const struct firmware * dsp) snd_vx_dsp_load() argument
727 snd_vx_suspend(struct vx_core * chip) snd_vx_suspend() argument
740 snd_vx_resume(struct vx_core * chip) snd_vx_resume() argument
791 struct vx_core *chip; snd_vx_create() local
[all...]
H A Dvx_pcm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * IBL size, typically 126 samples. at each end of chunk, the end-of-buffer
15 * pipe->transferred is the counter of data which has been already transferred.
16 * if this counter reaches to the period size, snd_pcm_period_elapsed() will
20 * to ge
45 vx_pcm_read_per_bytes(struct vx_core * chip,struct snd_pcm_runtime * runtime,struct vx_pipe * pipe) vx_pcm_read_per_bytes() argument
72 vx_set_pcx_time(struct vx_core * chip,pcx_time_t * pc_time,unsigned int * dsp_time) vx_set_pcx_time() argument
89 vx_set_differed_time(struct vx_core * chip,struct vx_rmh * rmh,struct vx_pipe * pipe) vx_set_differed_time() argument
123 vx_set_stream_format(struct vx_core * chip,struct vx_pipe * pipe,unsigned int data) vx_set_stream_format() argument
150 vx_set_format(struct vx_core * chip,struct vx_pipe * pipe,struct snd_pcm_runtime * runtime) vx_set_format() argument
179 vx_set_ibl(struct vx_core * chip,struct vx_ibl_info * info) vx_set_ibl() argument
211 vx_get_pipe_state(struct vx_core * chip,struct vx_pipe * pipe,int * state) vx_get_pipe_state() argument
236 vx_query_hbuffer_size(struct vx_core * chip,struct vx_pipe * pipe) vx_query_hbuffer_size() argument
260 vx_pipe_can_start(struct vx_core * chip,struct vx_pipe * pipe) vx_pipe_can_start() argument
281 vx_conf_pipe(struct vx_core * chip,struct vx_pipe * pipe) vx_conf_pipe() argument
295 vx_send_irqa(struct vx_core * chip) vx_send_irqa() argument
320 vx_toggle_pipe(struct vx_core * chip,struct vx_pipe * pipe,int state) vx_toggle_pipe() argument
375 vx_stop_pipe(struct vx_core * chip,struct vx_pipe * pipe) vx_stop_pipe() argument
393 vx_alloc_pipe(struct vx_core * chip,int capture,int audioid,int num_audio,struct vx_pipe ** pipep) vx_alloc_pipe() argument
443 vx_free_pipe(struct vx_core * chip,struct vx_pipe * pipe) vx_free_pipe() argument
461 vx_start_stream(struct vx_core * chip,struct vx_pipe * pipe) vx_start_stream() argument
477 vx_stop_stream(struct vx_core * chip,struct vx_pipe * pipe) vx_stop_stream() argument
517 struct vx_core *chip = snd_pcm_substream_chip(subs); vx_pcm_playback_open() local
559 struct vx_core *chip = snd_pcm_substream_chip(subs); vx_pcm_playback_close() local
583 vx_notify_end_of_buffer(struct vx_core * chip,struct vx_pipe * pipe) vx_notify_end_of_buffer() argument
611 vx_pcm_playback_transfer_chunk(struct vx_core * chip,struct snd_pcm_runtime * runtime,struct vx_pipe * pipe,int size) vx_pcm_playback_transfer_chunk() argument
649 vx_update_pipe_position(struct vx_core * chip,struct snd_pcm_runtime * runtime,struct vx_pipe * pipe) vx_update_pipe_position() argument
677 vx_pcm_playback_transfer(struct vx_core * chip,struct snd_pcm_substream * subs,struct vx_pipe * pipe,int nchunks) vx_pcm_playback_transfer() argument
698 vx_pcm_playback_update(struct vx_core * chip,struct snd_pcm_substream * subs,struct vx_pipe * pipe) vx_pcm_playback_update() argument
721 struct vx_core *chip = snd_pcm_substream_chip(subs); vx_pcm_trigger() local
786 struct vx_core *chip = snd_pcm_substream_chip(subs); vx_pcm_prepare() local
893 struct vx_core *chip = snd_pcm_substream_chip(subs); vx_pcm_capture_open() local
951 struct vx_core *chip = snd_pcm_substream_chip(subs); vx_pcm_capture_close() local
985 vx_pcm_capture_update(struct vx_core * chip,struct snd_pcm_substream * subs,struct vx_pipe * pipe) vx_pcm_capture_update() argument
1083 vx_pcm_update_intr(struct vx_core * chip,unsigned int events) vx_pcm_update_intr() argument
1141 vx_init_audio_io(struct vx_core * chip) vx_init_audio_io() argument
1187 struct vx_core *chip = pcm->private_data; snd_vx_pcm_free() local
1198 snd_vx_pcm_new(struct vx_core * chip) snd_vx_pcm_new() argument
[all...]
/linux/sound/pci/oxygen/
H A Doxygen_io.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * C-Media CMI8788 driver - helper functions
16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg) in oxygen_read8() argument
18 return inb(chip->addr + reg); in oxygen_read8()
22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg) in oxygen_read16() argument
24 return inw(chip->addr + reg); in oxygen_read16()
28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg) in oxygen_read32() argument
30 return inl(chip->addr + reg); in oxygen_read32()
34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8() argument
36 outb(value, chip->addr + reg); in oxygen_write8()
[all …]
/linux/drivers/usb/typec/tcpm/
H A Dtcpci_maxim_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2020 - 2022, Google LLC
32 * LongMessage not supported, hence 32 bytes for buf to be read from RECEIVE_BUFFER.
34 * less than or equal to 31. Since, RECEIVE_BUFFER len = 31 + 1(READABLE_BYTE_COUNT).
65 static void max_tcpci_init_regs(struct max_tcpci_chip *chip) in max_tcpci_init_regs() argument
70 ret = max_tcpci_write16(chip, TCPC_ALERT, 0xffff); in max_tcpci_init_regs()
72 dev_err(chip->dev, "Error writing to TCPC_ALERT ret:%d\n", ret); in max_tcpci_init_regs()
76 ret = max_tcpci_write16(chip, TCPC_VENDOR_ALERT, 0xffff); in max_tcpci_init_regs()
78 dev_err(chip->dev, "Error writing to TCPC_VENDOR_ALERT ret:%d\n", ret); in max_tcpci_init_regs()
82 ret = max_tcpci_write8(chip, TCPC_ALERT_EXTENDED, 0xff); in max_tcpci_init_regs()
[all …]
/linux/drivers/pinctrl/bcm/
H A Dpinctrl-iproc-gpio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-2017 Broadcom
9 * chipCommonG GPIO controller, and the always-on GPIO controller. Basic
14 * individually muxed to GPIO function, if individual pad
30 #include <linux/pinctrl/pinconf-generic.h>
34 #include "../pinctrl-utils.h"
68 #define GPIO_DRV_STRENGTH_BIT_MASK ((1 << GPIO_DRV_STRENGTH_BITS) - 1)
87 * @dev: pointer to device
91 * @lock: lock to protect access to I/O registers
92 * @gc: GPIO chip
[all …]
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2015, 2017, 2020, The Linux Foundation. All rights reserved.
66 /* Over-temperature trip point values in mC */
89 * For TEMP_GEN2 v2.0, TEMP_DAC_STG1/2/3 registers are used to set the threshold
91 * TEMP_DAC_STG* = 0 --> 80 C
92 * Each 8 step increase in TEMP_DAC_STG* value corresponds to 5 C (5000 mC).
99 (((temp) - TEMP_DAC_MIN) * TEMP_DAC_SCALE_NUM / TEMP_DAC_SCALE_DEN)
128 int (*sync_thresholds)(struct qpnp_tm_chip *chip);
129 int (*get_temp_stage)(struct qpnp_tm_chip *chip);
130 int (*configure_trip_temps)(struct qpnp_tm_chip *chip);
[all …]
/linux/drivers/net/dsa/
H A Dlan9303-core.c1 // SPDX-License-Identifier: GPL-2.0-only
26 * Multiply register number by 4 to get address offset.
195 /* the built-in PHYs are of type LAN911X */
248 * tries to detect and read an external EEPROM after reset and acts as in lan9303_read()
250 * attempts to access the device as a slave at the same moment. in lan9303_read()
256 if (ret != -EAGAIN) in lan9303_read()
261 return -EIO; in lan9303_read()
264 static int lan9303_read_wait(struct lan9303 *chip, int offset, u32 mask) in lan9303_read_wait() argument
272 ret = lan9303_read(chip->regmap, offset, &reg); in lan9303_read_wait()
274 dev_err(chip->dev, "%s failed to read offset %d: %d\n", in lan9303_read_wait()
[all …]
/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c1 // SPDX-License-Identifier: GPL-2.0
9 * - completely revamped method functions so they are aware and
11 * - scalability vs code size is completely set at compile-time
13 * - optimized write buffer method
14 * 06/21/2002 Joern Engel <joern@wh.fh-wedel.de> and others
15 * - modified Intel Command Set 0x0001 to support ST Advanced Architecture
17 * - added a writev function
18 * 07/13/2005 Joern Engel <joern@wh.fh-wedel.de>
19 * - Plugged memory leak in cfi_staa_writev().
41 unsigned long count, loff_t to, size_t *retlen);
[all …]
/linux/sound/pci/
H A Des1968.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Rewritted from card-es1938.c source.
18 * A working Maestro setup contains the Maestro chip wired to a
25 * to release docs on. Thankfully it isn't required on the Maestro
27 * encoding. The codecs are almost always AC-9
568 __maestro_write(struct es1968 * chip,u16 reg,u16 data) __maestro_write() argument
575 maestro_write(struct es1968 * chip,u16 reg,u16 data) maestro_write() argument
584 __maestro_read(struct es1968 * chip,u16 reg) __maestro_read() argument
593 maestro_read(struct es1968 * chip,u16 reg) maestro_read() argument
604 snd_es1968_ac97_wait(struct es1968 * chip) snd_es1968_ac97_wait() argument
617 snd_es1968_ac97_wait_poll(struct es1968 * chip) snd_es1968_ac97_wait_poll() argument
631 struct es1968 *chip = ac97->private_data; snd_es1968_ac97_write() local
645 struct es1968 *chip = ac97->private_data; snd_es1968_ac97_read() local
661 apu_index_set(struct es1968 * chip,u16 index) apu_index_set() argument
672 apu_data_set(struct es1968 * chip,u16 data) apu_data_set() argument
684 __apu_set_register(struct es1968 * chip,u16 channel,u8 reg,u16 data) __apu_set_register() argument
694 apu_set_register(struct es1968 * chip,u16 channel,u8 reg,u16 data) apu_set_register() argument
702 __apu_get_register(struct es1968 * chip,u16 channel,u8 reg) __apu_get_register() argument
711 apu_get_register(struct es1968 * chip,u16 channel,u8 reg) apu_get_register() argument
748 wave_set_register(struct es1968 * chip,u16 reg,u16 value) wave_set_register() argument
758 wave_get_register(struct es1968 * chip,u16 reg) wave_get_register() argument
775 snd_es1968_bob_stop(struct es1968 * chip) snd_es1968_bob_stop() argument
787 snd_es1968_bob_start(struct es1968 * chip) snd_es1968_bob_start() argument
827 snd_es1968_bob_inc(struct es1968 * chip,int freq) snd_es1968_bob_inc() argument
841 snd_es1968_bob_dec(struct es1968 * chip) snd_es1968_bob_dec() argument
863 snd_es1968_calc_bob_rate(struct es1968 * chip,struct esschan * es,struct snd_pcm_runtime * runtime) snd_es1968_calc_bob_rate() argument
885 snd_es1968_compute_rate(struct es1968 * chip,u32 freq) snd_es1968_compute_rate() argument
897 snd_es1968_get_dma_ptr(struct es1968 * chip,struct esschan * es) snd_es1968_get_dma_ptr() argument
908 snd_es1968_apu_set_freq(struct es1968 * chip,int apu,int freq) snd_es1968_apu_set_freq() argument
925 snd_es1968_pcm_start(struct es1968 * chip,struct esschan * es) snd_es1968_pcm_start() argument
945 snd_es1968_pcm_stop(struct es1968 * chip,struct esschan * es) snd_es1968_pcm_stop() argument
958 snd_es1968_program_wavecache(struct es1968 * chip,struct esschan * es,int channel,u32 addr,int capture) snd_es1968_program_wavecache() argument
977 snd_es1968_playback_setup(struct es1968 * chip,struct esschan * es,struct snd_pcm_runtime * runtime) snd_es1968_playback_setup() argument
1080 init_capture_apu(struct es1968 * chip,struct esschan * es,int channel,unsigned int pa,unsigned int bsize,int mode,int route) init_capture_apu() argument
1125 snd_es1968_capture_setup(struct es1968 * chip,struct esschan * es,struct snd_pcm_runtime * runtime) snd_es1968_capture_setup() argument
1196 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_pcm_prepare() local
1228 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_pcm_trigger() local
1258 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_pcm_pointer() local
1316 calc_available_memory_size(struct es1968 * chip) calc_available_memory_size() argument
1333 snd_es1968_new_memory(struct es1968 * chip,int size) snd_es1968_new_memory() argument
1367 snd_es1968_free_memory(struct es1968 * chip,struct esm_memory * buf) snd_es1968_free_memory() argument
1393 snd_es1968_free_dmabuf(struct es1968 * chip) snd_es1968_free_dmabuf() argument
1408 snd_es1968_init_dmabuf(struct es1968 * chip) snd_es1968_init_dmabuf() argument
1451 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_hw_params() local
1476 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_hw_free() local
1494 snd_es1968_alloc_apu_pair(struct es1968 * chip,int type) snd_es1968_alloc_apu_pair() argument
1511 snd_es1968_free_apu_pair(struct es1968 * chip,int apu) snd_es1968_free_apu_pair() argument
1523 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_playback_open() local
1562 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_capture_open() local
1621 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_playback_close() local
1638 struct es1968 *chip = snd_pcm_substream_chip(substream); snd_es1968_capture_close() local
1681 es1968_measure_clock(struct es1968 * chip) es1968_measure_clock() argument
1785 snd_es1968_pcm(struct es1968 * chip,int device) snd_es1968_pcm() argument
1824 snd_es1968_suppress_jitter(struct es1968 * chip,struct esschan * es) snd_es1968_suppress_jitter() argument
1841 snd_es1968_update_pcm(struct es1968 * chip,struct esschan * es) snd_es1968_update_pcm() argument
1872 struct es1968 *chip = container_of(work, struct es1968, hwvol_work); es1968_update_hw_volume() local
1952 struct es1968 *chip = dev_id; snd_es1968_interrupt() local
1998 snd_es1968_mixer(struct es1968 * chip) snd_es1968_mixer() argument
2034 snd_es1968_ac97_reset(struct es1968 * chip) snd_es1968_ac97_reset() argument
2139 snd_es1968_reset(struct es1968 * chip) snd_es1968_reset() argument
2152 snd_es1968_chip_init(struct es1968 * chip) snd_es1968_chip_init() argument
2343 snd_es1968_start_irq(struct es1968 * chip) snd_es1968_start_irq() argument
2359 struct es1968 *chip = card->private_data; es1968_suspend() local
2375 struct es1968 *chip = card->private_data; es1968_resume() local
2418 snd_es1968_create_gameport(struct es1968 * chip,int dev) snd_es1968_create_gameport() argument
2452 snd_es1968_free_gameport(struct es1968 * chip) snd_es1968_free_gameport() argument
2460 snd_es1968_create_gameport(struct es1968 * chip,int dev) snd_es1968_create_gameport() argument
2461 snd_es1968_free_gameport(struct es1968 * chip) snd_es1968_free_gameport() argument
2465 snd_es1968_input_register(struct es1968 * chip) snd_es1968_input_register() argument
2516 get_tea575x_gpio(chip) global() argument
2522 struct es1968 *chip = tea->private_data; snd_es1968_tea575x_set_pins() local
2535 struct es1968 *chip = tea->private_data; snd_es1968_tea575x_get_pins() local
2550 struct es1968 *chip = tea->private_data; snd_es1968_tea575x_set_direction() local
2577 struct es1968 *chip = card->private_data; snd_es1968_free() local
2623 struct es1968 *chip = card->private_data; snd_es1968_create() local
2731 struct es1968 *chip; __snd_es1968_probe() local
[all...]

12345678910>>...43