Searched refs:tpd_req (Results 1 – 2 of 2) sorted by relevance
1596 u16 tpd_req = 1; in atl1e_cal_tdp_req() local1602 tpd_req += ((fg_size + MAX_TX_BUF_LEN - 1) >> MAX_TX_BUF_SHIFT); in atl1e_cal_tdp_req()1611 tpd_req += ((skb_headlen(skb) - proto_hdr_len + in atl1e_cal_tdp_req()1618 return tpd_req; in atl1e_cal_tdp_req()1851 u16 tpd_req = 1; in atl1e_xmit_frame() local1863 tpd_req = atl1e_cal_tdp_req(skb); in atl1e_xmit_frame()1865 if (atl1e_tpd_avail(adapter) < tpd_req) { in atl1e_xmit_frame()1900 atl1e_tx_queue(adapter, tpd_req, tpd); in atl1e_xmit_frame()
1954 u16 tpd_req; in atl1c_cal_tpd_req() local1957 tpd_req = skb_shinfo(skb)->nr_frags + 1; in atl1c_cal_tpd_req()1962 tpd_req++; in atl1c_cal_tpd_req()1964 tpd_req++; in atl1c_cal_tpd_req()1966 return tpd_req; in atl1c_cal_tpd_req()2202 u16 tpd_req; in atl1c_xmit_frame() local2211 tpd_req = atl1c_cal_tpd_req(skb); in atl1c_xmit_frame()2213 if (atl1c_tpd_avail(adapter, type) < tpd_req) { in atl1c_xmit_frame()