Home
last modified time | relevance | path

Searched refs:card_number (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/sound/core/
H A Dcontrol_led.c242 static int snd_ctl_led_set_id(int card_number, struct snd_ctl_elem_id *id, in snd_ctl_led_set_id() argument
251 card = snd_card_ref(card_number); in snd_ctl_led_set_id()
313 static int snd_ctl_led_reset(int card_number, unsigned int group) in snd_ctl_led_reset() argument
321 card = snd_card_ref(card_number); in snd_ctl_led_reset()
326 if (!snd_ctl_led_card_valid[card_number]) { in snd_ctl_led_reset()
773 unsigned int group, card_number; in snd_ctl_led_exit() local
776 for (card_number = 0; card_number < SNDRV_CARDS; card_number++) { in snd_ctl_led_exit()
777 if (!snd_ctl_led_card_valid[card_number]) in snd_ctl_led_exit()
779 card = snd_card_ref(card_number); in snd_ctl_led_exit()
H A Dcontrol.c2324 int card_number; in snd_ctl_register_layer() local
2330 for (card_number = 0; card_number < SNDRV_CARDS; card_number++) { in snd_ctl_register_layer()
2331 card = snd_card_ref(card_number); in snd_ctl_register_layer()
/openbmc/u-boot/drivers/net/
H A Drtl8139.c200 int card_number = 0; in rtl8139_initialize() local
222 sprintf (dev->name, "RTL8139#%d", card_number); in rtl8139_initialize()
234 card_number++; in rtl8139_initialize()
241 return card_number; in rtl8139_initialize()
H A Ddc2114x.c194 int card_number = 0; in dc21x4x_initialize() local
273 sprintf(dev->name, "Davicom#%d", card_number); in dc21x4x_initialize()
275 sprintf(dev->name, "dc21x4x#%d", card_number); in dc21x4x_initialize()
299 card_number++; in dc21x4x_initialize()
302 return card_number; in dc21x4x_initialize()
H A Dnatsemi.c292 int card_number = 0; in natsemi_initialize() local
328 sprintf(dev->name, "dp83815#%d", card_number); in natsemi_initialize()
341 card_number++; in natsemi_initialize()
408 return card_number; in natsemi_initialize()
H A Dns8382x.c308 int card_number = 0; in ns8382x_initialize() local
345 sprintf(dev->name, "dp8382x#%d", card_number); in ns8382x_initialize()
434 card_number++; in ns8382x_initialize()
440 return card_number; in ns8382x_initialize()
H A Deepro100.c390 int card_number = 0; in eepro100_initialize() local
434 sprintf (dev->name, "i82559#%d", card_number); in eepro100_initialize()
459 card_number++; in eepro100_initialize()
470 return card_number; in eepro100_initialize()
H A Duli526x.c205 int card_number = 0; in uli526x_initialize() local
227 sprintf(dev->name, "uli526x#%d", card_number); in uli526x_initialize()
250 card_number++; in uli526x_initialize()
254 return card_number; in uli526x_initialize()
H A Drtl8169.c1099 int card_number = 0; in rtl8169_initialize() local
1136 sprintf (dev->name, "RTL8169#%d", card_number); in rtl8169_initialize()
1155 card_number++; in rtl8169_initialize()
1157 return card_number; in rtl8169_initialize()
/openbmc/linux/drivers/net/ethernet/3com/
H A D3c515.c364 struct pnp_dev *idev, int card_number);
568 struct pnp_dev *idev, int card_number) in corkscrew_setup() argument
595 if (card_number >= MAX_UNITS) in corkscrew_setup()
598 vp->options = options[card_number]; in corkscrew_setup()