Lines Matching refs:word_count
372 u16 word_count; in nwl_dsi_read_packet() local
386 word_count = NWL_DSI_WC(val); in nwl_dsi_read_packet()
403 payload[1] = word_count >> 8; in nwl_dsi_read_packet()
411 payload[0] = word_count & 0xff; in nwl_dsi_read_packet()
417 word_count &= 0xff; in nwl_dsi_read_packet()
419 xfer->cmd, word_count); in nwl_dsi_read_packet()
424 if (word_count > xfer->msg->rx_len) { in nwl_dsi_read_packet()
427 xfer->cmd, xfer->msg->rx_len, word_count); in nwl_dsi_read_packet()
432 xfer->rx_word_count = word_count; in nwl_dsi_read_packet()
435 word_count = xfer->rx_word_count; in nwl_dsi_read_packet()
443 while (word_count >= 4) { in nwl_dsi_read_packet()
451 word_count -= 4; in nwl_dsi_read_packet()
454 if (word_count > 0) { in nwl_dsi_read_packet()
456 switch (word_count) { in nwl_dsi_read_packet()
508 u16 word_count; in nwl_dsi_begin_transmission() local
547 word_count = pkt->header[1] | (pkt->header[2] << 8); in nwl_dsi_begin_transmission()
556 val = NWL_DSI_WC(word_count) | NWL_DSI_TX_VC(xfer->msg->channel) | in nwl_dsi_begin_transmission()