Home
last modified time | relevance | path

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

/drivers/media/video/gspca/
Dsonixj.c1523 int sof, avg_lum; in sd_pkt_scan() local
1525 sof = len - 64; in sd_pkt_scan()
1526 if (sof >= 0 && data[sof] == 0xff && data[sof + 1] == 0xd9) { in sd_pkt_scan()
1530 frame, data, sof + 2); in sd_pkt_scan()
1537 avg_lum = ((data[sof + 29] << 8) | data[sof + 30]) >> 6; in sd_pkt_scan()
1539 avg_lum += ((data[sof + 33] << 8) | data[sof + 34]) >> 6; in sd_pkt_scan()
1541 avg_lum += ((data[sof + 25] << 8) | data[sof + 26]) >> 6; in sd_pkt_scan()
1543 avg_lum += ((data[sof + 37] << 8) | data[sof + 38]) >> 6; in sd_pkt_scan()
1545 avg_lum += ((data[sof + 31] << 8) | data[sof + 32]) >> 4; in sd_pkt_scan()
Dpac207.c361 unsigned char *sof; in sd_pkt_scan() local
363 sof = pac_find_sof(gspca_dev, data, len); in sd_pkt_scan()
364 if (sof) { in sd_pkt_scan()
368 n = sof - data; in sd_pkt_scan()
377 len -= sof - data; in sd_pkt_scan()
378 data = sof; in sd_pkt_scan()
Dpac7311.c817 unsigned char *sof; in sd_pkt_scan() local
819 sof = pac_find_sof(gspca_dev, data, len); in sd_pkt_scan()
820 if (sof) { in sd_pkt_scan()
837 n = (sof - data) - (footer_length + sizeof pac_sof_marker); in sd_pkt_scan()
850 n = sof - data; in sd_pkt_scan()
852 data = sof; in sd_pkt_scan()
Dsunplus.c1088 int i, sof = 0; in sd_pkt_scan() local
1100 sof = 1; in sd_pkt_scan()
1110 sof = 1; in sd_pkt_scan()
1123 sof = 1; in sd_pkt_scan()
1139 sof = 1; in sd_pkt_scan()
1153 if (sof) { /* start of frame */ in sd_pkt_scan()
/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.h122 struct sn9c102_sof_t sof; member
/drivers/usb/host/
Duhci-debug.c290 unsigned char sof; in uhci_show_status() local
302 sof = inb(io_addr + 12); in uhci_show_status()
330 out += sprintf(out, " sof = %02x\n", sof); in uhci_show_status()
/drivers/scsi/libfc/
Dfc_exch.c1105 enum fc_sof sof; in fc_exch_recv_req() local
1115 sof = fr_sof(fp); in fc_exch_recv_req()
1151 enum fc_sof sof; in fc_exch_recv_seq_resp() local
1173 sof = fr_sof(fp); in fc_exch_recv_seq_resp()
1174 if (fc_sof_is_init(sof)) { in fc_exch_recv_seq_resp()
1190 if (fc_sof_needs_ack(sof)) in fc_exch_recv_seq_resp()
/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()
3014 if (dev->sof) in fas216_print_devices()
3016 dev->sof, dev->period * 4); in fas216_print_devices()
Dfas216.h299 unsigned char sof; /* synchronous offset register */ member
/drivers/scsi/fcoe/
Dlibfcoe.c384 u8 sof, eof; in fcoe_xmit() local
415 sof = fr_sof(fp); in fcoe_xmit()
484 hp->fcoe_sof = sof; in fcoe_xmit()
/drivers/media/video/zc0301/
Dzc0301_core.c350 u8 sof; in zc0301_urb_complete() local
362 sof = (*(soi = pos) == 0xd8ff); in zc0301_urb_complete()
368 if (sof) { in zc0301_urb_complete()
376 if (sof && (*f)->buf.bytesused) in zc0301_urb_complete()
409 if (sof) in zc0301_urb_complete()
/drivers/ieee1394/
Ddv1394.c2008 int sof=0; /* start-of-frame flag */ in ir_tasklet_func() local
2051 sof = ( (p->data[0] >> 5) == 0 && (p->data[1] >> 4) == 0); in ir_tasklet_func()
2065 if (sof) { in ir_tasklet_func()
2069 } else if (sof) { in ir_tasklet_func()
2089 if (sof) { in ir_tasklet_func()
/drivers/media/video/et61x251/
Det61x251_core.c369 u8* b1, * b2, sof; in et61x251_urb_complete() local
385 sof = ((*b1 & 0x3f) == 63); in et61x251_urb_complete()
393 if (sof) { in et61x251_urb_complete()
402 if (sof && (*f)->buf.bytesused) { in et61x251_urb_complete()
447 if (sof && in et61x251_urb_complete()
/drivers/usb/gadget/
Domap_udc.c1200 u16 sof = omap_readw(UDC_SOF); in omap_get_frame() local
1201 return (sof & UDC_TS_OK) ? (sof & UDC_TS) : -EL2NSYNC; in omap_get_frame()
/drivers/media/video/
Dov511.c3385 goto sof; in ov518_move_data()
3439 sof: in ov518_move_data()