Searched refs:new_head (Results 1 – 5 of 5) sorted by relevance
14 u32 new_head = (head + 1) % IPC_MEM_MSG_ENTRIES; in ipc_protocol_free_msg_get() local17 if (new_head == le32_to_cpu(ipc_protocol->p_ap_shm->msg_tail)) { in ipc_protocol_free_msg_get()39 u32 new_head = (head + 1) % IPC_MEM_MSG_ENTRIES; in ipc_protocol_msg_hp_update() local42 ipc_protocol->p_ap_shm->msg_head = cpu_to_le32(new_head); in ipc_protocol_msg_hp_update()328 u32 head, new_head; in ipc_protocol_dl_td_prepare() local338 new_head = head + 1; in ipc_protocol_dl_td_prepare()339 if (new_head >= pipe->nr_of_entries) in ipc_protocol_dl_td_prepare()340 new_head = 0; in ipc_protocol_dl_td_prepare()342 if (new_head == tail) in ipc_protocol_dl_td_prepare()361 cpu_to_le32(new_head); in ipc_protocol_dl_td_prepare()
273 u16 new_head; in qcaspi_transmit() local316 new_head = qca->txr.head + 1; in qcaspi_transmit()317 if (new_head >= qca->txr.count) in qcaspi_transmit()318 new_head = 0; in qcaspi_transmit()319 qca->txr.head = new_head; in qcaspi_transmit()
559 int new_head = (list->head + 1) & (HIDRAW_BUFFER_SIZE - 1); in hidraw_report_event() local561 if (hidraw_is_revoked(list) || new_head == list->tail) in hidraw_report_event()569 list->head = new_head; in hidraw_report_event()
266 unsigned int new_head; in mousedev_notify_readers() local277 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()
877 u16 head, tail, new_head; in bcm4377_enqueue() local900 new_head = (head + 1) % ring->n_entries; in bcm4377_enqueue()902 if (new_head == tail) { in bcm4377_enqueue()953 new_head); in bcm4377_enqueue()955 cpu_to_le16(new_head); in bcm4377_enqueue()958 bcm4377_ring_doorbell(bcm4377, ring->doorbell, new_head); in bcm4377_enqueue()
Completed in 24 milliseconds