Home
last modified time | relevance | path

Searched refs:sof (Results 1 – 24 of 24) sorted by relevance

/drivers/media/video/gspca/
Dsn9c2028.c673 unsigned char *sof; in sd_pkt_scan() local
675 sof = sn9c2028_find_sof(gspca_dev, data, len); in sd_pkt_scan()
676 if (sof) { in sd_pkt_scan()
680 n = sof - data; in sd_pkt_scan()
689 len -= sof - data; in sd_pkt_scan()
690 data = sof; in sd_pkt_scan()
Dpac207.c345 unsigned char *sof; in sd_pkt_scan() local
347 sof = pac_find_sof(&sd->sof_read, data, len); in sd_pkt_scan()
348 if (sof) { in sd_pkt_scan()
352 n = sof - data; in sd_pkt_scan()
361 len -= sof - data; in sd_pkt_scan()
362 data = sof; in sd_pkt_scan()
Dpac7311.c625 unsigned char *sof; in sd_pkt_scan() local
627 sof = pac_find_sof(&sd->sof_read, data, len); in sd_pkt_scan()
628 if (sof) { in sd_pkt_scan()
639 n = (sof - data) - (footer_length + sizeof pac_sof_marker); in sd_pkt_scan()
652 n = sof - data; in sd_pkt_scan()
654 data = sof; in sd_pkt_scan()
Dpac7302.c789 u8 *sof; in sd_pkt_scan() local
791 sof = pac_find_sof(&sd->sof_read, data, len); in sd_pkt_scan()
792 if (sof) { in sd_pkt_scan()
803 n = (sof - data) - (footer_length + sizeof pac_sof_marker); in sd_pkt_scan()
817 n = sof - data; in sd_pkt_scan()
819 data = sof; in sd_pkt_scan()
Dsonixb.c1329 u8 *sof; in sd_pkt_scan() local
1331 sof = find_sof(gspca_dev, data, len); in sd_pkt_scan()
1332 if (sof) { in sd_pkt_scan()
1341 len_after_sof = len - (sof - data); in sd_pkt_scan()
1342 len = (sof - data) - fr_h_sz; in sd_pkt_scan()
1360 if (sof) { in sd_pkt_scan()
1384 gspca_frame_add(gspca_dev, FIRST_PACKET, sof, len_after_sof); in sd_pkt_scan()
Dsunplus.c926 int i, sof = 0; in sd_pkt_scan() local
937 sof = 1; in sd_pkt_scan()
947 sof = 1; in sd_pkt_scan()
960 sof = 1; in sd_pkt_scan()
976 sof = 1; in sd_pkt_scan()
990 if (sof) { /* start of frame */ in sd_pkt_scan()
Dmr97310a.c1198 unsigned char *sof; in sd_pkt_scan() local
1200 sof = pac_find_sof(&sd->sof_read, data, len); in sd_pkt_scan()
1201 if (sof) { in sd_pkt_scan()
1205 n = sof - data; in sd_pkt_scan()
1215 len -= sof - data; in sd_pkt_scan()
1216 data = sof; in sd_pkt_scan()
Dkinect.c347 uint8_t sof = sd->stream_flag | 1; in sd_pkt_scan() local
360 if (hdr->flag == sof) in sd_pkt_scan()
Dxirlink_cit.c3036 unsigned char *sof; in sd_pkt_scan() local
3038 sof = cit_find_sof(gspca_dev, data, len); in sd_pkt_scan()
3039 if (sof) { in sd_pkt_scan()
3043 n = sof - data; in sd_pkt_scan()
3051 len -= sof - data; in sd_pkt_scan()
3052 data = sof; in sd_pkt_scan()
/drivers/scsi/fnic/
Dcq_exch_desc.h65 u8 sof; member
97 u8 *sof, in cq_fcp_rq_desc_dec() argument
126 *sof = desc_ptr->sof; in cq_fcp_rq_desc_dec()
Dfnic_fcs.c307 u8 sof = 0; in fnic_rq_cmpl_frame_recv() local
323 &tmpl, &fcp_bytes_written, &sof, &eof, in fnic_rq_cmpl_frame_recv()
329 fr_sof(fp) = sof; in fnic_rq_cmpl_frame_recv()
/drivers/media/video/sn9c102/
Dsn9c102_core.c540 if (unlikely(cam->sof.bytesread >= sizeof(marker))) { in sn9c102_find_sof_header()
541 cam->sof.header[cam->sof.bytesread] = *(m+i); in sn9c102_find_sof_header()
542 if (++cam->sof.bytesread == soflen) { in sn9c102_find_sof_header()
543 cam->sof.bytesread = 0; in sn9c102_find_sof_header()
550 for (j = 0, b=cam->sof.bytesread; j+b < sizeof(marker); j++) { in sn9c102_find_sof_header()
553 if (*(m+i+j) == marker[cam->sof.bytesread]) { in sn9c102_find_sof_header()
554 cam->sof.header[cam->sof.bytesread] = *(m+i+j); in sn9c102_find_sof_header()
555 if (++cam->sof.bytesread == sizeof(marker)) { in sn9c102_find_sof_header()
562 cam->sof.bytesread = 0; in sn9c102_find_sof_header()
705 cam->sof.bytesread = 0; in sn9c102_urb_complete()
[all …]
Dsn9c102.h121 struct sn9c102_sof_t sof; member
/drivers/media/video/uvc/
Duvc_video.c605 u32 sof; in uvc_video_clock_update() local
634 sof = y; in uvc_video_clock_update()
640 sof >> 16, div_u64(((u64)sof & 0xffff) * 1000000LLU, 65536), in uvc_video_clock_update()
661 if (mean - (1024 << 16) > sof) in uvc_video_clock_update()
662 sof += 2048 << 16; in uvc_video_clock_update()
663 else if (sof > mean + (1024 << 16)) in uvc_video_clock_update()
664 sof -= 2048 << 16; in uvc_video_clock_update()
666 y = (u64)(y2 - y1) * (u64)sof + (u64)y1 * (u64)x2 in uvc_video_clock_update()
681 sof >> 16, div_u64(((u64)sof & 0xffff) * 1000000LLU, 65536), in uvc_video_clock_update()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c467 u8 sof, eof; in ixgbe_fso() local
481 sof = ((struct fcoe_hdr *)skb_network_header(skb))->fcoe_sof; in ixgbe_fso()
482 switch (sof) { in ixgbe_fso()
496 dev_warn(tx_ring->dev, "unknown sof = 0x%x\n", sof); in ixgbe_fso()
/drivers/usb/host/
Duhci-debug.c296 unsigned char sof; in uhci_show_status() local
308 sof = uhci_readb(uhci, 12); in uhci_show_status()
336 out += sprintf(out, " sof = %02x\n", sof); in uhci_show_status()
Dimx21-hcd.c1299 static void process_etds(struct usb_hcd *hcd, struct imx21 *imx21, int sof) in process_etds() argument
1339 if (!sof || enabled || !etd->active_count) in process_etds()
/drivers/scsi/arm/
Dfas216.c217 info->device[i].sof, info->device[i].sync_state); in fas216_dumpinfo()
474 fas216_writeb(info, REG_SOF, info->device[target].sof); in fas216_set_sync()
598 dev->sof = msg[4]; in fas216_handlesync()
611 dev->sof = 0; in fas216_handlesync()
771 if (info->device[info->SCpnt->device->id].sof) in fas216_transfer()
1611 info->device[i].sof = 0; in fas216_bus_reset()
3018 if (dev->sof) in fas216_print_devices()
3020 dev->sof, dev->period * 4); in fas216_print_devices()
Dfas216.h295 unsigned char sof; /* synchronous offset register */ member
/drivers/media/video/et61x251/
Det61x251_core.c371 u8* b1, * b2, sof; in et61x251_urb_complete() local
387 sof = ((*b1 & 0x3f) == 63); in et61x251_urb_complete()
395 if (sof) { in et61x251_urb_complete()
404 if (sof && (*f)->buf.bytesused) { in et61x251_urb_complete()
449 if (sof && in et61x251_urb_complete()
/drivers/scsi/libfc/
Dfc_exch.c1426 enum fc_sof sof; in fc_exch_recv_seq_resp() local
1452 sof = fr_sof(fp); in fc_exch_recv_seq_resp()
1454 if (fc_sof_is_init(sof)) { in fc_exch_recv_seq_resp()
1467 if (fc_sof_needs_ack(sof)) in fc_exch_recv_seq_resp()
/drivers/scsi/fcoe/
Dfcoe.c1527 u8 sof, eof; in fcoe_xmit() local
1545 sof = fr_sof(fp); in fcoe_xmit()
1619 hp->fcoe_sof = sof; in fcoe_xmit()
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c252 u8 sof, eof; in bnx2fc_xmit() local
280 sof = fr_sof(fp); in bnx2fc_xmit()
364 hp->fcoe_sof = sof; in bnx2fc_xmit()
/drivers/usb/gadget/
Domap_udc.c1190 u16 sof = omap_readw(UDC_SOF); in omap_get_frame() local
1191 return (sof & UDC_TS_OK) ? (sof & UDC_TS) : -EL2NSYNC; in omap_get_frame()