Home
last modified time | relevance | path

Searched refs:bytes_left (Results 1 – 9 of 9) sorted by relevance

/drivers/uwb/
Dhwa-rc.c123 size_t bytes_left, ielength; in hwarc_filter_evt_beacon_WUSB_0100() local
127 bytes_left = buf_size; in hwarc_filter_evt_beacon_WUSB_0100()
128 if (bytes_left < sizeof(*be)) { in hwarc_filter_evt_beacon_WUSB_0100()
131 bytes_left, sizeof(*be)); in hwarc_filter_evt_beacon_WUSB_0100()
134 bytes_left -= sizeof(*be); in hwarc_filter_evt_beacon_WUSB_0100()
136 if (bytes_left < ielength) { in hwarc_filter_evt_beacon_WUSB_0100()
139 bytes_left, ielength); in hwarc_filter_evt_beacon_WUSB_0100()
182 size_t bytes_left, ielength; in hwarc_filter_evt_drp_avail_WUSB_0100() local
187 bytes_left = buf_size; in hwarc_filter_evt_drp_avail_WUSB_0100()
188 if (bytes_left < sizeof(*da)) { in hwarc_filter_evt_drp_avail_WUSB_0100()
[all …]
Ddrp.c769 size_t ielength, bytes_left; in uwbd_evt_handle_rc_drp() local
781 bytes_left = evt->notif.size - sizeof(*drp_evt); in uwbd_evt_handle_rc_drp()
784 if (bytes_left != ielength) { in uwbd_evt_handle_rc_drp()
787 bytes_left, ielength); in uwbd_evt_handle_rc_drp()
/drivers/i2c/busses/
Di2c-mv64xxx.c92 u32 bytes_left; member
159 if ((drv_data->bytes_left == 0) in mv64xxx_i2c_fsm()
168 drv_data->bytes_left--; in mv64xxx_i2c_fsm()
182 if (drv_data->bytes_left == 0) { in mv64xxx_i2c_fsm()
193 drv_data->bytes_left--; in mv64xxx_i2c_fsm()
197 if ((drv_data->bytes_left == 1) || drv_data->aborting) in mv64xxx_i2c_fsm()
332 drv_data->bytes_left = msg->len; in mv64xxx_i2c_prepare_for_io()
410 drv_data->bytes_left--; in mv64xxx_i2c_execute_msg()
/drivers/scsi/
Dsym53c416.c248 unsigned int bytes_left; in sym53c416_read() local
256 bytes_left = inb(base + PIO_FIFO_CNT); /* Number of bytes in the PIO FIFO */ in sym53c416_read()
257 if(fastpio && bytes_left > 3) in sym53c416_read()
259 insl(base + PIO_FIFO_1, buffer, bytes_left >> 2); in sym53c416_read()
260 buffer += bytes_left & 0xFC; in sym53c416_read()
261 len -= bytes_left & 0xFC; in sym53c416_read()
263 else if(bytes_left > 0) in sym53c416_read()
265 len -= bytes_left; in sym53c416_read()
266 for(; bytes_left > 0; bytes_left--) in sym53c416_read()
/drivers/net/irda/
Dsir_dev.c38 unsigned bytes_left; in sirdev_tx_complete_fsm() local
48 bytes_left = dev->drv->chars_in_buffer(dev); in sirdev_tx_complete_fsm()
50 bytes_left = 0; in sirdev_tx_complete_fsm()
51 if (!bytes_left) { in sirdev_tx_complete_fsm()
57 delay = (bytes_left*8*10000) / (dev->speed/100); in sirdev_tx_complete_fsm()
59 delay = (bytes_left*10*10000) / (dev->speed/100); in sirdev_tx_complete_fsm()
/drivers/firmware/
Ddell_rbu.c473 size_t bytes_left; in read_packet_data() local
491 bytes_left = rbu_data.imagesize - pos; in read_packet_data()
492 data_length = min(bytes_left, count); in read_packet_data()
500 retval = bytes_left; in read_packet_data()
/drivers/usb/serial/
Dio_ti.c524 int bytes_left = 0; in tx_active() local
557 bytes_left += 64; in tx_active()
560 bytes_left += 1; in tx_active()
564 dbg("%s - return %d", __func__, bytes_left); in tx_active()
568 return bytes_left; in tx_active()
/drivers/ieee1394/
Dohci1394.c2505 int length, bytes_left, ack; in dma_rcv_tasklet() local
2518 bytes_left = d->buf_size - rescount - offset; in dma_rcv_tasklet()
2520 while (bytes_left > 0) { in dma_rcv_tasklet()
2627 bytes_left = d->buf_size - rescount - offset; in dma_rcv_tasklet()
/drivers/net/wireless/ipw2x00/
Dipw2200.c2865 u32 bytes_left = length; in ipw_fw_dma_add_buffer() local
2872 while (bytes_left > CB_MAX_LENGTH) { in ipw_fw_dma_add_buffer()
2886 bytes_left -= CB_MAX_LENGTH; in ipw_fw_dma_add_buffer()
2890 if (bytes_left > 0) { in ipw_fw_dma_add_buffer()
2894 bytes_left, 0, 0); in ipw_fw_dma_add_buffer()