Home
last modified time | relevance | path

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

/drivers/usb/host/
Duhci-debug.c381 int nframes, nerrs; in uhci_sprint_schedule() local
412 nframes = 10; in uhci_sprint_schedule()
425 if (nframes > 0) { in uhci_sprint_schedule()
437 if (nframes > 0) { in uhci_sprint_schedule()
445 if (nframes > 0) { in uhci_sprint_schedule()
457 if (nframes > 0) { in uhci_sprint_schedule()
472 nframes -= j; in uhci_sprint_schedule()
/drivers/media/pci/ttpci/
Dav7110_ipack.c51 int nframes = 0; in send_ipack() local
72 nframes = (p->count - off - 3 - ac3_off) / in send_ipack()
76 p->buf[off + 1] = nframes; in send_ipack()
77 ac3_off += nframes * ai.framesize - p->count; in send_ipack()
/drivers/net/wireless/ath/ath9k/
Dxmit.c62 struct ath_tx_status *ts, int nframes, int nbad,
445 int *nframes, int *nbad) in ath_tx_count_frames() argument
454 *nframes = 0; in ath_tx_count_frames()
466 (*nframes)++; in ath_tx_count_frames()
494 int nframes; in ath_tx_complete_aggr() local
562 ath_tx_count_frames(sc, bf, ts, txok, &nframes, &nbad); in ath_tx_complete_aggr()
619 ath_tx_rc_status(sc, bf, ts, nframes, nbad, txok); in ath_tx_complete_aggr()
1032 int nframes = 0, ndelim; in ath_tx_form_aggr() local
1050 if (nframes) { in ath_tx_form_aggr()
1052 ath_lookup_legacy(bf) || nframes >= h_baw) in ath_tx_form_aggr()
[all …]
Dath9k.h618 u16 tids, int nframes,
/drivers/media/usb/gspca/
Dgspca.c515 gspca_dev->nframes = count; in frame_alloc()
542 for (i = 0; i < gspca_dev->nframes; i++) in frame_free()
545 gspca_dev->nframes = 0; in frame_free()
1186 if (gspca_dev->nframes != 0 in vidioc_s_fmt_vid_cap()
1413 for (i = 0; i < gspca_dev->nframes; i++) { in vidioc_reqbufs()
1432 if (gspca_dev->nframes != 0) in vidioc_reqbufs()
1438 rb->count = gspca_dev->nframes; in vidioc_reqbufs()
1454 if (v4l2_buf->index >= gspca_dev->nframes) in vidioc_querybuf()
1479 if (gspca_dev->nframes == 0 in vidioc_streamon()
1527 for (i = 0; i < gspca_dev->nframes; i++) in vidioc_streamoff()
[all …]
Dgspca.h186 char nframes; /* number of frames */ member
/drivers/isdn/i4l/
Disdn_v110.c460 int nframes; in isdn_v110_encode() local
476 nframes = (rlen + 3) / 4; in isdn_v110_encode()
478 if ((nframes * 40) > v->maxsize) { in isdn_v110_encode()
482 size = nframes * 40; in isdn_v110_encode()
/drivers/net/usb/
Dcdc_mbim.c417 int nframes; in cdc_mbim_rx_fixup() local
433 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_mbim_rx_fixup()
434 if (nframes < 0) in cdc_mbim_rx_fixup()
460 for (x = 0; x < nframes; x++, dpe16++) { in cdc_mbim_rx_fixup()
Dcdc_ncm.c1505 int nframes; in cdc_ncm_rx_fixup() local
1519 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1520 if (nframes < 0) in cdc_ncm_rx_fixup()
1533 for (x = 0; x < nframes; x++, dpe16++) { in cdc_ncm_rx_fixup()
/drivers/cdrom/
Dcdrom.c2127 int lba, int nframes) in cdrom_read_cdda_old() argument
2140 nr = nframes; in cdrom_read_cdda_old()
2153 while (nframes > 0) { in cdrom_read_cdda_old()
2154 if (nr > nframes) in cdrom_read_cdda_old()
2155 nr = nframes; in cdrom_read_cdda_old()
2165 nframes -= nr; in cdrom_read_cdda_old()
2173 int lba, int nframes) in cdrom_read_cdda_bpc() argument
2193 while (nframes) { in cdrom_read_cdda_bpc()
2194 nr = nframes; in cdrom_read_cdda_bpc()
2244 nframes -= nr; in cdrom_read_cdda_bpc()
[all …]
/drivers/block/aoe/
Daoecmd.c822 if (ifp && ++ifp->lost > (t->nframes << 1) in rexmit_timer()
1023 if (!t || t->maxout >= t->nframes) in calc_rttavg()
1464 addtgt(struct aoedev *d, char *addr, ulong nframes) in addtgt() argument
1481 t->nframes = nframes; in addtgt()
1486 t->maxout = t->nframes / 2; in addtgt()
1597 t->nframes = n; in aoecmd_cfg_rsp()
1632 t->ssthresh = t->nframes / 2; in aoecmd_wreset()
1633 t->next_cwnd = t->nframes; in aoecmd_wreset()
Daoe.h135 ushort nframes; /* cap on frames to use */ member
Daoeblk.c139 (*t)->maxout, (*t)->nframes); in aoedisk_debugfs_show()
/drivers/media/usb/uvc/
Duvc_driver.c512 format->nframes = 1; in uvc_parse_format()
536 frame = &format->frame[format->nframes]; in uvc_parse_format()
614 format->nframes++; in uvc_parse_format()
653 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
787 nframes++; in uvc_parse_streaming()
801 nframes++; in uvc_parse_streaming()
807 nframes++; in uvc_parse_streaming()
824 size = nformats * sizeof *format + nframes * sizeof *frame in uvc_parse_streaming()
833 interval = (__u32 *)&frame[nframes]; in uvc_parse_streaming()
851 frame += format->nframes; in uvc_parse_streaming()
Duvc_v4l2.c199 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
1165 if (fsize->index >= format->nframes) in uvc_ioctl_enum_framesizes()
1194 for (i = 0; i < format->nframes; i++) { in uvc_ioctl_enum_frameintervals()
Duvc_video.c106 for (i = 0; i < format->nframes; ++i) { in uvc_fixup_video_ctrl()
1831 if (format->nframes == 0) { in uvc_video_init()
1842 for (i = format->nframes; i > 0; --i) { in uvc_video_init()
Duvcvideo.h364 unsigned int nframes; member
/drivers/scsi/
Dosst.c1479 int nframes = STp->cur_frames; in osst_read_back_buffer_and_rewrite() local
1482 - (nframes + pending - 1); in osst_read_back_buffer_and_rewrite()
1484 - (nframes + pending - 1) * blks_per_frame; in osst_read_back_buffer_and_rewrite()
1491 if ((buffer = vmalloc((nframes + 1) * OS_DATA_SIZE)) == NULL) in osst_read_back_buffer_and_rewrite()
1495 name, nframes, pending?" and one that was pending":""); in osst_read_back_buffer_and_rewrite()
1497 osst_copy_from_buffer(STp->buffer, (p = &buffer[nframes * OS_DATA_SIZE])); in osst_read_back_buffer_and_rewrite()
1501 name, frame_seq_number + nframes, in osst_read_back_buffer_and_rewrite()
1502 logical_blk_num + nframes * blks_per_frame, in osst_read_back_buffer_and_rewrite()
1505 for (i = 0, p = buffer; i < nframes; i++, p += OS_DATA_SIZE) { in osst_read_back_buffer_and_rewrite()
1538 for (flag=1, new_frame=frame, p=buffer, i=0; i < nframes + pending; ) { in osst_read_back_buffer_and_rewrite()
[all …]