Searched refs:card (Results 126 - 150 of 619) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/
H A Dgusmax.c43 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
44 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
77 struct snd_card *card; member in struct:snd_gusmax
128 static void __devinit snd_gusmax_init(int dev, struct snd_card *card, argument
149 struct snd_card *card = chip->card; local
159 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0)
163 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0)
168 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0)
172 if ((err = snd_ctl_rename_id(card,
177 snd_gusmax_free(struct snd_card *card) argument
197 struct snd_card *card; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0.c142 snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip) argument
168 chip->card = card;
175 chip->card = card;
212 if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) {
216 snd_card_set_dev(card, &pci->dev);
242 struct snd_card *card; local
254 card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0);
255 if (card
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/vx222/
H A Dvx222.c40 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
41 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
138 static int __devinit snd_vx222_create(struct snd_card *card, struct pci_dev *pci, argument
156 chip = snd_vx_create(card, hw, vx_ops,
180 if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) {
185 snd_card_set_dev(card, &pci->dev);
196 struct snd_card *card; local
208 card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0);
209 if (card == NULL)
224 if ((err = snd_vx222_create(card, pc
264 struct snd_card *card = pci_get_drvdata(pci); local
277 struct snd_card *card = pci_get_drvdata(pci); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dsound_oss.c63 static int snd_oss_kernel_minor(int type, struct snd_card *card, int dev) argument
69 snd_assert(card != NULL && dev <= 1, return -EINVAL);
70 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIXER1 : SNDRV_MINOR_OSS_MIXER));
79 snd_assert(card != NULL && dev <= 1, return -EINVAL);
80 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_PCM1 : SNDRV_MINOR_OSS_PCM));
83 snd_assert(card != NULL && dev <= 1, return -EINVAL);
84 minor = SNDRV_MINOR_OSS(card->number, (dev ? SNDRV_MINOR_OSS_MIDI1 : SNDRV_MINOR_OSS_MIDI));
87 minor = SNDRV_MINOR_OSS(card->number, SNDRV_MINOR_OSS_DMFM);
99 int snd_register_oss_device(int type, struct snd_card *card, int dev, argument
103 int minor = snd_oss_kernel_minor(type, card, de
163 snd_unregister_oss_device(int type, struct snd_card *card, int dev) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dopl3sa2.c50 * Scott Murray Added some more checks to the card detection code,
105 /* For checking against what the card returns: */
139 unsigned int card; member in struct:__anon11037
187 MODULE_PARM_DESC(io, "Set I/O base of OPL3-SA2 or SA3 card (usually 0x370. Address must be even and must be from 0x100 to 0xFFE)");
550 static int __init probe_opl3sa2(struct address_info* hw_config, int card) argument
602 opl3sa2_state[card].chipset = CHIPSET_UNKNOWN;
608 opl3sa2_state[card].chipset = CHIPSET_OPL3SA2;
613 opl3sa2_state[card].chipset = CHIPSET_OPL3SA3;
619 opl3sa2_state[card].chipset = CHIPSET_OPL3SA3;
626 opl3sa2_state[card]
645 attach_opl3sa2(struct address_info* hw_config, int card) argument
662 attach_opl3sa2_mixer(struct address_info *hw_config, int card) argument
741 unload_opl3sa2(struct address_info* hw_config, int card) argument
762 int card = opl3sa2_cards_num; local
819 int card, max; local
975 int card; local
[all...]
H A Dnm256.h14 /* Per-card structure. */
117 /* The card interrupt service routine. */
127 /* The cards are stored in a chain; this is the next card. */
219 if (port < 1 || port > 2 || card == NULL) \
222 if (offset < card->port[port - 1].start_offset \
223 || offset >= card->port[port - 1].end_offset) { \
227 offset -= card->port[port - 1].start_offset;
230 static inline int nm256_writePort##X (struct nm256_info *card,\
240 addr = (u##X __iomem *)(card->port[port - 1].ptr + offset);\
250 static inline u##X nm256_readPort##X (struct nm256_info *card,\
266 nm256_writeBuffer8(struct nm256_info *card, u8 *src, int port, int offset, int amt) argument
275 nm256_readBuffer8(struct nm256_info *card, u8 *dst, int port, int offset, int amt) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/cs423x/
H A Dcs4236.c85 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
86 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
173 /* Unnamed CS4236 card (Made in Taiwan) */
259 /* Some noname CS4236 based card */
386 struct pnp_card_link *card,
394 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL);
397 acard->ctrl = pnp_request_card_device(card, id->devs[1].id, NULL);
401 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL);
435 static void snd_card_cs4236_free(struct snd_card *card) argument
437 struct snd_card_cs4236 *acard = card
385 snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, struct pnp_card_link *card, const struct pnp_card_device_id *id) argument
444 struct snd_card *card; local
454 snd_cs423x_probe(struct snd_card *card, int dev) argument
572 struct snd_card *card; local
597 snd_cs423x_suspend(struct snd_card *card) argument
605 snd_cs423x_resume(struct snd_card *card) argument
646 struct snd_card *card; local
709 struct snd_card *card; local
[all...]
H A Dcs4231.c44 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
45 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
94 struct snd_card *card; local
99 card = snd_card_new(index[n], id[n], THIS_MODULE, 0);
100 if (!card)
103 error = snd_cs4231_create(card, port[n], -1, irq[n], dma1[n], dma2[n],
108 card->private_data = chip;
114 strcpy(card->driver, "CS4231");
115 strcpy(card->shortname, pcm->name);
117 sprintf(card
163 struct snd_card *card = dev_get_drvdata(dev); local
173 struct snd_card *card = dev_get_drvdata(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hardware/eicon/
H A Didifunc.c59 * find card in list
63 udiva_card *card; local
67 diva_os_enter_spin_lock(&ll_lock, &old_irql, "find card");
69 card = list_entry(tmp, udiva_card, list);
70 if (card->d.request == d->request) {
72 "find card");
73 return (card);
76 diva_os_leave_spin_lock(&ll_lock, &old_irql, "find card");
81 * new card
86 udiva_card *card local
118 udiva_card *card = NULL; local
137 udiva_card *card; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/
H A Dorinoco_plx.c44 * card is compatible with the driver. Keep in mind that the PCMCIA
48 * space on the PCMCIA card via the PCMCIA COR register. This is the
55 * card inserted.
83 * radio card's firmware locks up).
99 #define COR_OFFSET (0x3e0) /* COR attribute offset of Prism2 PC card */
100 #define COR_VALUE (COR_LEVEL_REQ | COR_FUNC_ENA) /* Enable PC card with interrupt in level trigger */
108 * Do a soft reset of the card using the Configuration Option Register
113 struct orinoco_pci_card *card = priv->card; local
117 iowrite8(COR_VALUE | COR_RESET, card
140 orinoco_plx_hw_init(struct orinoco_pci_card *card) argument
185 struct orinoco_pci_card *card; local
300 struct orinoco_pci_card *card = priv->card; local
[all...]
H A Dairport.c4 * card.
99 printk(KERN_ERR "%s: Error %d restarting card on PBOOK_WAKE\n",
114 struct airport *card = priv->card; local
116 if (card->ndev_registered)
118 card->ndev_registered = 0;
120 if (card->irq_requested)
122 card->irq_requested = 0;
124 if (card->vaddr)
125 iounmap(card
154 struct airport *card; local
[all...]
H A Dorinoco_tmd.c53 #define COR_VALUE (COR_LEVEL_REQ | COR_FUNC_ENA) /* Enable PC card with interrupt in level trigger */
58 * Do a soft reset of the card using the Configuration Option Register
63 struct orinoco_pci_card *card = priv->card; local
67 iowrite8(COR_VALUE | COR_RESET, card->bridge_io);
70 iowrite8(COR_VALUE, card->bridge_io);
73 /* Just in case, wait more until the card is no longer busy */
96 struct orinoco_pci_card *card; local
127 dev = alloc_orinocodev(sizeof(*card), orinoco_tmd_cor_reset);
135 card
194 struct orinoco_pci_card *card = priv->card; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/emu10k1/
H A Demu10k1.c48 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
49 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
56 static uint subsystem[SNDRV_CARDS]; /* Force card subsystem model */
77 MODULE_PARM_DESC(subsystem, "Force card subsystem model.");
105 struct snd_card *card; local
119 card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0);
120 if (card == NULL)
126 if ((err = snd_emu10k1_create(card, pci, extin[dev], extout[dev],
131 card->private_data = emu;
167 if (snd_seq_device_new(card,
210 struct snd_card *card = pci_get_drvdata(pci); local
238 struct snd_card *card = pci_get_drvdata(pci); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/sound/
H A Dinfo.h79 struct snd_card *card; member in struct:snd_info_entry
116 struct snd_info_entry *snd_info_create_card_entry(struct snd_card * card,
123 int snd_info_card_create(struct snd_card * card);
124 int snd_info_card_register(struct snd_card * card);
125 int snd_info_card_free(struct snd_card * card);
126 void snd_info_card_disconnect(struct snd_card * card);
129 /* for card drivers */
130 int snd_card_proc_new(struct snd_card *card, const char *name, struct snd_info_entry **entryp);
154 static inline struct snd_info_entry *snd_info_create_card_entry(struct snd_card * card, const char *name, struct snd_info_entry * parent) { return NULL; } argument
157 static inline int snd_info_card_create(struct snd_card * card) { retur argument
158 snd_info_card_register(struct snd_card * card) argument
159 snd_info_card_free(struct snd_card * card) argument
160 snd_info_card_disconnect(struct snd_card * card) argument
163 snd_card_proc_new(struct snd_card *card, const char *name, struct snd_info_entry **entryp) argument
[all...]
H A Dcontrol.h92 struct snd_card *card; member in struct:snd_ctl_file
105 typedef int (*snd_kctl_ioctl_func_t) (struct snd_card * card,
109 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
113 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
114 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
115 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
116 int snd_ctl_rename_id(struct snd_card * card, struct snd_ctl_elem_id *src_id, struct snd_ctl_elem_id *dst_id);
117 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid);
118 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
120 int snd_ctl_create(struct snd_card *card);
[all...]
H A Dseq_device.h36 struct snd_card *card; /* sound card */ member in struct:snd_seq_device
60 * Typically, call snd_device_free(dev->card, dev->driver_data)
71 int snd_seq_device_new(struct snd_card *card, int device, char *id, int argsize, struct snd_seq_device **result);
H A Dseq_virmidi.h55 struct snd_card *card; /* associated card */ member in struct:snd_virmidi_dev
79 int snd_virmidi_new(struct snd_card *card, int device, struct snd_rawmidi **rrmidi);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Didt77252.h47 #define VPCI2VC(card, vpi, vci) \
48 (((vpi) << card->vcibits) | ((vci) & card->vcimask))
215 struct idt77252_dev *card; member in struct:vc_map
440 #define SAR_REG_DR0 (card->membase + 0x00)
441 #define SAR_REG_DR1 (card->membase + 0x04)
442 #define SAR_REG_DR2 (card->membase + 0x08)
443 #define SAR_REG_DR3 (card->membase + 0x0C)
444 #define SAR_REG_CMD (card->membase + 0x10)
445 #define SAR_REG_CFG (card
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/ad1816a/
H A Dad1816a.c3 card-ad1816a.c - driver for ADI SoundPort AD1816A based soundcards.
47 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
48 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
112 #define DRIVER_NAME "snd-card-ad1816a"
116 struct pnp_card_link *card,
125 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL);
130 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL);
197 struct snd_card *card; local
202 if ((card = snd_card_new(index[dev], id[dev], THIS_MODULE,
205 acard = (struct snd_card_ad1816a *)card
115 snd_card_ad1816a_pnp(int dev, struct snd_card_ad1816a *acard, struct pnp_card_link *card, const struct pnp_card_device_id *id) argument
273 snd_ad1816a_pnp_detect(struct pnp_card_link *card, const struct pnp_card_device_id *id) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/
H A Dcmi8330.c36 * This card has two mixers and two PCM devices. I've cheesed it such
154 struct snd_card *card; member in struct:snd_cmi8330
264 static int __devinit snd_cmi8330_mixer(struct snd_card *card, struct snd_cmi8330 *acard) argument
269 strcpy(card->mixername, "CMI8330/C3D");
285 struct pnp_card_link *card,
294 acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL);
299 acard->play = pnp_request_card_device(card, id->devs[1].id, NULL);
398 static int __devinit snd_cmi8330_pcm(struct snd_card *card, struct snd_cmi8330 *chip) argument
408 if ((err = snd_pcm_new(card, "CMI8330", 0, 1, 1, &pcm)) < 0)
440 static int snd_cmi8330_suspend(struct snd_card *card) argument
284 snd_cmi8330_pnp(int dev, struct snd_cmi8330 *acard, struct pnp_card_link *card, const struct pnp_card_device_id *id) argument
451 snd_cmi8330_resume(struct snd_card *card) argument
477 struct snd_card *card; local
491 snd_cmi8330_probe(struct snd_card *card, int dev) argument
569 struct snd_card *card; local
626 struct snd_card *card; local
[all...]
H A Dazt2320.c2 card-azt2320.c - driver for Aztech Systems AZT2320 based soundcards.
58 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
59 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */
117 #define DRIVER_NAME "snd-card-azt2320"
120 struct pnp_card_link *card,
130 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL);
136 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL);
231 struct snd_card *card; local
236 if ((card = snd_card_new(index[dev], id[dev], THIS_MODULE,
239 acard = (struct snd_card_azt2320 *)card
119 snd_card_azt2320_pnp(int dev, struct snd_card_azt2320 *acard, struct pnp_card_link *card, const struct pnp_card_device_id *id) argument
315 snd_azt2320_pnp_detect(struct pnp_card_link *card, const struct pnp_card_device_id *id) argument
343 struct snd_card *card = pnp_get_card_drvdata(pcard); local
354 struct snd_card *card = pnp_get_card_drvdata(pcard); local
[all...]
H A Dsgalaxy.c5 * I don't have documentation for this card, I based this driver on the
47 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
48 static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE; /* Enable this card */
177 struct snd_card *card = chip->card; local
188 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0)
192 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0)
197 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0)
201 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0)
231 struct snd_card *card; local
306 struct snd_card *card = dev_get_drvdata(pdev); local
316 struct snd_card *card = dev_get_drvdata(pdev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pcmcia/vx/
H A Dvxpocket.c41 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
134 static struct snd_vxpocket *snd_vxpocket_new(struct snd_card *card, int ibl, argument
143 chip = snd_vx_create(card, &vxpocket_hw, &snd_vxpocket_ops,
148 if (snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops) < 0) {
178 * snd_vxpocket_assign_resources - initialize the hardware and card instance.
179 * @port: i/o port for the card
180 * @irq: irq number for the card
182 * this function assigns the specified port and irq, boot the card,
190 struct snd_card *card = chip->card; local
294 struct snd_card *card; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dcyclades.c77 #define IS_CYC_Z(card) ((card).num_chips == -1)
79 #define Z_FPGA_CHECK(card) \
81 ((card).ctl_addr))->init_ctrl) & (1<<17)) != 0)
83 #define ISZLOADED(card) (((ZO_V1==readl(&((struct RUNTIME_9060 __iomem *) \
84 ((card).ctl_addr))->mail_box_0)) || \
85 Z_FPGA_CHECK(card)) && \
87 ((card).base_addr+ID_ADDRESS))->signature)))
132 /* This is the per-card data structure containing address, irq, number of
801 whenever the card want
1246 struct cyclades_card *card = info->card; local
1273 int card, port; local
1323 struct cyclades_card *card; local
1510 struct cyclades_card *card; local
1551 struct cyclades_card *card; local
2004 struct cyclades_card *card; local
2080 struct cyclades_card *card; local
2352 struct cyclades_card *card; local
2438 struct cyclades_card *card; local
2916 struct cyclades_card *card; local
2946 struct cyclades_card *card; local
3015 struct cyclades_card *card; local
3167 struct cyclades_card *card; local
3239 struct cyclades_card *card; local
3267 struct cyclades_card *card; local
3301 struct cyclades_card *card; local
3323 struct cyclades_card *card; local
3562 struct cyclades_card *card; local
3591 struct cyclades_card *card; local
3650 struct cyclades_card *card; local
3769 struct cyclades_card *card; local
4601 struct cyclades_card *card; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/
H A D8250_hub6.c15 #define HUB6(card,port) \
22 .hub6 = (card) << 6 | (port) << 3 | 1, \

Completed in 305 milliseconds

1234567891011>>