Home
last modified time | relevance | path

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

/linux/drivers/irqchip/
H A 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()
229 unsigned int i, n_words; in bcm6345_l1_init_one() local
234 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm6345_l1_init_one()
236 if (!intc->n_words) in bcm6345_l1_init_one()
237 intc->n_words = n_words; in bcm6345_l1_init_one()
[all …]
H A Dirq-bcm7038-l1.c39 unsigned int n_words; member
82 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
88 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
94 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
128 for (idx = 0; idx < intc->n_words; idx++) { in bcm7038_l1_irq_handle()
222 unsigned int i, n_words, parent_irq; in bcm7038_l1_init_one() local
228 n_words = sz / REG_BYTES_PER_IRQ_WORD; in bcm7038_l1_init_one()
230 if (n_words > MAX_WORDS) in bcm7038_l1_init_one()
232 else if (!intc->n_words) in bcm7038_l1_init_one()
233 intc->n_words = n_words; in bcm7038_l1_init_one()
[all …]
H A Dirq-bcm7120-l2.c42 unsigned int n_words; member
64 for (idx = 0; idx < b->n_words; idx++) { in bcm7120_l2_intc_irq_handle()
125 for (idx = 0; idx < data->n_words; idx++) { in bcm7120_l2_intc_init_one()
129 irq * data->n_words + idx); in bcm7120_l2_intc_init_one()
159 data->n_words = 1; in bcm7120_l2_intc_iomap_7120()
162 data->irq_fwd_mask, data->n_words); in bcm7120_l2_intc_iomap_7120()
171 (ret != (sizeof(__be32) * data->num_parent_irqs * data->n_words))) { in bcm7120_l2_intc_iomap_7120()
205 data->n_words = gc_idx; in bcm7120_l2_intc_iomap_3380()
252 data->domain = irq_domain_create_linear(of_fwnode_handle(dn), IRQS_PER_WORD * data->n_words, in bcm7120_l2_intc_probe()
274 for (idx = 0; idx < data->n_words; idx++) { in bcm7120_l2_intc_probe()
/linux/drivers/iio/adc/
H A 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()