Home
last modified time | relevance | path

Searched refs:frag_count (Results 1 – 14 of 14) sorted by relevance

/linux-3.4.99/drivers/net/fddi/skfp/
Dhwmtm.c105 int frag_count, int len);
108 int frag_count);
110 volatile struct s_smt_fp_rxd *rxd, int frag_count);
153 int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count, int frame_len,
1045 int frag_count ; /* number of RxDs of the curr rx buf */ in process_receive() local
1065 frag_count = 0 ; in process_receive()
1129 if (frag_count) { in process_receive()
1135 frag_count++ ; in process_receive()
1138 used_frags = frag_count ; in process_receive()
1148 frag_count++ ; in process_receive()
[all …]
Dskfddi.c128 int frag_count, int len);
130 int frag_count);
133 int frag_count);
143 extern int hwm_tx_init(struct s_smc *smc, u_char fc, int frag_count,
1575 int frag_count, int len) in mac_drv_rx_complete() argument
1584 if (frag_count != 1) { // This is not allowed to happen. in mac_drv_rx_complete()
1668 mac_drv_requeue_rxd(smc, rxd, frag_count); in mac_drv_rx_complete()
1694 int frag_count) in mac_drv_requeue_rxd() argument
1703 if (frag_count != 1) // This is not allowed to happen. in mac_drv_requeue_rxd()
1709 for (; frag_count > 0; frag_count--) { in mac_drv_requeue_rxd()
[all …]
/linux-3.4.99/sound/soc/txx9/
Dtxx9aclc.c104 dmadata->frag_count = 0; in txx9aclc_pcm_prepare()
116 if (dmadata->frag_count >= 0) { in txx9aclc_dma_complete()
163 if (dmadata->frag_count < 0) { in txx9aclc_dma_tasklet()
180 dmadata->frag_count = NR_DMA_CHAIN % dmadata->frags; in txx9aclc_dma_tasklet()
190 dmadata->frag_count * dmadata->frag_bytes); in txx9aclc_dma_tasklet()
196 dmadata->frag_count++; in txx9aclc_dma_tasklet()
197 dmadata->frag_count %= dmadata->frags; in txx9aclc_dma_tasklet()
200 if ((dmadata->frag_count * dmadata->frag_bytes) % in txx9aclc_dma_tasklet()
220 dmadata->frag_count = -1; in txx9aclc_pcm_trigger()
270 dmadata->frag_count = -1; in txx9aclc_pcm_close()
[all …]
Dtxx9aclc.h59 int frag_count; member
/linux-3.4.99/sound/pci/ctxfi/
Dcttimer.c42 unsigned int frag_count; member
200 if (ti->frag_count > diff) in ct_xfitimer_reprogram()
201 ti->frag_count -= diff; in ct_xfitimer_reprogram()
216 ti->frag_count = div_u64((u64)pos * CT_TIMER_FREQ + in ct_xfitimer_reprogram()
221 if (ti->frag_count < min_intr) in ct_xfitimer_reprogram()
222 min_intr = ti->frag_count; in ct_xfitimer_reprogram()
269 ti->frag_count = ti->substream->runtime->period_size; in ct_xfitimer_prepare()
/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1991 int frag_count, no_of_desc; in netxen_nic_xmit_frame() local
1994 frag_count = skb_shinfo(skb)->nr_frags + 1; in netxen_nic_xmit_frame()
1999 if (!skb_is_gso(skb) && frag_count > NETXEN_MAX_FRAGS_PER_TX) { in netxen_nic_xmit_frame()
2001 for (i = 0; i < (frag_count - NETXEN_MAX_FRAGS_PER_TX); i++) { in netxen_nic_xmit_frame()
2009 frag_count = 1 + skb_shinfo(skb)->nr_frags; in netxen_nic_xmit_frame()
2012 no_of_desc = (frag_count + 3) >> 2; in netxen_nic_xmit_frame()
2032 pbuf->frag_count = frag_count; in netxen_nic_xmit_frame()
2037 netxen_set_tx_frags_len(first_desc, frag_count, skb->len); in netxen_nic_xmit_frame()
2040 for (i = 0; i < frag_count; i++) { in netxen_nic_xmit_frame()
Dnetxen_nic_init.c147 for (j = 1; j < cmd_buf->frag_count; j++) { in netxen_release_tx_buffers()
1789 for (i = 1; i < buffer->frag_count; i++) { in netxen_process_cmd_ring()
Dnetxen_nic.h562 u32 frag_count; member
Dnetxen_nic_hw.c617 pbuf->frag_count = 0; in netxen_send_cmd_descs()
/linux-3.4.99/sound/oss/
Dvwsnd.c1498 int frag_count; member
2036 wport->frag_count += nb / fragsize; in pcm_output()
2144 rport->frag_count += nb / fragsize; in pcm_input()
2727 info.blocks = rport->frag_count; in vwsnd_audio_do_ioctl()
2729 rport->frag_count = 0; in vwsnd_audio_do_ioctl()
2751 info.blocks = wport->frag_count; in vwsnd_audio_do_ioctl()
2753 wport->frag_count = 0; in vwsnd_audio_do_ioctl()
2982 devc->rport.frag_count = 0; in vwsnd_audio_open()
2994 devc->wport.frag_count = 0; in vwsnd_audio_open()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2205 int frag_count; in qlcnic_xmit_frame() local
2220 frag_count = skb_shinfo(skb)->nr_frags + 1; in qlcnic_xmit_frame()
2224 if (!skb_is_gso(skb) && frag_count > QLCNIC_MAX_FRAGS_PER_TX) { in qlcnic_xmit_frame()
2226 for (i = 0; i < (frag_count - QLCNIC_MAX_FRAGS_PER_TX); i++) in qlcnic_xmit_frame()
2232 frag_count = 1 + skb_shinfo(skb)->nr_frags; in qlcnic_xmit_frame()
2259 pbuf->frag_count = frag_count; in qlcnic_xmit_frame()
2261 qlcnic_set_tx_frags_len(first_desc, frag_count, skb->len); in qlcnic_xmit_frame()
2264 for (i = 0; i < frag_count; i++) { in qlcnic_xmit_frame()
2506 for (i = 1; i < buffer->frag_count; i++) { in qlcnic_process_cmd_ring()
Dqlcnic.h382 u32 frag_count; member
Dqlcnic_hw.c341 pbuf->frag_count = 0; in qlcnic_send_cmd_descs()
Dqlcnic_init.c152 for (j = 0; j < cmd_buf->frag_count; j++) { in qlcnic_release_tx_buffers()