Home
last modified time | relevance | path

Searched refs:new_head (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/qualcomm/
Dqca_spi.c284 u16 new_head; in qcaspi_transmit() local
327 new_head = qca->txr.head + 1; in qcaspi_transmit()
328 if (new_head >= qca->txr.count) in qcaspi_transmit()
329 new_head = 0; in qcaspi_transmit()
330 qca->txr.head = new_head; in qcaspi_transmit()
/drivers/crypto/
Dn2_core.c102 unsigned long old_head, unsigned long new_head) in job_finished() argument
104 if (old_head <= new_head) { in job_finished()
105 if (offset > old_head && offset <= new_head) in job_finished()
108 if (offset > old_head || offset <= new_head) in job_finished()
121 unsigned long off, new_head, hv_ret; in cwq_intr() local
129 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
132 smp_processor_id(), new_head, hv_ret); in cwq_intr()
134 for (off = q->head; off != new_head; off = spu_next_offset(q, off)) { in cwq_intr()
138 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
140 q->head = new_head; in cwq_intr()
/drivers/hid/
Dhidraw.c487 int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1); in hidraw_report_event() local
489 if (new_head == list->tail) in hidraw_report_event()
497 list->head = new_head; in hidraw_report_event()
/drivers/input/
Dmousedev.c266 unsigned int new_head; in mousedev_notify_readers() local
277 new_head = (client->head + 1) % PACKET_QUEUE_LEN; in mousedev_notify_readers()
278 if (new_head != client->tail) { in mousedev_notify_readers()
279 p = &client->packets[client->head = new_head]; in mousedev_notify_readers()