Searched defs:first (Results 51 - 75 of 205) sorted by path

123456789

/drivers/macintosh/
H A Dwindfarm_pid.h36 int first; /* first run of the loop */ member in struct:wf_pid_state
71 int first; /* first run of the loop */ member in struct:wf_cpu_pid_state
H A Dwindfarm_pm72.c130 static bool first = true; local
147 * The first time around, initialize the array with the first
150 if (first) {
158 first = false;
505 /* first time initialize things */
584 /* first time initialize things */
H A Dwindfarm_rm31.c124 static bool first = true; local
141 * The first time around, initialize the array with the first
144 if (first) {
152 first = false;
422 /* first time initialize things */
489 /* first time initialize things */
/drivers/md/
H A Dmultipath.c40 * now we use the first available disk.
173 * first available device
193 * first check if this is a queued request for a device
250 int first = 0; local
254 first = last = rdev->raid_disk;
258 for (path = first; path <= last; path++)
H A Draid1.c50 * device without failing the first device, or trying to over-write to
118 * the first bio.
529 * We take the first readable disk when above the resync window.
562 * use the first as a last resort */
630 * first disk has IO size exceeds optimal iosize. In
631 * this way, iosize of the first disk will be optimal
634 * starts IO, the first disk is likely still busy.
1244 /* first select target devices under rcu_lock and
1612 int first = 0; local
1620 first
[all...]
H A Draid10.c79 * device without failing the first device, or trying to over-write to
537 * first chunk, followed by near_copies copies of the next chunk and
568 /* now calculate first sector/dev */
808 * the resync window. We take the first readable disk when
1303 /* first select target devices under rcu_lock and
1619 int first = 0; local
1634 int this = first;
1645 first = (first + ncopies) % disks;
1646 } while (first !
1788 int first = 0; local
2049 int i, first; local
3619 int first = 1; local
4073 int first = 1; local
[all...]
H A Draid5.c25 * subtle (and I got it wrong the first time) so it deserves some
186 /* Find first data disk in a raid6 stripe */
190 /* ddf always start from first device */
470 struct list_head *first; local
474 first = (conf->inactive_list + hash)->next;
475 sh = list_entry(first, struct stripe_head, lru);
476 list_del_init(first);
829 * increment it first.
2343 /* Same a left_asymmetric, by first stripe is
2627 * toread/towrite point to the first i
5919 int first = 1; local
6418 int first = 0; local
[all...]
/drivers/media/common/siano/
H A Dsmscoreapi.c542 struct list_head *next, *first; local
551 first = &g_smscore_devices;
552 for (next = first->next;
553 next != first && !rc;
582 struct list_head *next, *first; local
586 first = &g_smscore_notifyees;
588 for (next = first->next; next != first;) {
1105 * table. if 0, try first to get from sms_boards
1274 sms_err("MSG_SMS_GET_VERSION_EX_REQ failed first tr
1452 struct list_head *first; local
[all...]
/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h957 * o major number = bits 31-20 (first three nibbles of MSW)
1065 s32 first; member in struct:drx_frequency_plan
1074 /**< First channel number in this band, or first
/drivers/media/dvb-frontends/
H A Dl64781.c38 unsigned int first:1; member in struct:l64781_state
475 /* delay a bit after first init attempt */
476 if (state->first) {
477 state->first = 0;
518 state->first = 1;
/drivers/media/i2c/
H A Ds5k5baf.c1440 enum selection_rect first,
1444 enum selection_rect i = first;
1446 *rects[first] = *v;
1452 *v = *rects[first];
1439 s5k5baf_set_rect_and_adjust(struct v4l2_rect **rects, enum selection_rect first, struct v4l2_rect *v) argument
/drivers/media/pci/ivtv/
H A Divtv-driver.h74 #define IVTV_ENCODER_SIZE 0x00800000 /* Total size is 0x01000000, but only first half is used */
76 #define IVTV_DECODER_SIZE 0x00800000 /* Total size is 0x01000000, but only first half is used */
260 #define IVTV_F_I_INITED 21 /* set after first open */
261 #define IVTV_F_I_FAILED 22 /* set if first open failed */
267 #define IVTV_F_I_EV_VSYNC_FIELD 30 /* VSYNC event field (0 = first, 1 = second field) */
301 unsigned long first; member in struct:ivtv_dma_page_info
328 /* These first four fields are always set, even if the stream
549 u32 start[2]; /* start of first VBI line in the odd/even fields */
587 The first byte is a dummy byte that's never used.
H A Divtv-udma.c26 void ivtv_udma_get_page_info(struct ivtv_dma_page_info *dma_page, unsigned long first, unsigned long size) argument
28 dma_page->uaddr = first & PAGE_MASK;
29 dma_page->offset = first & ~PAGE_MASK;
30 dma_page->tail = 1 + ((first+size-1) & ~PAGE_MASK);
31 dma_page->first = (first & PAGE_MASK) >> PAGE_SHIFT;
32 dma_page->last = ((first+size-1) & PAGE_MASK) >> PAGE_SHIFT;
33 dma_page->page_count = dma_page->last - dma_page->first + 1;
/drivers/media/pci/ttpci/
H A Dav7110_hw.c234 /* FIXME: Why does Nexus CA require 2x iwdebi for first init? */
982 static int OSDSetPalette(struct av7110 *av7110, u32 __user * colors, u8 first, u8 last) argument
985 int length = last - first + 1;
1004 first, last);
/drivers/media/pci/zoran/
H A Dzoran_driver.c292 * I don't understand why many other drivers first allocate them with
754 /* Start the jpeg codec when the first frame is queued */
1151 "%s: %s - frame buffer has to be set first\n",
2265 /* Start the jpeg codec when the first frame is queued */
2856 int first, last; local
2885 first = offset / fh->buffers.buffer_size;
2886 last = first - 1 + size / fh->buffers.buffer_size;
2888 size % fh->buffers.buffer_size != 0 || first < 0 ||
2889 last < 0 || first >= fh->buffers.num_buffers ||
2902 for (i = first;
[all...]
/drivers/media/platform/
H A Dfsl-viu.c123 /* common v4l buffer stuff -- must be first */
169 int first; member in struct:viu_dev
365 dprintk(2, "[%p/%d] restart_queue - first active\n",
557 dprintk(2, "[%p/%d] buffer_queue - first active\n",
575 dprintk(2, "[%p/%d] buffer_queue - first queued\n",
1146 if (unlikely(dev->first)) {
1148 dev->first = 0;
1149 dprintk(1, "activate first buf\n");
1552 viu_dev->first = 1;
/drivers/media/platform/omap3isp/
H A Disp.c303 * The first argument is NULL in order to avoid circular
734 struct media_entity *first = entity; local
749 media_entity_graph_walk_start(&graph, first);
751 while ((first = media_entity_graph_walk_next(&graph))
752 && first != entity)
753 if (media_entity_type(first) != MEDIA_ENT_T_DEVNODE)
754 isp_pipeline_pm_power_one(first, -change);
966 * We need to stop all the modules after CCDC first or they'll
1569 * Initializes the clocks for the first acquire.
1571 * Increment the reference count on the ISP. If the first referenc
1799 unsigned int first; local
[all...]
/drivers/media/platform/vivid/
H A Dvivid-tpg.c986 unsigned first = 0; local
1006 first = 1;
1018 for (line = first; line < 16; line += step) { \
1335 * Replace the first half of the top line of a 50 Hz frame
/drivers/media/rc/
H A Drc-core-priv.h77 bool first; member in struct:ir_raw_event_ctrl::jvc_dec
/drivers/media/usb/au0828/
H A Dau0828-input.c130 bool first = true; local
166 * Fix an au8522 bug: the first pulse event
170 * protocol, based on the first space.
174 if (first) {
175 first = false;
/drivers/media/usb/uvc/
H A Duvc_ctrl.c396 unsigned int first = mapping->offset / 8; local
397 __s8 rel = (__s8)data[first];
401 return (rel == 0) ? 0 : (rel > 0 ? data[first+1]
402 : -data[first+1]);
404 return -data[first+1];
409 return data[first+1];
416 unsigned int first = mapping->offset / 8; local
418 data[first] = value == 0 ? 0 : (value > 0) ? 1 : 0xff;
419 data[first+1] = min_t(int, abs(value), 0xff);
2110 * first us
[all...]
H A Duvc_video.c302 * first generation UVC Logitech webcams, don't implement the Video
440 * The offset is estimated the first time a device SOF value is received
597 * Finally we subtract a constant from the host timestamps to bring the first
605 struct uvc_clock_sample *first; local
623 first = &clock->samples[clock->head];
628 x1 = first->dev_stc - delta_stc;
633 y1 = (first->dev_sof + 2048) << 16;
652 x1 = (uvc_video_clock_host_sof(first) + 2048) << 16;
659 ts = timespec_sub(last->host_ts, first->host_ts);
679 ts.tv_sec = first
[all...]
/drivers/media/v4l2-core/
H A Dvideobuf-dma-sg.c158 unsigned long first, last; local
173 first = (data & PAGE_MASK) >> PAGE_SHIFT;
177 dma->nr_pages = last-first+1;
598 unsigned int first, last, size = 0, i; local
606 /* look for first buffer to map */
607 for (first = 0; first < VIDEO_MAX_FRAME; first++) {
608 if (buf == q->bufs[first]) {
609 size = PAGE_ALIGN(q->bufs[first]
[all...]
H A Dvideobuf2-dma-sg.c168 unsigned long first, last; local
181 first = (vaddr & PAGE_MASK) >> PAGE_SHIFT;
183 buf->num_pages = last - first + 1;
H A Dvideobuf2-vmalloc.c76 unsigned long first, last; local
99 first = vaddr >> PAGE_SHIFT;
101 buf->n_pages = last - first + 1;

Completed in 411 milliseconds

123456789