Home
last modified time | relevance | path

Searched refs:n_words (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/irqchip/
Dirq-bcm6345-l1.c77 unsigned int n_words; member
94 return (1 * intc->n_words - word - 1) * sizeof(u32); in reg_enable()
96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable()
104 return (2 * intc->n_words - word - 1) * sizeof(u32); in reg_status()
106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status()
125 for (idx = 0; idx < intc->n_words; idx++) { in bcm6345_l1_irq_handle()
233 unsigned int i, n_words; in bcm6345_l1_init_one() local
238 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one()
240 if (!intc->n_words) in bcm6345_l1_init_one()
241 intc->n_words = n_words; in bcm6345_l1_init_one()
[all …]
Dirq-bcm7038-l1.c39 unsigned int n_words; member
82 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
88 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
94 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
100 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
134 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
229 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local
235 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one()
237 if (n_words > MAX_WORDS) in bcm7038_l1_init_one()
239 else if (!intc->n_words) in bcm7038_l1_init_one()
[all …]
Dirq-bcm7120-l2.c42 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.6.21/drivers/spi/
Dspi-qup.c141 int n_words; member
173 return controller->n_words * controller->w_size; in spi_qup_len()
465 qup->n_words = spi_qup_sgl_get_nents_len(rx_sgl, in spi_qup_do_dma()
468 qup->n_words = spi_qup_sgl_get_nents_len(tx_sgl, in spi_qup_do_dma()
470 if (!qup->n_words) in spi_qup_do_dma()
518 int ret, n_words, iterations, offset = 0; in spi_qup_do_pio() local
520 n_words = qup->n_words; in spi_qup_do_pio()
521 iterations = n_words / SPI_MAX_XFER; /* round down */ in spi_qup_do_pio()
527 qup->n_words = SPI_MAX_XFER; in spi_qup_do_pio()
529 qup->n_words = n_words % SPI_MAX_XFER; in spi_qup_do_pio()
[all …]
Dspi-xilinx.c271 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()
Dspi-sifive.c265 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.6.21/drivers/iio/adc/
Dti-adc084s021.c75 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.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw.c96 int n_words = le32_to_cpu(mfu_dump_notif->data_size) / sizeof(__le32); in iwl_mvm_mfu_assert_dump_notif() local
103 for (i = 0; i < n_words; i++) in iwl_mvm_mfu_assert_dump_notif()
107 n_words + i, in iwl_mvm_mfu_assert_dump_notif()