Home
last modified time | relevance | path

Searched refs:last_len (Results 1 – 10 of 10) sorted by relevance

/drivers/platform/chrome/
Dcros_ec_sensorhub_ring.c118 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/
Datp870u.c198 if (dev->id[c][target_id].last_len != adrcnt) { in atp870u_intr_handle()
199 k = dev->id[c][target_id].last_len; in atp870u_intr_handle()
202 dev->id[c][target_id].last_len = adrcnt; in atp870u_intr_handle()
205 …t_len = %d dev->id[c][target_id].tran_len = %d\n",dev->id[c][target_id].last_len,dev->id[c][target… in atp870u_intr_handle()
253 k = dev->id[c][target_id].last_len; in atp870u_intr_handle()
256 dev->id[c][target_id].last_len = adrcnt; in atp870u_intr_handle()
291 k = dev->id[c][target_id].last_len; in atp870u_intr_handle()
294 dev->id[c][target_id].last_len = adrcnt; in atp870u_intr_handle()
343 k = dev->id[c][target_id].last_len; in atp870u_intr_handle()
392 if (dev->id[c][target_id].last_len == 0) { in atp870u_intr_handle()
[all …]
Datp870u.h51 unsigned long last_len; member
/drivers/net/wireless/ti/wlcore/
Dhw_ops.h191 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()
Dtx.c753 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()
Dwlcore.h97 u32 (*pre_pkt_send)(struct wl1271 *wl, u32 buf_offset, u32 last_len);
/drivers/mtd/nand/raw/
Darasan-nand-controller.c618 unsigned int last_len = nfc_op->len % 4; in anfc_rw_pio_op() local
641 if (last_len) { in anfc_rw_pio_op()
644 offset = nfc_op->len - last_len; in anfc_rw_pio_op()
648 memcpy(&buf[offset], &remainder, last_len); in anfc_rw_pio_op()
650 memcpy(&remainder, &buf[offset], last_len); in anfc_rw_pio_op()
Dmarvell_nand.c901 unsigned int last_len = len % FIFO_DEPTH; in marvell_nfc_xfer_data_in_pio() local
908 if (last_len) { in marvell_nfc_xfer_data_in_pio()
912 memcpy(in + last_full_offset, tmp_buf, last_len); in marvell_nfc_xfer_data_in_pio()
921 unsigned int last_len = len % FIFO_DEPTH; in marvell_nfc_xfer_data_out_pio() local
928 if (last_len) { in marvell_nfc_xfer_data_out_pio()
931 memcpy(tmp_buf, out + last_full_offset, last_len); in marvell_nfc_xfer_data_out_pio()
/drivers/net/wireless/ti/wl18xx/
Dmain.c1595 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/
Dfsl_qe_udc.c1136 unsigned zlp = 0, last_len = 0; in txcomplete() local
1138 last_len = min_t(unsigned, req->req.length - ep->sent, in txcomplete()
1151 if (last_len == 0 || in txcomplete()