/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/vx222/ |
H A D | vx222_ops.c | 90 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 91 return chip->port[vx2_reg_index[reg]] + vx2_reg_offset[reg]; 98 static unsigned char vx2_inb(struct vx_core *chip, int offset) argument 100 return inb(vx2_reg_addr(chip, offset)); 108 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val) argument 110 outb(val, vx2_reg_addr(chip, offset)); 111 //printk("outb: %x -> %x\n", val, vx2_reg_addr(chip, offset)); 118 static unsigned int vx2_inl(struct vx_core *chip, int offset) argument 120 return inl(vx2_reg_addr(chip, offset)); 128 static void vx2_outl(struct vx_core *chip, in argument 155 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 170 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 225 vx2_setup_pseudo_dma(struct vx_core *chip, int do_write) argument 241 vx2_release_pseudo_dma(struct vx_core *chip) argument 250 vx2_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) argument 288 vx2_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, struct vx_pipe *pipe, int count) argument 327 put_xilinx_data(struct vx_core *chip, unsigned int port, unsigned int counts, unsigned char data) argument 359 vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *xilinx) argument 438 vx2_test_and_ack(struct vx_core *chip) argument 471 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 490 vx2_write_codec_reg(struct vx_core *chip, unsigned int data) argument 666 vx2_write_akm(struct vx_core *chip, int reg, unsigned int data) argument 701 vx2_old_write_codec_bit(struct vx_core *chip, int codec, unsigned int data) argument 721 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 763 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 782 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 796 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 815 vx2_set_input_level(struct snd_vx222 *chip) argument 868 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 879 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 906 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 914 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local 951 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/chips/ |
H A D | cfi_cmdset_0002.c | 70 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 71 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 282 * It's a real CFI chip, not one for which the probe 430 * Return true if the chip is ready. 438 * as each chip must be checked independantly of the others). 451 * Return true if the chip is ready and has the correct value. 462 * as each chip must be checked independantly of the others). 476 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) argument 486 switch (chip->state) { 494 printk(KERN_ERR "Waiting for chip t 585 put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) argument 626 xip_disable(struct map_info *map, struct flchip *chip, unsigned long adr) argument 634 xip_enable(struct map_info *map, struct flchip *chip, unsigned long adr) argument 661 xip_udelay(struct map_info *map, struct flchip *chip, unsigned long adr, int usec) argument 806 do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument 880 do_read_secsi_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument 967 do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum) argument 1202 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) argument 1397 do_erase_chip(struct map_info *map, struct flchip *chip) argument 1485 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 1614 do_atmel_lock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 1650 do_atmel_unlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 1694 struct flchip *chip; local 1754 struct flchip *chip; local 1808 struct flchip *chip; local [all...] |
H A D | cfi_cmdset_0020.c | 124 * It's a real CFI chip, not one for which the probe 251 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf) argument 260 adr += chip->start; 270 spin_lock_bh(chip->mutex); 272 /* Check that the chip's ready to talk to us. 275 switch (chip->state) { 287 chip->oldstate = FL_ERASING; 288 chip->state = FL_ERASE_SUSPENDING; 300 chip->state = FL_ERASING; 301 spin_unlock_bh(chip 420 do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) argument 729 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 981 struct flchip *chip; local 1033 do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 1181 do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) argument 1319 struct flchip *chip; local 1375 struct flchip *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/vx/ |
H A D | vxpocket.c | 73 struct vx_core *chip = device->device_data; local 75 snd_vx_free_firmware(chip); 76 kfree(chip); 137 struct vx_core *chip; local 143 chip = snd_vx_create(card, &vxpocket_hw, &snd_vxpocket_ops, 145 if (! chip) 148 if (snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops) < 0) { 149 kfree(chip); 152 chip->ibl.size = ibl; 154 vxp = (struct snd_vxpocket *)chip; 187 snd_vxpocket_assign_resources(struct vx_core *chip, int port, int irq) argument 218 struct vx_core *chip = link->priv; local 259 struct vx_core *chip = link->priv; local 272 struct vx_core *chip = link->priv; local 335 struct vx_core *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ |
H A D | als300.c | 171 static void snd_als300_set_irq_flag(struct snd_als300 *chip, int cmd) argument 173 u32 tmp = snd_als300_gcr_read(chip->port, MISC_CONTROL); 179 if (((chip->revision > 5 || chip->chip_type == DEVICE_ALS300_PLUS) ^ 184 snd_als300_gcr_write(chip->port, MISC_CONTROL, tmp); 188 static int snd_als300_free(struct snd_als300 *chip) argument 191 snd_als300_set_irq_flag(chip, IRQ_DISABLE); 192 if (chip->irq >= 0) 193 free_irq(chip->irq, chip); 203 struct snd_als300 *chip = device->device_data; local 210 struct snd_als300 *chip = dev_id; local 241 struct snd_als300 *chip = dev_id; local 285 struct snd_als300 *chip = ac97->private_data; local 306 struct snd_als300 *chip = ac97->private_data; local 316 snd_als300_ac97(struct snd_als300 *chip) argument 384 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 401 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 415 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 432 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 459 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 490 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 520 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 567 struct snd_als300 *chip = snd_pcm_substream_chip(substream); local 613 snd_als300_new_pcm(struct snd_als300 *chip) argument 639 snd_als300_init(struct snd_als300 *chip) argument 678 struct snd_als300 *chip; local 763 struct snd_als300 *chip = card->private_data; local 778 struct snd_als300 *chip = card->private_data; local 803 struct snd_als300 *chip; local [all...] |
H A D | als4000.c | 30 * Note: this is no longer true. Pretty verbose chip docu (ALS4000a.PDF) 113 struct snd_sb *chip; member in struct:snd_card_als4000 148 static void snd_als4000_set_rate(struct snd_sb *chip, unsigned int rate) argument 150 if (!(chip->mode & SB_RATE_LOCK)) { 151 snd_sbdsp_command(chip, SB_DSP_SAMPLE_RATE_OUT); 152 snd_sbdsp_command(chip, rate>>8); 153 snd_sbdsp_command(chip, rate); 157 static inline void snd_als4000_set_capture_dma(struct snd_sb *chip, argument 160 snd_als4000_gcr_write(chip, 0xa2, addr); 161 snd_als4000_gcr_write(chip, 164 snd_als4000_set_playback_dma(struct snd_sb *chip, dma_addr_t addr, unsigned size) argument 241 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 268 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 300 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 325 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 350 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 361 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 372 struct snd_sb *chip = dev_id; local 447 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 457 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 466 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 476 struct snd_sb *chip = snd_pcm_substream_chip(substream); local 507 snd_als4000_pcm(struct snd_sb *chip, int device) argument 550 snd_als4000_configure(struct snd_sb *chip) argument 657 struct snd_sb *chip; local 782 struct snd_sb *chip = acard->chip; local 799 struct snd_sb *chip = acard->chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/ppc/ |
H A D | powermac.c | 58 struct snd_pmac *chip; local 66 if ((err = snd_pmac_new(card, &chip)) < 0) 68 card->private_data = chip; 70 switch (chip->model) { 75 card->shortname, chip->device_id, chip->subframe); 76 if ((err = snd_pmac_burgundy_init(chip)) < 0) 83 card->shortname, chip->device_id, chip->subframe); 84 if ((err = snd_pmac_daca_init(chip)) < [all...] |
H A D | pmac.h | 158 void (*set_format)(struct snd_pmac *chip); 159 void (*update_automute)(struct snd_pmac *chip, int do_notify); 160 int (*detect_headphone)(struct snd_pmac *chip); 162 void (*suspend)(struct snd_pmac *chip); 163 void (*resume)(struct snd_pmac *chip); 171 int snd_pmac_pcm_new(struct snd_pmac *chip); 172 int snd_pmac_attach_beep(struct snd_pmac *chip); 173 void snd_pmac_detach_beep(struct snd_pmac *chip); 174 void snd_pmac_beep_stop(struct snd_pmac *chip); 175 unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struc [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/mixart/ |
H A D | mixart_mixer.c | 304 static int mixart_update_analog_audio_level(struct snd_mixart* chip, int is_capture) argument 316 io_level.level[i].analog_level = mixart_analog_level[chip->analog_capture_volume[i]]; 318 if(chip->analog_playback_active[i]) 319 io_level.level[i].analog_level = mixart_analog_level[chip->analog_playback_volume[i]]; 325 if(is_capture) request.uid = chip->uid_in_analog_physio; 326 else request.uid = chip->uid_out_analog_physio; 331 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); 333 snd_printk(KERN_DEBUG "error MSG_PHYSICALIO_SET_LEVEL card(%d) is_capture(%d) error_code(%x)\n", chip->chip_idx, is_capture, resp.error_code); 358 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 359 mutex_lock(&chip 373 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 417 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 428 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 714 mixart_update_playback_stream_level(struct snd_mixart* chip, int is_aes, int idx) argument 764 mixart_update_capture_stream_level(struct snd_mixart* chip, int is_aes) argument 823 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 845 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 893 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 907 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 936 mixart_update_monitoring(struct snd_mixart* chip, int channel) argument 971 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 981 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 1013 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 1023 struct snd_mixart *chip = snd_kcontrol_chip(kcontrol); local 1061 mixart_reset_audio_levels(struct snd_mixart *chip) argument 1075 struct snd_mixart *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/tpm/ |
H A D | tpm_nsc.c | 69 static int wait_for_stat(struct tpm_chip *chip, u8 mask, u8 val, u8 * data) argument 74 *data = inb(chip->vendor.base + NSC_STATUS); 82 *data = inb(chip->vendor.base + 1); 91 static int nsc_wait_for_ready(struct tpm_chip *chip) argument 97 status = inb(chip->vendor.base + NSC_STATUS); 99 status = inb(chip->vendor.base + NSC_DATA); 107 status = inb(chip->vendor.base + NSC_STATUS); 109 status = inb(chip->vendor.base + NSC_DATA); 115 dev_info(chip->dev, "wait for ready failed\n"); 120 static int tpm_nsc_recv(struct tpm_chip *chip, u argument 174 tpm_nsc_send(struct tpm_chip *chip, u8 * buf, size_t count) argument 219 tpm_nsc_cancel(struct tpm_chip *chip) argument 224 tpm_nsc_status(struct tpm_chip *chip) argument 269 struct tpm_chip *chip = dev_get_drvdata(dev); local 289 struct tpm_chip *chip; local [all...] |
H A D | tpm_atmel.c | 38 static int tpm_atml_recv(struct tpm_chip *chip, u8 *buf, size_t count) argument 50 status = ioread8(chip->vendor.iobase + 1); 52 dev_err(chip->dev, "error reading header\n"); 55 *buf++ = ioread8(chip->vendor.iobase); 63 dev_err(chip->dev, 66 status = ioread8(chip->vendor.iobase + 1); 68 dev_err(chip->dev, "error reading data\n"); 77 status = ioread8(chip->vendor.iobase + 1); 79 dev_err(chip->dev, "error reading data\n"); 82 *buf++ = ioread8(chip 96 tpm_atml_send(struct tpm_chip *chip, u8 *buf, size_t count) argument 109 tpm_atml_cancel(struct tpm_chip *chip) argument 114 tpm_atml_status(struct tpm_chip *chip) argument 159 struct tpm_chip *chip = dev_get_drvdata(&pdev->dev); local 185 struct tpm_chip *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/47xxnand/ |
H A D | brcmnand_47xx.c | 183 * If we only use byte-width chip, (We did) 237 int brcmnand_ctrl_verify_ecc(struct nand_chip *chip, int state) argument 290 int brcmnand_cache_is_valid(struct mtd_info *mtd, struct nand_chip *chip, int state) argument 314 ret = brcmnand_ctrl_verify_ecc(chip, state); 319 int brcmnand_spare_is_valid(struct mtd_info *mtd, struct nand_chip *chip, int state) argument 347 * nand_release_device - [GENERIC] release chip 350 * Deselect, release chip lock and wake up anyone waiting on the device 359 * brcmnand_get_device - [GENERIC] Get chip for selected access 360 * @param chip the nand chip descripto 366 brcmnand_get_device(struct nand_chip *chip, struct mtd_info *mtd, int new_state) argument 394 brcmnand_get_device_bcm4706(struct nand_chip *chip, struct mtd_info *mtd, int new_state) argument 413 struct nand_chip *chip = mtd->priv; local 427 brcmnand_handle_false_read_ecc_unc_errors(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, uint8_t *oob, uint32_t offset) argument 486 brcmnand_posted_read_cache(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf, uint8_t *oob, uint32_t offset) argument 549 brcmnand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf) argument 584 brcmnand_transfer_oob(struct nand_chip *chip, uint8_t *oob, struct mtd_oob_ops *ops, size_t len) argument 638 struct nand_chip *chip = mtd->priv; local 733 struct nand_chip *chip = mtd->priv; local 765 struct nand_chip *chip = mtd->priv; local 775 brcmnand_posted_read_oob(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *oob, uint32_t offset) argument 821 brcmnand_read_oob_hwecc(struct mtd_info *mtd, struct nand_chip *chip, int page, int sndcmd) argument 862 struct nand_chip *chip = mtd->priv; local 969 struct nand_chip *chip = mtd->priv; local 979 brcmnand_ctrl_write_is_complete(struct mtd_info *mtd, struct nand_chip *chip, int *need_bbt) argument 1023 brcmnand_posted_write_cache(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, uint8_t *oob, uint32_t offset) argument 1053 brcmnand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf) argument 1140 brcmnand_posted_write_oob(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *oob, uint32_t offset) argument 1200 brcmnand_write_page(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int page, int cached, int raw) argument 1215 brcmnand_fill_oob(struct nand_chip *chip, uint8_t *oob, struct mtd_oob_ops *ops) argument 1272 struct nand_chip *chip = mtd->priv; local 1345 struct nand_chip *chip = mtd->priv; local 1375 brcmnand_write_oob_hwecc(struct mtd_info *mtd, struct nand_chip *chip, int page) argument 1406 struct nand_chip *chip = mtd->priv; local 1508 struct nand_chip *chip = mtd->priv; local 1520 struct nand_chip * chip = mtd->priv; local 1632 struct nand_chip *chip = mtd->priv; local 1652 struct nand_chip *chip = mtd->priv; local 1671 struct nand_chip *chip = mtd->priv; local 1694 struct nand_chip *chip = mtd->priv; local 1733 struct nand_chip *chip = mtd->priv; local 1760 struct nand_chip *chip = mtd->priv; local 1771 struct nand_chip *chip = mtd->priv; local 1933 register struct nand_chip *chip = mtd->priv; local 2050 register struct nand_chip *chip = mtd->priv; local 2166 register struct nand_chip *chip = mtd->priv; local 2255 struct nand_chip *chip = mtd->priv; local 2297 brcmnand_select_chip(struct mtd_info *mtd, int chip) argument 2309 brcmnand_init_nandchip(struct mtd_info *mtd, struct nand_chip *chip) argument 2359 struct nand_chip *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/ |
H A D | sb8.c | 61 struct snd_sb *chip; member in struct:snd_sb8 66 struct snd_sb *chip = dev_id; local 68 if (chip->open & SB_OPEN_PCM) { 69 return snd_sb8dsp_interrupt(chip); 71 return snd_sb8dsp_midi_interrupt(chip); 101 struct snd_sb *chip; local 123 &chip)) < 0) 138 &chip); 147 acard->chip = chip; 221 struct snd_sb *chip = acard->chip; local 233 struct snd_sb *chip = acard->chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/ |
H A D | au88x0.c | 139 // chip-specific constructor 144 vortex_t *chip; local 162 chip = kzalloc(sizeof(*chip), GFP_KERNEL); 163 if (chip == NULL) { 168 chip->card = card; 171 chip->pci_dev = pci; 172 chip->io = pci_resource_start(pci, 0); 173 chip->vendor = pci->vendor; 174 chip 243 vortex_t *chip; local [all...] |
H A D | au88x0_pcm.c | 174 //vortex_t *chip = snd_pcm_substream_chip(substream); 191 vortex_t *chip = snd_pcm_substream_chip(substream); local 209 spin_lock_irq(&chip->lock); 215 vortex_adb_allocroute(chip, stream->dma, 220 vortex_adb_allocroute(chip, -1, 224 spin_unlock_irq(&chip->lock); 227 stream = substream->runtime->private_data = &chip->dma_adb[dma]; 230 vortex_adbdma_setbuffers(chip, dma, sgbuf, 237 vortex_wt_allocroute(chip, substream->number, 0); */ 238 vortex_wt_allocroute(chip, substrea 256 vortex_t *chip = snd_pcm_substream_chip(substream); local 282 vortex_t *chip = snd_pcm_substream_chip(substream); local 314 vortex_t *chip = snd_pcm_substream_chip(substream); local 378 vortex_t *chip = snd_pcm_substream_chip(substream); local 501 snd_vortex_new_pcm(vortex_t * chip, int idx, int nr) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/ |
H A D | plat_nand.c | 21 struct nand_chip chip; member in struct:plat_nand_data 54 data->chip.priv = &data; 55 data->mtd.priv = &data->chip; 58 data->chip.IO_ADDR_R = data->io_base; 59 data->chip.IO_ADDR_W = data->io_base; 60 data->chip.cmd_ctrl = pdata->ctrl.cmd_ctrl; 61 data->chip.dev_ready = pdata->ctrl.dev_ready; 62 data->chip.select_chip = pdata->ctrl.select_chip; 63 data->chip.chip_delay = pdata->chip [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/zd1211rw/ |
H A D | zd_rf_al7230b.c | 72 static int zd1211b_al7230b_finalize(struct zd_chip *chip) argument 83 r = zd_iowrite16a_locked(chip, ioreqs, ARRAY_SIZE(ioreqs)); 87 if (chip->new_phy_layout) { 89 r = zd_iowrite16_locked(chip, 0xe5, CR9); 94 return zd_iowrite16_locked(chip, 0x04, CR203); 100 struct zd_chip *chip = zd_rf_to_chip(rf); local 168 r = zd_iowrite16a_locked(chip, ioreqs_1, ARRAY_SIZE(ioreqs_1)); 172 r = zd_rfwritev_cr_locked(chip, chan_rv[0], ARRAY_SIZE(chan_rv[0])); 176 r = zd_rfwritev_cr_locked(chip, std_rv, ARRAY_SIZE(std_rv)); 180 r = zd_rfwritev_cr_locked(chip, rv_init 205 struct zd_chip *chip = zd_rf_to_chip(rf); local 327 struct zd_chip *chip = zd_rf_to_chip(rf); local 374 struct zd_chip *chip = zd_rf_to_chip(rf); local 419 struct zd_chip *chip = zd_rf_to_chip(rf); local 430 struct zd_chip *chip = zd_rf_to_chip(rf); local 441 struct zd_chip *chip = zd_rf_to_chip(rf); local 454 struct zd_chip *chip = zd_rf_to_chip(rf); local 473 struct zd_chip *chip = zd_rf_to_chip(rf); local [all...] |
H A D | zd_rf.c | 65 struct zd_chip *chip = zd_rf_to_chip(rf); local 67 ZD_ASSERT(mutex_is_locked(&chip->mutex)); 85 dev_err(zd_chip_dev(chip), 93 r = zd_chip_lock_phy_regs(chip); 97 r = zd_chip_unlock_phy_regs(chip); 128 struct zd_chip *chip = zd_rf_to_chip(rf); local 130 ZD_ASSERT(mutex_is_locked(&chip->mutex)); 131 r = zd_chip_lock_phy_regs(chip); 135 r = zd_chip_unlock_phy_regs(chip); 144 struct zd_chip *chip local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/ |
H A D | opl3sa2.c | 177 static unsigned char __snd_opl3sa2_read(struct snd_opl3sa2 *chip, unsigned char reg) argument 180 outb(reg, chip->port); /* register */ 181 result = inb(chip->port + 1); 186 static unsigned char snd_opl3sa2_read(struct snd_opl3sa2 *chip, unsigned char reg) argument 191 spin_lock_irqsave(&chip->reg_lock, flags); 192 result = __snd_opl3sa2_read(chip, reg); 193 spin_unlock_irqrestore(&chip->reg_lock, flags); 198 static void __snd_opl3sa2_write(struct snd_opl3sa2 *chip, unsigned char reg, unsigned char value) argument 200 outb(reg, chip->port); /* register */ 201 outb(value, chip 206 snd_opl3sa2_write(struct snd_opl3sa2 *chip, unsigned char reg, unsigned char value) argument 214 snd_opl3sa2_detect(struct snd_opl3sa2 *chip) argument 289 struct snd_opl3sa2 *chip = dev_id; local 352 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); local 369 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); local 418 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); local 440 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); local 498 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); local 503 snd_opl3sa2_mixer(struct snd_opl3sa2 *chip) argument 561 struct snd_opl3sa2 *chip = card->private_data; local 573 struct snd_opl3sa2 *chip = card->private_data; local 597 snd_opl3sa2_pnp(int dev, struct snd_opl3sa2 *chip, struct pnp_dev *pdev) argument 654 struct snd_opl3sa2 *chip = card->private_data; local 663 struct snd_opl3sa2 *chip; local 681 struct snd_opl3sa2 *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf.h | 81 /* chip status */ 123 static inline void pdacf_reg_write(struct snd_pdacf *chip, unsigned char reg, unsigned short val) argument 125 outw(chip->regmap[reg>>1] = val, chip->port + reg); 128 static inline unsigned short pdacf_reg_read(struct snd_pdacf *chip, unsigned char reg) argument 130 return inw(chip->port + reg); 135 void snd_pdacf_powerdown(struct snd_pdacf *chip); 137 int snd_pdacf_suspend(struct snd_pdacf *chip, pm_message_t state); 138 int snd_pdacf_resume(struct snd_pdacf *chip); 140 int snd_pdacf_pcm_new(struct snd_pdacf *chip); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/irq/ |
H A D | chip.c | 2 * linux/kernel/irq/chip.c 7 * This file contains the core interrupt handling code, for irq-chip 40 desc->chip = &no_irq_chip; 83 desc->chip = &no_irq_chip; 89 * set_irq_chip - set the irq chip for an irq 91 * @chip: pointer to irq chip description structure 93 int set_irq_chip(unsigned int irq, struct irq_chip *chip) argument 99 printk(KERN_ERR "Trying to install chip for IRQ%d\n", irq); 104 if (!chip) 251 irq_chip_set_defaults(struct irq_chip *chip) argument 589 set_irq_chip_and_handler(unsigned int irq, struct irq_chip *chip, irq_flow_handler_t handle) argument 597 set_irq_chip_and_handler_name(unsigned int irq, struct irq_chip *chip, irq_flow_handler_t handle, const char *name) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/cs46xx/ |
H A D | dsp_spos.c | 41 static int cs46xx_dsp_async_init (struct snd_cs46xx *chip, 59 static int shadow_and_reallocate_code (struct snd_cs46xx * chip, u32 * data, u32 size, argument 65 struct dsp_spos_instance * ins = chip->dsp_spos_instance; 146 static int add_symbols (struct snd_cs46xx * chip, struct dsp_module_desc * module) argument 149 struct dsp_spos_instance * ins = chip->dsp_spos_instance; 165 if (cs46xx_dsp_lookup_symbol(chip, 188 add_symbol (struct snd_cs46xx * chip, char * symbol_name, u32 address, int type) argument 190 struct dsp_spos_instance * ins = chip->dsp_spos_instance; 199 if (cs46xx_dsp_lookup_symbol(chip, 224 struct dsp_spos_instance *cs46xx_dsp_spos_create (struct snd_cs46xx * chip) argument 288 cs46xx_dsp_spos_destroy(struct snd_cs46xx * chip) argument 309 cs46xx_dsp_load_module(struct snd_cs46xx * chip, struct dsp_module_desc * module) argument 422 cs46xx_dsp_lookup_symbol(struct snd_cs46xx * chip, char * symbol_name, int symbol_type) argument 445 cs46xx_dsp_lookup_symbol_addr(struct snd_cs46xx * chip, u32 address, int symbol_type) argument 469 struct snd_cs46xx *chip = entry->private_data; local 497 struct snd_cs46xx *chip = entry->private_data; local 520 struct snd_cs46xx *chip = entry->private_data; local 548 struct snd_cs46xx *chip = entry->private_data; local 581 struct snd_cs46xx *chip = entry->private_data; local 609 struct snd_cs46xx *chip = entry->private_data; local 738 cs46xx_dsp_proc_init(struct snd_card *card, struct snd_cs46xx *chip) argument 845 cs46xx_dsp_proc_done(struct snd_cs46xx *chip) argument 883 _dsp_create_task_tree(struct snd_cs46xx *chip, u32 * task_data, u32 dest, int size) argument 898 _dsp_create_scb(struct snd_cs46xx *chip, u32 * scb_data, u32 dest) argument 925 _map_scb(struct snd_cs46xx *chip, char * name, u32 dest) argument 959 _map_task_tree(struct snd_cs46xx *chip, char * name, u32 dest, u32 size) argument 983 cs46xx_dsp_create_scb(struct snd_cs46xx *chip, char * name, u32 * scb_data, u32 dest) argument 999 cs46xx_dsp_create_task_tree(struct snd_cs46xx *chip, char * name, u32 * task_data, u32 dest, int size) argument 1014 cs46xx_dsp_scb_and_task_init(struct snd_cs46xx *chip) argument 1433 cs46xx_dsp_async_init(struct snd_cs46xx *chip, struct dsp_scb_descriptor * fg_entry) argument 1606 cs46xx_dsp_disable_spdif_hw(struct snd_cs46xx *chip) argument 1627 cs46xx_dsp_enable_spdif_hw(struct snd_cs46xx *chip) argument 1650 cs46xx_dsp_enable_spdif_in(struct snd_cs46xx *chip) argument 1710 cs46xx_dsp_disable_spdif_in(struct snd_cs46xx *chip) argument 1736 cs46xx_dsp_enable_pcm_capture(struct snd_cs46xx *chip) argument 1751 cs46xx_dsp_disable_pcm_capture(struct snd_cs46xx *chip) argument 1765 cs46xx_dsp_enable_adc_capture(struct snd_cs46xx *chip) argument 1780 cs46xx_dsp_disable_adc_capture(struct snd_cs46xx *chip) argument 1794 cs46xx_poke_via_dsp(struct snd_cs46xx *chip, u32 address, u32 data) argument 1831 cs46xx_dsp_set_dac_volume(struct snd_cs46xx * chip, u16 left, u16 right) argument 1860 cs46xx_dsp_set_iec958_volume(struct snd_cs46xx * chip, u16 left, u16 right) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ca0106/ |
H A D | ca0106_main.c | 17 * The output from the AC97 chip, instead of reaching the speakers, is fed into the Philips 1361T ADC. 151 MODULE_SUPPORTED_DEVICE("{{Creative,SB CA0106 chip}}"); 435 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); local 436 struct snd_ca0106_channel *channel = &(chip->playback_channels[channel_id]); 445 epcm->emu = chip; 454 channel->emu = chip; 458 //printk("open:channel_id=%d, chip=%p, channel=%p\n",channel_id, chip, channel); 471 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); local 474 chip 502 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); local 540 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); local 999 snd_ca0106_ac97(struct snd_ca0106 *chip) argument 1019 snd_ca0106_free(struct snd_ca0106 *chip) argument 1048 struct snd_ca0106 *chip = device->device_data; local 1056 struct snd_ca0106 *chip = dev_id; local 1219 struct snd_ca0106 *chip; local 1472 snd_ca0106_midi(struct snd_ca0106 *chip, unsigned int channel) argument 1528 struct snd_ca0106 *chip; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/i2c/other/ |
H A D | ak4117.c | 53 static void snd_ak4117_free(struct ak4117 *chip) argument 55 del_timer(&chip->timer); 56 kfree(chip); 61 struct ak4117 *chip = device->device_data; local 62 snd_ak4117_free(chip); 69 struct ak4117 *chip; local 76 chip = kzalloc(sizeof(*chip), GFP_KERNEL); 77 if (chip == NULL) 79 spin_lock_init(&chip 108 snd_ak4117_reg_write(struct ak4117 *chip, unsigned char reg, unsigned char mask, unsigned char val) argument 115 snd_ak4117_reinit(struct ak4117 *chip) argument 163 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 187 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 209 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 218 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 244 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 260 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 294 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 316 struct ak4117 *chip = snd_kcontrol_chip(kcontrol); local 535 struct ak4117 *chip = (struct ak4117 *)data; local [all...] |
H A D | ak4114.c | 39 static void ak4114_init_regs(struct ak4114 *chip); 56 static void snd_ak4114_free(struct ak4114 *chip) argument 58 chip->init = 1; /* don't schedule new work */ 60 cancel_delayed_work(&chip->work); 62 kfree(chip); 67 struct ak4114 *chip = device->device_data; local 68 snd_ak4114_free(chip); 77 struct ak4114 *chip; local 84 chip = kzalloc(sizeof(*chip), GFP_KERNE 116 snd_ak4114_reg_write(struct ak4114 *chip, unsigned char reg, unsigned char mask, unsigned char val) argument 125 ak4114_init_regs(struct ak4114 *chip) argument 143 snd_ak4114_reinit(struct ak4114 *chip) argument 182 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 206 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 228 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 244 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 255 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 266 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 300 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 322 struct ak4114 *chip = snd_kcontrol_chip(kcontrol); local 589 struct ak4114 *chip = container_of(work, struct ak4114, work.work); local [all...] |