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

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-tegra.c557 u32 packet_header; tegra_i2c_xfer_msg() local
572 packet_header = (0 << PACKET_HEADER0_HEADER_SIZE_SHIFT) | tegra_i2c_xfer_msg()
576 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); tegra_i2c_xfer_msg()
578 packet_header = msg->len - 1; tegra_i2c_xfer_msg()
579 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); tegra_i2c_xfer_msg()
581 packet_header = I2C_HEADER_IE_ENABLE; tegra_i2c_xfer_msg()
583 packet_header |= I2C_HEADER_CONTINUE_XFER; tegra_i2c_xfer_msg()
585 packet_header |= I2C_HEADER_REPEAT_START; tegra_i2c_xfer_msg()
587 packet_header |= msg->addr; tegra_i2c_xfer_msg()
588 packet_header |= I2C_HEADER_10BIT_ADDR; tegra_i2c_xfer_msg()
590 packet_header |= msg->addr << I2C_HEADER_SLAVE_ADDR_SHIFT; tegra_i2c_xfer_msg()
593 packet_header |= I2C_HEADER_CONT_ON_NAK; tegra_i2c_xfer_msg()
595 packet_header |= I2C_HEADER_READ; tegra_i2c_xfer_msg()
596 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); tegra_i2c_xfer_msg()

Completed in 57 milliseconds