Home
last modified time | relevance | path

Searched full:chip (Results 1 – 25 of 4392) sorted by relevance

12345678910>>...176

/linux/tools/testing/selftests/gpio/
H A Dgpio-sim.sh22 local CHIP=$1
24 for FILE in $CONFIGFS_DIR/$CHIP/*; do
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 || \
38 rmdir $CONFIGFS_DIR/$CHIP/$BANK/$LINE || \
43 rmdir $CONFIGFS_DIR/$CHIP/$BANK
46 rmdir $CONFIGFS_DIR/$CHIP || fail "Unable to remove the chip"
50 local CHIP=$1
52 mkdir $CONFIGFS_DIR/$CHIP
[all …]
/linux/sound/pci/oxygen/
H A Doxygen_lib.c29 static inline int oxygen_uart_input_ready(struct oxygen *chip) in oxygen_uart_input_ready() argument
31 return !(oxygen_read8(chip, OXYGEN_MPU401 + 1) & MPU401_RX_EMPTY); in oxygen_uart_input_ready()
34 static void oxygen_read_uart(struct oxygen *chip) in oxygen_read_uart() argument
36 if (unlikely(!oxygen_uart_input_ready(chip))) { in oxygen_read_uart()
38 oxygen_read8(chip, OXYGEN_MPU401); in oxygen_read_uart()
42 u8 data = oxygen_read8(chip, OXYGEN_MPU401); in oxygen_read_uart()
45 if (chip->uart_input_count >= ARRAY_SIZE(chip->uart_input)) in oxygen_read_uart()
46 chip->uart_input_count = 0; in oxygen_read_uart()
47 chip in oxygen_read_uart()
55 struct oxygen *chip = dev_id; oxygen_interrupt() local
120 struct oxygen *chip = container_of(work, struct oxygen, oxygen_spdif_input_bits_changed() local
181 struct oxygen *chip = container_of(work, struct oxygen, gpio_work); oxygen_gpio_changed() local
190 struct oxygen *chip = entry->private_data; oxygen_proc_read() local
233 oxygen_proc_init(struct oxygen * chip) oxygen_proc_init() argument
239 oxygen_search_pci_id(struct oxygen * chip,const struct pci_device_id ids[]) oxygen_search_pci_id() argument
269 oxygen_restore_eeprom(struct oxygen * chip,const struct pci_device_id * id) oxygen_restore_eeprom() argument
353 oxygen_init(struct oxygen * chip) oxygen_init() argument
558 oxygen_shutdown(struct oxygen * chip) oxygen_shutdown() argument
570 struct oxygen *chip = card->private_data; oxygen_card_free() local
582 __oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) __oxygen_pci_probe() argument
588 struct oxygen *chip; __oxygen_pci_probe() local
708 oxygen_pci_probe(struct pci_dev * pci,int index,char * id,struct module * owner,const struct pci_device_id * ids,int (* get_model)(struct oxygen * chip,const struct pci_device_id * id)) oxygen_pci_probe() argument
719 struct oxygen *chip = card->private_data; oxygen_pci_suspend() local
754 oxygen_restore_ac97(struct oxygen * chip,unsigned int codec) oxygen_restore_ac97() argument
769 struct oxygen *chip = card->private_data; oxygen_pci_resume() local
796 struct oxygen *chip = card->private_data; oxygen_pci_shutdown() local
[all...]
/linux/sound/isa/wss/
H A Dwss_lib.c8 * Yamaha OPL3-SA3 chip
151 static inline void wss_outb(struct snd_wss *chip, u8 offset, u8 val) in wss_outb() argument
153 outb(val, chip->port + offset); in wss_outb()
156 static inline u8 wss_inb(struct snd_wss *chip, u8 offset) in wss_inb() argument
158 return inb(chip->port + offset); in wss_inb()
161 static void snd_wss_wait(struct snd_wss *chip) in snd_wss_wait() argument
166 timeout > 0 && (wss_inb(chip, CS4231P(REGSEL)) & CS4231_INIT); in snd_wss_wait()
171 static void snd_wss_dout(struct snd_wss *chip, unsigned char reg, in snd_wss_dout() argument
177 timeout > 0 && (wss_inb(chip, CS4231P(REGSEL)) & CS4231_INIT); in snd_wss_dout()
180 wss_outb(chip, CS4231 in snd_wss_dout()
185 snd_wss_out(struct snd_wss * chip,unsigned char reg,unsigned char value) snd_wss_out() argument
203 snd_wss_in(struct snd_wss * chip,unsigned char reg) snd_wss_in() argument
217 snd_cs4236_ext_out(struct snd_wss * chip,unsigned char reg,unsigned char val) snd_cs4236_ext_out() argument
231 snd_cs4236_ext_in(struct snd_wss * chip,unsigned char reg) snd_cs4236_ext_in() argument
347 snd_wss_busy_wait(struct snd_wss * chip) snd_wss_busy_wait() argument
361 snd_wss_mce_up(struct snd_wss * chip) snd_wss_mce_up() argument
386 snd_wss_mce_down(struct snd_wss * chip) snd_wss_mce_down() argument
472 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_trigger() local
532 snd_wss_get_format(struct snd_wss * chip,snd_pcm_format_t format,int channels) snd_wss_get_format() argument
554 snd_wss_calibrate_mute(struct snd_wss * chip,int mute) snd_wss_calibrate_mute() argument
614 snd_wss_playback_format(struct snd_wss * chip,struct snd_pcm_hw_params * params,unsigned char pdfr) snd_wss_playback_format() argument
675 snd_wss_capture_format(struct snd_wss * chip,struct snd_pcm_hw_params * params,unsigned char cdfr) snd_wss_capture_format() argument
748 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_resolution() local
759 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_start() local
782 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_stop() local
791 snd_wss_init(struct snd_wss * chip) snd_wss_init() argument
861 snd_wss_open(struct snd_wss * chip,unsigned int mode) snd_wss_open() argument
903 snd_wss_close(struct snd_wss * chip,unsigned int mode) snd_wss_close() argument
955 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_open() local
962 struct snd_wss *chip = snd_timer_chip(timer); snd_wss_timer_close() local
986 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_hw_params() local
998 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_prepare() local
1021 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_hw_params() local
1033 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_prepare() local
1063 snd_wss_overrange(struct snd_wss * chip) snd_wss_overrange() argument
1078 struct snd_wss *chip = dev_id; snd_wss_interrupt() local
1129 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_pointer() local
1140 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_pointer() local
1153 snd_ad1848_probe(struct snd_wss * chip) snd_ad1848_probe() argument
1235 snd_wss_probe(struct snd_wss * chip) snd_wss_probe() argument
1473 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_open() local
1516 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_open() local
1557 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_playback_close() local
1566 struct snd_wss *chip = snd_pcm_substream_chip(substream); snd_wss_capture_close() local
1573 snd_wss_thinkpad_twiddle(struct snd_wss * chip,int on) snd_wss_thinkpad_twiddle() argument
1596 snd_wss_suspend(struct snd_wss * chip) snd_wss_suspend() argument
1610 snd_wss_resume(struct snd_wss * chip) snd_wss_resume() argument
1660 snd_wss_chip_id(struct snd_wss * chip) snd_wss_chip_id() argument
1710 struct snd_wss *chip; snd_wss_new() local
1749 struct snd_wss *chip; snd_wss_create() local
1849 snd_wss_pcm(struct snd_wss * chip,int device) snd_wss_pcm() argument
1880 struct snd_wss *chip = timer->private_data; snd_wss_timer_free() local
1884 snd_wss_timer(struct snd_wss * chip,int device) snd_wss_timer() argument
1925 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_info_mux() local
1946 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_mux() local
1959 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_mux() local
1996 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_single() local
2015 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_single() local
2053 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_get_double() local
2077 struct snd_wss *chip = snd_kcontrol_chip(kcontrol); snd_wss_put_double() local
2167 snd_wss_mixer(struct snd_wss * chip) snd_wss_mixer() argument
[all...]
/linux/tools/perf/pmu-events/arch/powerpc/power10/
H A Dnest_metrics.json4 …"MetricExpr": "(hv_24x7@PM_PB_RTY_VG_PUMP01\\,chip\\=?@ / (1 + hv_24x7@PM_PB_VG_PUMP01\\,chip\\=?@…
10 …"MetricExpr": "(hv_24x7@PM_PB_RTY_VG_PUMP23\\,chip\\=?@ / (1 + hv_24x7@PM_PB_VG_PUMP23\\,chip\\=?@…
16 …"MetricExpr": "(hv_24x7@PM_PB_RTY_LNS_PUMP01\\,chip\\=?@ / hv_24x7@PM_PB_LNS_PUMP01\\,chip\\=?@) *…
22 …"MetricExpr": "(hv_24x7@PM_PB_RTY_LNS_PUMP23\\,chip\\=?@ / hv_24x7@PM_PB_LNS_PUMP23\\,chip\\=?@) *…
28 …"MetricExpr": "(hv_24x7@PM_PB_RTY_GROUP_PUMP01\\,chip\\=?@ / hv_24x7@PM_PB_GROUP_PUMP01\\,chip\\=?…
34 …"MetricExpr": "(hv_24x7@PM_PB_RTY_GROUP_PUMP23\\,chip\\=?@ / hv_24x7@PM_PB_GROUP_PUMP23\\,chip\\=?…
40 "MetricExpr": "(hv_24x7@PM_PB_GROUP_PUMP01\\,chip\\=?@ / hv_24x7@PM_PAU_CYC\\,chip\\=?@)",
46 "MetricExpr": "(hv_24x7@PM_PB_GROUP_PUMP23\\,chip\\=?@ / hv_24x7@PM_PAU_CYC\\,chip\\=?@)",
52 "MetricExpr": "(hv_24x7@PM_PB_RTY_GROUP_PUMP01\\,chip\\=?@ / hv_24x7@PM_PAU_CYC\\,chip\\=?@)",
58 "MetricExpr": "(hv_24x7@PM_PB_RTY_GROUP_PUMP23\\,chip\\=?@ / hv_24x7@PM_PAU_CYC\\,chip\\=?@)",
[all …]
/linux/sound/pci/lola/
H A Dlola.c73 static int corb_send_verb(struct lola *chip, unsigned int nid, in corb_send_verb() argument
79 chip->last_cmd_nid = nid; in corb_send_verb()
80 chip->last_verb = verb; in corb_send_verb()
81 chip->last_data = data; in corb_send_verb()
82 chip->last_extdata = extdata; in corb_send_verb()
85 guard(spinlock_irqsave)(&chip->reg_lock); in corb_send_verb()
86 if (chip->rirb.cmds < LOLA_CORB_ENTRIES - 1) { in corb_send_verb()
87 unsigned int wp = chip->corb.wp + 1; in corb_send_verb()
89 chip->corb.wp = wp; in corb_send_verb()
90 chip in corb_send_verb()
102 lola_queue_unsol_event(struct lola * chip,unsigned int res,unsigned int res_ex) lola_queue_unsol_event() argument
109 lola_update_rirb(struct lola * chip) lola_update_rirb() argument
137 rirb_get_response(struct lola * chip,unsigned int * val,unsigned int * extval) rirb_get_response() argument
181 lola_codec_write(struct lola * chip,unsigned int nid,unsigned int verb,unsigned int data,unsigned int extdata) lola_codec_write() argument
190 lola_codec_read(struct lola * chip,unsigned int nid,unsigned int verb,unsigned int data,unsigned int extdata,unsigned int * val,unsigned int * extval) lola_codec_read() argument
206 lola_codec_flush(struct lola * chip) lola_codec_flush() argument
217 struct lola *chip = dev_id; lola_interrupt() local
295 reset_controller(struct lola * chip) reset_controller() argument
322 lola_irq_enable(struct lola * chip) lola_irq_enable() argument
338 lola_irq_disable(struct lola * chip) lola_irq_disable() argument
345 setup_corb_rirb(struct lola * chip) setup_corb_rirb() argument
409 stop_corb_rirb(struct lola * chip) stop_corb_rirb() argument
416 lola_reset_setups(struct lola * chip) lola_reset_setups() argument
432 lola_parse_tree(struct lola * chip) lola_parse_tree() argument
524 lola_stop_hw(struct lola * chip) lola_stop_hw() argument
532 struct lola *chip = card->private_data; lola_free() local
541 struct lola *chip = card->private_data; lola_create() local
651 struct lola *chip; __lola_probe() local
[all...]
/linux/sound/ppc/
H A Dpmac.c50 static int snd_pmac_dbdma_alloc(struct snd_pmac *chip, struct pmac_dbdma *rec, int size) in snd_pmac_dbdma_alloc() argument
54 rec->space = dma_alloc_coherent(&chip->pdev->dev, rsize, in snd_pmac_dbdma_alloc()
66 static void snd_pmac_dbdma_free(struct snd_pmac *chip, struct pmac_dbdma *rec) in snd_pmac_dbdma_free() argument
71 dma_free_coherent(&chip->pdev->dev, rsize, rec->space, rec->dma_base); in snd_pmac_dbdma_free()
84 unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate) in snd_pmac_rate_index() argument
89 if (rate > chip->freq_table[0]) in snd_pmac_rate_index()
92 for (i = 0; i < chip->num_freqs; i++, ok >>= 1) { in snd_pmac_rate_index()
95 if (rate >= chip->freq_table[i]) in snd_pmac_rate_index()
113 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) in snd_pmac_get_stream() argument
117 return &chip in snd_pmac_get_stream()
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 Dglobal2.c15 #include "chip.h"
19 int mv88e6xxx_g2_read(struct mv88e6xxx_chip *chip, int reg, u16 *val) in mv88e6xxx_g2_read() argument
21 return mv88e6xxx_read(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_read()
24 int mv88e6xxx_g2_write(struct mv88e6xxx_chip *chip, int reg, u16 val) in mv88e6xxx_g2_write() argument
26 return mv88e6xxx_write(chip, chip->info->global2_addr, reg, val); in mv88e6xxx_g2_write()
29 int mv88e6xxx_g2_wait_bit(struct mv88e6xxx_chip *chip, int reg, int in mv88e6xxx_g2_wait_bit() argument
32 return mv88e6xxx_wait_bit(chip, chip->info->global2_addr, reg, in mv88e6xxx_g2_wait_bit()
38 static int mv88e6xxx_g2_int_source(struct mv88e6xxx_chip *chip, u16 *src) in mv88e6xxx_g2_int_source() argument
41 return mv88e6xxx_g2_read(chip, MV88E6XXX_G2_INT_SRC, src); in mv88e6xxx_g2_int_source()
46 static int mv88e6xxx_g2_int_mask(struct mv88e6xxx_chip *chip, u16 mask) in mv88e6xxx_g2_int_mask() argument
[all …]
H A Dphy.c13 #include "chip.h"
16 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_read() argument
19 return mv88e6xxx_read(chip, addr, reg, val); in mv88e6165_phy_read()
22 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus, in mv88e6165_phy_write() argument
25 return mv88e6xxx_write(chip, addr, reg, val); in mv88e6165_phy_write()
28 int mv88e6xxx_phy_read(struct mv88e6xxx_chip *chip, int phy, int reg, u16 *val) in mv88e6xxx_phy_read() argument
33 bus = mv88e6xxx_default_mdio_bus(chip); in mv88e6xxx_phy_read()
37 if (!chip->info->ops->phy_read) in mv88e6xxx_phy_read()
40 return chip->info->ops->phy_read(chip, bus, addr, reg, val); in mv88e6xxx_phy_read()
43 int mv88e6xxx_phy_write(struct mv88e6xxx_chip *chip, int phy, int reg, u16 val) in mv88e6xxx_phy_write() argument
[all …]
/linux/drivers/usb/typec/tcpm/
H A Dfusb302.c5 * Fairchild FUSB302 Type-C Chip Driver
39 * for the current capability offered by the SRC. As FUSB302 chip fires
93 /* lock for sharing chip states */
96 /* chip status */
129 static bool fusb302_log_full(struct fusb302_chip *chip) in fusb302_log_full() argument
131 return chip->logbuffer_tail == in fusb302_log_full()
132 (chip->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; in fusb302_log_full()
136 static void _fusb302_log(struct fusb302_chip *chip, const char *fmt, in _fusb302_log() argument
143 if (!chip->logbuffer[chip->logbuffer_head]) { in _fusb302_log()
144 chip->logbuffer[chip->logbuffer_head] = in _fusb302_log()
[all …]
/linux/sound/isa/sb/
H A Dsb16_main.c14 * Note: Some chip revisions have hardware bug. Changing capture
16 * 16bit DMA transfers from DSP chip (capture) until 8bit transfer
17 * to DSP chip (playback) starts. This bug can be avoided with
41 static void snd_sb16_csp_playback_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_playback_prepare() argument
43 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_playback_prepare()
44 struct snd_sb_csp *csp = chip->csp; in snd_sb16_csp_playback_prepare()
74 if (csp->ops.csp_start(csp, (chip->mode & SB_MODE_PLAYBACK_16) ? in snd_sb16_csp_playback_prepare()
82 chip->open = SNDRV_SB_CSP_MODE_DSP_WRITE; in snd_sb16_csp_playback_prepare()
89 static void snd_sb16_csp_capture_prepare(struct snd_sb *chip, struct snd_pcm_runtime *runtime) in snd_sb16_csp_capture_prepare() argument
91 if (chip in snd_sb16_csp_capture_prepare()
127 snd_sb16_csp_update(struct snd_sb * chip) snd_sb16_csp_update() argument
140 snd_sb16_csp_playback_open(struct snd_sb * chip,struct snd_pcm_runtime * runtime) snd_sb16_csp_playback_open() argument
159 snd_sb16_csp_playback_close(struct snd_sb * chip) snd_sb16_csp_playback_close() argument
171 snd_sb16_csp_capture_open(struct snd_sb * chip,struct snd_pcm_runtime * runtime) snd_sb16_csp_capture_open() argument
190 snd_sb16_csp_capture_close(struct snd_sb * chip) snd_sb16_csp_capture_close() argument
202 snd_sb16_csp_playback_prepare(chip,runtime) global() argument
203 snd_sb16_csp_capture_prepare(chip,runtime) global() argument
204 snd_sb16_csp_update(chip) global() argument
205 snd_sb16_csp_playback_open(chip,runtime) global() argument
206 snd_sb16_csp_playback_close(chip) global() argument
207 snd_sb16_csp_capture_open(chip,runtime) global() argument
208 snd_sb16_csp_capture_close(chip) global() argument
212 snd_sb16_setup_rate(struct snd_sb * chip,unsigned short rate,int channel) snd_sb16_setup_rate() argument
238 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_prepare() local
280 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_trigger() local
308 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_prepare() local
349 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_trigger() local
376 struct snd_sb *chip = dev_id; snd_sb16dsp_interrupt() local
428 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_pointer() local
439 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_pointer() local
495 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_open() local
557 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_playback_close() local
570 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_open() local
632 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb16_capture_close() local
646 snd_sb16_set_dma_mode(struct snd_sb * chip,int what) snd_sb16_set_dma_mode() argument
665 snd_sb16_get_dma_mode(struct snd_sb * chip) snd_sb16_get_dma_mode() argument
690 struct snd_sb *chip = snd_kcontrol_chip(kcontrol); snd_sb16_dma_control_get() local
701 struct snd_sb *chip = snd_kcontrol_chip(kcontrol); snd_sb16_dma_control_put() local
736 snd_sb16dsp_configure(struct snd_sb * chip) snd_sb16dsp_configure() argument
846 snd_sb16dsp_pcm(struct snd_sb * chip,int device) snd_sb16dsp_pcm() argument
[all...]
H A Dsb8_midi.c23 irqreturn_t snd_sb8dsp_midi_interrupt(struct snd_sb *chip) in snd_sb8dsp_midi_interrupt() argument
29 if (!chip) in snd_sb8dsp_midi_interrupt()
32 rmidi = chip->rmidi; in snd_sb8dsp_midi_interrupt()
34 inb(SBP(chip, DATA_AVAIL)); /* ack interrupt */ in snd_sb8dsp_midi_interrupt()
38 guard(spinlock)(&chip->midi_input_lock); in snd_sb8dsp_midi_interrupt()
40 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sb8dsp_midi_interrupt()
41 byte = inb(SBP(chip, READ)); in snd_sb8dsp_midi_interrupt()
42 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { in snd_sb8dsp_midi_interrupt()
43 snd_rawmidi_receive(chip->midi_substream_input, &byte, 1); in snd_sb8dsp_midi_interrupt()
52 struct snd_sb *chip; in snd_sb8dsp_midi_input_open()
54 struct snd_sb *chip; snd_sb8dsp_midi_input_open() local
81 struct snd_sb *chip; snd_sb8dsp_midi_output_open() local
108 struct snd_sb *chip; snd_sb8dsp_midi_input_close() local
126 struct snd_sb *chip; snd_sb8dsp_midi_output_close() local
145 struct snd_sb *chip; snd_sb8dsp_midi_input_trigger() local
168 struct snd_sb *chip; snd_sb8dsp_midi_output_write() local
203 struct snd_sb *chip = timer_container_of(chip, t, midi_timer); snd_sb8dsp_midi_output_timer() local
216 struct snd_sb *chip; snd_sb8dsp_midi_output_trigger() local
250 snd_sb8dsp_midi(struct snd_sb * chip,int device) snd_sb8dsp_midi() argument
[all...]
H A Dsb8_main.c92 struct snd_sb *chip = snd_pcm_substream_chip(substream); in snd_sb8_playback_prepare()
100 switch (chip->hardware) { in snd_sb8_playback_prepare()
103 if (chip->mode & SB_MODE_CAPTURE_16) in snd_sb8_playback_prepare()
106 chip->mode |= SB_MODE_PLAYBACK_16; in snd_sb8_playback_prepare()
108 chip->playback_format = SB_DSP_LO_OUTPUT_AUTO; in snd_sb8_playback_prepare()
115 chip->playback_format = SB_DSP_HI_OUTPUT_AUTO; in snd_sb8_playback_prepare()
121 chip->playback_format = SB_DSP_HI_OUTPUT_AUTO; in snd_sb8_playback_prepare()
126 chip->playback_format = SB_DSP_LO_OUTPUT_AUTO; in snd_sb8_playback_prepare()
129 chip->playback_format = SB_DSP_OUTPUT; in snd_sb8_playback_prepare()
134 if (chip in snd_sb8_playback_prepare()
93 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_playback_prepare() local
196 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_playback_trigger() local
231 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_capture_prepare() local
321 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_capture_trigger() local
355 snd_sb8dsp_interrupt(struct snd_sb * chip) snd_sb8dsp_interrupt() argument
387 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_playback_pointer() local
403 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_capture_pointer() local
465 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_open() local
529 struct snd_sb *chip = snd_pcm_substream_chip(substream); snd_sb8_close() local
563 snd_sb8dsp_pcm(struct snd_sb * chip,int device) snd_sb8dsp_pcm() argument
[all...]
/linux/sound/sparc/
H A Dcs4231.c128 #define CS4231U(chip, x) ((chip)->port + ((c_d_c_CS4231##x) << 2)) argument
174 #define APC_CHIP_RESET 0x01 /* Reset the chip */
277 static void snd_cs4231_ready(struct snd_cs4231 *chip) in snd_cs4231_ready() argument
282 int val = __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_ready()
289 static void snd_cs4231_dout(struct snd_cs4231 *chip, unsigned char reg, in snd_cs4231_dout() argument
292 snd_cs4231_ready(chip); in snd_cs4231_dout()
294 if (__cs4231_readb(chip, CS4231U(chip, REGSE in snd_cs4231_dout()
305 snd_cs4231_outm(struct snd_cs4231 * chip,unsigned char reg,unsigned char mask,unsigned char value) snd_cs4231_outm() argument
315 snd_cs4231_out(struct snd_cs4231 * chip,unsigned char reg,unsigned char value) snd_cs4231_out() argument
323 snd_cs4231_in(struct snd_cs4231 * chip,unsigned char reg) snd_cs4231_in() argument
341 snd_cs4231_busy_wait(struct snd_cs4231 * chip) snd_cs4231_busy_wait() argument
358 snd_cs4231_mce_up(struct snd_cs4231 * chip) snd_cs4231_mce_up() argument
382 snd_cs4231_mce_down(struct snd_cs4231 * chip) snd_cs4231_mce_down() argument
449 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); cs4231_dma_trigger() local
480 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_trigger() local
537 snd_cs4231_get_format(struct snd_cs4231 * chip,int format,int channels) snd_cs4231_get_format() argument
565 snd_cs4231_calibrate_mute(struct snd_cs4231 * chip,int mute) snd_cs4231_calibrate_mute() argument
605 snd_cs4231_playback_format(struct snd_cs4231 * chip,struct snd_pcm_hw_params * params,unsigned char pdfr) snd_cs4231_playback_format() argument
629 snd_cs4231_capture_format(struct snd_cs4231 * chip,struct snd_pcm_hw_params * params,unsigned char cdfr) snd_cs4231_capture_format() argument
665 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_resolution() local
674 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_start() local
699 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_stop() local
710 snd_cs4231_init(struct snd_cs4231 * chip) snd_cs4231_init() argument
774 snd_cs4231_open(struct snd_cs4231 * chip,unsigned int mode) snd_cs4231_open() argument
809 snd_cs4231_close(struct snd_cs4231 * chip,unsigned int mode) snd_cs4231_close() argument
863 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_open() local
870 struct snd_cs4231 *chip = snd_timer_chip(timer); snd_cs4231_timer_close() local
893 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_hw_params() local
906 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_prepare() local
932 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_hw_params() local
945 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_prepare() local
959 snd_cs4231_overrange(struct snd_cs4231 * chip) snd_cs4231_overrange() argument
973 snd_cs4231_play_callback(struct snd_cs4231 * chip) snd_cs4231_play_callback() argument
982 snd_cs4231_capture_callback(struct snd_cs4231 * chip) snd_cs4231_capture_callback() argument
994 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_pointer() local
1010 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_pointer() local
1023 snd_cs4231_probe(struct snd_cs4231 * chip) snd_cs4231_probe() argument
1137 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_open() local
1156 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_open() local
1175 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_playback_close() local
1185 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); snd_cs4231_capture_close() local
1217 struct snd_cs4231 *chip = card->private_data; snd_cs4231_pcm() local
1245 struct snd_cs4231 *chip = card->private_data; snd_cs4231_timer() local
1284 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_mux() local
1300 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_mux() local
1342 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_single() local
1365 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_single() local
1407 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_get_double() local
1438 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); snd_cs4231_put_double() local
1527 struct snd_cs4231 *chip = card->private_data; snd_cs4231_mixer() local
1550 struct snd_cs4231 *chip; cs4231_attach_begin() local
1580 struct snd_cs4231 *chip = card->private_data; cs4231_attach_finish() local
1616 struct snd_cs4231 *chip = dev_id; snd_cs4231_sbus_interrupt() local
1758 snd_cs4231_sbus_free(struct snd_cs4231 * chip) snd_cs4231_sbus_free() argument
1786 struct snd_cs4231 *chip = card->private_data; snd_cs4231_sbus_create() local
1879 struct snd_cs4231 *chip = cookie; snd_cs4231_ebus_play_callback() local
1887 struct snd_cs4231 *chip = cookie; snd_cs4231_ebus_capture_callback() local
1921 snd_cs4231_ebus_free(struct snd_cs4231 * chip) snd_cs4231_ebus_free() argument
1955 struct snd_cs4231 *chip = card->private_data; snd_cs4231_ebus_create() local
2086 struct snd_cs4231 *chip = dev_get_drvdata(&op->dev); cs4231_remove() local
[all...]
/linux/drivers/misc/
H A Dbh1770glc.c4 * Chip is combined proximity and ambient light sensor.
132 u32 lux_cf; /* Chip specific factor */
163 * Supported stand alone rates in ms from chip data sheet
170 * Supported stand alone rates in ms from chip data sheet
176 * interrupt control functions are called while keeping chip->mutex
179 static inline int bh1770_lux_interrupt_control(struct bh1770_chip *chip, in bh1770_lux_interrupt_control() argument
182 chip->int_mode_lux = lux; in bh1770_lux_interrupt_control()
184 return i2c_smbus_write_byte_data(chip->client, in bh1770_lux_interrupt_control()
186 (lux << 1) | chip->int_mode_prox); in bh1770_lux_interrupt_control()
189 static inline int bh1770_prox_interrupt_control(struct bh1770_chip *chip, in bh1770_prox_interrupt_control() argument
[all …]
H A Dpch_phub.c138 * @chip: Pointer to the PHUB register structure
143 static void pch_phub_read_modify_write_reg(struct pch_phub_reg *chip, in pch_phub_read_modify_write_reg() argument
147 void __iomem *reg_addr = chip->pch_phub_base_address + reg_addr_offset; in pch_phub_read_modify_write_reg()
155 struct pch_phub_reg *chip = pci_get_drvdata(pdev); in pch_phub_save_reg_conf() local
157 void __iomem *p = chip->pch_phub_base_address; in pch_phub_save_reg_conf()
159 chip->phub_id_reg = ioread32(p + PCH_PHUB_ID_REG); in pch_phub_save_reg_conf()
160 chip->q_pri_val_reg = ioread32(p + PCH_PHUB_QUEUE_PRI_VAL_REG); in pch_phub_save_reg_conf()
161 chip->rc_q_maxsize_reg = ioread32(p + PCH_PHUB_RC_QUEUE_MAXSIZE_REG); in pch_phub_save_reg_conf()
162 chip->bri_q_maxsize_reg = ioread32(p + PCH_PHUB_BRI_QUEUE_MAXSIZE_REG); in pch_phub_save_reg_conf()
163 chip->comp_resp_timeout_reg = in pch_phub_save_reg_conf()
[all …]
/linux/sound/pci/ymfpci/
H A Dymfpci_main.c32 static void snd_ymfpci_irq_wait(struct snd_ymfpci *chip);
34 static inline void snd_ymfpci_writeb(struct snd_ymfpci *chip, u32 offset, u8 val) in snd_ymfpci_writeb() argument
36 writeb(val, chip->reg_area_virt + offset); in snd_ymfpci_writeb()
39 static inline u16 snd_ymfpci_readw(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readw() argument
41 return readw(chip->reg_area_virt + offset); in snd_ymfpci_readw()
44 static inline void snd_ymfpci_writew(struct snd_ymfpci *chip, u32 offset, u16 val) in snd_ymfpci_writew() argument
46 writew(val, chip->reg_area_virt + offset); in snd_ymfpci_writew()
49 static inline u32 snd_ymfpci_readl(struct snd_ymfpci *chip, u32 offset) in snd_ymfpci_readl() argument
51 return readl(chip->reg_area_virt + offset); in snd_ymfpci_readl()
54 static inline void snd_ymfpci_writel(struct snd_ymfpci *chip, u3 argument
59 snd_ymfpci_codec_ready(struct snd_ymfpci * chip,int secondary) snd_ymfpci_codec_ready() argument
78 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_write() local
88 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_codec_read() local
160 snd_ymfpci_hw_start(struct snd_ymfpci * chip) snd_ymfpci_hw_start() argument
174 snd_ymfpci_hw_stop(struct snd_ymfpci * chip) snd_ymfpci_hw_stop() argument
200 voice_alloc(struct snd_ymfpci * chip,enum snd_ymfpci_voice_type type,int pair,struct snd_ymfpci_voice ** rvoice) voice_alloc() argument
238 snd_ymfpci_voice_alloc(struct snd_ymfpci * chip,enum snd_ymfpci_voice_type type,int pair,struct snd_ymfpci_voice ** rvoice) snd_ymfpci_voice_alloc() argument
262 snd_ymfpci_voice_free(struct snd_ymfpci * chip,struct snd_ymfpci_voice * pvoice) snd_ymfpci_voice_free() argument
285 snd_ymfpci_pcm_interrupt(struct snd_ymfpci * chip,struct snd_ymfpci_voice * voice) snd_ymfpci_pcm_interrupt() argument
344 struct snd_ymfpci *chip = ypcm->chip; snd_ymfpci_pcm_capture_interrupt() local
375 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_trigger() local
420 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_trigger() local
584 snd_ymfpci_ac3_init(struct snd_ymfpci * chip) snd_ymfpci_ac3_init() argument
606 snd_ymfpci_ac3_done(struct snd_ymfpci * chip) snd_ymfpci_ac3_done() argument
635 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_hw_free() local
658 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_prepare() local
682 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_hw_free() local
691 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_prepare() local
735 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_pointer() local
747 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_pointer() local
756 snd_ymfpci_irq_wait(struct snd_ymfpci * chip) snd_ymfpci_irq_wait() argument
774 struct snd_ymfpci *chip = dev_id; snd_ymfpci_interrupt() local
873 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_open_1() local
901 ymfpci_open_extension(struct snd_ymfpci * chip) ymfpci_open_extension() argument
914 ymfpci_close_extension(struct snd_ymfpci * chip) ymfpci_close_extension() argument
927 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_open() local
950 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_spdif_open() local
979 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_4ch_open() local
1001 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_open() local
1048 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_close() local
1062 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_spdif_close() local
1079 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_playback_4ch_close() local
1092 struct snd_ymfpci *chip = snd_pcm_substream_chip(substream); snd_ymfpci_capture_close() local
1122 snd_ymfpci_pcm(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm() argument
1156 snd_ymfpci_pcm2(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm2() argument
1190 snd_ymfpci_pcm_spdif(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm_spdif() argument
1231 snd_ymfpci_pcm_4ch(struct snd_ymfpci * chip,int device) snd_ymfpci_pcm_4ch() argument
1265 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_default_get() local
1278 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_default_put() local
1312 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_mask_get() local
1340 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_stream_get() local
1353 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_spdif_stream_put() local
1387 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_drec_source_get() local
1402 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_drec_source_put() local
1440 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_single() local
1458 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_single() local
1506 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_double() local
1523 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_double() local
1547 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_nativedacvol() local
1571 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_get_dup4ch() local
1578 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_put_dup4ch() local
1629 snd_ymfpci_get_gpio_out(struct snd_ymfpci * chip,int pin) snd_ymfpci_get_gpio_out() argument
1649 snd_ymfpci_set_gpio_out(struct snd_ymfpci * chip,int pin,int enable) snd_ymfpci_set_gpio_out() argument
1670 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_gpio_sw_get() local
1678 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_gpio_sw_put() local
1715 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_pcm_vol_get() local
1726 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); snd_ymfpci_pcm_vol_put() local
1770 struct snd_ymfpci *chip = bus->private_data; snd_ymfpci_mixer_free_ac97_bus() local
1776 struct snd_ymfpci *chip = ac97->private_data; snd_ymfpci_mixer_free_ac97() local
1780 snd_ymfpci_mixer(struct snd_ymfpci * chip,int rear_switch) snd_ymfpci_mixer() argument
1886 struct snd_ymfpci *chip; snd_ymfpci_timer_start() local
1911 struct snd_ymfpci *chip; snd_ymfpci_timer_stop() local
1938 snd_ymfpci_timer(struct snd_ymfpci * chip,int device) snd_ymfpci_timer() argument
1967 struct snd_ymfpci *chip = entry->private_data; snd_ymfpci_proc_read() local
1975 snd_ymfpci_proc_init(struct snd_card * card,struct snd_ymfpci * chip) snd_ymfpci_proc_init() argument
2002 snd_ymfpci_enable_dsp(struct snd_ymfpci * chip) snd_ymfpci_enable_dsp() argument
2007 snd_ymfpci_disable_dsp(struct snd_ymfpci * chip) snd_ymfpci_disable_dsp() argument
2022 snd_ymfpci_request_firmware(struct snd_ymfpci * chip) snd_ymfpci_request_firmware() argument
2061 snd_ymfpci_download_image(struct snd_ymfpci * chip) snd_ymfpci_download_image() argument
2094 snd_ymfpci_memalloc(struct snd_ymfpci * chip) snd_ymfpci_memalloc() argument
2197 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_free() local
2226 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_suspend() local
2254 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_resume() local
2291 struct snd_ymfpci *chip = card->private_data; snd_ymfpci_create() local
[all...]
/linux/drivers/gpio/
H A Dgpio-ml-ioh.c95 struct ioh_gpio *chip = gpiochip_get_data(gpio); in ioh_gpio_set() local
98 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_set()
99 reg_val = ioread32(&chip->reg->regs[chip->ch].po); in ioh_gpio_set()
105 iowrite32(reg_val, &chip->reg->regs[chip->ch].po); in ioh_gpio_set()
106 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_set()
113 struct ioh_gpio *chip = gpiochip_get_data(gpio); in ioh_gpio_get() local
115 return !!(ioread32(&chip->reg->regs[chip->ch].pi) & BIT(nr)); in ioh_gpio_get()
121 struct ioh_gpio *chip = gpiochip_get_data(gpio); in ioh_gpio_direction_output() local
126 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_output()
127 pm = ioread32(&chip->reg->regs[chip->ch].pm); in ioh_gpio_direction_output()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_legacy.c23 * 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()
47 * @chip: NAND chip object
50 * Default select function for 1 chip devices.
[all …]
/linux/drivers/input/misc/
H A Dmax8997_haptic.c56 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()
82 static void max8997_haptic_configure(struct max8997_haptic *chip) in max8997_haptic_configure() argument
86 value = chip->type << MAX8997_MOTOR_TYPE_SHIFT | in max8997_haptic_configure()
87 chip->enabled << MAX8997_ENABLE_SHIFT | in max8997_haptic_configure()
[all …]
/linux/sound/sh/
H A Dsh_dac_audio.c53 static void dac_audio_start_timer(struct snd_sh_dac *chip) in dac_audio_start_timer() argument
55 hrtimer_start(&chip->hrtimer, chip->wakeups_per_second, in dac_audio_start_timer()
59 static void dac_audio_stop_timer(struct snd_sh_dac *chip) in dac_audio_stop_timer() argument
61 hrtimer_cancel(&chip->hrtimer); in dac_audio_stop_timer()
64 static void dac_audio_reset(struct snd_sh_dac *chip) in dac_audio_reset() argument
66 dac_audio_stop_timer(chip); in dac_audio_reset()
67 chip->buffer_begin = chip->buffer_end = chip->data_buffer; in dac_audio_reset()
68 chip->processed = 0; in dac_audio_reset()
69 chip->empty = 1; in dac_audio_reset()
72 static void dac_audio_set_rate(struct snd_sh_dac *chip) in dac_audio_set_rate() argument
[all …]
/linux/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_core.c20 struct snd_pdacf *chip = private_data; in pdacf_ak4117_read() local
25 spin_lock_irqsave(&chip->ak4117_lock, flags); in pdacf_ak4117_read()
27 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { in pdacf_ak4117_read()
30 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read()
31 dev_err(chip->card->dev, "AK4117 ready timeout (read)\n"); in pdacf_ak4117_read()
35 pdacf_reg_write(chip, PDAUDIOCF_REG_AK_IFR, (u16)reg << 8); in pdacf_ak4117_read()
37 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { in pdacf_ak4117_read()
40 spin_unlock_irqrestore(&chip->ak4117_lock, flags); in pdacf_ak4117_read()
41 dev_err(chip->card->dev, "AK4117 read timeout (read2)\n"); in pdacf_ak4117_read()
45 res = (unsigned char)pdacf_reg_read(chip, PDAUDIOCF_REG_AK_IF in pdacf_ak4117_read()
52 struct snd_pdacf *chip = private_data; pdacf_ak4117_write() local
91 pdacf_reset(struct snd_pdacf * chip,int powerdown) pdacf_reset() argument
114 pdacf_reinit(struct snd_pdacf * chip,int resume) pdacf_reinit() argument
127 struct snd_pdacf *chip = entry->private_data; pdacf_proc_read() local
136 pdacf_proc_init(struct snd_pdacf * chip) pdacf_proc_init() argument
143 struct snd_pdacf *chip; snd_pdacf_create() local
159 struct snd_pdacf *chip = ak4117->change_callback_private; snd_pdacf_ak4117_change() local
174 snd_pdacf_ak4117_create(struct snd_pdacf * chip) snd_pdacf_ak4117_create() argument
230 snd_pdacf_powerdown(struct snd_pdacf * chip) snd_pdacf_powerdown() argument
247 snd_pdacf_suspend(struct snd_pdacf * chip) snd_pdacf_suspend() argument
261 check_signal(struct snd_pdacf * chip) check_signal() argument
266 snd_pdacf_resume(struct snd_pdacf * chip) snd_pdacf_resume() argument
[all...]
/linux/sound/isa/es1688/
H A Des1688_lib.c4 * Routines for control of ESS ES1688/688/488 chip
24 static int snd_es1688_dsp_command(struct snd_es1688 *chip, unsigned char val) in snd_es1688_dsp_command() argument
29 if ((inb(ES1688P(chip, STATUS)) & 0x80) == 0) { in snd_es1688_dsp_command()
30 outb(val, ES1688P(chip, COMMAND)); in snd_es1688_dsp_command()
33 dev_dbg(chip->card->dev, "%s: timeout (0x%x)\n", __func__, val); in snd_es1688_dsp_command()
37 static int snd_es1688_dsp_get_byte(struct snd_es1688 *chip) in snd_es1688_dsp_get_byte() argument
42 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) in snd_es1688_dsp_get_byte()
43 return inb(ES1688P(chip, READ)); in snd_es1688_dsp_get_byte()
44 dev_dbg(chip->card->dev, "es1688 get byte failed: 0x%lx = 0x%x!!!\n", in snd_es1688_dsp_get_byte()
45 ES1688P(chip, DATA_AVAI in snd_es1688_dsp_get_byte()
49 snd_es1688_write(struct snd_es1688 * chip,unsigned char reg,unsigned char data) snd_es1688_write() argument
57 snd_es1688_read(struct snd_es1688 * chip,unsigned char reg) snd_es1688_read() argument
67 snd_es1688_mixer_write(struct snd_es1688 * chip,unsigned char reg,unsigned char data) snd_es1688_mixer_write() argument
76 snd_es1688_mixer_read(struct snd_es1688 * chip,unsigned char reg) snd_es1688_mixer_read() argument
87 snd_es1688_reset(struct snd_es1688 * chip) snd_es1688_reset() argument
106 snd_es1688_probe(struct snd_es1688 * chip) snd_es1688_probe() argument
185 snd_es1688_init(struct snd_es1688 * chip,int enable) snd_es1688_init() argument
298 snd_es1688_set_rate(struct snd_es1688 * chip,struct snd_pcm_substream * substream) snd_es1688_set_rate() argument
314 snd_es1688_trigger(struct snd_es1688 * chip,int cmd,unsigned char value) snd_es1688_trigger() argument
343 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_playback_prepare() local
397 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_playback_trigger() local
404 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_capture_prepare() local
454 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_capture_trigger() local
460 struct snd_es1688 *chip = dev_id; snd_es1688_interrupt() local
473 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_playback_pointer() local
484 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_capture_pointer() local
539 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_playback_open() local
553 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_capture_open() local
567 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_playback_close() local
575 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); snd_es1688_capture_close() local
581 snd_es1688_free(struct snd_es1688 * chip) snd_es1688_free() argument
597 struct snd_es1688 *chip = device->device_data; snd_es1688_dev_free() local
601 snd_es1688_chip_id(struct snd_es1688 * chip) snd_es1688_chip_id() argument
609 snd_es1688_create(struct snd_card * card,struct snd_es1688 * chip,unsigned long port,unsigned long mpu_port,int irq,int mpu_irq,int dma8,unsigned short hardware) snd_es1688_create() argument
695 snd_es1688_pcm(struct snd_card * card,struct snd_es1688 * chip,int device) snd_es1688_pcm() argument
733 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); snd_es1688_get_mux() local
740 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); snd_es1688_put_mux() local
776 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); snd_es1688_get_single() local
793 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); snd_es1688_put_single() local
835 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); snd_es1688_get_double() local
869 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); snd_es1688_put_double() local
965 snd_es1688_mixer(struct snd_card * card,struct snd_es1688 * chip) snd_es1688_mixer() argument
[all...]
/linux/sound/isa/ad1816a/
H A Dad1816a_lib.c3 ad1816a.c - lowlevel code for Analog Devices AD1816A chip.
20 static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip) in snd_ad1816a_busy_wait() argument
28 dev_warn(chip->card->dev, "chip busy.\n"); in snd_ad1816a_busy_wait()
32 static inline unsigned char snd_ad1816a_in(struct snd_ad1816a *chip, unsigned char reg) in snd_ad1816a_in() argument
34 snd_ad1816a_busy_wait(chip); in snd_ad1816a_in()
38 static inline void snd_ad1816a_out(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out() argument
41 snd_ad1816a_busy_wait(chip); in snd_ad1816a_out()
45 static inline void snd_ad1816a_out_mask(struct snd_ad1816a *chip, unsigned char reg, in snd_ad1816a_out_mask() argument
48 snd_ad1816a_out(chip, re in snd_ad1816a_out_mask()
52 snd_ad1816a_read(struct snd_ad1816a * chip,unsigned char reg) snd_ad1816a_read() argument
59 snd_ad1816a_write(struct snd_ad1816a * chip,unsigned char reg,unsigned short value) snd_ad1816a_write() argument
67 snd_ad1816a_write_mask(struct snd_ad1816a * chip,unsigned char reg,unsigned short mask,unsigned short value) snd_ad1816a_write_mask() argument
75 snd_ad1816a_get_format(struct snd_ad1816a * chip,snd_pcm_format_t format,int channels) snd_ad1816a_get_format() argument
97 snd_ad1816a_open(struct snd_ad1816a * chip,unsigned int mode) snd_ad1816a_open() argument
133 snd_ad1816a_close(struct snd_ad1816a * chip,unsigned int mode) snd_ad1816a_close() argument
166 snd_ad1816a_trigger(struct snd_ad1816a * chip,unsigned char what,int channel,int cmd,int iscapture) snd_ad1816a_trigger() argument
198 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_playback_trigger() local
205 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_capture_trigger() local
212 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_playback_prepare() local
244 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_capture_prepare() local
277 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_playback_pointer() local
287 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_capture_pointer() local
298 struct snd_ad1816a *chip = dev_id; snd_ad1816a_interrupt() local
361 struct snd_ad1816a *chip = snd_timer_chip(timer); snd_ad1816a_timer_close() local
368 struct snd_ad1816a *chip = snd_timer_chip(timer); snd_ad1816a_timer_open() local
385 struct snd_ad1816a *chip = snd_timer_chip(timer); snd_ad1816a_timer_start() local
403 struct snd_ad1816a *chip = snd_timer_chip(timer); snd_ad1816a_timer_stop() local
426 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_playback_open() local
442 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_capture_open() local
458 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_playback_close() local
467 struct snd_ad1816a *chip = snd_pcm_substream_chip(substream); snd_ad1816a_capture_close() local
475 snd_ad1816a_init(struct snd_ad1816a * chip) snd_ad1816a_init() argument
496 snd_ad1816a_suspend(struct snd_ad1816a * chip) snd_ad1816a_suspend() argument
507 snd_ad1816a_resume(struct snd_ad1816a * chip) snd_ad1816a_resume() argument
520 snd_ad1816a_probe(struct snd_ad1816a * chip) snd_ad1816a_probe() argument
544 snd_ad1816a_chip_id(struct snd_ad1816a * chip) snd_ad1816a_chip_id() argument
559 snd_ad1816a_create(struct snd_card * card,unsigned long port,int irq,int dma1,int dma2,struct snd_ad1816a * chip) snd_ad1816a_create() argument
619 snd_ad1816a_pcm(struct snd_ad1816a * chip,int device) snd_ad1816a_pcm() argument
644 snd_ad1816a_timer(struct snd_ad1816a * chip,int device) snd_ad1816a_timer() argument
681 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); snd_ad1816a_get_mux() local
695 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); snd_ad1816a_put_mux() local
737 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); snd_ad1816a_get_single() local
754 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); snd_ad1816a_put_single() local
802 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); snd_ad1816a_get_double() local
825 struct snd_ad1816a *chip = snd_kcontrol_chip(kcontrol); snd_ad1816a_put_double() local
904 snd_ad1816a_mixer(struct snd_ad1816a * chip) snd_ad1816a_mixer() argument
[all...]
/linux/sound/pci/lx6464es/
H A Dlx_core.c55 static void __iomem *lx_dsp_register(struct lx6464es *chip, int port) in lx_dsp_register() argument
57 void __iomem *base_address = chip->port_dsp_bar; in lx_dsp_register()
61 unsigned long lx_dsp_reg_read(struct lx6464es *chip, int port) in lx_dsp_reg_read() argument
63 void __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_read()
67 static void lx_dsp_reg_readbuf(struct lx6464es *chip, int port, u32 *data, in lx_dsp_reg_readbuf() argument
70 u32 __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_readbuf()
79 void lx_dsp_reg_write(struct lx6464es *chip, int port, unsigned data) in lx_dsp_reg_write() argument
81 void __iomem *address = lx_dsp_register(chip, port); in lx_dsp_reg_write()
85 static void lx_dsp_reg_writebuf(struct lx6464es *chip, int port, in lx_dsp_reg_writebuf() argument
88 u32 __iomem *address = lx_dsp_register(chip, por in lx_dsp_reg_writebuf()
112 lx_plx_register(struct lx6464es * chip,int port) lx_plx_register() argument
118 lx_plx_reg_read(struct lx6464es * chip,int port) lx_plx_reg_read() argument
124 lx_plx_reg_write(struct lx6464es * chip,int port,u32 data) lx_plx_reg_write() argument
256 lx_message_send_atomic(struct lx6464es * chip,struct lx_rmh * rmh) lx_message_send_atomic() argument
317 lx_dsp_get_version(struct lx6464es * chip,u32 * rdsp_version) lx_dsp_get_version() argument
331 lx_dsp_get_clock_frequency(struct lx6464es * chip,u32 * rfreq) lx_dsp_get_clock_frequency() argument
363 lx_dsp_get_mac(struct lx6464es * chip) lx_dsp_get_mac() argument
382 lx_dsp_set_granularity(struct lx6464es * chip,u32 gran) lx_dsp_set_granularity() argument
396 lx_dsp_read_async_events(struct lx6464es * chip,u32 * data) lx_dsp_read_async_events() argument
420 lx_pipe_allocate(struct lx6464es * chip,u32 pipe,int is_capture,int channels) lx_pipe_allocate() argument
441 lx_pipe_release(struct lx6464es * chip,u32 pipe,int is_capture) lx_pipe_release() argument
457 lx_buffer_ask(struct lx6464es * chip,u32 pipe,int is_capture,u32 * r_needed,u32 * r_freed,u32 * size_array) lx_buffer_ask() argument
509 lx_pipe_stop(struct lx6464es * chip,u32 pipe,int is_capture) lx_pipe_stop() argument
525 lx_pipe_toggle_state(struct lx6464es * chip,u32 pipe,int is_capture) lx_pipe_toggle_state() argument
542 lx_pipe_start(struct lx6464es * chip,u32 pipe,int is_capture) lx_pipe_start() argument
555 lx_pipe_pause(struct lx6464es * chip,u32 pipe,int is_capture) lx_pipe_pause() argument
569 lx_pipe_sample_count(struct lx6464es * chip,u32 pipe,int is_capture,u64 * rsample_count) lx_pipe_sample_count() argument
596 lx_pipe_state(struct lx6464es * chip,u32 pipe,int is_capture,u16 * rstate) lx_pipe_state() argument
617 lx_pipe_wait_for_state(struct lx6464es * chip,u32 pipe,int is_capture,u16 state) lx_pipe_wait_for_state() argument
640 lx_pipe_wait_for_start(struct lx6464es * chip,u32 pipe,int is_capture) lx_pipe_wait_for_start() argument
645 lx_pipe_wait_for_idle(struct lx6464es * chip,u32 pipe,int is_capture) lx_pipe_wait_for_idle() argument
651 lx_stream_set_state(struct lx6464es * chip,u32 pipe,int is_capture,enum stream_state_t state) lx_stream_set_state() argument
669 lx_stream_set_format(struct lx6464es * chip,struct snd_pcm_runtime * runtime,u32 pipe,int is_capture) lx_stream_set_format() argument
697 lx_stream_state(struct lx6464es * chip,u32 pipe,int is_capture,int * rstate) lx_stream_state() argument
716 lx_stream_sample_position(struct lx6464es * chip,u32 pipe,int is_capture,u64 * r_bytepos) lx_stream_sample_position() argument
738 lx_buffer_give(struct lx6464es * chip,u32 pipe,int is_capture,u32 buffer_size,u32 buf_address_lo,u32 buf_address_hi,u32 * r_buffer_index) lx_buffer_give() argument
786 lx_buffer_free(struct lx6464es * chip,u32 pipe,int is_capture,u32 * r_buffer_size) lx_buffer_free() argument
808 lx_buffer_cancel(struct lx6464es * chip,u32 pipe,int is_capture,u32 buffer_index) lx_buffer_cancel() argument
832 lx_level_unmute(struct lx6464es * chip,int is_capture,int unmute) lx_level_unmute() argument
875 lx_level_peaks(struct lx6464es * chip,int is_capture,int channels,u32 * r_levels) lx_level_peaks() argument
916 lx_interrupt_test_ack(struct lx6464es * chip) lx_interrupt_test_ack() argument
936 lx_interrupt_ack(struct lx6464es * chip,u32 * r_irqsrc,int * r_async_pending,int * r_async_escmd) lx_interrupt_ack() argument
963 lx_interrupt_handle_async_events(struct lx6464es * chip,u32 irqsrc,int * r_freq_changed,u64 * r_notified_in_pipe_mask,u64 * r_notified_out_pipe_mask) lx_interrupt_handle_async_events() argument
1011 lx_interrupt_request_new_buffer(struct lx6464es * chip,struct lx_stream * lx_stream) lx_interrupt_request_new_buffer() argument
1057 struct lx6464es *chip = dev_id; lx_interrupt() local
1105 struct lx6464es *chip = dev_id; lx_threaded_irq() local
1147 lx_irq_set(struct lx6464es * chip,int enable) lx_irq_set() argument
1163 lx_irq_enable(struct lx6464es * chip) lx_irq_enable() argument
1169 lx_irq_disable(struct lx6464es * chip) lx_irq_disable() argument
[all...]
/linux/sound/pci/cs46xx/
H A Dcs46xx_lib.c58 static void amp_voyetra(struct snd_cs46xx *chip, int change);
74 static unsigned short snd_cs46xx_codec_read(struct snd_cs46xx *chip, in snd_cs46xx_codec_read() argument
86 chip->active_ctrl(chip, 1); in snd_cs46xx_codec_read()
100 snd_cs46xx_peekBA0(chip, BA0_ACSDA + offset); in snd_cs46xx_codec_read()
102 tmp = snd_cs46xx_peekBA0(chip, BA0_ACCTL); in snd_cs46xx_codec_read()
104 dev_warn(chip->card->dev, "ACCTL_VFRM not set 0x%x\n", tmp); in snd_cs46xx_codec_read()
105 snd_cs46xx_pokeBA0(chip, BA0_ACCTL, (tmp & (~ACCTL_ESYN)) | ACCTL_VFRM ); in snd_cs46xx_codec_read()
107 tmp = snd_cs46xx_peekBA0(chip, BA0_ACCTL + offset); in snd_cs46xx_codec_read()
108 snd_cs46xx_pokeBA0(chip, BA0_ACCT in snd_cs46xx_codec_read()
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...]

12345678910>>...176