Lines Matching refs:num_pls
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() 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()
786 tx_msg->num_pls = le16_to_cpu(num_pls+1); in i2400m_tx()
789 padded_len, tx_msg->size, num_pls+1); in i2400m_tx()
793 num_pls+1, ptr - i2400m->tx_buf, buf_len, padded_len); in i2400m_tx()
866 if (tx_msg->num_pls == 0) { /* No payloads? */ in i2400m_tx_msg_get()
897 pls = le32_to_cpu(tx_msg_moved->num_pls); in i2400m_tx_msg_get()