Searched refs:bpw (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/spi/ |
D | spi-dln2.c | 94 u8 bpw; member 305 static int dln2_spi_set_bpw(struct dln2_spi *dln2, u8 bpw) in dln2_spi_set_bpw() argument 309 u8 bpw; in dln2_spi_set_bpw() member 313 tx.bpw = bpw; in dln2_spi_set_bpw() 358 static int dln2_spi_copy_to_buf(u8 *dln2_buf, const u8 *src, u16 len, u8 bpw) in dln2_spi_copy_to_buf() argument 363 if (bpw <= 8) { in dln2_spi_copy_to_buf() 365 } else if (bpw <= 16) { in dln2_spi_copy_to_buf() 391 static int dln2_spi_copy_from_buf(u8 *dest, const u8 *dln2_buf, u16 len, u8 bpw) in dln2_spi_copy_from_buf() argument 396 if (bpw <= 8) { in dln2_spi_copy_from_buf() 398 } else if (bpw <= 16) { in dln2_spi_copy_from_buf() [all …]
|
D | spi-topcliff-pch.c | 553 static void pch_spi_set_tx(struct pch_spi_data *data, int *bpw) in pch_spi_set_tx() argument 574 *bpw = data->cur_trans->bits_per_word; in pch_spi_set_tx() 576 *bpw = data->current_msg->spi->bits_per_word; in pch_spi_set_tx() 583 data->bpw_len = data->cur_trans->len / (*bpw / 8); in pch_spi_set_tx() 613 if (*bpw == 8) { in pch_spi_set_tx() 729 static void pch_spi_copy_rx_data(struct pch_spi_data *data, int bpw) in pch_spi_copy_rx_data() argument 739 if (bpw == 8) { in pch_spi_copy_rx_data() 750 static void pch_spi_copy_rx_data_for_dma(struct pch_spi_data *data, int bpw) in pch_spi_copy_rx_data_for_dma() argument 762 if (bpw == 8) { in pch_spi_copy_rx_data_for_dma() 854 static void pch_spi_request_dma(struct pch_spi_data *data, int bpw) in pch_spi_request_dma() argument [all …]
|
D | spi-clps711x.c | 37 unsigned int bpw; member 71 hw->bpw = xfer->bits_per_word; in spi_clps711x_transfer_one() 77 writel(data | SYNCIO_FRMLEN(hw->bpw) | SYNCIO_TXFRMEN, hw->syncio); in spi_clps711x_transfer_one() 96 writel(data | SYNCIO_FRMLEN(hw->bpw) | SYNCIO_TXFRMEN, in spi_clps711x_isr()
|
D | spi-au1550.c | 99 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw); 233 unsigned bpw, hz; in au1550_spi_setupxfer() local 236 bpw = spi->bits_per_word; in au1550_spi_setupxfer() 240 bpw = t->bits_per_word; in au1550_spi_setupxfer() 255 if (hw->usedma && bpw <= 8) in au1550_spi_setupxfer() 260 cfg |= PSC_SPICFG_SET_LEN(bpw); in au1550_spi_setupxfer() 658 static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw) in au1550_spi_bits_handlers_set() argument 660 if (bpw <= 8) { in au1550_spi_bits_handlers_set() 670 } else if (bpw <= 16) { in au1550_spi_bits_handlers_set()
|
D | spi-imx.c | 62 unsigned int bpw; member 333 ctrl |= (config->bpw - 1) << MX51_ECSPI_CTRL_BL_OFFSET; in mx51_ecspi_config() 458 reg |= (config->bpw - 1) << MX35_CSPICTRL_BL_SHIFT; in mx31_config() 461 reg |= (config->bpw - 1) << MX31_CSPICTRL_BC_SHIFT; in mx31_config() 535 reg |= config->bpw - 1; in mx21_config() 600 reg |= config->bpw - 1; in mx1_config() 773 config.bpw = t ? t->bits_per_word : spi->bits_per_word; in spi_imx_setupxfer() 780 if (!config.bpw) in spi_imx_setupxfer() 781 config.bpw = spi->bits_per_word; in spi_imx_setupxfer() 784 if (config.bpw <= 8) { in spi_imx_setupxfer() [all …]
|
D | spi-efm32.c | 121 unsigned bpw = t->bits_per_word ?: spi->bits_per_word; in efm32_spi_setup_transfer() local 131 REG_FRAME_DATABITS(bpw), REG_FRAME); in efm32_spi_setup_transfer()
|
D | spi-rockchip.c | 180 u8 bpw; member 579 rs->bpw = xfer->bits_per_word; in rockchip_spi_transfer_one() 580 rs->n_bytes = rs->bpw >> 3; in rockchip_spi_transfer_one()
|
D | spi-s3c64xx.c | 677 u8 bpw; in s3c64xx_spi_transfer_one() local 684 bpw = xfer->bits_per_word; in s3c64xx_spi_transfer_one() 687 if (bpw != sdd->cur_bpw || speed != sdd->cur_speed) { in s3c64xx_spi_transfer_one() 688 sdd->cur_bpw = bpw; in s3c64xx_spi_transfer_one()
|
D | spi-ep93xx.c | 121 #define bits_per_word_to_dss(bpw) ((bpw) - 1) argument
|
/linux-4.1.27/block/ |
D | blk-mq.c | 1526 unsigned int bpw = 8, total, num_maps, i; in blk_mq_alloc_bitmap() local 1528 bitmap->bits_per_word = bpw; in blk_mq_alloc_bitmap() 1530 num_maps = ALIGN(nr_cpu_ids, bpw) / bpw; in blk_mq_alloc_bitmap()
|