/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/echoaudio/ |
H A D | indigoio_dsp.c | 32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 34 static int update_vmixer_level(struct echoaudio *chip); 37 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 44 if ((err = init_dsp_comm_page(chip))) { 49 chip->device_id = device_id; 50 chip->subdevice_id = subdevice_id; 51 chip->bad_board = TRUE; 52 chip->dsp_code_to_load = &card_fw[FW_INDIGO_IO_DSP]; 55 chip->asic_loaded = TRUE; 56 chip 83 detect_input_clocks(const struct echoaudio *chip) argument 91 load_asic(struct echoaudio *chip) argument 98 set_sample_rate(struct echoaudio *chip, u32 rate) argument 112 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument 134 update_vmixer_level(struct echoaudio *chip) argument [all...] |
H A D | echo3g_dsp.c | 31 static int load_asic(struct echoaudio *chip); 32 static int dsp_set_digital_mode(struct echoaudio *chip, u8 mode); 33 static int set_digital_mode(struct echoaudio *chip, u8 mode); 34 static int check_asic_status(struct echoaudio *chip); 35 static int set_sample_rate(struct echoaudio *chip, u32 rate); 36 static int set_input_clock(struct echoaudio *chip, u16 clock); 37 static int set_professional_spdif(struct echoaudio *chip, char prof); 38 static int set_phantom_power(struct echoaudio *chip, char on); 39 static int write_control_reg(struct echoaudio *chip, u32 ctl, u32 frq, 44 static int init_hw(struct echoaudio *chip, u1 argument 118 set_phantom_power(struct echoaudio *chip, char on) argument [all...] |
H A D | mia_dsp.c | 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 update_flags(struct echoaudio *chip); 35 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 37 static int update_vmixer_level(struct echoaudio *chip); 40 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 47 if ((err = init_dsp_comm_page(chip))) { 52 chip->device_id = device_id; 53 chip->subdevice_id = subdevice_id; 54 chip 89 detect_input_clocks(const struct echoaudio *chip) argument 108 load_asic(struct echoaudio *chip) argument 115 set_sample_rate(struct echoaudio *chip, u32 rate) argument 161 set_input_clock(struct echoaudio *chip, u16 clock) argument 174 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument 196 update_vmixer_level(struct echoaudio *chip) argument 207 update_flags(struct echoaudio *chip) argument 217 set_professional_spdif(struct echoaudio *chip, char prof) argument [all...] |
H A D | echoaudio_gml.c | 40 static int check_asic_status(struct echoaudio *chip) argument 44 send_vector(chip, DSP_VC_TEST_ASIC); 48 if (read_dsp(chip, &asic_status) < 0) { 50 chip->asic_loaded = FALSE; 54 chip->asic_loaded = (asic_status == ASIC_ALREADY_LOADED); 55 return chip->asic_loaded ? 0 : -EIO; 63 static int write_control_reg(struct echoaudio *chip, u32 value, char force) argument 66 if (chip->digital_in_automute) 75 if (value != chip->comm_page->control_register || force) { 76 if (wait_handshake(chip)) 92 set_input_auto_mute(struct echoaudio *chip, int automute) argument 106 set_digital_mode(struct echoaudio *chip, u8 mode) argument 151 set_professional_spdif(struct echoaudio *chip, char prof) argument [all...] |
H A D | indigo_dsp.c | 32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 34 static int update_vmixer_level(struct echoaudio *chip); 37 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 44 if ((err = init_dsp_comm_page(chip))) { 49 chip->device_id = device_id; 50 chip->subdevice_id = subdevice_id; 51 chip->bad_board = TRUE; 52 chip->dsp_code_to_load = &card_fw[FW_INDIGO_DSP]; 55 chip->asic_loaded = TRUE; 56 chip 83 detect_input_clocks(const struct echoaudio *chip) argument 91 load_asic(struct echoaudio *chip) argument 98 set_sample_rate(struct echoaudio *chip, u32 rate) argument 141 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument 163 update_vmixer_level(struct echoaudio *chip) argument [all...] |
H A D | indigodj_dsp.c | 32 static int set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, 34 static int update_vmixer_level(struct echoaudio *chip); 37 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 44 if ((err = init_dsp_comm_page(chip))) { 49 chip->device_id = device_id; 50 chip->subdevice_id = subdevice_id; 51 chip->bad_board = TRUE; 52 chip->dsp_code_to_load = &card_fw[FW_INDIGO_DJ_DSP]; 55 chip->asic_loaded = TRUE; 56 chip 83 detect_input_clocks(const struct echoaudio *chip) argument 91 load_asic(struct echoaudio *chip) argument 98 set_sample_rate(struct echoaudio *chip, u32 rate) argument 141 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument 163 update_vmixer_level(struct echoaudio *chip) argument [all...] |
H A D | gina20_dsp.c | 32 static int set_professional_spdif(struct echoaudio *chip, char prof); 33 static int update_flags(struct echoaudio *chip); 36 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 43 if ((err = init_dsp_comm_page(chip))) { 48 chip->device_id = device_id; 49 chip->subdevice_id = subdevice_id; 50 chip->bad_board = TRUE; 51 chip->dsp_code_to_load = &card_fw[FW_GINA20_DSP]; 52 chip->spdif_status = GD_SPDIF_STATUS_UNDEF; 53 chip 75 detect_input_clocks(const struct echoaudio *chip) argument 94 load_asic(struct echoaudio *chip) argument 101 set_sample_rate(struct echoaudio *chip, u32 rate) argument 146 set_input_clock(struct echoaudio *chip, u16 clock) argument 178 set_input_gain(struct echoaudio *chip, u16 input, int gain) argument 194 update_flags(struct echoaudio *chip) argument 204 set_professional_spdif(struct echoaudio *chip, char prof) argument [all...] |
H A D | darla20_dsp.c | 32 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 39 if ((err = init_dsp_comm_page(chip))) { 44 chip->device_id = device_id; 45 chip->subdevice_id = subdevice_id; 46 chip->bad_board = TRUE; 47 chip->dsp_code_to_load = &card_fw[FW_DARLA20_DSP]; 48 chip->spdif_status = GD_SPDIF_STATUS_UNDEF; 49 chip->clock_state = GD_CLOCK_UNDEF; 52 chip->asic_loaded = TRUE; 53 chip 69 detect_input_clocks(const struct echoaudio *chip) argument 77 load_asic(struct echoaudio *chip) argument 84 set_sample_rate(struct echoaudio *chip, u32 rate) argument [all...] |
H A D | darla24_dsp.c | 32 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 39 if ((err = init_dsp_comm_page(chip))) { 44 chip->device_id = device_id; 45 chip->subdevice_id = subdevice_id; 46 chip->bad_board = TRUE; 47 chip->dsp_code_to_load = &card_fw[FW_DARLA24_DSP]; 50 chip->asic_loaded = TRUE; 51 chip->input_clock_types = ECHO_CLOCK_BIT_INTERNAL | 54 if ((err = load_firmware(chip)) < 0) 56 chip 67 detect_input_clocks(const struct echoaudio *chip) argument 86 load_asic(struct echoaudio *chip) argument 93 set_sample_rate(struct echoaudio *chip, u32 rate) argument 149 set_input_clock(struct echoaudio *chip, u16 clock) argument [all...] |
H A D | midi.c | 37 static int enable_midi_input(struct echoaudio *chip, char enable) argument 41 if (wait_handshake(chip)) 45 chip->mtc_state = MIDI_IN_STATE_NORMAL; 46 chip->comm_page->flags |= 49 chip->comm_page->flags &= 52 clear_handshake(chip); 53 return send_vector(chip, DSP_VC_UPDATE_FLAGS); 60 static int write_midi(struct echoaudio *chip, u8 *data, int bytes) argument 64 if (wait_handshake(chip)) 68 if (! (get_dsp_register(chip, CHI32_STATUS_RE 89 mtc_process_data(struct echoaudio *chip, short midi_byte) argument 115 midi_service_irq(struct echoaudio *chip) argument 155 struct echoaudio *chip = substream->rmidi->private_data; local 167 struct echoaudio *chip = substream->rmidi->private_data; local 181 struct echoaudio *chip = substream->rmidi->private_data; local 192 struct echoaudio *chip = substream->rmidi->private_data; local 205 struct echoaudio *chip = (struct echoaudio *)data; local 254 struct echoaudio *chip = substream->rmidi->private_data; local 284 struct echoaudio *chip = substream->rmidi->private_data; local 308 snd_echo_midi_create(struct snd_card *card, struct echoaudio *chip) argument [all...] |
H A D | layla24_dsp.c | 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, u32 cmd, 37 static int check_asic_status(struct echoaudio *chip); 40 static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id) argument 47 if ((err = init_dsp_comm_page(chip))) { 52 chip->device_id = device_id; 53 chip 85 detect_input_clocks(const struct echoaudio *chip) argument 110 load_asic(struct echoaudio *chip) argument 157 set_sample_rate(struct echoaudio *chip, u32 rate) argument 247 set_input_clock(struct echoaudio *chip, u16 clock) argument 299 switch_asic(struct echoaudio *chip, const struct firmware *asic) argument 331 dsp_set_digital_mode(struct echoaudio *chip, u8 mode) argument [all...] |
H A D | echoaudio_3g.c | 36 static int check_asic_status(struct echoaudio *chip) argument 40 if (wait_handshake(chip)) 43 chip->comm_page->ext_box_status = 45 chip->asic_loaded = FALSE; 46 clear_handshake(chip); 47 send_vector(chip, DSP_VC_TEST_ASIC); 49 if (wait_handshake(chip)) { 50 chip->dsp_code = NULL; 54 box_status = le32_to_cpu(chip->comm_page->ext_box_status); 59 chip 65 get_frq_reg(struct echoaudio *chip) argument 74 write_control_reg(struct echoaudio *chip, u32 ctl, u32 frq, char force) argument 100 set_digital_mode(struct echoaudio *chip, u8 mode) argument 141 set_spdif_bits(struct echoaudio *chip, u32 control_reg, u32 rate) argument 173 set_professional_spdif(struct echoaudio *chip, char prof) argument 189 detect_input_clocks(const struct echoaudio *chip) argument 219 load_asic(struct echoaudio *chip) argument 255 set_sample_rate(struct echoaudio *chip, u32 rate) argument 324 set_input_clock(struct echoaudio *chip, u16 clock) argument 376 dsp_set_digital_mode(struct echoaudio *chip, u8 mode) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/ |
H A D | sb8_midi.c | 36 irqreturn_t snd_sb8dsp_midi_interrupt(struct snd_sb *chip) argument 42 if (!chip) 45 rmidi = chip->rmidi; 47 inb(SBP(chip, DATA_AVAIL)); /* ack interrupt */ 51 spin_lock(&chip->midi_input_lock); 53 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { 54 byte = inb(SBP(chip, READ)); 55 if (chip->open & SB_OPEN_MIDI_INPUT_TRIGGER) { 56 snd_rawmidi_receive(chip->midi_substream_input, &byte, 1); 60 spin_unlock(&chip 67 struct snd_sb *chip; local 94 struct snd_sb *chip; local 121 struct snd_sb *chip; local 139 struct snd_sb *chip; local 157 struct snd_sb *chip; local 180 struct snd_sb *chip; local 216 struct snd_sb * chip = substream->rmidi->private_data; local 229 struct snd_sb *chip; local 267 snd_sb8dsp_midi(struct snd_sb *chip, int device, struct snd_rawmidi ** rrawmidi) argument [all...] |
H A D | sb_common.c | 44 int snd_sbdsp_command(struct snd_sb *chip, unsigned char val) argument 51 if ((inb(SBP(chip, STATUS)) & 0x80) == 0) { 52 outb(val, SBP(chip, COMMAND)); 55 snd_printd("%s [0x%lx]: timeout (0x%x)\n", __FUNCTION__, chip->port, val); 59 int snd_sbdsp_get_byte(struct snd_sb *chip) argument 64 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { 65 val = inb(SBP(chip, READ)); 72 snd_printd("%s [0x%lx]: timeout\n", __FUNCTION__, chip->port); 76 int snd_sbdsp_reset(struct snd_sb *chip) argument 80 outb(1, SBP(chip, RESE 95 snd_sbdsp_version(struct snd_sb * chip) argument 105 snd_sbdsp_probe(struct snd_sb * chip) argument 179 snd_sbdsp_free(struct snd_sb *chip) argument 201 struct snd_sb *chip = device->device_data; local 214 struct snd_sb *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_core.c | 33 struct snd_pdacf *chip = private_data; local 38 spin_lock_irqsave(&chip->ak4117_lock, flags); 40 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { 43 spin_unlock_irqrestore(&chip->ak4117_lock, flags); 48 pdacf_reg_write(chip, PDAUDIOCF_REG_AK_IFR, (u16)reg << 8); 50 while (pdacf_reg_read(chip, PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { 53 spin_unlock_irqrestore(&chip->ak4117_lock, flags); 58 res = (unsigned char)pdacf_reg_read(chip, PDAUDIOCF_REG_AK_IFR); 59 spin_unlock_irqrestore(&chip->ak4117_lock, flags); 65 struct snd_pdacf *chip local 84 pdacf_reset(struct snd_pdacf *chip, int powerdown) argument 107 pdacf_reinit(struct snd_pdacf *chip, int resume) argument 120 struct snd_pdacf *chip = entry->private_data; local 129 pdacf_proc_init(struct snd_pdacf *chip) argument 139 struct snd_pdacf *chip; local 156 struct snd_pdacf *chip = ak4117->change_callback_private; local 172 snd_pdacf_ak4117_create(struct snd_pdacf *chip) argument 223 snd_pdacf_powerdown(struct snd_pdacf *chip) argument 240 snd_pdacf_suspend(struct snd_pdacf *chip, pm_message_t state) argument 255 check_signal(struct snd_pdacf *chip) argument 260 snd_pdacf_resume(struct snd_pdacf *chip) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/cs423x/ |
H A D | cs4231_lib.c | 7 * Yamaha OPL3-SA3 chip 124 static inline void cs4231_outb(struct snd_cs4231 *chip, u8 offset, u8 val) argument 126 outb(val, chip->port + offset); 129 static inline u8 cs4231_inb(struct snd_cs4231 *chip, u8 offset) argument 131 return inb(chip->port + offset); 134 static void snd_cs4231_outm(struct snd_cs4231 *chip, unsigned char reg, argument 141 timeout > 0 && (cs4231_inb(chip, CS4231P(REGSEL)) & CS4231_INIT); 145 if (cs4231_inb(chip, CS4231P(REGSEL)) & CS4231_INIT) 148 if (chip->calibrate_mute) { 149 chip 161 snd_cs4231_dout(struct snd_cs4231 *chip, unsigned char reg, unsigned char value) argument 174 snd_cs4231_out(struct snd_cs4231 *chip, unsigned char reg, unsigned char value) argument 192 snd_cs4231_in(struct snd_cs4231 *chip, unsigned char reg) argument 209 snd_cs4236_ext_out(struct snd_cs4231 *chip, unsigned char reg, unsigned char val) argument 217 snd_cs4236_ext_in(struct snd_cs4231 *chip, unsigned char reg) argument 229 snd_cs4231_busy_wait(struct snd_cs4231 *chip) argument 243 snd_cs4231_mce_up(struct snd_cs4231 *chip) argument 264 snd_cs4231_mce_down(struct snd_cs4231 *chip) argument 333 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 391 snd_cs4231_get_format(struct snd_cs4231 *chip, int format, int channels) argument 410 snd_cs4231_calibrate_mute(struct snd_cs4231 *chip, int mute) argument 444 snd_cs4231_playback_format(struct snd_cs4231 *chip, struct snd_pcm_hw_params *params, unsigned char pdfr) argument 483 snd_cs4231_capture_format(struct snd_cs4231 *chip, struct snd_pcm_hw_params *params, unsigned char cdfr) argument 532 struct snd_cs4231 *chip = snd_timer_chip(timer); local 543 struct snd_cs4231 *chip = snd_timer_chip(timer); local 560 struct snd_cs4231 *chip = snd_timer_chip(timer); local 567 snd_cs4231_init(struct snd_cs4231 *chip) argument 625 snd_cs4231_open(struct snd_cs4231 *chip, unsigned int mode) argument 661 snd_cs4231_close(struct snd_cs4231 *chip, unsigned int mode) argument 714 struct snd_cs4231 *chip = snd_timer_chip(timer); local 721 struct snd_cs4231 *chip = snd_timer_chip(timer); local 745 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 764 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 784 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 803 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 825 snd_cs4231_overrange(struct snd_cs4231 *chip) argument 839 struct snd_cs4231 *chip = dev_id; local 881 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 892 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 905 snd_cs4231_probe(struct snd_cs4231 *chip) argument 1114 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 1151 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 1184 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 1193 struct snd_cs4231 *chip = snd_pcm_substream_chip(substream); local 1203 snd_cs4231_suspend(struct snd_cs4231 *chip) argument 1216 snd_cs4231_resume(struct snd_cs4231 *chip) argument 1238 snd_cs4231_free(struct snd_cs4231 *chip) argument 1263 struct snd_cs4231 *chip = device->device_data; local 1267 snd_cs4231_chip_id(struct snd_cs4231 *chip) argument 1292 struct snd_cs4231 *chip; local 1325 struct snd_cs4231 *chip; local 1417 snd_cs4231_pcm(struct snd_cs4231 *chip, int device, struct snd_pcm **rpcm) argument 1453 struct snd_cs4231 *chip = timer->private_data; local 1457 snd_cs4231_timer(struct snd_cs4231 *chip, int device, struct snd_timer **rtimer) argument 1497 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); local 1517 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); local 1529 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); local 1563 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); local 1580 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); local 1614 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); local 1636 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); local 1691 snd_cs4231_mixer(struct snd_cs4231 *chip) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/vx/ |
H A D | vxp_ops.c | 54 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 55 return chip->port + vxp_reg_offset[reg]; 62 static unsigned char vxp_inb(struct vx_core *chip, int offset) argument 64 return inb(vxp_reg_addr(chip, offset)); 72 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val) argument 74 outb(val, vxp_reg_addr(chip, offset)); 81 #define vx_inb(chip,reg) vxp_inb((struct vx_core *)(chip), VX_##reg) 83 #define vx_outb(chip,reg,val) vxp_outb((struct vx_core *)(chip), VX 91 vx_check_magic(struct vx_core *chip) argument 114 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 132 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 151 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 284 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 311 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 327 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 347 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 365 vxp_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) argument 404 vxp_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) argument 445 vxp_write_codec_reg(struct vx_core *chip, int codec, unsigned int data) argument 468 vx_set_mic_boost(struct vx_core *chip, int boost) argument 511 vx_set_mic_level(struct vx_core *chip, int level) argument 533 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 573 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local 588 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/drivers/vx/ |
H A D | vx_core.c | 52 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time) argument 65 if ((snd_vx_inb(chip, reg) & mask) == bit) 69 snd_printd(KERN_DEBUG "vx_check_reg_bit: timeout, reg=%s, mask=0x%x, val=0x%x\n", reg_names[reg], mask, snd_vx_inb(chip, reg)); 83 static int vx_send_irq_dsp(struct vx_core *chip, int num) argument 88 if (snd_vx_check_reg_bit(chip, VX_CVR, CVR_HC, 0, 200) < 0) 92 if (vx_has_new_dsp(chip)) 94 vx_outb(chip, CVR, (nirq >> 1) | CVR_HC); 104 static int vx_reset_chk(struct vx_core *chip) argument 107 if (vx_send_irq_dsp(chip, IRQ_RESET_CHK) < 0) 110 if (vx_check_isr(chip, ISR_CH 123 vx_transfer_end(struct vx_core *chip, int cmd) argument 161 vx_read_status(struct vx_core *chip, struct vx_rmh *rmh) argument 241 vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh) argument 336 vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh) argument 359 vx_send_rih_nolock(struct vx_core *chip, int cmd) argument 393 vx_send_rih(struct vx_core *chip, int cmd) argument 410 snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot) argument 457 vx_test_irq_src(struct vx_core *chip, unsigned int *ret) argument 478 struct vx_core *chip = (struct vx_core *) private_data; local 518 struct vx_core *chip = dev; local 532 vx_reset_board(struct vx_core *chip, int cold_reset) argument 573 struct vx_core *chip = entry->private_data; local 614 vx_proc_init(struct vx_core *chip) argument 626 snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot) argument 646 snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp) argument 697 snd_vx_suspend(struct vx_core *chip, pm_message_t state) argument 714 snd_vx_resume(struct vx_core *chip) argument 753 struct vx_core *chip; local [all...] |
H A D | vx_uer.c | 34 static int vx_modify_board_clock(struct vx_core *chip, int sync) argument 42 return vx_send_msg(chip, &rmh); 48 static int vx_modify_board_inputs(struct vx_core *chip) argument 54 return vx_send_msg(chip, &rmh); 62 static int vx_read_one_cbit(struct vx_core *chip, int index) argument 66 spin_lock_irqsave(&chip->lock, flags); 67 if (chip->type >= VX_TYPE_VXPOCKET) { 68 vx_outb(chip, CSUER, 1); /* read */ 69 vx_outb(chip, RUER, index & XX_UER_CBITS_OFFSET_MASK); 70 val = (vx_inb(chip, RUE 85 vx_write_one_cbit(struct vx_core *chip, int index, int val) argument 107 vx_read_uer_status(struct vx_core *chip, int *mode) argument 163 vx_calc_clock_from_freq(struct vx_core *chip, int freq) argument 190 vx_change_clock_source(struct vx_core *chip, int source) argument 208 vx_set_internal_clock(struct vx_core *chip, unsigned int freq) argument 231 vx_set_iec958_status(struct vx_core *chip, unsigned int bits) argument 246 vx_set_clock(struct vx_core *chip, unsigned int freq) argument 288 vx_change_frequency(struct vx_core *chip) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/ppc/ |
H A D | pmac.c | 51 static int snd_pmac_dbdma_alloc(struct snd_pmac *chip, struct pmac_dbdma *rec, int size) argument 55 rec->space = dma_alloc_coherent(&chip->pdev->dev, rsize, 67 static void snd_pmac_dbdma_free(struct snd_pmac *chip, struct pmac_dbdma *rec) argument 72 dma_free_coherent(&chip->pdev->dev, rsize, rec->space, rec->dma_base); 85 unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate) argument 90 if (rate > chip->freq_table[0]) 93 for (i = 0; i < chip->num_freqs; i++, ok >>= 1) { 96 if (rate >= chip->freq_table[i]) 132 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) argument 136 return &chip 160 snd_pmac_pcm_set_format(struct snd_pmac *chip) argument 198 snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) argument 262 snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs, int cmd) argument 309 snd_pmac_pcm_pointer(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) argument 334 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 341 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 347 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 358 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 365 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 371 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 379 snd_pmac_pcm_update(struct snd_pmac *chip, struct pmac_stream *rec) argument 455 snd_pmac_pcm_open(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) argument 522 snd_pmac_pcm_close(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_substream *subs) argument 542 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 550 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 558 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 565 struct snd_pmac *chip = snd_pcm_substream_chip(subs); local 595 snd_pmac_pcm_new(struct snd_pmac *chip) argument 634 snd_pmac_dbdma_reset(struct snd_pmac *chip) argument 646 snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed) argument 664 snd_pmac_beep_dma_stop(struct snd_pmac *chip) argument 678 struct snd_pmac *chip = devid; local 687 struct snd_pmac *chip = devid; local 696 struct snd_pmac *chip = devid; local 719 snd_pmac_sound_feature(struct snd_pmac *chip, int enable) argument 729 snd_pmac_free(struct snd_pmac *chip) argument 791 struct snd_pmac *chip = device->device_data; local 800 detect_byte_swap(struct snd_pmac *chip) argument 826 snd_pmac_detect(struct snd_pmac *chip) argument 1028 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); local 1036 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); local 1049 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); local 1072 snd_pmac_add_automute(struct snd_pmac *chip) argument 1091 struct snd_pmac *chip; local 1279 snd_pmac_suspend(struct snd_pmac *chip) argument 1299 snd_pmac_resume(struct snd_pmac *chip) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/es1688/ |
H A D | es1688_lib.c | 3 * Routines for control of ESS ES1688/688/488 chip 39 static int snd_es1688_dsp_command(struct snd_es1688 *chip, unsigned char val) argument 44 if ((inb(ES1688P(chip, STATUS)) & 0x80) == 0) { 45 outb(val, ES1688P(chip, COMMAND)); 54 static int snd_es1688_dsp_get_byte(struct snd_es1688 *chip) argument 59 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) 60 return inb(ES1688P(chip, READ)); 61 snd_printd("es1688 get byte failed: 0x%lx = 0x%x!!!\n", ES1688P(chip, DATA_AVAIL), inb(ES1688P(chip, DATA_AVAIL))); 65 static int snd_es1688_write(struct snd_es1688 *chip, argument 73 snd_es1688_read(struct snd_es1688 *chip, unsigned char reg) argument 83 snd_es1688_mixer_write(struct snd_es1688 *chip, unsigned char reg, unsigned char data) argument 92 snd_es1688_mixer_read(struct snd_es1688 *chip, unsigned char reg) argument 103 snd_es1688_reset(struct snd_es1688 *chip) argument 120 snd_es1688_probe(struct snd_es1688 *chip) argument 194 snd_es1688_init(struct snd_es1688 * chip, int enable) argument 295 snd_es1688_set_rate(struct snd_es1688 *chip, struct snd_pcm_substream *substream) argument 317 snd_es1688_trigger(struct snd_es1688 *chip, int cmd, unsigned char value) argument 352 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 406 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 413 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 463 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 469 struct snd_es1688 *chip = dev_id; local 482 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 493 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 548 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 562 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 576 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 584 struct snd_es1688 *chip = snd_pcm_substream_chip(substream); local 590 snd_es1688_free(struct snd_es1688 *chip) argument 608 struct snd_es1688 *chip = device->device_data; local 612 snd_es1688_chip_id(struct snd_es1688 *chip) argument 632 struct snd_es1688 *chip; local 712 snd_es1688_pcm(struct snd_es1688 * chip, int device, struct snd_pcm ** rpcm) argument 759 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); local 766 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); local 802 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); local 819 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); local 861 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); local 895 struct snd_es1688 *chip = snd_kcontrol_chip(kcontrol); local 991 snd_es1688_mixer(struct snd_es1688 *chip) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/mixart/ |
H A D | mixart_mixer.h | 27 int mixart_update_playback_stream_level(struct snd_mixart* chip, int is_aes, int idx); 28 int mixart_update_capture_stream_level(struct snd_mixart* chip, int is_aes);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/ad1848/ |
H A D | ad1848_lib.c | 99 void snd_ad1848_out(struct snd_ad1848 *chip, argument 105 for (timeout = 250; timeout > 0 && (inb(AD1848P(chip, REGSEL)) & AD1848_INIT); timeout--) 108 if (inb(AD1848P(chip, REGSEL)) & AD1848_INIT) 111 outb(chip->mce_bit | reg, AD1848P(chip, REGSEL)); 112 outb(chip->image[reg] = value, AD1848P(chip, REG)); 118 static void snd_ad1848_dout(struct snd_ad1848 *chip, argument 123 for (timeout = 250; timeout > 0 && (inb(AD1848P(chip, REGSEL)) & AD1848_INIT); timeout--) 125 outb(chip 130 snd_ad1848_in(struct snd_ad1848 *chip, unsigned char reg) argument 150 snd_ad1848_mce_up(struct snd_ad1848 *chip) argument 171 snd_ad1848_mce_down(struct snd_ad1848 *chip) argument 240 snd_ad1848_trigger(struct snd_ad1848 *chip, unsigned char what, int channel, int cmd) argument 303 snd_ad1848_calibrate_mute(struct snd_ad1848 *chip, int mute) argument 327 snd_ad1848_set_data_format(struct snd_ad1848 *chip, struct snd_pcm_hw_params *hw_params) argument 339 snd_ad1848_open(struct snd_ad1848 *chip, unsigned int mode) argument 393 snd_ad1848_close(struct snd_ad1848 *chip) argument 437 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 444 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 451 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 475 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 495 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 519 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 538 struct snd_ad1848 *chip = dev_id; local 552 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 563 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 576 snd_ad1848_thinkpad_twiddle(struct snd_ad1848 *chip, int on) argument 597 snd_ad1848_suspend(struct snd_ad1848 *chip) argument 604 snd_ad1848_resume(struct snd_ad1848 *chip) argument 624 snd_ad1848_probe(struct snd_ad1848 * chip) argument 745 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 761 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 777 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 787 struct snd_ad1848 *chip = snd_pcm_substream_chip(substream); local 795 snd_ad1848_free(struct snd_ad1848 *chip) argument 810 struct snd_ad1848 *chip = device->device_data; local 814 snd_ad1848_chip_id(struct snd_ad1848 *chip) argument 834 struct snd_ad1848 *chip; local 918 snd_ad1848_pcm(struct snd_ad1848 *chip, int device, struct snd_pcm **rpcm) argument 974 struct snd_ad1848 *chip = snd_kcontrol_chip(kcontrol); local 986 struct snd_ad1848 *chip = snd_kcontrol_chip(kcontrol); local 1020 struct snd_ad1848 *chip = snd_kcontrol_chip(kcontrol); local 1037 struct snd_ad1848 *chip = snd_kcontrol_chip(kcontrol); local 1071 struct snd_ad1848 *chip = snd_kcontrol_chip(kcontrol); local 1093 struct snd_ad1848 *chip = snd_kcontrol_chip(kcontrol); local 1130 snd_ad1848_add_ctl_elem(struct snd_ad1848 *chip, const struct ad1848_mix_elem *c) argument 1198 snd_ad1848_mixer(struct snd_ad1848 *chip) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/tpm/ |
H A D | tpm_tis.c | 78 static int check_locality(struct tpm_chip *chip, int l) argument 80 if ((ioread8(chip->vendor.iobase + TPM_ACCESS(l)) & 83 return chip->vendor.locality = l; 88 static void release_locality(struct tpm_chip *chip, int l, int force) argument 90 if (force || (ioread8(chip->vendor.iobase + TPM_ACCESS(l)) & 94 chip->vendor.iobase + TPM_ACCESS(l)); 97 static int request_locality(struct tpm_chip *chip, int l) argument 102 if (check_locality(chip, l) >= 0) 106 chip->vendor.iobase + TPM_ACCESS(l)); 108 if (chip 129 tpm_tis_status(struct tpm_chip *chip) argument 135 tpm_tis_ready(struct tpm_chip *chip) argument 142 get_burstcount(struct tpm_chip *chip) argument 163 wait_for_stat(struct tpm_chip *chip, u8 mask, unsigned long timeout, wait_queue_head_t *queue) argument 194 recv_data(struct tpm_chip *chip, u8 *buf, size_t count) argument 212 tpm_tis_recv(struct tpm_chip *chip, u8 *buf, size_t count) argument 263 tpm_tis_send(struct tpm_chip *chip, u8 *buf, size_t len) argument 382 struct tpm_chip *chip = (struct tpm_chip *) dev_id; local 402 struct tpm_chip *chip = (struct tpm_chip *) dev_id; local 440 struct tpm_chip *chip; local 674 struct tpm_chip *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/nm256/ |
H A D | nm256.c | 121 #define NM_ACK_INT(chip, X) snd_nm256_writew(chip, NM_INT_REG, (X) << 1) 138 #define NM2_ACK_INT(chip, X) snd_nm256_writel(chip, NM_INT_REG, (X)) 190 struct nm256 *chip; member in struct:nm256_stream 195 u32 buf; /* offset from chip->buffer */ 281 snd_nm256_readb(struct nm256 *chip, int offset) argument 283 return readb(chip->cport + offset); 287 snd_nm256_readw(struct nm256 *chip, int offset) argument 289 return readw(chip 293 snd_nm256_readl(struct nm256 *chip, int offset) argument 299 snd_nm256_writeb(struct nm256 *chip, int offset, u8 val) argument 305 snd_nm256_writew(struct nm256 *chip, int offset, u16 val) argument 311 snd_nm256_writel(struct nm256 *chip, int offset, u32 val) argument 317 snd_nm256_write_buffer(struct nm256 *chip, void *src, int offset, int size) argument 344 snd_nm256_load_one_coefficient(struct nm256 *chip, int stream, u32 port, int which) argument 359 snd_nm256_load_coefficient(struct nm256 *chip, int stream, int number) argument 428 snd_nm256_set_format(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) argument 464 snd_nm256_acquire_irq(struct nm256 *chip) argument 482 snd_nm256_release_irq(struct nm256 *chip) argument 499 snd_nm256_pcm_mark(struct nm256 *chip, struct nm256_stream *s, int reg) argument 510 snd_nm256_playback_start(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) argument 527 snd_nm256_capture_start(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) argument 543 snd_nm256_playback_stop(struct nm256 *chip) argument 553 snd_nm256_capture_stop(struct nm256 *chip) argument 562 struct nm256 *chip = snd_pcm_substream_chip(substream); local 599 struct nm256 *chip = snd_pcm_substream_chip(substream); local 635 struct nm256 *chip = snd_pcm_substream_chip(substream); local 660 struct nm256 *chip = snd_pcm_substream_chip(substream); local 673 struct nm256 *chip = snd_pcm_substream_chip(substream); local 747 snd_nm256_playback_update(struct nm256 *chip) argument 762 snd_nm256_capture_update(struct nm256 *chip) argument 829 snd_nm256_setup_stream(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream, struct snd_pcm_hardware *hw_ptr) argument 853 struct nm256 *chip = snd_pcm_substream_chip(substream); local 865 struct nm256 *chip = snd_pcm_substream_chip(substream); local 880 struct nm256 *chip = snd_pcm_substream_chip(substream); local 890 struct nm256 *chip = snd_pcm_substream_chip(substream); local 929 snd_nm256_pcm(struct nm256 *chip, int device) argument 960 snd_nm256_init_chip(struct nm256 *chip) argument 972 snd_nm256_intr_check(struct nm256 *chip) argument 1009 struct nm256 *chip = dev_id; local 1074 struct nm256 *chip = dev_id; local 1138 snd_nm256_ac97_ready(struct nm256 *chip) argument 1209 struct nm256 *chip = ac97->private_data; local 1223 struct nm256 *chip = ac97->private_data; local 1269 struct nm256 *chip = ac97->private_data; local 1296 snd_nm256_mixer(struct nm256 *chip) argument 1337 snd_nm256_peek_for_sig(struct nm256 *chip) argument 1385 struct nm256 *chip = card->private_data; local 1400 struct nm256 *chip = card->private_data; local 1436 snd_nm256_free(struct nm256 *chip) argument 1463 struct nm256 *chip = device->device_data; local 1471 struct nm256 *chip; local 1648 struct nm256 *chip; local [all...] |