Home
last modified time | relevance | path

Searched refs:actual (Results 1 – 25 of 109) sorted by relevance

12345

/drivers/cpufreq/
Damd_freq_sensitivity.c33 u64 actual; member
46 struct msr actual, reference; in amd_powersave_bias_target() local
57 &actual.l, &actual.h); in amd_powersave_bias_target()
60 actual.h &= 0x00ffffff; in amd_powersave_bias_target()
64 if (actual.q < data->actual || reference.q < data->reference) { in amd_powersave_bias_target()
69 d_actual = actual.q - data->actual; in amd_powersave_bias_target()
106 data->actual = actual.q; in amd_powersave_bias_target()
/drivers/usb/class/
Dusbtmc.c149 int actual; in usbtmc_ioctl_abort_bulk_in() local
208 &actual, USBTMC_TIMEOUT); in usbtmc_ioctl_abort_bulk_in()
216 } while ((actual == max_size) && in usbtmc_ioctl_abort_bulk_in()
219 if (actual == max_size) { in usbtmc_ioctl_abort_bulk_in()
262 &actual, USBTMC_TIMEOUT); in usbtmc_ioctl_abort_bulk_in()
270 } while ((actual == max_size) && in usbtmc_ioctl_abort_bulk_in()
273 if (actual == max_size) { in usbtmc_ioctl_abort_bulk_in()
371 int actual; in usbtmc_read() local
421 buffer, 12, &actual, USBTMC_TIMEOUT); in usbtmc_read()
442 buffer, USBTMC_SIZE_IOBUFFER, &actual, in usbtmc_read()
[all …]
/drivers/usb/host/
Dehci-timer.c105 unsigned actual, want; in ehci_poll_ASS() local
112 actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS; in ehci_poll_ASS()
114 if (want != actual) { in ehci_poll_ASS()
122 want, actual); in ehci_poll_ASS()
151 unsigned actual, want; in ehci_poll_PSS() local
158 actual = ehci_readl(ehci, &ehci->regs->status) & STS_PSS; in ehci_poll_PSS()
160 if (want != actual) { in ehci_poll_PSS()
168 want, actual); in ehci_poll_PSS()
/drivers/usb/misc/
Dusb_u132.h75 int halted, int skipped, int actual, int non_null));
80 int halted, int skipped, int actual, int non_null));
85 int halted, int skipped, int actual, int non_null));
90 int halted, int skipped, int actual, int non_null));
95 int halted, int skipped, int actual, int non_null));
/drivers/usb/renesas_usbhs/
Dfifo.c90 pkt->actual = 0; in usbhs_pkt_push()
395 pkt->actual = pkt->length; in usbhs_dcp_dir_switch_done()
507 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_push()
508 len = pkt->length - pkt->actual; in usbhsf_pio_try_push()
531 pkt->actual += total_len; in usbhsf_pio_try_push()
533 if (pkt->actual < pkt->length) in usbhsf_pio_try_push()
551 pkt->length, pkt->actual, *is_done, pkt->zero); in usbhsf_pio_try_push()
629 buf = pkt->buf + pkt->actual; in usbhsf_pio_try_pop()
630 len = pkt->length - pkt->actual; in usbhsf_pio_try_pop()
639 pkt->actual += total_len; in usbhsf_pio_try_pop()
[all …]
/drivers/net/hamradio/
D6pack.c142 int actual, when = sp->slottime; in sp_xmit_on_air() local
151 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air()
152 sp->xleft -= actual; in sp_xmit_on_air()
153 sp->xhead += actual; in sp_xmit_on_air()
167 int actual, count; in sp_encaps() local
223 actual = sp->tty->ops->write(sp->tty, sp->xbuff, count); in sp_encaps()
224 sp->xleft = count - actual; in sp_encaps()
225 sp->xhead = sp->xbuff + actual; in sp_encaps()
426 int actual; in sixpack_write_wakeup() local
441 actual = tty->ops->write(tty, sp->xhead, sp->xleft); in sixpack_write_wakeup()
[all …]
Dmkiss.c438 int actual, count; in ax_encaps() local
519 actual = ax->tty->ops->write(ax->tty, ax->xbuff, count); in ax_encaps()
521 dev->stats.tx_bytes += actual; in ax_encaps()
524 ax->xleft = count - actual; in ax_encaps()
525 ax->xhead = ax->xbuff + actual; in ax_encaps()
963 int actual; in mkiss_write_wakeup() local
978 actual = tty->ops->write(tty, ax->xhead, ax->xleft); in mkiss_write_wakeup()
979 ax->xleft -= actual; in mkiss_write_wakeup()
980 ax->xhead += actual; in mkiss_write_wakeup()
/drivers/usb/musb/
Dmusb_gadget.c165 req->request.actual, req->request.length); in musb_g_giveback()
169 req->request.actual, req->request.length, in musb_g_giveback()
277 (int)(request->length - request->actual)); in txstate()
301 request_size = min_t(size_t, request->length - request->actual, in txstate()
318 request->dma + request->actual, request_size); in txstate()
385 request->dma + request->actual, in txstate()
398 request->dma + request->actual, in txstate()
412 (u8 *) (request->buf + request->actual)); in txstate()
413 request->actual += fifo_count; in txstate()
422 request->actual, request->length, in txstate()
[all …]
Dmusb_gadget_ep0.c499 void *buf = req->buf + req->actual; in ep0_rxstate()
500 unsigned len = req->length - req->actual; in ep0_rxstate()
510 req->actual += count; in ep0_rxstate()
513 if (count < 64 || req->actual == req->length) { in ep0_rxstate()
560 fifo_src = (u8 *) request->buf + request->actual; in ep0_txstate()
562 request->length - request->actual); in ep0_txstate()
564 request->actual += fifo_count; in ep0_txstate()
568 || (request->actual == request->length in ep0_txstate()
946 req->request.actual = 0; in musb_g_ep0_queue()
/drivers/i2c/busses/
Di2c-diolan-u2c.c105 int actual; in diolan_usb_transfer() local
113 dev->obuffer, dev->olen, &actual, in diolan_usb_transfer()
123 sizeof(dev->ibuffer), &actual, in diolan_usb_transfer()
133 if (ret == 0 && actual > 0) { in diolan_usb_transfer()
134 switch (dev->ibuffer[actual - 1]) { in diolan_usb_transfer()
148 ret = actual - 1; in diolan_usb_transfer()
209 int actual = 0; in diolan_flush_input() local
214 dev->ibuffer, sizeof(dev->ibuffer), &actual, in diolan_flush_input()
216 if (ret < 0 || actual == 0) in diolan_flush_input()
/drivers/net/irda/
Dsir_dev.c437 int actual = 0; in sirdev_write_complete() local
447 actual = dev->drv->do_write(dev, dev->tx_buff.data, dev->tx_buff.len); in sirdev_write_complete()
449 if (likely(actual>0)) { in sirdev_write_complete()
450 dev->tx_buff.data += actual; in sirdev_write_complete()
451 dev->tx_buff.len -= actual; in sirdev_write_complete()
453 else if (unlikely(actual<0)) { in sirdev_write_complete()
456 __func__, actual); in sirdev_write_complete()
592 int actual = 0; in sirdev_hard_xmit() local
655 actual = dev->drv->do_write(dev, dev->tx_buff.data, dev->tx_buff.len); in sirdev_hard_xmit()
657 if (likely(actual > 0)) { in sirdev_hard_xmit()
[all …]
/drivers/net/can/
Dslcan.c239 int actual, idx, i; in slc_encaps() local
270 actual = sl->tty->ops->write(sl->tty, sl->xbuff, strlen(sl->xbuff)); in slc_encaps()
271 sl->xleft = strlen(sl->xbuff) - actual; in slc_encaps()
272 sl->xhead = sl->xbuff + actual; in slc_encaps()
282 int actual; in slcan_write_wakeup() local
298 actual = tty->ops->write(tty, sl->xhead, sl->xleft); in slcan_write_wakeup()
299 sl->xleft -= actual; in slcan_write_wakeup()
300 sl->xhead += actual; in slcan_write_wakeup()
/drivers/usb/gadget/
Dgoku_udc.c319 req->req.actual, req->req.length); in done()
336 length = min(req->req.length - req->req.actual, max); in write_packet()
337 req->req.actual += length; in write_packet()
355 buf = req->req.buf + req->req.actual; in write_fifo()
381 if (likely(req->req.length != req->req.actual) in write_fifo()
391 req->req.length - req->req.actual, req); in write_fifo()
414 buf = req->req.buf + req->req.actual; in read_fifo()
428 bufferspace = req->req.length - req->req.actual; in read_fifo()
446 req->req.actual += size; in read_fifo()
451 req, req->req.actual, req->req.length); in read_fifo()
[all …]
Dpxa25x_udc.c346 req->req.actual, req->req.length); in done()
366 buf = req->req.buf + req->req.actual; in write_packet()
370 length = min(req->req.length - req->req.actual, max); in write_packet()
371 req->req.actual += length; in write_packet()
401 if (likely(req->req.length != req->req.actual) in write_fifo()
413 req->req.length - req->req.actual, req); in write_fifo()
465 req->req.length - req->req.actual, req); in write_ep0_fifo()
527 buf = req->req.buf + req->req.actual; in read_fifo()
529 bufferspace = req->req.length - req->req.actual; in read_fifo()
534 req->req.actual += min (count, bufferspace); in read_fifo()
[all …]
Df_uac1.c226 int actual; member
294 u_audio_playback(&audio->card, play_buf->buf, play_buf->actual); in f_audio_playback_work()
309 if (audio_buf_size - copy_buf->actual < req->actual) { in f_audio_out_ep_complete()
317 memcpy(copy_buf->buf + copy_buf->actual, req->buf, req->actual); in f_audio_out_ep_complete()
318 copy_buf->actual += req->actual; in f_audio_out_ep_complete()
Domap_udc.c314 req->req.actual, req->req.length); in done()
338 len = min(req->req.length - req->req.actual, max); in write_packet()
339 req->req.actual += len; in write_packet()
366 buf = req->req.buf + req->req.actual; in write_fifo()
382 else if (req->req.length == req->req.actual in write_fifo()
403 len = min(req->req.length - req->req.actual, avail); in read_packet()
404 req->req.actual += len; in read_packet()
427 buf = req->req.buf + req->req.actual; in read_fifo()
460 } else if (req->req.length == req->req.actual) in read_fifo()
521 unsigned length = req->req.length - req->req.actual; in next_in_dma()
[all …]
Dpxa27x_udc.c164 &req->req, req->req.actual, in queues_dbg_show()
756 req->req.actual, req->req.length); in req_done()
878 bufferspace = req->req.length - req->req.actual; in read_packet()
880 buf = (u32 *)(req->req.buf + req->req.actual); in read_packet()
890 req->req.actual += count; in read_packet()
916 buf = (u32 *)(req->req.buf + req->req.actual); in write_packet()
919 length = min(req->req.length - req->req.actual, max); in write_packet()
920 req->req.actual += length; in write_packet()
962 &req->req, req->req.actual, req->req.length); in read_fifo()
965 if (is_short || req->req.actual == req->req.length) { in read_fifo()
[all …]
/drivers/net/wan/
Dx25_asy.c220 int actual, count, mtu = sl->dev->mtu; in x25_asy_encaps() local
244 actual = sl->tty->ops->write(sl->tty, sl->xbuff, count); in x25_asy_encaps()
245 sl->xleft = count - actual; in x25_asy_encaps()
246 sl->xhead = sl->xbuff + actual; in x25_asy_encaps()
257 int actual; in x25_asy_write_wakeup() local
273 actual = tty->ops->write(tty, sl->xhead, sl->xleft); in x25_asy_write_wakeup()
274 sl->xleft -= actual; in x25_asy_write_wakeup()
275 sl->xhead += actual; in x25_asy_write_wakeup()
/drivers/bluetooth/
Dbt3c_cs.c161 int actual = 0; in bt3c_write() local
166 while (actual < len) { in bt3c_write()
168 bt3c_put(iobase, buf[actual]); in bt3c_write()
169 actual++; in bt3c_write()
172 bt3c_io_write(iobase, 0x7005, actual); in bt3c_write()
174 return actual; in bt3c_write()
Ddtl1_cs.c112 int actual = 0; in dtl1_write() local
119 while ((fifo_size-- > 0) && (actual < len)) { in dtl1_write()
121 outb(buf[actual], iobase + UART_TX); in dtl1_write()
122 actual++; in dtl1_write()
125 return actual; in dtl1_write()
Dbtuart_cs.c113 int actual = 0; in btuart_write() local
120 while ((fifo_size-- > 0) && (actual < len)) { in btuart_write()
122 outb(buf[actual], iobase + UART_TX); in btuart_write()
123 actual++; in btuart_write()
126 return actual; in btuart_write()
/drivers/usb/serial/
Diuu_phoenix.c282 int actual = 0; in bulk_immediate() local
290 count, &actual, 1000); in bulk_immediate()
303 int actual = 0; in read_immediate() local
310 count, &actual, 1000); in read_immediate()
792 u32 *actual, u8 parity) in iuu_uart_baud() argument
843 *actual = (T1FrekvensHZ / (256 - T1reload)) / 2; in iuu_uart_baud()
895 u32 actual; in iuu_set_termios() local
926 &actual, parity); in iuu_set_termios()
973 u32 actual; in iuu_open() local
1023 iuu_uart_baud(port, baud * boost / 100, &actual, in iuu_open()
[all …]
/drivers/mtd/devices/
Dm25p80.c481 size_t actual; in sst_write() local
506 actual = to % 2; in sst_write()
508 if (actual) { in sst_write()
520 to += actual; in sst_write()
527 for (; actual < len - 1; actual += 2) { in sst_write()
531 t[1].tx_buf = buf + actual; in sst_write()
547 if (actual != len) { in sst_write()
553 t[1].tx_buf = buf + actual; in sst_write()
/drivers/staging/gdm72xx/
Dusb_boot.c79 int actual; in gdm_wibro_send() local
82 &actual, 1000); in gdm_wibro_send()
95 int actual; in gdm_wibro_recv() local
98 &actual, 5000); in gdm_wibro_recv()
/drivers/tty/
Dn_hdlc.c378 register int actual; in n_hdlc_send_frames() local
404 actual = tty->ops->write(tty, tbuf->buf, tbuf->count); in n_hdlc_send_frames()
407 if (actual == -ERESTARTSYS) { in n_hdlc_send_frames()
413 if (actual < 0) in n_hdlc_send_frames()
414 actual = tbuf->count; in n_hdlc_send_frames()
416 if (actual == tbuf->count) { in n_hdlc_send_frames()

12345