Home
last modified time | relevance | path

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

/linux-6.6.21/sound/pci/mixart/
Dmixart.c256 chip->chip_idx, pcm_number); in snd_mixart_add_ref_pipe()
284 …j = (chip->chip_idx * MIXART_MAX_STREAM_PER_CARD) + (pcm_number * (MIXART_PLAYBACK_STREAMS + MIXAR… in snd_mixart_add_ref_pipe()
298 …bufferinfo[j].buffer_id = (chip->chip_idx << MIXART_NOTIFY_CARD_OFFSET) + (pcm_number << MIXART_NO… in snd_mixart_add_ref_pipe()
628 …int i = (chip->chip_idx * MIXART_MAX_STREAM_PER_CARD) + (stream->pcm_number * (MIXART_PLAYBACK_STR… in snd_mixart_hw_params()
727 chip->chip_idx, pcm_number, subs->number); in snd_mixart_playback_open()
736 chip->chip_idx, pcm_number, subs->number); in snd_mixart_playback_open()
808 chip->chip_idx, pcm_number, subs->number); in snd_mixart_capture_open()
817 chip->chip_idx, pcm_number, subs->number); in snd_mixart_capture_open()
874 chip->chip_idx, stream->pcm_number, subs->number); in snd_mixart_close()
886 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
/linux-6.6.21/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.c635 chip->chip_idx, (void *)(long)subs->runtime->dma_addr, in pcxhr_update_r_buffer()
1000 __func__, chip->chip_idx, subs->number); in pcxhr_open()
1004 __func__, chip->chip_idx, subs->number); in pcxhr_open()
1014 __func__, chip->chip_idx, subs->number); in pcxhr_open()
1080 chip->chip_idx, subs->number); in pcxhr_close()
1135 snprintf(name, sizeof(name), "pcxhr %d", chip->chip_idx); in pcxhr_create_pcm()
1190 chip->chip_idx = idx; in pcxhr_create()
Dpcxhr_mix22.c638 chip->chip_idx, aes_idx, temp); in hr222_iec958_capture_byte()
/linux-6.6.21/drivers/net/ethernet/dec/tulip/
Dtulip_core.c1305 int chip_idx = ent->driver_data; in tulip_init_one() local
1306 const char *chip_name = tulip_tbl[chip_idx].chip_name; in tulip_init_one()
1336 if (chip_idx == DM910X) { in tulip_init_one()
1372 if (chip_idx == AX88140) { in tulip_init_one()
1378 if (chip_idx == LC82C168) in tulip_init_one()
1406 if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) { in tulip_init_one()
1419 ioaddr = pcim_iomap(pdev, TULIP_BAR, tulip_tbl[chip_idx].io_size); in tulip_init_one()
1440 tp->chip_id = chip_idx; in tulip_init_one()
1441 tp->flags = tulip_tbl[chip_idx].flags; in tulip_init_one()
1446 if (chip_idx == COMET ) { in tulip_init_one()
[all …]
Dwinbond-840.c355 int chip_idx = ent->driver_data; in w840_probe1() local
395 np->chip_id = chip_idx; in w840_probe1()
396 np->drv_flags = pci_id_tbl[chip_idx].drv_flags; in w840_probe1()
433 pci_id_tbl[chip_idx].name, ioaddr, dev->dev_addr, irq); in w840_probe1()
/linux-6.6.21/sound/soc/codecs/
Drt9120.c80 int chip_idx; member
168 if (data->chip_idx == CHIP_IDX_RT9120S) { in rt9120_codec_probe()
490 data->chip_idx = CHIP_IDX_RT9120; in rt9120_check_vendor_info()
493 data->chip_idx = CHIP_IDX_RT9120S; in rt9120_check_vendor_info()
/linux-6.6.21/drivers/net/ethernet/8390/
Dne2k-pci.c233 int irq, reg0, chip_idx = ent->driver_data; in ne2k_pci_init_one() local
236 int flags = pci_clone_list[chip_idx].flags; in ne2k_pci_init_one()
369 ei_status.name = pci_clone_list[chip_idx].name; in ne2k_pci_init_one()
401 pci_clone_list[chip_idx].name, ioaddr, dev->irq, in ne2k_pci_init_one()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt792x_acpi_sar.c321 u8 chip_idx; in mt792x_acpi_get_flags() member
342 flags |= BIT(map[j].chip_idx); in mt792x_acpi_get_flags()
/linux-6.6.21/drivers/iio/light/
Dltr501.c1424 static const char *ltr501_match_acpi_device(struct device *dev, int *chip_idx) in ltr501_match_acpi_device() argument
1431 *chip_idx = id->driver_data; in ltr501_match_acpi_device()
1442 int ret, partid, chip_idx = 0; in ltr501_probe() local
1524 chip_idx = id->driver_data; in ltr501_probe()
1526 name = ltr501_match_acpi_device(&client->dev, &chip_idx); in ltr501_probe()
1531 data->chip_info = &ltr501_chip_info_tbl[chip_idx]; in ltr501_probe()
/linux-6.6.21/drivers/net/ethernet/smsc/
Depic100.c324 int chip_idx = (int) ent->driver_data; in epic_init_one() local
414 if (chip_idx == 1) in epic_init_one()
431 ep->chip_id = chip_idx; in epic_init_one()
432 ep->chip_flags = pci_id_tbl[chip_idx].drv_flags; in epic_init_one()
492 pci_id_tbl[chip_idx].name, in epic_init_one()
/linux-6.6.21/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()
435 np->chip_id = chip_idx; in yellowfin_init_one()
490 pci_id_tbl[chip_idx].name, in yellowfin_init_one()
/linux-6.6.21/drivers/net/ethernet/dlink/
Dsundance.c498 int chip_idx = ent->driver_data; in sundance_probe1() local
540 np->chip_id = chip_idx; in sundance_probe1()
583 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()
/linux-6.6.21/drivers/net/ethernet/adaptec/
Dstarfire.c642 int i, irq, chip_idx = ent->driver_data; in starfire_init_one() local
743 drv_flags = netdrv_tbl[chip_idx].drv_flags; in starfire_init_one()
784 dev->name, netdrv_tbl[chip_idx].name, base, in starfire_init_one()
/linux-6.6.21/drivers/net/ethernet/natsemi/
Dnatsemi.c806 int i, option, irq, chip_idx = ent->driver_data; in natsemi_probe1() local
882 np->eeprom_size = natsemi_pci_info[chip_idx].eeprom_size; in natsemi_probe1()
883 if (natsemi_pci_info[chip_idx].flags & NATSEMI_FLAG_IGNORE_PHY) in natsemi_probe1()
961 dev->name, natsemi_pci_info[chip_idx].name, in natsemi_probe1()
/linux-6.6.21/drivers/net/ethernet/3com/
D3c59x.c754 int chip_idx, int card_idx);
1089 int chip_idx, int card_idx) in vortex_probe1() argument
1099 struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx]; in vortex_probe1()