Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/irqchip/
Dirq-bcm6345-l1.c78 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()
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()
[all …]
Dirq-bcm7038-l1.c40 unsigned int n_words; member
83 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
89 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
95 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
101 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
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()
[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()
288 for (idx = 0; idx < data->n_words; idx++) { in bcm7120_l2_intc_probe()
/linux-6.1.9/drivers/spi/
Dspi-qup.c142 int n_words; member
174 return controller->n_words * controller->w_size; in spi_qup_len()
466 qup->n_words = spi_qup_sgl_get_nents_len(rx_sgl, in spi_qup_do_dma()
469 qup->n_words = spi_qup_sgl_get_nents_len(tx_sgl, in spi_qup_do_dma()
471 if (!qup->n_words) in spi_qup_do_dma()
519 int ret, n_words, iterations, offset = 0; in spi_qup_do_pio() local
521 n_words = qup->n_words; in spi_qup_do_pio()
522 iterations = n_words / SPI_MAX_XFER; /* round down */ 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()
[all …]
Dspi-xilinx.c270 int n_words, tx_words, rx_words; in xilinx_spi_txrx_bufs() local
274 n_words = min(remaining_words, xspi->buffer_size); in xilinx_spi_txrx_bufs()
276 tx_words = n_words; in xilinx_spi_txrx_bufs()
300 rx_words = n_words; in xilinx_spi_txrx_bufs()
303 if (rx_words == n_words && !(stalled--) && in xilinx_spi_txrx_bufs()
325 remaining_words -= n_words; in xilinx_spi_txrx_bufs()
362 int n_words = 0; in xilinx_spi_find_buffer_size() local
375 n_words++; in xilinx_spi_find_buffer_size()
378 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.1.9/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.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw.c95 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()