Home
last modified time | relevance | path

Searched refs:sw_head (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/crypto/cavium/zip/
H A Dzip_device.c59 return ((zip_dev->iq[queue].sw_head - zip_dev->iq[queue].sw_tail) * in zip_cmd_queue_consumed()
109 zip_dbg("sw_head : %lx", zip_dev->iq[queue].sw_head); in zip_load_instr()
117 memcpy((u8 *)zip_dev->iq[queue].sw_head, (u8 *)instr, in zip_load_instr()
119 zip_dev->iq[queue].sw_head += 16; /* 16 64_bit words = 128B */ in zip_load_instr()
122 ncb_ptr = zip_dev->iq[queue].sw_head; in zip_load_instr()
125 ncb_ptr, zip_dev->iq[queue].sw_head - 16); in zip_load_instr()
128 zip_dev->iq[queue].sw_head = zip_dev->iq[queue].sw_tail; in zip_load_instr()
134 ncp.s.addr = __pa(zip_dev->iq[queue].sw_head); in zip_load_instr()
137 *ncb_ptr, __pa(zip_dev->iq[queue].sw_head)); in zip_load_instr()
144 memcpy((u8 *)zip_dev->iq[queue].sw_head, (u8 *)instr, in zip_load_instr()
[all …]
H A Dzip_mem.c59 zip->iq[q].sw_head = (u64 *)__get_free_pages((GFP_KERNEL | GFP_DMA), in zip_cmd_qbuf_alloc()
62 if (!zip->iq[q].sw_head) in zip_cmd_qbuf_alloc()
65 memset(zip->iq[q].sw_head, 0, ZIP_CMD_QBUF_SIZE); in zip_cmd_qbuf_alloc()
67 zip_dbg("cmd_qbuf_alloc[%d] Success : %p\n", q, zip->iq[q].sw_head); in zip_cmd_qbuf_alloc()
H A Dzip_main.c185 zip->iq[q].sw_tail = zip->iq[q].sw_head; in zip_init_hw()
186 zip->iq[q].hw_tail = zip->iq[q].sw_head; in zip_init_hw()
190 que_sbuf_addr.s.ptr = (__pa(zip->iq[q].sw_head) >> in zip_init_hw()
203 zip->iq[q].sw_head, zip->iq[q].sw_tail, in zip_init_hw()
H A Dzip_main.h86 u64 *sw_head; member
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.c233 self->sw_head = 0; in aq_ring_init()
291 budget && self->sw_head != self->hw_head; budget--) { in aq_ring_tx_clean()
292 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in aq_ring_tx_clean()
298 (!aq_ring_dx_in_range(self->sw_head, in aq_ring_tx_clean()
333 self->sw_head = aq_ring_next_dx(self, self->sw_head); in aq_ring_tx_clean()
534 for (; (self->sw_head != self->hw_head) && budget; in __aq_ring_rx_clean()
535 self->sw_head = aq_ring_next_dx(self, self->sw_head), in __aq_ring_rx_clean()
537 struct aq_ring_buff_s *buff = &self->buff_ring[self->sw_head]; in __aq_ring_rx_clean()
563 aq_ring_dx_in_range(self->sw_head, in __aq_ring_rx_clean()
710 for (; (rx_ring->sw_head != rx_ring->hw_head) && budget; in __aq_ring_xdp_clean()
[all …]
H A Daq_ring.h141 unsigned int sw_head; member
181 return (((self->sw_tail >= self->sw_head)) ? in aq_ring_avail_dx()
182 (self->size - 1) - self->sw_tail + self->sw_head : in aq_ring_avail_dx()
183 self->sw_head - self->sw_tail - 1); in aq_ring_avail_dx()
H A Daq_vec.c54 if (ring[AQ_VEC_TX_ID].sw_head != in aq_vec_poll()
65 if (ring[AQ_VEC_RX_ID].sw_head != in aq_vec_poll()
H A Daq_ptp.c670 if (aq_ptp->ptp_tx.sw_head != aq_ptp->ptp_tx.hw_head) { in aq_ptp_poll()
682 if (aq_ptp->hwts_rx.sw_head != aq_ptp->hwts_rx.hw_head) { in aq_ptp_poll()
699 if (aq_ptp->ptp_rx.sw_head != aq_ptp->ptp_rx.hw_head) { in aq_ptp_poll()
/openbmc/qemu/audio/
H A Daudio.c429 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_recalc_and_notify_capture()
487 QLIST_INSERT_HEAD (&hw_cap->sw_head, sw, entries); in audio_attach_capture()
510 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_pcm_hw_find_min_in()
619 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_pcm_hw_find_min_out()
940 for (temp_sw = hw->sw_head.lh_first; temp_sw; in AUD_set_active_out()
987 for (temp_sw = hw->sw_head.lh_first; temp_sw; in AUD_set_active_in()
1149 sw = hw->sw_head.lh_first; in audio_run_out()
1171 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_run_out()
1243 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_run_out()
1298 SWVoiceIn *sw = hw->sw_head.lh_first; in audio_run_in()
[all …]
H A Daudio_int.h79 QLIST_HEAD (sw_out_listhead, SWVoiceOut) sw_head;
101 QLIST_HEAD (sw_in_listhead, SWVoiceIn) sw_head;
H A Daudio_template.h211 QLIST_INSERT_HEAD (&hw->sw_head, sw, entries); in glue()
224 if (!hw->sw_head.lh_first) { in glue()
291 QLIST_INIT (&hw->sw_head); in glue()