Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 16 of 16) sorted by relevance

/arch/tile/gxio/
Ddma_queue.c51 void *post_region_addr, unsigned int num_entries) in __gxio_dma_queue_init() argument
57 int64_t credits = (num_entries < 65536) ? num_entries : 65535; in __gxio_dma_queue_init()
Dmpipe.c370 unsigned int num_entries = mem_size / sizeof(gxio_mpipe_idesc_t); in gxio_mpipe_iqueue_init() local
375 iqueue->num_entries = num_entries; in gxio_mpipe_iqueue_init()
376 iqueue->mask_num_entries = num_entries - 1; in gxio_mpipe_iqueue_init()
377 iqueue->log2_num_entries = __builtin_ctz(num_entries); in gxio_mpipe_iqueue_init()
400 unsigned int num_entries = mem_size / sizeof(gxio_mpipe_edesc_t); in gxio_mpipe_equeue_init() local
420 num_entries); in gxio_mpipe_equeue_init()
422 equeue->mask_num_entries = num_entries - 1; in gxio_mpipe_equeue_init()
423 equeue->log2_num_entries = __builtin_ctz(num_entries); in gxio_mpipe_equeue_init()
/arch/sparc/kernel/
Dpci_sun4v.h34 unsigned long num_entries);
38 unsigned long *num_entries);
Dirq_64.c984 unsigned long num_entries = (qmask + 1) / 64; in register_one_mondo() local
987 status = sun4v_cpu_qconf(type, paddr, num_entries); in register_one_mondo()
990 "err %lu\n", type, paddr, num_entries, status); in register_one_mondo()
Dldc.c203 static unsigned long __advance(unsigned long off, unsigned long num_entries) in __advance() argument
206 if (off == (num_entries * LDC_PACKET_SIZE)) in __advance()
964 static int alloc_queue(const char *name, unsigned long num_entries, in alloc_queue() argument
970 size = num_entries * LDC_PACKET_SIZE; in alloc_queue()
988 static void free_queue(unsigned long num_entries, struct ldc_packet *q) in free_queue() argument
995 size = num_entries * LDC_PACKET_SIZE; in free_queue()
Dviohs.c188 u.pkt.num_descr = dr->num_entries; in send_dreg()
446 dr->num_entries = pkt->num_descr; in process_dreg_info()
/arch/sparc/include/asm/
Dhypervisor.h2635 unsigned long num_entries);
2638 unsigned long *num_entries);
2647 unsigned long num_entries);
2650 unsigned long *num_entries);
2659 unsigned long num_entries);
2662 unsigned long *num_entries);
Dvio.h258 u32 num_entries; member
/arch/parisc/include/asm/
Dpdcpat.h195 extern int pdc_pat_get_irt_size(unsigned long *num_entries, unsigned long cell_num);
200 #define pdc_pat_get_irt_size(num_entries, cell_numn) PDC_BAD_PROC argument
Dpdc.h297 int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa);
298 int pdc_pci_irt(unsigned long num_entries, unsigned long hpa, void *tbl);
/arch/tile/include/gxio/
Ddma_queue.h58 unsigned int num_entries);
Dmpipe.h1125 unsigned long num_entries; member
1260 (tail >= head) ? (tail - head) : (iqueue->num_entries - head); in gxio_mpipe_iqueue_try_peek()
/arch/arm/kernel/
Dkprobes-test.c754 unsigned num_entries; member
793 struct coverage_entry *entry = coverage->base + coverage->num_entries; in coverage_start_fn()
795 if (coverage->num_entries == MAX_COVERAGE_ENTRIES - 1) { in coverage_start_fn()
800 ++coverage->num_entries; in coverage_start_fn()
823 coverage.num_entries = 0; in coverage_start()
899 struct coverage_entry *end = coverage.base + coverage.num_entries; in coverage_add()
946 struct coverage_entry *end = coverage.base + coverage.num_entries; in coverage_end()
/arch/parisc/kernel/
Dfirmware.c849 int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa) in pdc_pci_irt_size() argument
858 *num_entries = pdc_result[0]; in pdc_pci_irt_size()
873 int pdc_pci_irt(unsigned long num_entries, unsigned long hpa, void *tbl) in pdc_pci_irt() argument
881 pdc_result[0] = num_entries; in pdc_pci_irt()
1283 int pdc_pat_get_irt_size(unsigned long *num_entries, unsigned long cell_num) in pdc_pat_get_irt_size() argument
1291 *num_entries = pdc_result[0]; in pdc_pat_get_irt_size()
/arch/x86/kvm/
Dcpuid.c599 __u32 num_entries, unsigned int ioctl_type) in sanity_check_entries() argument
615 for (i = 0; i < num_entries; i++) { in sanity_check_entries()
/arch/ia64/include/asm/
Dpal.h1576 num_entries : 16, member
1587 #define tc_num_entries pal_tc_info_s.num_entries