Lines Matching refs:packet_header
1141 u32 packet_header; in tegra_i2c_push_packet_header() local
1143 packet_header = FIELD_PREP(PACKET_HEADER0_HEADER_SIZE, 0) | in tegra_i2c_push_packet_header()
1150 *dma_buf++ = packet_header; in tegra_i2c_push_packet_header()
1152 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); in tegra_i2c_push_packet_header()
1154 packet_header = i2c_dev->msg_len - 1; in tegra_i2c_push_packet_header()
1157 *dma_buf++ = packet_header; in tegra_i2c_push_packet_header()
1159 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); in tegra_i2c_push_packet_header()
1161 packet_header = I2C_HEADER_IE_ENABLE; in tegra_i2c_push_packet_header()
1164 packet_header |= I2C_HEADER_CONTINUE_XFER; in tegra_i2c_push_packet_header()
1166 packet_header |= I2C_HEADER_REPEAT_START; in tegra_i2c_push_packet_header()
1169 packet_header |= msg->addr; in tegra_i2c_push_packet_header()
1170 packet_header |= I2C_HEADER_10BIT_ADDR; in tegra_i2c_push_packet_header()
1172 packet_header |= msg->addr << I2C_HEADER_SLAVE_ADDR_SHIFT; in tegra_i2c_push_packet_header()
1176 packet_header |= I2C_HEADER_CONT_ON_NAK; in tegra_i2c_push_packet_header()
1179 packet_header |= I2C_HEADER_READ; in tegra_i2c_push_packet_header()
1182 *dma_buf++ = packet_header; in tegra_i2c_push_packet_header()
1184 i2c_writel(i2c_dev, packet_header, I2C_TX_FIFO); in tegra_i2c_push_packet_header()