Home
last modified time | relevance | path

Searched refs:chip_idx (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart.c257 chip->chip_idx, pcm_number); in snd_mixart_add_ref_pipe()
285 …j = (chip->chip_idx * MIXART_MAX_STREAM_PER_CARD) + (pcm_number * (MIXART_PLAYBACK_STREAMS + MIXAR… in snd_mixart_add_ref_pipe()
299 …bufferinfo[j].buffer_id = (chip->chip_idx << MIXART_NOTIFY_CARD_OFFSET) + (pcm_number << MIXART_NO… in snd_mixart_add_ref_pipe()
629 …int i = (chip->chip_idx * MIXART_MAX_STREAM_PER_CARD) + (stream->pcm_number * (MIXART_PLAYBACK_STR… in snd_mixart_hw_params()
728 chip->chip_idx, pcm_number, subs->number); in snd_mixart_playback_open()
737 chip->chip_idx, pcm_number, subs->number); in snd_mixart_playback_open()
809 chip->chip_idx, pcm_number, subs->number); in snd_mixart_capture_open()
818 chip->chip_idx, pcm_number, subs->number); in snd_mixart_capture_open()
875 chip->chip_idx, stream->pcm_number, subs->number); in snd_mixart_close()
887 chip->chip_idx, stream->pcm_number); in snd_mixart_close()
[all …]
Dmixart_mixer.c321 chip->chip_idx, is_capture, resp.error_code); in mixart_update_analog_audio_level()
756 chip->chip_idx, status); in mixart_update_playback_stream_level()
801 chip->chip_idx, status); in mixart_update_capture_stream_level()
975 chip->chip_idx, resp); in mixart_update_monitoring()
1095 if(chip->chip_idx < 2) { in mixart_reset_audio_levels()
Dmixart.h155 int chip_idx; /* zero based */ member
/kernel/linux/linux-5.10/sound/pci/pcxhr/
Dpcxhr_mixer.c58 rmh.cmd[1] = 1 << ((2 * chip->chip_idx) + channel); /* audio mask */ in pcxhr_update_analog_audio_level()
65 chip->chip_idx, is_capture, err); in pcxhr_update_analog_audio_level()
276 "card(%d) err(%x)\n", chip->chip_idx, err); in pcxhr_update_playback_stream_level()
328 chip->chip_idx, err); in pcxhr_update_audio_pipe_level()
578 switch (chip->chip_idx) { in pcxhr_set_audio_source()
595 rmh.cmd[0] |= (1 << chip->chip_idx); in pcxhr_set_audio_source()
860 switch (chip->chip_idx) { in pcxhr_iec958_capture_byte()
909 chip->chip_idx, aes_idx, temp); in pcxhr_iec958_capture_byte()
960 cmd = chip->chip_idx & 0x03; /* chip index 0..3 */ in pcxhr_iec958_update_byte()
961 if (chip->chip_idx > 3) in pcxhr_iec958_update_byte()
[all …]
Dpcxhr.h156 int chip_idx; /* zero based */ member
Dpcxhr.c636 chip->chip_idx, (void *)(long)subs->runtime->dma_addr, in pcxhr_update_r_buffer()
1002 chip->chip_idx, subs->number); in pcxhr_open()
1006 chip->chip_idx, subs->number); in pcxhr_open()
1016 chip->chip_idx, subs->number); in pcxhr_open()
1082 chip->chip_idx, subs->number); in pcxhr_close()
1137 snprintf(name, sizeof(name), "pcxhr %d", chip->chip_idx); in pcxhr_create_pcm()
1191 chip->chip_idx = idx; in pcxhr_create()
Dpcxhr_mix22.c638 chip->chip_idx, aes_idx, temp); in hr222_iec958_capture_byte()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dtulip_core.c1303 int chip_idx = ent->driver_data; in tulip_init_one() local
1304 const char *chip_name = tulip_tbl[chip_idx].chip_name; in tulip_init_one()
1333 if (chip_idx == DM910X) { in tulip_init_one()
1369 if (chip_idx == AX88140) { in tulip_init_one()
1375 if (chip_idx == LC82C168) in tulip_init_one()
1403 if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) { in tulip_init_one()
1416 ioaddr = pci_iomap(pdev, TULIP_BAR, tulip_tbl[chip_idx].io_size); in tulip_init_one()
1437 tp->chip_id = chip_idx; in tulip_init_one()
1438 tp->flags = tulip_tbl[chip_idx].flags; in tulip_init_one()
1443 if (chip_idx == COMET ) { in tulip_init_one()
[all …]
Dwinbond-840.c355 int chip_idx = ent->driver_data; in w840_probe1() local
393 np->chip_id = chip_idx; in w840_probe1()
394 np->drv_flags = pci_id_tbl[chip_idx].drv_flags; in w840_probe1()
431 pci_id_tbl[chip_idx].name, ioaddr, dev->dev_addr, irq); in w840_probe1()
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
Dne2k-pci.c232 int irq, reg0, chip_idx = ent->driver_data; in ne2k_pci_init_one() local
235 int flags = pci_clone_list[chip_idx].flags; in ne2k_pci_init_one()
368 ei_status.name = pci_clone_list[chip_idx].name; in ne2k_pci_init_one()
400 pci_clone_list[chip_idx].name, ioaddr, dev->irq, in ne2k_pci_init_one()
/kernel/linux/linux-5.10/drivers/iio/light/
Dltr501.c1389 static const char *ltr501_match_acpi_device(struct device *dev, int *chip_idx) in ltr501_match_acpi_device() argument
1396 *chip_idx = id->driver_data; in ltr501_match_acpi_device()
1406 int ret, partid, chip_idx = 0; in ltr501_probe() local
1481 chip_idx = id->driver_data; in ltr501_probe()
1483 name = ltr501_match_acpi_device(&client->dev, &chip_idx); in ltr501_probe()
1488 data->chip_info = &ltr501_chip_info_tbl[chip_idx]; in ltr501_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Depic100.c324 int chip_idx = (int) ent->driver_data; in epic_init_one() local
413 if (chip_idx == 1) in epic_init_one()
429 ep->chip_id = chip_idx; in epic_init_one()
430 ep->chip_flags = pci_id_tbl[chip_idx].drv_flags; in epic_init_one()
490 pci_id_tbl[chip_idx].name, in epic_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/
Dyellowfin.c375 int chip_idx = ent->driver_data; in yellowfin_init_one() local
379 int drv_flags = pci_id_tbl[chip_idx].drv_flags; in yellowfin_init_one()
433 np->chip_id = chip_idx; in yellowfin_init_one()
488 pci_id_tbl[chip_idx].name, in yellowfin_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/dlink/
Dsundance.c498 int chip_idx = ent->driver_data; in sundance_probe1() local
538 np->chip_id = chip_idx; in sundance_probe1()
581 dev->name, pci_id_tbl[chip_idx].name, ioaddr, in sundance_probe1()
Ddl2k.c108 int chip_idx = ent->driver_data; in rio_probe1() local
147 np->chip_id = chip_idx; in rio_probe1()
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
Dstarfire.c642 int i, irq, chip_idx = ent->driver_data; in starfire_init_one() local
741 drv_flags = netdrv_tbl[chip_idx].drv_flags; in starfire_init_one()
782 dev->name, netdrv_tbl[chip_idx].name, base, in starfire_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
Dnatsemi.c806 int i, option, irq, chip_idx = ent->driver_data; in natsemi_probe1() local
880 np->eeprom_size = natsemi_pci_info[chip_idx].eeprom_size; in natsemi_probe1()
881 if (natsemi_pci_info[chip_idx].flags & NATSEMI_FLAG_IGNORE_PHY) in natsemi_probe1()
959 dev->name, natsemi_pci_info[chip_idx].name, in natsemi_probe1()
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
D3c59x.c754 int chip_idx, int card_idx);
1089 int chip_idx, int card_idx) in vortex_probe1() argument
1098 struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx]; in vortex_probe1()