Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 690) sorted by relevance

12345678910>>...28

/OK3568_Linux_fs/kernel/arch/parisc/math-emu/
H A Dhppa.h15 #define Shiftdouble(left,right,amount,dest) \ argument
17 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
20 #define Variableshiftdouble(left,right,amount,dest) \ argument
22 if (amount == 0) dest = right; \
23 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \
24 ((unsigned) right >> (amount))
27 #define Variable_shift_double(left,right,amount,dest) \ argument
29 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dwide-int-bitmask.h97 wide_int_bitmask::operator << (int amount)
100 if (amount >= 64)
103 ret.high = low << (amount - 64);
105 else if (amount == 0)
109 ret.low = low << amount;
110 ret.high = (low >> (64 - amount)) | (high << amount);
116 wide_int_bitmask::operator >> (int amount)
119 if (amount >= 64)
121 ret.low = high >> (amount - 64);
124 else if (amount == 0)
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dwide-int-bitmask.h97 wide_int_bitmask::operator << (int amount)
100 if (amount >= 64)
103 ret.high = low << (amount - 64);
105 else if (amount == 0)
109 ret.low = low << amount;
110 ret.high = (low >> (64 - amount)) | (high << amount);
116 wide_int_bitmask::operator >> (int amount)
119 if (amount >= 64)
121 ret.low = high >> (amount - 64);
124 else if (amount == 0)
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dpercpu_counter.h31 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp,
42 void percpu_counter_set(struct percpu_counter *fbc, s64 amount);
43 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount,
54 static inline void percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
56 percpu_counter_add_batch(fbc, amount, percpu_counter_batch); in percpu_counter_add()
101 static inline int percpu_counter_init(struct percpu_counter *fbc, s64 amount, in percpu_counter_init() argument
104 fbc->count = amount; in percpu_counter_init()
112 static inline void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument
114 fbc->count = amount; in percpu_counter_set()
134 percpu_counter_add(struct percpu_counter *fbc, s64 amount) in percpu_counter_add() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv20.c38 uint32_t amount, off; in nv20_devinit_meminit() local
53 amount = nvkm_rd32(device, 0x10020c); in nv20_devinit_meminit()
54 for (off = amount; off > 0x2000000; off -= 0x2000000) in nv20_devinit_meminit()
57 amount = nvkm_rd32(device, 0x10020c); in nv20_devinit_meminit()
58 if (amount != fbmem_peek(fb, amount - 4)) in nv20_devinit_meminit()
/OK3568_Linux_fs/kernel/sound/pci/ctxfi/
H A Dctresource.c23 get_resource(u8 *rscs, unsigned int amount, in get_resource() argument
29 for (i = 0, n = multi; i < amount; i++) { in get_resource()
40 if (i >= amount) { in get_resource()
80 err = get_resource(mgr->rscs, mgr->amount, n, ridx); in mgr_get_resource()
205 unsigned int amount, struct hw *hw) in rsc_mgr_init() argument
211 mgr->rscs = kzalloc(((amount + 8 - 1) / 8), GFP_KERNEL); in rsc_mgr_init()
244 mgr->avail = mgr->amount = amount; in rsc_mgr_init()
286 mgr->avail = mgr->amount = 0; in rsc_mgr_uninit()
H A Dctresource.h55 unsigned int amount; /* The total amount of a kind of resource */ member
64 unsigned int amount, struct hw *hw);
/OK3568_Linux_fs/kernel/lib/
H A Dpercpu_counter.c60 void percpu_counter_set(struct percpu_counter *fbc, s64 amount) in percpu_counter_set() argument
70 fbc->count = amount; in percpu_counter_set()
82 void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch) in percpu_counter_add_batch() argument
87 count = __this_cpu_read(*fbc->counters) + amount; in percpu_counter_add_batch()
92 __this_cpu_sub(*fbc->counters, count - amount); in percpu_counter_add_batch()
95 this_cpu_add(*fbc->counters, amount); in percpu_counter_add_batch()
141 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp, in __percpu_counter_init() argument
148 fbc->count = amount; in __percpu_counter_init()
H A Dtest_hexdump.c100 size_t amount = strlen(q); in test_hexdump_prepare_test() local
102 memcpy(p, q, amount); in test_hexdump_prepare_test()
103 p += amount; in test_hexdump_prepare_test()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A Dnouveau_bo5039.c52 u32 amount, stride, height; in nv50_bo_move_m2mf() local
58 amount = min(length, (u64)(4 * 1024 * 1024)); in nv50_bo_move_m2mf()
60 height = amount / stride; in nv50_bo_move_m2mf()
128 length -= amount; in nv50_bo_move_m2mf()
129 src_offset += amount; in nv50_bo_move_m2mf()
130 dst_offset += amount; in nv50_bo_move_m2mf()
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c693 unsigned int amount; in do_read() local
733 amount = min(amount_left, FSG_BUFLEN); in do_read()
736 amount = min(amount, (unsigned int) PAGE_CACHE_SIZE - in do_read()
749 if (amount == 0) { in do_read()
761 amount / SECTOR_SIZE, in do_read()
768 VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, in do_read()
776 } else if (nread < amount) { in do_read()
778 (int) nread, amount); in do_read()
788 if (nread < amount) { in do_read()
820 unsigned int amount; in do_write() local
[all …]
H A Df_rockusb.c324 u32 lba, amount; in rkusb_do_lba_erase() local
336 amount = get_unaligned_be16(&common->cmnd[7]) << 9; in rkusb_do_lba_erase()
337 if (unlikely(amount == 0)) { in rkusb_do_lba_erase()
346 amount / SECTOR_SIZE); in rkusb_do_lba_erase()
365 u32 lba, amount; in rkusb_do_erase_force() local
386 amount = get_unaligned_be16(&common->cmnd[7]) * block_size; in rkusb_do_erase_force()
391 if (unlikely(amount == 0)) { in rkusb_do_erase_force()
400 amount); in rkusb_do_erase_force()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A DBusLogic.h1234 unsigned int amount) in blogic_addcount() argument
1236 bytecount->units += amount; in blogic_addcount()
1248 unsigned int amount) in blogic_incszbucket() argument
1251 if (amount < 8 * 1024) { in blogic_incszbucket()
1252 if (amount < 2 * 1024) in blogic_incszbucket()
1253 index = (amount < 1 * 1024 ? 0 : 1); in blogic_incszbucket()
1255 index = (amount < 4 * 1024 ? 2 : 3); in blogic_incszbucket()
1256 } else if (amount < 128 * 1024) { in blogic_incszbucket()
1257 if (amount < 32 * 1024) in blogic_incszbucket()
1258 index = (amount < 16 * 1024 ? 4 : 5); in blogic_incszbucket()
[all …]
/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A Dibmphp_pci.c1066 struct res_needed *amount; in scan_behind_bridge() local
1068 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge()
1069 if (amount == NULL) in scan_behind_bridge()
1077 amount->devices[device] = 0; in scan_behind_bridge()
1093 amount->not_correct = 1; in scan_behind_bridge()
1094 return amount; in scan_behind_bridge()
1100 amount->not_correct = 1; in scan_behind_bridge()
1101 return amount; in scan_behind_bridge()
1104 amount->not_correct = 1; in scan_behind_bridge()
1105 return amount; in scan_behind_bridge()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_mass_storage.c628 unsigned int amount; in do_read() local
668 amount = min(amount_left, FSG_BUFLEN); in do_read()
669 amount = min((loff_t)amount, in do_read()
682 if (amount == 0) { in do_read()
695 nread = kernel_read(curlun->filp, bh->buf, amount, in do_read()
697 VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, in do_read()
705 } else if (nread < amount) { in do_read()
707 (int)nread, amount); in do_read()
723 if (nread < amount) { in do_read()
756 unsigned int amount; in do_write() local
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/config/arm/
H A Daout.h260 register int amount = 1 << (POWER); \
262 if (amount == 2) \
264 else if (amount != 1) \
265 fprintf (STREAM, "\t.align\t%d\n", amount - 4); \
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/imxwayland/qmlvideofx/shaders/
H A Dpagecurl.fsh49 float amount = curlExtent * (maxAmount - minAmount) + minAmount;
50 float cylinderCenter = amount;
51 // 360 degrees * amount
52 float cylinderAngle = 2.0 * PI * amount;
103 shadow *= amount;
149 if ((hitAngleMod > PI && amount < 0.5) || (hitAngleMod > PI/2.0 && amount < 0.0)) {
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-wakeup46 This file contains the amount of time the wakeup source has
54 This file contains the total amount of time this wakeup source
61 This file contains the maximum amount of time this wakeup
75 The file contains the total amount of time this wakeup source
H A Dsysfs-class-scsi_tape16 Shows the total amount of time spent waiting for all I/O
23 To determine the amount of time spent waiting for other I/O
64 Shows the total amount of time in nanoseconds waiting for
95 Shows the total amount of time in nanoseconds waiting for
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dovercommit-accounting.rst24 system is not permitted to exceed swap + a configurable amount
25 (default is 50%) of physical RAM. Depending on the amount you
36 The overcommit amount can be set via ``vm.overcommit_ratio`` (percentage)
39 The current overcommit limit and amount committed are viewable in
/OK3568_Linux_fs/kernel/arch/mips/mti-malta/
H A Dmalta-time.c51 static unsigned int freqround(unsigned int freq, unsigned int amount) in freqround() argument
53 freq += amount; in freqround()
54 freq -= freq % (amount*2); in freqround()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dtftp-hpa-0.49-stats.patch19 printf("%s %lu bytes in %.1f seconds", direction, amount, delta);
20 printf(" [%.0f bit/s]", (amount * 8.) / delta);
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Daf_bluetooth.c498 long amount; in bt_sock_ioctl() local
508 amount = sk->sk_sndbuf - sk_wmem_alloc_get(sk); in bt_sock_ioctl()
509 if (amount < 0) in bt_sock_ioctl()
510 amount = 0; in bt_sock_ioctl()
511 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl()
520 amount = skb ? skb->len : 0; in bt_sock_ioctl()
522 err = put_user(amount, (int __user *) arg); in bt_sock_ioctl()
/OK3568_Linux_fs/kernel/Documentation/virt/
H A Dguest-halt-polling.rst6 the guest vcpus to poll for a specified amount of time before
21 is configured by the user, indicating the maximum amount of
35 Maximum amount of time, in nanoseconds, that polling is
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_memory.c508 uint64_t amount) in ttm_mem_global_free_zone() argument
518 zone->used_mem -= amount; in ttm_mem_global_free_zone()
524 uint64_t amount) in ttm_mem_global_free() argument
526 return ttm_mem_global_free_zone(glob, glob->zone_kernel, amount); in ttm_mem_global_free()
560 uint64_t amount, bool reserve) in ttm_mem_global_reserve() argument
585 zone->used_mem += amount; in ttm_mem_global_reserve()

12345678910>>...28