Home
last modified time | relevance | path

Searched refs:num_pls (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/wimax/i2400m/
Dtx.c538 return le16_to_cpu(msg_hdr->num_pls) < I2400M_TX_PLD_MAX; in i2400m_tx_fits()
620 unsigned num_pls; in i2400m_tx_close() local
624 num_pls = le16_to_cpu(tx_msg->num_pls); in i2400m_tx_close()
628 if (num_pls == 0) { in i2400m_tx_close()
643 hdr_size = struct_size(tx_msg, pld, le16_to_cpu(tx_msg->num_pls)); in i2400m_tx_close()
742 || (is_singleton && i2400m->tx_msg->num_pls != 0))) { in i2400m_tx()
745 is_singleton, i2400m->tx_msg->num_pls); in i2400m_tx()
779 unsigned num_pls = le16_to_cpu(tx_msg->num_pls); in i2400m_tx() local
782 i2400m_pld_set(&tx_msg->pld[num_pls], buf_len, pl_type); in i2400m_tx()
784 le32_to_cpu(tx_msg->pld[num_pls].val), in i2400m_tx()
[all …]
Drx.c1160 if (msg_hdr->num_pls == 0) { in i2400m_rx_msg_hdr_check()
1164 if (le16_to_cpu(msg_hdr->num_pls) > I2400M_MAX_PLS_IN_MSG) { in i2400m_rx_msg_hdr_check()
1251 unsigned num_pls, single_last, skb_len; in i2400m_rx() local
1261 num_pls = le16_to_cpu(msg_hdr->num_pls); in i2400m_rx()
1263 pl_itr = struct_size(msg_hdr, pld, num_pls); in i2400m_rx()
1268 skb_len, num_pls, sizeof(msg_hdr->pld[0]), pl_itr); in i2400m_rx()
1272 for (i = 0; i < num_pls; i++) { in i2400m_rx()
1279 single_last = num_pls == 1 || i == num_pls - 1; in i2400m_rx()
/Linux-v5.10/include/uapi/linux/wimax/
Di2400m.h318 __le16 num_pls; member