Home
last modified time | relevance | path

Searched refs:word_len (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/spi/
A Dspi-omap-100k.c77 int word_len; member
182 int word_len; in omap1_spi100k_txrx_pio() local
186 word_len = cs->word_len; in omap1_spi100k_txrx_pio()
188 if (word_len <= 8) { in omap1_spi100k_txrx_pio()
201 } else if (word_len <= 16) { in omap1_spi100k_txrx_pio()
214 } else if (word_len <= 32) { in omap1_spi100k_txrx_pio()
237 u8 word_len; in omap1_spi100k_setup_transfer() local
240 word_len = t->bits_per_word; in omap1_spi100k_setup_transfer()
242 word_len = spi->bits_per_word; in omap1_spi100k_setup_transfer()
244 if (word_len > 32) in omap1_spi100k_setup_transfer()
[all …]
A Dspi-omap2-mcspi.c137 int word_len; member
192 if (word_len <= 8) in mcspi_bytes_per_word()
461 word_len = cs->word_len; in omap2_mcspi_rx_dma()
464 if (word_len <= 8) in omap2_mcspi_rx_dma()
546 if (word_len <= 8) in omap2_mcspi_rx_dma()
564 if (word_len <= 8) in omap2_mcspi_rx_dma()
697 int word_len; in omap2_mcspi_txrx_pio() local
701 word_len = cs->word_len; in omap2_mcspi_txrx_pio()
714 if (word_len <= 8) { in omap2_mcspi_txrx_pio()
730 word_len, *tx); in omap2_mcspi_txrx_pio()
[all …]
A Dspi-orion.c471 int word_len; in orion_spi_write_read() local
476 word_len = spi->bits_per_word; in orion_spi_write_read()
488 if (vaddr && xfer->tx_buf && word_len == 8 && (spi->mode & SPI_CS_WORD) == 0) { in orion_spi_write_read()
506 if (word_len == 8) { in orion_spi_write_read()
516 } else if (word_len == 16) { in orion_spi_write_read()
A Dspi-geni-qcom.c256 u32 word_len; in spi_setup_word_len() local
268 word_len = (bits_per_word - MIN_WORD_LEN) & WORD_LEN_MSK; in spi_setup_word_len()
269 writel(word_len, se->base + SE_SPI_WORD_LEN); in spi_setup_word_len()
406 peripheral.word_len = xfer->bits_per_word - MIN_WORD_LEN; in setup_gsi_xfer()
/linux/drivers/platform/chrome/wilco_ec/
A Ddebugfs.c52 int word_len; in parse_hex_sentence() local
72 word_len = word_end - word_start; in parse_hex_sentence()
73 if (word_len > MAX_WORD_SIZE) in parse_hex_sentence()
75 memcpy(tmp, in + word_start, word_len); in parse_hex_sentence()
76 tmp[word_len] = '\0'; in parse_hex_sentence()
/linux/sound/soc/codecs/
A Dad1836.c167 int word_len = 0; in ad1836_hw_params() local
172 word_len = AD1836_WORD_LEN_16; in ad1836_hw_params()
175 word_len = AD1836_WORD_LEN_20; in ad1836_hw_params()
179 word_len = AD1836_WORD_LEN_24; in ad1836_hw_params()
187 word_len << AD1836_DAC_WORD_LEN_OFFSET); in ad1836_hw_params()
191 word_len << AD1836_ADC_WORD_OFFSET); in ad1836_hw_params()
A Dad193x.c316 int word_len = 0, master_rate = 0; in ad193x_hw_params() local
330 word_len = 3; in ad193x_hw_params()
333 word_len = 1; in ad193x_hw_params()
337 word_len = 0; in ad193x_hw_params()
380 word_len << AD193X_DAC_WORD_LEN_SHFT); in ad193x_hw_params()
384 AD193X_ADC_WORD_LEN_MASK, word_len); in ad193x_hw_params()
A Dmt6660.c332 int word_len = params_physical_width(hw_params); in mt6660_component_aif_hw_params() local
340 dev_dbg(dai->dev, "word_len: %d, aud_bit: %d\n", word_len, aud_bit); in mt6660_component_aif_hw_params()
341 if (word_len > 32 || word_len < 16) { in mt6660_component_aif_hw_params()
369 MT6660_REG_TDM_CFG3, 0x3f0, word_len << 4); in mt6660_component_aif_hw_params()
A Dda7219.c1561 int word_len = params_width(params); in da7219_hw_params() local
1564 switch (word_len) { in da7219_hw_params()
1613 if ((word_len * DA7219_DAI_CH_NUM_MAX) <= 32) in da7219_hw_params()
/linux/drivers/base/regmap/
A Dregmap-spi-avmm.c159 unsigned char word_len; member
317 if (br->word_len == 1) in br_pkt_phy_tx_prepare()
321 aligned_phy_len = ALIGN(br->phy_len, br->word_len); in br_pkt_phy_tx_prepare()
378 ret = spi_read(br->spi, pb, br->word_len); in br_do_rx_and_pkt_phy_parse()
384 br->swap_words(pb, br->word_len); in br_do_rx_and_pkt_phy_parse()
387 for (i = 0; i < br->word_len; i++) { in br_do_rx_and_pkt_phy_parse()
644 br->word_len = spi->bits_per_word / 8; in spi_avmm_bridge_ctx_gen()
645 if (br->word_len == 4) { in spi_avmm_bridge_ctx_gen()
/linux/sound/soc/cirrus/
A Dep93xx-i2s.c300 unsigned word_len, div, sdiv, lrdiv; in ep93xx_i2s_hw_params() local
305 word_len = EP93XX_I2S_WRDLEN_16; in ep93xx_i2s_hw_params()
309 word_len = EP93XX_I2S_WRDLEN_24; in ep93xx_i2s_hw_params()
313 word_len = EP93XX_I2S_WRDLEN_32; in ep93xx_i2s_hw_params()
321 ep93xx_i2s_write_reg(info, EP93XX_I2S_TXWRDLEN, word_len); in ep93xx_i2s_hw_params()
323 ep93xx_i2s_write_reg(info, EP93XX_I2S_RXWRDLEN, word_len); in ep93xx_i2s_hw_params()
/linux/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_buffer.c325 unsigned int word_len, read_len = 0; in st_lsm6dsx_read_block() local
329 word_len = min_t(unsigned int, data_len - read_len, in st_lsm6dsx_read_block()
332 word_len); in st_lsm6dsx_read_block()
335 read_len += word_len; in st_lsm6dsx_read_block()
/linux/include/linux/dma/
A Dqcom-gpi-dma.h40 u8 word_len; member
/linux/net/netfilter/
A Dnf_conntrack_sip.c100 static int word_len(const char *dptr, const char *limit) in word_len() function
115 len = word_len(dptr, limit); in callid_len()
122 domain_len = word_len(dptr, limit); in callid_len()
/linux/drivers/dma/qcom/
A Dgpi.c1727 tre->dword[0] = u32_encode_bits(spi->word_len, TRE_SPI_C0_WORD_SZ); in gpi_create_spi_tre()

Completed in 42 milliseconds