Lines Matching refs:dword
220 u32 dword[4]; member
271 u32 dword[4]; member
961 gpi_ere->dword[0], gpi_ere->dword[1], in gpi_process_imed_data_event()
962 gpi_ere->dword[2], gpi_ere->dword[3]); in gpi_process_imed_data_event()
966 gpi_tre->dword[0], gpi_tre->dword[1], in gpi_process_imed_data_event()
967 gpi_tre->dword[2], gpi_tre->dword[3]); in gpi_process_imed_data_event()
1040 gpi_ere->dword[0], gpi_ere->dword[1], in gpi_process_xfer_compl_event()
1041 gpi_ere->dword[2], gpi_ere->dword[3]); in gpi_process_xfer_compl_event()
1110 chid, type, gpi_event->gpi_ere.dword[0], in gpi_process_events()
1111 gpi_event->gpi_ere.dword[1], gpi_event->gpi_ere.dword[2], in gpi_process_events()
1112 gpi_event->gpi_ere.dword[3]); in gpi_process_events()
1652 tre->dword[0] = u32_encode_bits(i2c->low_count, TRE_I2C_C0_TLOW); in gpi_create_i2c_tre()
1653 tre->dword[0] |= u32_encode_bits(i2c->high_count, TRE_I2C_C0_THIGH); in gpi_create_i2c_tre()
1654 tre->dword[0] |= u32_encode_bits(i2c->cycle_count, TRE_I2C_C0_TCYL); in gpi_create_i2c_tre()
1655 tre->dword[0] |= u32_encode_bits(i2c->pack_enable, TRE_I2C_C0_TX_PACK); in gpi_create_i2c_tre()
1656 tre->dword[0] |= u32_encode_bits(i2c->pack_enable, TRE_I2C_C0_RX_PACK); in gpi_create_i2c_tre()
1658 tre->dword[1] = 0; in gpi_create_i2c_tre()
1660 tre->dword[2] = u32_encode_bits(i2c->clk_div, TRE_C0_CLK_DIV); in gpi_create_i2c_tre()
1662 tre->dword[3] = u32_encode_bits(TRE_TYPE_CONFIG0, TRE_FLAGS_TYPE); in gpi_create_i2c_tre()
1663 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_CHAIN); in gpi_create_i2c_tre()
1672 tre->dword[0] = u32_encode_bits(I2C_READ, TRE_I2C_GO_CMD); in gpi_create_i2c_tre()
1674 tre->dword[0] = u32_encode_bits(i2c->op, TRE_I2C_GO_CMD); in gpi_create_i2c_tre()
1676 tre->dword[0] |= u32_encode_bits(i2c->addr, TRE_I2C_GO_ADDR); in gpi_create_i2c_tre()
1677 tre->dword[0] |= u32_encode_bits(i2c->stretch, TRE_I2C_GO_STRETCH); in gpi_create_i2c_tre()
1679 tre->dword[1] = 0; in gpi_create_i2c_tre()
1680 tre->dword[2] = u32_encode_bits(i2c->rx_len, TRE_RX_LEN); in gpi_create_i2c_tre()
1682 tre->dword[3] = u32_encode_bits(TRE_TYPE_GO, TRE_FLAGS_TYPE); in gpi_create_i2c_tre()
1685 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_LINK); in gpi_create_i2c_tre()
1687 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_CHAIN); in gpi_create_i2c_tre()
1696 tre->dword[0] = lower_32_bits(address); in gpi_create_i2c_tre()
1697 tre->dword[1] = upper_32_bits(address); in gpi_create_i2c_tre()
1699 tre->dword[2] = u32_encode_bits(sg_dma_len(sgl), TRE_DMA_LEN); in gpi_create_i2c_tre()
1701 tre->dword[3] = u32_encode_bits(TRE_TYPE_DMA, TRE_FLAGS_TYPE); in gpi_create_i2c_tre()
1702 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_IEOT); in gpi_create_i2c_tre()
1706 dev_dbg(dev, "TRE:%d %x:%x:%x:%x\n", i, desc->tre[i].dword[0], in gpi_create_i2c_tre()
1707 desc->tre[i].dword[1], desc->tre[i].dword[2], desc->tre[i].dword[3]); in gpi_create_i2c_tre()
1727 tre->dword[0] = u32_encode_bits(spi->word_len, TRE_SPI_C0_WORD_SZ); in gpi_create_spi_tre()
1728 tre->dword[0] |= u32_encode_bits(spi->loopback_en, TRE_SPI_C0_LOOPBACK); in gpi_create_spi_tre()
1729 tre->dword[0] |= u32_encode_bits(spi->clock_pol_high, TRE_SPI_C0_CPOL); in gpi_create_spi_tre()
1730 tre->dword[0] |= u32_encode_bits(spi->data_pol_high, TRE_SPI_C0_CPHA); in gpi_create_spi_tre()
1731 tre->dword[0] |= u32_encode_bits(spi->pack_en, TRE_SPI_C0_TX_PACK); in gpi_create_spi_tre()
1732 tre->dword[0] |= u32_encode_bits(spi->pack_en, TRE_SPI_C0_RX_PACK); in gpi_create_spi_tre()
1734 tre->dword[1] = 0; in gpi_create_spi_tre()
1736 tre->dword[2] = u32_encode_bits(spi->clk_div, TRE_C0_CLK_DIV); in gpi_create_spi_tre()
1737 tre->dword[2] |= u32_encode_bits(spi->clk_src, TRE_C0_CLK_SRC); in gpi_create_spi_tre()
1739 tre->dword[3] = u32_encode_bits(TRE_TYPE_CONFIG0, TRE_FLAGS_TYPE); in gpi_create_spi_tre()
1740 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_CHAIN); in gpi_create_spi_tre()
1748 tre->dword[0] = u32_encode_bits(spi->fragmentation, TRE_SPI_GO_FRAG); in gpi_create_spi_tre()
1749 tre->dword[0] |= u32_encode_bits(spi->cs, TRE_SPI_GO_CS); in gpi_create_spi_tre()
1750 tre->dword[0] |= u32_encode_bits(spi->cmd, TRE_SPI_GO_CMD); in gpi_create_spi_tre()
1752 tre->dword[1] = 0; in gpi_create_spi_tre()
1754 tre->dword[2] = u32_encode_bits(spi->rx_len, TRE_RX_LEN); in gpi_create_spi_tre()
1756 tre->dword[3] = u32_encode_bits(TRE_TYPE_GO, TRE_FLAGS_TYPE); in gpi_create_spi_tre()
1758 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_IEOB); in gpi_create_spi_tre()
1759 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_LINK); in gpi_create_spi_tre()
1761 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_CHAIN); in gpi_create_spi_tre()
1763 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_CHAIN); in gpi_create_spi_tre()
1764 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_LINK); in gpi_create_spi_tre()
1773 tre->dword[0] = lower_32_bits(address); in gpi_create_spi_tre()
1774 tre->dword[1] = upper_32_bits(address); in gpi_create_spi_tre()
1776 tre->dword[2] = u32_encode_bits(sg_dma_len(sgl), TRE_DMA_LEN); in gpi_create_spi_tre()
1778 tre->dword[3] = u32_encode_bits(TRE_TYPE_DMA, TRE_FLAGS_TYPE); in gpi_create_spi_tre()
1780 tre->dword[3] |= u32_encode_bits(1, TRE_FLAGS_IEOT); in gpi_create_spi_tre()
1783 dev_dbg(dev, "TRE:%d %x:%x:%x:%x\n", i, desc->tre[i].dword[0], in gpi_create_spi_tre()
1784 desc->tre[i].dword[1], desc->tre[i].dword[2], desc->tre[i].dword[3]); in gpi_create_spi_tre()