Searched refs:pkt_buf (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/input/touchscreen/
H A Dwdt87xx_i2c.c569 u8 pkt_buf[PKT_BUF_SIZE]; wdt87xx_write_data() local
582 pkt_buf[CMD_REPORT_ID_OFFSET] = VND_REQ_WRITE; wdt87xx_write_data()
583 pkt_buf[CMD_TYPE_OFFSET] = VND_SET_DATA; wdt87xx_write_data()
584 put_unaligned_le16(packet_size, &pkt_buf[CMD_INDEX_OFFSET]); wdt87xx_write_data()
585 put_unaligned_le32(address, &pkt_buf[CMD_LENGTH_OFFSET]); wdt87xx_write_data()
586 memcpy(&pkt_buf[CMD_DATA_OFFSET], data, packet_size); wdt87xx_write_data()
588 error = wdt87xx_set_feature(client, pkt_buf, sizeof(pkt_buf)); wdt87xx_write_data()
646 u8 pkt_buf[PKT_BUF_SIZE]; wdt87xx_get_checksum() local
674 memset(pkt_buf, 0, sizeof(pkt_buf)); wdt87xx_get_checksum()
675 pkt_buf[CMD_REPORT_ID_OFFSET] = VND_READ_DATA; wdt87xx_get_checksum()
676 error = wdt87xx_get_feature(client, pkt_buf, sizeof(pkt_buf)); wdt87xx_get_checksum()
682 *checksum = get_unaligned_le16(&pkt_buf[CMD_DATA_OFFSET]); wdt87xx_get_checksum()
/linux-4.4.14/drivers/media/platform/exynos4-is/
H A Dmipi-csis.c200 * @pkt_buf: the frame embedded (non-image) data buffer
227 struct csis_pktbuf pkt_buf; member in struct:csis_state
633 state->pkt_buf.data = buf; s5pcsis_s_rx_buffer()
634 state->pkt_buf.len = *size; s5pcsis_s_rx_buffer()
694 struct csis_pktbuf *pktbuf = &state->pkt_buf; s5pcsis_irq_handler()
/linux-4.4.14/drivers/net/ethernet/
H A Dkorina.c353 u8 *pkt_buf; korina_rx() local
395 pkt_buf = (u8 *)lp->rx_skb[lp->rx_next_done]->data; korina_rx()
398 dma_cache_inv((unsigned long)pkt_buf, pkt_len - 4); korina_rx()

Completed in 139 milliseconds