Searched refs:num_pls (Results 1 – 2 of 2) sorted by relevance
538 return le16_to_cpu(msg_hdr->num_pls) < I2400M_TX_PLD_MAX; in i2400m_tx_fits()620 unsigned num_pls; in i2400m_tx_close() local624 num_pls = le16_to_cpu(tx_msg->num_pls); in i2400m_tx_close()628 if (num_pls == 0) { in i2400m_tx_close()644 + le16_to_cpu(tx_msg->num_pls) * sizeof(tx_msg->pld[0]); in i2400m_tx_close()744 || (is_singleton && i2400m->tx_msg->num_pls != 0))) { in i2400m_tx()747 is_singleton, i2400m->tx_msg->num_pls); in i2400m_tx()781 unsigned num_pls = le16_to_cpu(tx_msg->num_pls); in i2400m_tx() local784 i2400m_pld_set(&tx_msg->pld[num_pls], buf_len, pl_type); in i2400m_tx()786 le32_to_cpu(tx_msg->pld[num_pls].val), in i2400m_tx()[all …]
1160 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() local1262 num_pls = le16_to_cpu(msg_hdr->num_pls); in i2400m_rx()1264 num_pls * sizeof(msg_hdr->pld[0]); in i2400m_rx()1269 skb_len, num_pls, sizeof(msg_hdr->pld[0]), pl_itr); in i2400m_rx()1273 for (i = 0; i < num_pls; i++) { in i2400m_rx()1280 single_last = num_pls == 1 || i == num_pls - 1; in i2400m_rx()