Searched refs:nr (Results 276 - 300 of 1695) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/bluetooth/
H A Dbtintel.h180 #define btintel_set_flag(hdev, nr) \
183 set_bit((nr), intel->flags); \
186 #define btintel_clear_flag(hdev, nr) \
189 clear_bit((nr), intel->flags); \
192 #define btintel_wake_up_flag(hdev, nr) \
195 wake_up_bit(intel->flags, (nr)); \
201 #define btintel_test_flag(hdev, nr) test_bit((nr), btintel_get_flag(hdev))
202 #define btintel_test_and_clear_flag(hdev, nr) test_and_clear_bit((nr), btintel_get_fla
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dsmp.c64 static int pnv_smp_kick_cpu(int nr) argument
72 if (nr < 0 || nr >= nr_cpu_ids)
75 pcpu = get_hard_smp_processor_id(nr);
80 if (paca_ptrs[nr]->cpu_start || !firmware_has_feature(FW_FEATURE_OPAL))
91 pr_warn("OPAL Error %ld querying CPU %d state\n", rc, nr);
106 pr_devel("OPAL: Starting CPU %d (HW 0x%x)...\n", nr, pcpu);
109 pr_warn("OPAL Error %ld starting CPU %d\n", rc, nr);
120 " (status %d)...\n", nr, pcpu, status);
125 return smp_generic_kick_cpu(nr);
298 pnv_cpu_bootable(unsigned int nr) argument
[all...]
/linux-master/net/ncsi/
H A Dncsi-cmd.c287 struct ncsi_request *nr; local
289 nr = ncsi_alloc_request(ndp, nca->req_flags);
290 if (!nr)
306 ncsi_free_request(nr);
310 nr->cmd = skb;
317 return nr;
323 struct ncsi_request *nr; local
359 nr = ncsi_alloc_command(nca);
360 if (!nr)
365 nr
[all...]
/linux-master/tools/perf/util/
H A Dcputopo.c260 u32 nr, i, nr_addr; local
276 nr = (u32)(ncpus & UINT_MAX);
278 sz = nr * sizeof(char *);
297 for (i = 0; i < nr; i++) {
315 static int load_numa_node(struct numa_topology_node *node, int nr) argument
325 node->node = (u32) nr;
328 sysfs__mountpoint(), nr);
351 sysfs__mountpoint(), nr);
382 u32 nr, i; local
404 nr
475 int nr = perf_pmus__num_core_pmus(), i = 0; local
[all...]
H A Dthread_map.c51 threads->nr = items;
68 threads->nr = 1;
90 threads->nr = 0;
116 while (threads->nr + items >= max_threads) {
132 perf_thread_map__set_pid(threads, threads->nr + i,
140 threads->nr += items;
223 threads->nr = total_tasks;
279 threads->nr = ntasks;
311 threads->nr, threads->nr >
[all...]
H A Dstrbuf.c49 size_t nr = sb->len + extra + 1; local
51 if (nr < sb->alloc)
54 if (nr <= sb->len)
57 if (alloc_nr(sb->alloc) > nr)
58 nr = alloc_nr(sb->alloc);
64 buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf));
69 sb->alloc = nr;
/linux-master/fs/bcachefs/
H A Dbtree_journal_iter.c36 size_t gap_size = keys->size - keys->nr;
52 size_t l = 0, r = keys->nr, m;
62 BUG_ON(l < keys->nr &&
87 BUG_ON(*idx > keys->nr);
102 while ((k = *idx < keys->nr ? idx_to_key(keys, *idx) : NULL)) {
136 size_t gap_size = keys->size - keys->nr;
154 size_t gap_end = keys->gap + (keys->size - keys->nr);
178 size_t gap_size = keys->size - keys->nr;
216 idx -= keys->size - keys->nr;
220 if (keys->nr
395 unsigned nr = test_bit(BCH_FS_started, &c->flags) local
[all...]
H A Dtests.c32 static int test_delete(struct bch_fs *c, u64 nr) argument
73 static int test_delete_written(struct bch_fs *c, u64 nr) argument
108 static int test_iterate(struct bch_fs *c, u64 nr) argument
117 for (i = 0; i < nr; i++) {
144 BUG_ON(i != nr);
162 static int test_iterate_extents(struct bch_fs *c, u64 nr) argument
171 for (i = 0; i < nr; i += 8) {
200 BUG_ON(i != nr);
219 static int test_iterate_slots(struct bch_fs *c, u64 nr) argument
228 for (i = 0; i < nr;
278 test_iterate_slots_extents(struct bch_fs *c, u64 nr) argument
343 test_peek_end(struct bch_fs *c, u64 nr) argument
363 test_peek_end_extents(struct bch_fs *c, u64 nr) argument
417 test_extent_overwrite_front(struct bch_fs *c, u64 nr) argument
423 test_extent_overwrite_back(struct bch_fs *c, u64 nr) argument
429 test_extent_overwrite_middle(struct bch_fs *c, u64 nr) argument
434 test_extent_overwrite_all(struct bch_fs *c, u64 nr) argument
500 test_snapshots(struct bch_fs *c, u64 nr) argument
539 rand_insert(struct bch_fs *c, u64 nr) argument
561 rand_insert_multi(struct bch_fs *c, u64 nr) argument
593 rand_lookup(struct bch_fs *c, u64 nr) argument
643 rand_mixed(struct bch_fs *c, u64 nr) argument
689 rand_delete(struct bch_fs *c, u64 nr) argument
708 seq_insert(struct bch_fs *c, u64 nr) argument
[all...]
/linux-master/drivers/hwmon/
H A Dw83627hf.c160 /* The W83782D registers for nr=7,8 are in bank 5 */
161 #define W83781D_REG_IN_MAX(nr) ((nr < 7) ? (0x2b + (nr) * 2) : \
162 (0x554 + (((nr) - 7) * 2)))
163 #define W83781D_REG_IN_MIN(nr) ((nr < 7) ? (0x2c + (nr) * 2) : \
164 (0x555 + (((nr) - 7) * 2)))
165 #define W83781D_REG_IN(nr) ((n
1009 int nr = to_sensor_dev_attr(devattr)->index; local
1017 int nr = to_sensor_dev_attr(devattr)->index; local
1026 int nr = to_sensor_dev_attr(devattr)->index; local
1045 int nr = to_sensor_dev_attr(devattr)->index; local
1054 int nr = to_sensor_dev_attr(devattr)->index; local
1099 int nr = to_sensor_dev_attr(devattr)->index; local
1108 int nr = to_sensor_dev_attr(devattr)->index; local
1118 int nr = to_sensor_dev_attr(devattr)->index; local
1146 int nr = to_sensor_dev_attr(devattr)->index; local
1162 int nr = to_sensor_dev_attr(devattr)->index; local
1206 int nr = to_sensor_dev_attr(devattr)->index; local
1217 int nr = to_sensor_dev_attr(devattr)->index; local
1229 int nr = to_sensor_dev_attr(devattr)->index; local
1251 int nr = to_sensor_dev_attr(devattr)->index; local
1263 int nr = to_sensor_dev_attr(devattr)->index; local
1295 int nr = to_sensor_dev_attr(devattr)->index; local
1304 int nr = to_sensor_dev_attr(devattr)->index; local
1431 int nr = to_sensor_dev_attr(devattr)->index; local
1440 int nr = to_sensor_dev_attr(devattr)->index; local
1519 int nr = to_sensor_dev_attr(devattr)->index; local
1533 int nr = to_sensor_dev_attr(devattr)->index; local
1606 int nr = to_sensor_dev_attr(devattr)->index; local
1615 int nr = to_sensor_dev_attr(devattr)->index; local
[all...]
H A Dlm78.c43 #define LM78_REG_IN_MAX(nr) (0x2b + (nr) * 2)
44 #define LM78_REG_IN_MIN(nr) (0x2c + (nr) * 2)
45 #define LM78_REG_IN(nr) (0x20 + (nr))
47 #define LM78_REG_FAN_MIN(nr) (0x3b + (nr))
48 #define LM78_REG_FAN(nr) (0x28 + (nr))
171 int nr = attr->index; local
191 int nr = attr->index; local
298 int nr = attr->index; local
308 int nr = attr->index; local
318 int nr = attr->index; local
352 int nr = attr->index; local
440 int nr = to_sensor_dev_attr(da)->index; local
[all...]
/linux-master/tools/testing/selftests/x86/
H A Dsyscall_numbering.c123 long long nr = ((long long)msb << 32) | (unsigned int)lsb; local
136 : "a" (nr), "b" (nr),
179 for (int nr = start; nr <= end; nr++) {
180 long long ret = probe_syscall(msb, nr);
184 syscall_str(msb, nr, nr),
211 static bool check_zero(int msb, int nr) argument
216 check_enosys(int msb, int nr) argument
[all...]
H A Dmov_ss_trap.c145 unsigned long nr; local
158 asm volatile ("mov %[ss], %[tmp]" : [tmp] "=r" (nr) : [ss] "m" (ss));
179 nr = -1;
181 : [tmp] "+r" (nr) : [ss] "m" (ss));
203 : [tmp] "=r" (nr) : [ss] "m" (ss));
225 nr = SYS_getpid;
233 : "+a" (nr) : [ss] "m" (ss)
258 nr = SYS_getpid;
261 asm volatile ("xorl %%ebp, %%ebp; mov %[ss], %%ss; SYSENTER" : "+a" (nr)
274 nr
[all...]
/linux-master/arch/powerpc/include/asm/
H A Depapr_hcalls.h467 unsigned long nr)
478 register unsigned long r11 asm("r11") = nr;
503 unsigned long nr)
509 static inline long epapr_hypercall0_1(unsigned int nr, unsigned long *r2) argument
515 r = epapr_hypercall(in, out, nr);
521 static inline long epapr_hypercall0(unsigned int nr) argument
526 return epapr_hypercall(in, out, nr);
529 static inline long epapr_hypercall1(unsigned int nr, unsigned long p1) argument
535 return epapr_hypercall(in, out, nr);
538 static inline long epapr_hypercall2(unsigned int nr, unsigne argument
465 epapr_hypercall(unsigned long *in, unsigned long *out, unsigned long nr) argument
501 epapr_hypercall(unsigned long *in, unsigned long *out, unsigned long nr) argument
549 epapr_hypercall3(unsigned int nr, unsigned long p1, unsigned long p2, unsigned long p3) argument
561 epapr_hypercall4(unsigned int nr, unsigned long p1, unsigned long p2, unsigned long p3, unsigned long p4) argument
[all...]
/linux-master/drivers/pcmcia/
H A Dpxa2xx_base.c163 int sock = skt->nr;
223 skt->res_skt.start = _PCMCIA(skt->nr);
224 skt->res_skt.end = _PCMCIA(skt->nr) + PCMCIASp - 1;
225 skt->res_skt.name = skt_names[skt->nr];
228 skt->res_io.start = _PCMCIAIO(skt->nr);
229 skt->res_io.end = _PCMCIAIO(skt->nr) + PCMCIAIOSp - 1;
233 skt->res_mem.start = _PCMCIAMem(skt->nr);
234 skt->res_mem.end = _PCMCIAMem(skt->nr) + PCMCIAMemSp - 1;
238 skt->res_attr.start = _PCMCIAAttr(skt->nr);
239 skt->res_attr.end = _PCMCIAAttr(skt->nr)
[all...]
H A Dsa1111_jornada720.c45 j->gpio[J720_GPIO_PWR] = devm_gpiod_get(dev, skt->nr ? "s1-power" :
50 j->gpio[J720_GPIO_3V] = devm_gpiod_get(dev, skt->nr ? "s1-3v" :
68 skt->nr, state->Vcc, state->Vpp);
70 switch (skt->nr) {
127 .nr = 2,
H A Dsa1100_h3600.c27 skt->stat[SOC_STAT_CD].name = skt->nr ? "pcmcia1-detect" : "pcmcia0-detect";
28 skt->stat[SOC_STAT_RDY].name = skt->nr ? "pcmcia1-ready" : "pcmcia0-ready";
34 switch (skt->nr) {
76 switch (skt->nr) {
136 if (skt->nr == 1) {
/linux-master/arch/s390/include/asm/
H A Dsyscall.h130 #define GENERATE_SYSCALL_FUNC(nr) \
132 long syscall##nr(unsigned long syscall SYSCALL_PARM_##nr) \
136 SYSCALL_REGS_##nr; \
141 : "d" (r1) SYSCALL_FMT_##nr \
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dhtab_update.c78 unsigned int i, nr; local
90 nr = 4;
91 tids = calloc(nr, sizeof(*tids));
95 for (i = 0; i < nr; i++) {
107 for (i = 0; i < nr; i++) {
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmr.c74 unsigned long nr = min_t(unsigned long, num_pages, VMW_PPN_PER_REMAP); local
77 remap_cmd.numPages = nr;
83 for (i = 0; i < nr; ++i) {
94 num_pages -= nr;
95 remap_pos += nr;
/linux-master/arch/powerpc/platforms/cell/
H A Dsmp.c108 static int smp_cell_kick_cpu(int nr) argument
110 if (nr < 0 || nr >= nr_cpu_ids)
113 if (!smp_startup_cpu(nr))
121 paca_ptrs[nr]->cpu_start = 1;
/linux-master/tools/arch/x86/kcpuid/
H A Dkcpuid.c32 int nr; member in struct:reg_desc
62 int nr; member in struct:cpuid_func
69 int nr; member in struct:cpuid_range
160 func->nr = 1;
162 s = func->nr;
167 func->nr++;
190 for (f = 0; (int)f < range->nr; f++) {
198 if (!func->nr)
202 for (i = 0; i < func->nr; i++)
238 range->nr
[all...]
/linux-master/drivers/misc/
H A Dcs5535-mfgpt.c32 int nr; member in struct:cs5535_mfgpt_timer
67 mask = 1 << (timer->nr + 24);
72 mask = 1 << (timer->nr + shift);
77 mask = 1 << (timer->nr + shift);
116 shift = ((cmp == MFGPT_CMP1 ? 0 : 4) + timer->nr % 4) * 4;
198 timer->nr = timer_nr;
220 __set_bit(timer->nr, timer->chip->avail);
230 return inw(timer->chip->base + reg + (timer->nr * 8));
237 outw(value, timer->chip->base + reg + (timer->nr * 8));
269 t.nr
[all...]
/linux-master/arch/mips/lantiq/xway/
H A Ddma.c66 ltq_dma_w32(ch->nr, LTQ_DMA_CS);
67 ltq_dma_w32_mask(0, 1 << ch->nr, LTQ_DMA_IRNEN);
78 ltq_dma_w32(ch->nr, LTQ_DMA_CS);
79 ltq_dma_w32_mask(1 << ch->nr, 0, LTQ_DMA_IRNEN);
90 ltq_dma_w32(ch->nr, LTQ_DMA_CS);
102 ltq_dma_w32(ch->nr, LTQ_DMA_CS);
114 ltq_dma_w32(ch->nr, LTQ_DMA_CS);
116 ltq_dma_w32_mask(1 << ch->nr, 0, LTQ_DMA_IRNEN);
132 ltq_dma_w32(ch->nr, LTQ_DMA_CS);
152 ltq_dma_w32_mask(0, 1 << ch->nr, LTQ_DMA_IRNE
[all...]
/linux-master/tools/testing/selftests/mm/
H A Duffd-unit-tests.c675 unsigned long nr, i; local
694 for (nr = 0; nr < split_nr_pages; nr++) {
696 unsigned long offset = nr * page_size;
700 if (steps == 1 && nr == lastnr)
703 lastnr = nr;
725 count = *area_count(area_dst, nr);
726 if (count != count_verify[nr])
727 err("nr
1029 unsigned long nr; local
1116 unsigned long nr; local
[all...]
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-mci.c71 dev_warn(state->base->dev, "MCI-%d: MCI timeout\n", state->nr);
118 *ddb_mci_attach(struct ddb_input *input, struct mci_cfg *cfg, int nr, argument
146 ddb_irq_set(dev, link->nr, 0, mci_handler, base);
159 state->nr = nr;
161 state->tuner = nr;
162 state->demod = nr;

Completed in 251 milliseconds

<<11121314151617181920>>