Searched refs:last_len (Results 1 – 11 of 11) sorted by relevance
/drivers/platform/chrome/ |
D | cros_ec_sensorhub_ring.c | 118 sensorhub->batch_state[i].last_len = 0; in cros_ec_sensorhub_ring_fifo_enable() 443 sensorhub->batch_state[in->sensor_num].last_len = 0; in cros_ec_sensor_ring_process_event() 458 sensorhub->batch_state[out->sensor_id].last_len = 0; in cros_ec_sensor_ring_process_event() 587 batch_len = sensorhub->batch_state[id].last_len; in cros_ec_sensor_ring_spread_add() 593 sensorhub->batch_state[id].last_len = in cros_ec_sensor_ring_spread_add() 630 if (sensorhub->batch_state[id].last_len == 0) { in cros_ec_sensor_ring_spread_add() 644 sensorhub->batch_state[id].last_len); in cros_ec_sensor_ring_spread_add() 649 sensorhub->batch_state[id].last_len, in cros_ec_sensor_ring_spread_add() 676 sensorhub->batch_state[id].last_len; in cros_ec_sensor_ring_spread_add() 680 sensorhub->batch_state[id].last_len = batch_len; in cros_ec_sensor_ring_spread_add() [all …]
|
/drivers/scsi/ |
D | atp870u.c | 203 if (dev->id[c][target_id].last_len != adrcnt) { in atp870u_intr_handle() 204 k = dev->id[c][target_id].last_len; in atp870u_intr_handle() 207 dev->id[c][target_id].last_len = adrcnt; in atp870u_intr_handle() 212 dev->id[c][target_id].last_len, in atp870u_intr_handle() 265 k = dev->id[c][target_id].last_len; in atp870u_intr_handle() 268 dev->id[c][target_id].last_len = adrcnt; in atp870u_intr_handle() 305 k = dev->id[c][target_id].last_len; in atp870u_intr_handle() 308 dev->id[c][target_id].last_len = adrcnt; in atp870u_intr_handle() 357 k = dev->id[c][target_id].last_len; in atp870u_intr_handle() 422 if (dev->id[c][target_id].last_len == 0) { in atp870u_intr_handle() [all …]
|
D | atp870u.h | 51 unsigned long last_len; member
|
/drivers/net/wireless/ti/wlcore/ |
D | hw_ops.h | 191 wlcore_hw_pre_pkt_send(struct wl1271 *wl, u32 buf_offset, u32 last_len) in wlcore_hw_pre_pkt_send() argument 194 return wl->ops->pre_pkt_send(wl, buf_offset, last_len); in wlcore_hw_pre_pkt_send()
|
D | tx.c | 753 u32 buf_offset = 0, last_len = 0; in wlcore_tx_work_locked() local 784 last_len); in wlcore_tx_work_locked() 813 last_len = ret; in wlcore_tx_work_locked() 814 buf_offset += last_len; in wlcore_tx_work_locked() 824 buf_offset = wlcore_hw_pre_pkt_send(wl, buf_offset, last_len); in wlcore_tx_work_locked()
|
D | wlcore.h | 97 u32 (*pre_pkt_send)(struct wl1271 *wl, u32 buf_offset, u32 last_len);
|
/drivers/spi/ |
D | spi-sunplus-sp7021.c | 303 unsigned int xfer_cnt, xfer_len, last_len; in sp7021_spi_master_transfer_one() local 308 last_len = xfer->len % SP7021_SPI_DATA_SIZE; in sp7021_spi_master_transfer_one() 317 xfer_len = last_len; in sp7021_spi_master_transfer_one()
|
/drivers/mtd/nand/raw/ |
D | arasan-nand-controller.c | 683 unsigned int last_len = nfc_op->len % 4; in anfc_rw_pio_op() local 706 if (last_len) { in anfc_rw_pio_op() 709 offset = nfc_op->len - last_len; in anfc_rw_pio_op() 713 memcpy(&buf[offset], &remainder, last_len); in anfc_rw_pio_op() 715 memcpy(&remainder, &buf[offset], last_len); in anfc_rw_pio_op()
|
D | marvell_nand.c | 907 unsigned int last_len = len % FIFO_DEPTH; in marvell_nfc_xfer_data_in_pio() local 914 if (last_len) { in marvell_nfc_xfer_data_in_pio() 918 memcpy(in + last_full_offset, tmp_buf, last_len); in marvell_nfc_xfer_data_in_pio() 927 unsigned int last_len = len % FIFO_DEPTH; in marvell_nfc_xfer_data_out_pio() local 934 if (last_len) { in marvell_nfc_xfer_data_out_pio() 937 memcpy(tmp_buf, out + last_full_offset, last_len); in marvell_nfc_xfer_data_out_pio()
|
/drivers/net/wireless/ti/wl18xx/ |
D | main.c | 1595 u32 buf_offset, u32 last_len) in wl18xx_pre_pkt_send() argument 1602 buf_offset - last_len); in wl18xx_pre_pkt_send()
|
/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.c | 1142 unsigned zlp = 0, last_len = 0; in txcomplete() local 1144 last_len = min_t(unsigned, req->req.length - ep->sent, in txcomplete() 1157 if (last_len == 0 || in txcomplete()
|