Searched refs:n_words (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/irqchip/ |
A D | irq-bcm6345-l1.c | 78 unsigned int n_words; member 96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable() 106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status() 131 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle() 239 unsigned int i, n_words; in bcm6345_l1_init_one() local 244 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one() 246 if (!intc->n_words) in bcm6345_l1_init_one() 247 intc->n_words = n_words; in bcm6345_l1_init_one() 248 else if (intc->n_words != n_words) in bcm6345_l1_init_one() 260 for (i = 0; i < n_words; i++) { in bcm6345_l1_init_one() [all …]
|
A D | irq-bcm7038-l1.c | 40 unsigned int n_words; member 135 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle() 230 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local 236 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one() 238 if (n_words > MAX_WORDS) in bcm7038_l1_init_one() 240 else if (!intc->n_words) in bcm7038_l1_init_one() 241 intc->n_words = n_words; in bcm7038_l1_init_one() 242 else if (intc->n_words != n_words) in bcm7038_l1_init_one() 246 intc->irq_fwd_mask, n_words); in bcm7038_l1_init_one() 262 for (i = 0; i < n_words; i++) { in bcm7038_l1_init_one() [all …]
|
A D | irq-bcm7120-l2.c | 42 unsigned int n_words; member 64 for (idx = 0; idx < b->n_words; idx++) { in bcm7120_l2_intc_irq_handle() 129 for (idx = 0; idx < data->n_words; idx++) { in bcm7120_l2_intc_init_one() 133 irq * data->n_words + idx); in bcm7120_l2_intc_init_one() 164 data->n_words = 1; in bcm7120_l2_intc_iomap_7120() 167 data->irq_fwd_mask, data->n_words); in bcm7120_l2_intc_iomap_7120() 176 (ret != (sizeof(__be32) * data->num_parent_irqs * data->n_words))) { in bcm7120_l2_intc_iomap_7120() 211 data->n_words = gc_idx; in bcm7120_l2_intc_iomap_3380() 267 data->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * data->n_words, in bcm7120_l2_intc_probe() 289 for (idx = 0; idx < data->n_words; idx++) { in bcm7120_l2_intc_probe()
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-qup.c | 142 int n_words; member 471 if (!qup->n_words) in spi_qup_do_dma() 521 n_words = qup->n_words; in spi_qup_do_pio() 528 qup->n_words = SPI_MAX_XFER; in spi_qup_do_pio() 530 qup->n_words = n_words % SPI_MAX_XFER; in spi_qup_do_pio() 715 writel_relaxed(controller->n_words, in spi_qup_io_config() 717 writel_relaxed(controller->n_words, in spi_qup_io_config() 724 writel_relaxed(controller->n_words, in spi_qup_io_config() 726 writel_relaxed(controller->n_words, in spi_qup_io_config() 752 writel_relaxed(controller->n_words, in spi_qup_io_config() [all …]
|
A D | spi-xilinx.c | 271 int n_words, tx_words, rx_words; in xilinx_spi_txrx_bufs() local 275 n_words = min(remaining_words, xspi->buffer_size); in xilinx_spi_txrx_bufs() 277 tx_words = n_words; in xilinx_spi_txrx_bufs() 301 rx_words = n_words; in xilinx_spi_txrx_bufs() 304 if (rx_words == n_words && !(stalled--) && in xilinx_spi_txrx_bufs() 326 remaining_words -= n_words; in xilinx_spi_txrx_bufs() 363 int n_words = 0; in xilinx_spi_find_buffer_size() local 376 n_words++; in xilinx_spi_find_buffer_size() 379 return n_words; in xilinx_spi_find_buffer_size()
|
A D | spi-sifive.c | 265 unsigned int n_words = min(remaining_words, spi->fifo_depth); in sifive_spi_transfer_one() local 269 for (i = 0; i < n_words; i++) in sifive_spi_transfer_one() 275 n_words - 1); in sifive_spi_transfer_one() 279 for (i = 0; i < n_words; i++) in sifive_spi_transfer_one() 286 remaining_words -= n_words; in sifive_spi_transfer_one()
|
/linux-6.3-rc2/drivers/iio/adc/ |
A D | ti-adc084s021.c | 75 int n_words = (adc->spi_trans.len >> 1) - 1; /* Discard first word */ in adc084s021_adc_conversion() local 83 for (; i < n_words; i++) in adc084s021_adc_conversion()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | fw.c | 95 int n_words = le32_to_cpu(mfu_dump_notif->data_size) / sizeof(__le32); in iwl_mvm_mfu_assert_dump_notif() local 102 for (i = 0; i < n_words; i++) in iwl_mvm_mfu_assert_dump_notif() 106 n_words + i, in iwl_mvm_mfu_assert_dump_notif()
|
Completed in 20 milliseconds