Home
last modified time | relevance | path

Searched refs:num_alt (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/media/usb/cx231xx/
Dcx231xx-cards.c1571 dev->video_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1576 dev->video_mode.num_alt); in cx231xx_init_v4l2()
1578 …dev->video_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->video_mode.num_alt, GFP… in cx231xx_init_v4l2()
1582 for (i = 0; i < dev->video_mode.num_alt; i++) { in cx231xx_init_v4l2()
1612 dev->vbi_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1616 dev->vbi_mode.num_alt); in cx231xx_init_v4l2()
1619 …dev->vbi_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->vbi_mode.num_alt, GFP_KER… in cx231xx_init_v4l2()
1623 for (i = 0; i < dev->vbi_mode.num_alt; i++) { in cx231xx_init_v4l2()
1656 dev->sliced_cc_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1660 dev->sliced_cc_mode.num_alt); in cx231xx_init_v4l2()
[all …]
Dcx231xx-audio.c623 adev->num_alt = uif->num_altsetting; in cx231xx_audio_init()
626 adev->end_point_addr, adev->num_alt); in cx231xx_audio_init()
627 adev->alt_max_pkt_size = kmalloc_array(32, adev->num_alt, GFP_KERNEL); in cx231xx_audio_init()
633 for (i = 0; i < adev->num_alt; i++) { in cx231xx_audio_init()
Dcx231xx.h423 int num_alt; /* Number of alternative settings */ member
505 int num_alt; /* Number of alternative settings */ member
/linux-6.1.9/arch/powerpc/perf/
Disa207-common.c758 int i, j, num_alt = 0; in isa207_get_alternatives() local
761 alt[num_alt++] = event; in isa207_get_alternatives()
768 alt[num_alt++] = alt_event; in isa207_get_alternatives()
777 j = num_alt; in isa207_get_alternatives()
778 for (i = 0; i < num_alt; ++i) { in isa207_get_alternatives()
794 num_alt = j; in isa207_get_alternatives()
797 return num_alt; in isa207_get_alternatives()
Dgeneric-compat-pmu.c94 int num_alt = 0; in generic_get_alternatives() local
96 num_alt = isa207_get_alternatives(event, alt, in generic_get_alternatives()
100 return num_alt; in generic_get_alternatives()
Dpower8-pmu.c114 int num_alt = 0; in power8_get_alternatives() local
116 num_alt = isa207_get_alternatives(event, alt, in power8_get_alternatives()
120 return num_alt; in power8_get_alternatives()
Dpower9-pmu.c145 int num_alt = 0; in power9_get_alternatives() local
147 num_alt = isa207_get_alternatives(event, alt, in power9_get_alternatives()
151 return num_alt; in power9_get_alternatives()
Dpower10-pmu.c100 int num_alt = 0; in power10_get_alternatives() local
102 num_alt = isa207_get_alternatives(event, alt, in power10_get_alternatives()
106 return num_alt; in power10_get_alternatives()
/linux-6.1.9/drivers/media/usb/stk1160/
Dstk1160.h139 int num_alt; member
Dstk1160-core.c307 dev->num_alt = interface->num_altsetting; in stk1160_probe()
Dstk1160-v4l.c173 for (i = 0; i < dev->num_alt; i++) { in stk1160_set_alternate()
/linux-6.1.9/drivers/media/usb/au0828/
Dau0828.h254 int num_alt; /* Number of alternative settings */ member
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx.h731 int num_alt; // number of alternative settings member
Dem28xx-video.c361 if (alt > 0 && alt < dev->num_alt) { in em28xx_set_alternate()
377 for (i = 0; i < dev->num_alt; i++) { in em28xx_set_alternate()
Dem28xx-cards.c3972 dev->num_alt = intf->num_altsetting; in em28xx_usb_probe()
/linux-6.1.9/drivers/net/ethernet/sun/
Dniu.c4766 int i, err, num_alt = niu_num_alt_addr(np); in niu_init_hostinfo() local
4777 for (i = 0; i < num_alt; i++) { in niu_init_hostinfo()