Home
last modified time | relevance | path

Searched refs:got (Results 1 – 22 of 22) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_user_pages.c58 size_t got; in __qib_get_user_pages() local
68 for (got = 0; got < num_pages; got += ret) { in __qib_get_user_pages()
70 start_page + got * PAGE_SIZE, in __qib_get_user_pages()
71 num_pages - got, 1, 1, in __qib_get_user_pages()
72 p + got, vma); in __qib_get_user_pages()
83 __qib_release_user_pages(p, got, 0); in __qib_get_user_pages()
/drivers/infiniband/hw/ipath/
Dipath_user_pages.c60 size_t got; in __ipath_get_user_pages() local
73 for (got = 0; got < num_pages; got += ret) { in __ipath_get_user_pages()
75 start_page + got * PAGE_SIZE, in __ipath_get_user_pages()
76 num_pages - got, 1, 1, in __ipath_get_user_pages()
77 p + got, vma); in __ipath_get_user_pages()
88 __ipath_release_user_pages(p, got, 0); in __ipath_get_user_pages()
/drivers/tty/hvc/
Dhvc_beat.c47 u64 got; in hvc_beat_get_chars() local
65 if (beat_get_term_char(vtermno, &got, in hvc_beat_get_chars()
67 qlen = got; in hvc_beat_get_chars()
Dhvc_vio.c88 int got; in hvterm_raw_get_chars() local
114 got = min(count, pv->left); in hvterm_raw_get_chars()
115 memcpy(buf, &pv->buf[pv->offset], got); in hvterm_raw_get_chars()
116 pv->offset += got; in hvterm_raw_get_chars()
117 pv->left -= got; in hvterm_raw_get_chars()
121 return got; in hvterm_raw_get_chars()
Dhvcs.c594 int got = 0; in hvcs_io() local
613 got = hvc_get_chars(unit_address, in hvcs_io()
616 tty_insert_flip_string(&hvcsd->port, buf, got); in hvcs_io()
620 if (got) in hvcs_io()
625 if(got) in hvcs_io()
628 if (!got) { in hvcs_io()
Dhvsi.c231 unsigned long got; in hvsi_read() local
233 got = hvc_get_chars(hp->vtermno, buf, count); in hvsi_read()
235 return got; in hvsi_read()
/drivers/usb/misc/
Duss720.c480 size_t got = 0; in parport_uss720_epp_read_data() local
484 for (; got < length; got++) { in parport_uss720_epp_read_data()
494 return got; in parport_uss720_epp_read_data()
539 size_t got = 0; in parport_uss720_epp_read_addr() local
543 for (; got < length; got++) { in parport_uss720_epp_read_addr()
553 return got; in parport_uss720_epp_read_addr()
/drivers/input/serio/
Dhil_mlc.c450 #define EXPECT(comp, to, got, got_wrong, timed_out) \ argument
451 { HILSE_EXPECT, { .packet = comp }, to, got, got_wrong, timed_out },
452 #define EXPECT_LAST(comp, to, got, got_wrong, timed_out) \ argument
453 { HILSE_EXPECT_LAST, { .packet = comp }, to, got, got_wrong, timed_out },
454 #define EXPECT_DISC(comp, to, got, got_wrong, timed_out) \ argument
455 { HILSE_EXPECT_DISC, { .packet = comp }, to, got, got_wrong, timed_out },
456 #define IN(to, got, got_error, timed_out) \ argument
457 { HILSE_IN, { .packet = 0 }, to, got, got_error, timed_out },
/drivers/block/paride/
Dpg.c391 int got[5]; in pg_reset() local
404 got[i] = read_reg(dev, i + 1); in pg_reset()
406 err = memcmp(expect, got, sizeof(got)) ? -1 : 0; in pg_reset()
411 printk("%3x", got[i]); in pg_reset()
DTransition-notes73 we would have to be called for the PIA that got ->claimed_cont
/drivers/parport/
Dparport_pc.c268 size_t got = 0; in parport_pc_epp_read_data() local
280 while (!(status & 0x08) && got < length) { in parport_pc_epp_read_data()
288 got += 16; in parport_pc_epp_read_data()
294 got++; in parport_pc_epp_read_data()
305 return got; in parport_pc_epp_read_data()
318 for (; got < length; got++) { in parport_pc_epp_read_data()
328 return got; in parport_pc_epp_read_data()
362 size_t got = 0; in parport_pc_epp_read_addr() local
372 for (; got < length; got++) { in parport_pc_epp_read_addr()
381 return got; in parport_pc_epp_read_addr()
[all …]
Dparport_ip32.c1114 size_t got; in parport_ip32_epp_read() local
1124 got = len; in parport_ip32_epp_read()
1127 for (got = 0; got < len; got++) { in parport_ip32_epp_read()
1137 return got; in parport_ip32_epp_read()
/drivers/i2c/busses/
Di2c-s3c2410.c788 static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got) in s3c24xx_i2c_clockrate() argument
815 *got = freq; in s3c24xx_i2c_clockrate()
854 unsigned int got; in s3c24xx_i2c_cpufreq_transition() local
868 ret = s3c24xx_i2c_clockrate(i2c, &got); in s3c24xx_i2c_cpufreq_transition()
874 dev_info(i2c->dev, "setting freq %d\n", got); in s3c24xx_i2c_cpufreq_transition()
/drivers/net/wireless/libertas/
Ddebugfs.c229 struct mrvl_ie_thresholds *got; in lbs_threshold_read() local
255 got = lbs_tlv_find(tlv_type, subscribed->tlv, sizeof(subscribed->tlv)); in lbs_threshold_read()
256 if (got) { in lbs_threshold_read()
257 value = got->value; in lbs_threshold_read()
258 freq = got->freq; in lbs_threshold_read()
/drivers/media/parport/
Dbw-qcam.c570 int got = 0; in qc_capture() local
612 got++; in qc_capture()
638 if (got < len) in qc_capture()
639 return got; in qc_capture()
/drivers/staging/wlags49_h2/
DREADME.ubuntu136 I've got some good news for you/us/the world of Hermes :)
138 I got a reply from the legal representative at Agere confirming that
/drivers/scsi/
Dosst.c5332 int segs, nbr, max_segs, b_size, order, got; in enlarge_buffer() local
5368 for (segs=STbuffer->sg_segs=1, got=b_size; in enlarge_buffer()
5369 segs < max_segs && got < OS_FRAME_SIZE; ) { in enlarge_buffer()
5370 struct page *page = alloc_pages(priority, (OS_FRAME_SIZE - got <= PAGE_SIZE) ? 0 : order); in enlarge_buffer()
5376 STbuffer->buffer_size = got; in enlarge_buffer()
5381 …_set_page(&STbuffer->sg[segs], page, (OS_FRAME_SIZE - got <= PAGE_SIZE / 2) ? (OS_FRAME_SIZE - got in enlarge_buffer()
5382 got += STbuffer->sg[segs].length; in enlarge_buffer()
5383 STbuffer->buffer_size = got; in enlarge_buffer()
5390 got, STbuffer->orig_sg_segs, STbuffer->sg_segs, need_dma, STbuffer->b_data); in enlarge_buffer()
Dst.c3722 int segs, nbr, max_segs, b_size, order, got; in enlarge_buffer() local
3761 for (segs = STbuffer->frp_segs, got = STbuffer->buffer_size; in enlarge_buffer()
3762 segs < max_segs && got < new_size;) { in enlarge_buffer()
3767 DEB(STbuffer->buffer_size = got); in enlarge_buffer()
3773 got += b_size; in enlarge_buffer()
3774 STbuffer->buffer_size = got; in enlarge_buffer()
/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/
Dnv98.fuc135 // see which interrupts we got
/drivers/scsi/aic7xxx_old/
Daic7xxx.seq804 * We got a "command complete" message, so put the SCB_TAG into the QOUTFIFO,
1460 * We've emptied the fifo now, but we wouldn't have got
/drivers/scsi/aic7xxx/
Daic7xxx.seq285 * we've got a failed selection and must transition to bus
/drivers/staging/speakup/
Dspkguide.txt962 find that all the mappings you didn't include in your file got deleted