Searched refs:word_len (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/spi/ |
D | spi-omap-100k.c | 87 int word_len; member 192 int word_len; in omap1_spi100k_txrx_pio() local 196 word_len = cs->word_len; in omap1_spi100k_txrx_pio() 198 if (word_len <= 8) { in omap1_spi100k_txrx_pio() 207 spi100k_write_data(spi->master, word_len, *tx++); in omap1_spi100k_txrx_pio() 209 *rx++ = spi100k_read_data(spi->master, word_len); in omap1_spi100k_txrx_pio() 211 } else if (word_len <= 16) { in omap1_spi100k_txrx_pio() 220 spi100k_write_data(spi->master, word_len, *tx++); in omap1_spi100k_txrx_pio() 222 *rx++ = spi100k_read_data(spi->master, word_len); in omap1_spi100k_txrx_pio() 224 } else if (word_len <= 32) { in omap1_spi100k_txrx_pio() [all …]
|
D | spi-omap2-mcspi.c | 144 int word_len; member 197 static inline int mcspi_bytes_per_word(int word_len) in mcspi_bytes_per_word() argument 199 if (word_len <= 8) in mcspi_bytes_per_word() 201 else if (word_len <= 16) in mcspi_bytes_per_word() 309 bytes_per_word = mcspi_bytes_per_word(cs->word_len); in omap2_mcspi_set_fifo() 440 int word_len, element_count; in omap2_mcspi_rx_dma() local 456 word_len = cs->word_len; in omap2_mcspi_rx_dma() 459 if (word_len <= 8) in omap2_mcspi_rx_dma() 461 else if (word_len <= 16) in omap2_mcspi_rx_dma() 544 if (word_len <= 8) in omap2_mcspi_rx_dma() [all …]
|
D | spi-orion.c | 431 int word_len; in orion_spi_write_read() local 435 word_len = spi->bits_per_word; in orion_spi_write_read() 445 (word_len == 8)) { in orion_spi_write_read() 465 if (word_len == 8) { in orion_spi_write_read() 474 } else if (word_len == 16) { in orion_spi_write_read()
|
/Linux-v4.19/sound/soc/codecs/ |
D | ad1836.c | 168 int word_len = 0; in ad1836_hw_params() local 173 word_len = AD1836_WORD_LEN_16; in ad1836_hw_params() 176 word_len = AD1836_WORD_LEN_20; in ad1836_hw_params() 180 word_len = AD1836_WORD_LEN_24; in ad1836_hw_params() 188 word_len << AD1836_DAC_WORD_LEN_OFFSET); in ad1836_hw_params() 192 word_len << AD1836_ADC_WORD_OFFSET); in ad1836_hw_params()
|
D | ad193x.c | 277 int word_len = 0, master_rate = 0; in ad193x_hw_params() local 284 word_len = 3; in ad193x_hw_params() 287 word_len = 1; in ad193x_hw_params() 291 word_len = 0; in ad193x_hw_params() 315 word_len << AD193X_DAC_WORD_LEN_SHFT); in ad193x_hw_params() 319 AD193X_ADC_WORD_LEN_MASK, word_len); in ad193x_hw_params()
|
/Linux-v4.19/sound/soc/cirrus/ |
D | ep93xx-i2s.c | 305 unsigned word_len, div, sdiv, lrdiv; in ep93xx_i2s_hw_params() local 310 word_len = EP93XX_I2S_WRDLEN_16; in ep93xx_i2s_hw_params() 314 word_len = EP93XX_I2S_WRDLEN_24; in ep93xx_i2s_hw_params() 318 word_len = EP93XX_I2S_WRDLEN_32; in ep93xx_i2s_hw_params() 326 ep93xx_i2s_write_reg(info, EP93XX_I2S_TXWRDLEN, word_len); in ep93xx_i2s_hw_params() 328 ep93xx_i2s_write_reg(info, EP93XX_I2S_RXWRDLEN, word_len); in ep93xx_i2s_hw_params()
|
/Linux-v4.19/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_buffer.c | 259 unsigned int word_len, read_len = 0; in st_lsm6dsx_read_block() local 263 word_len = min_t(unsigned int, data_len - read_len, in st_lsm6dsx_read_block() 267 data + read_len, word_len); in st_lsm6dsx_read_block() 270 read_len += word_len; in st_lsm6dsx_read_block()
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_sip.c | 94 static int word_len(const char *dptr, const char *limit) in word_len() function 109 len = word_len(dptr, limit); in callid_len() 116 domain_len = word_len(dptr, limit); in callid_len()
|