Lines Matching refs:packet_header
400 u32 packet_header; in tegra_i2c_xfer_msg() local
416 packet_header = (0 << PACKET_HEADER0_HEADER_SIZE_SHIFT) | in tegra_i2c_xfer_msg()
420 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); in tegra_i2c_xfer_msg()
422 packet_header = msg->len - 1; in tegra_i2c_xfer_msg()
423 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); in tegra_i2c_xfer_msg()
425 packet_header = msg->addr << I2C_HEADER_SLAVE_ADDR_SHIFT; in tegra_i2c_xfer_msg()
426 packet_header |= I2C_HEADER_IE_ENABLE; in tegra_i2c_xfer_msg()
428 packet_header |= I2C_HEADER_10BIT_ADDR; in tegra_i2c_xfer_msg()
430 packet_header |= I2C_HEADER_CONT_ON_NAK; in tegra_i2c_xfer_msg()
432 packet_header |= I2C_HEADER_REPEAT_START; in tegra_i2c_xfer_msg()
434 packet_header |= I2C_HEADER_READ; in tegra_i2c_xfer_msg()
435 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); in tegra_i2c_xfer_msg()