Searched refs:n_words (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/drivers/irqchip/ |
H A D | irq-bcm7038-l1.c | 44 unsigned int n_words; member in struct:bcm7038_l1_chip 82 return (0 * intc->n_words + word) * sizeof(u32); reg_status() 88 return (1 * intc->n_words + word) * sizeof(u32); reg_mask_status() 94 return (2 * intc->n_words + word) * sizeof(u32); reg_mask_set() 100 return (3 * intc->n_words + word) * sizeof(u32); reg_mask_clr() 134 for (idx = 0; idx < intc->n_words; idx++) { bcm7038_l1_irq_handle() 227 unsigned int i, n_words, parent_irq; bcm7038_l1_init_one() local 232 n_words = sz / REG_BYTES_PER_IRQ_WORD; bcm7038_l1_init_one() 234 if (n_words > MAX_WORDS) bcm7038_l1_init_one() 236 else if (!intc->n_words) bcm7038_l1_init_one() 237 intc->n_words = n_words; bcm7038_l1_init_one() 238 else if (intc->n_words != n_words) bcm7038_l1_init_one() 241 cpu = intc->cpus[idx] = kzalloc(sizeof(*cpu) + n_words * sizeof(u32), bcm7038_l1_init_one() 250 for (i = 0; i < n_words; i++) { bcm7038_l1_init_one() 307 intc->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * intc->n_words, 316 intc->cpus[0]->map_base, IRQS_PER_WORD * intc->n_words);
|
H A D | irq-bcm7120-l2.c | 42 unsigned int n_words; member in struct:bcm7120_l2_intc_data 63 for (idx = 0; idx < b->n_words; idx++) { bcm7120_l2_intc_irq_handle() 124 for (idx = 0; idx < data->n_words; idx++) { bcm7120_l2_intc_init_one() 128 irq * data->n_words + idx); bcm7120_l2_intc_init_one() 154 data->n_words = 1; bcm7120_l2_intc_iomap_7120() 157 data->irq_fwd_mask, data->n_words); bcm7120_l2_intc_iomap_7120() 166 (ret != (sizeof(__be32) * data->num_parent_irqs * data->n_words))) { bcm7120_l2_intc_iomap_7120() 201 data->n_words = gc_idx; bcm7120_l2_intc_iomap_3380() 233 for (idx = 0; idx < data->n_words; idx++) { bcm7120_l2_intc_probe() 245 data->domain = irq_domain_add_linear(dn, IRQS_PER_WORD * data->n_words, bcm7120_l2_intc_probe() 269 for (idx = 0; idx < data->n_words; idx++) { bcm7120_l2_intc_probe()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-xilinx.c | 272 int n_words, tx_words, rx_words; xilinx_spi_txrx_bufs() local 274 n_words = min(remaining_words, xspi->buffer_size); xilinx_spi_txrx_bufs() 276 tx_words = n_words; xilinx_spi_txrx_bufs() 302 rx_words = n_words; xilinx_spi_txrx_bufs() 306 remaining_words -= n_words; xilinx_spi_txrx_bufs() 342 int n_words = 0; xilinx_spi_find_buffer_size() local 355 n_words++; xilinx_spi_find_buffer_size() 358 return n_words; xilinx_spi_find_buffer_size()
|
H A D | spi-qup.c | 147 int n_words; member in struct:spi_qup 459 qup->n_words = xfer->len / qup->w_size; spi_qup_get_mode() 461 if (qup->n_words <= (qup->in_fifo_sz / sizeof(u32))) spi_qup_get_mode() 474 int ret, n_words; spi_qup_io_config() local 495 n_words = controller->n_words; spi_qup_io_config() 498 writel_relaxed(n_words, controller->base + QUP_MX_READ_CNT); spi_qup_io_config() 499 writel_relaxed(n_words, controller->base + QUP_MX_WRITE_CNT); spi_qup_io_config() 504 writel_relaxed(n_words, controller->base + QUP_MX_INPUT_CNT); spi_qup_io_config() 505 writel_relaxed(n_words, controller->base + QUP_MX_OUTPUT_CNT); spi_qup_io_config() 527 writel_relaxed(n_words, input_cnt); spi_qup_io_config()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 3714 int n_words = 0; display_crc_ctl_tokenize() local 3728 if (n_words == max_words) { display_crc_ctl_tokenize() 3736 words[n_words++] = buf; display_crc_ctl_tokenize() 3740 return n_words; display_crc_ctl_tokenize() 3794 int n_words; display_crc_ctl_parse() local 3800 n_words = display_crc_ctl_tokenize(buf, words, N_WORDS); display_crc_ctl_parse() 3801 if (n_words != N_WORDS) { display_crc_ctl_parse()
|
Completed in 222 milliseconds