Home
last modified time | relevance | path

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

12

/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_counters.c47 void lprocfs_counter_add(struct lprocfs_stats *stats, int idx, long amount) in lprocfs_counter_add() argument
83 percpu_cntr->lc_sum_irq += amount; in lprocfs_counter_add()
85 percpu_cntr->lc_sum += amount; in lprocfs_counter_add()
88 percpu_cntr->lc_sumsquare += (__s64)amount * amount; in lprocfs_counter_add()
89 if (amount < percpu_cntr->lc_min) in lprocfs_counter_add()
90 percpu_cntr->lc_min = amount; in lprocfs_counter_add()
91 if (amount > percpu_cntr->lc_max) in lprocfs_counter_add()
92 percpu_cntr->lc_max = amount; in lprocfs_counter_add()
98 void lprocfs_counter_sub(struct lprocfs_stats *stats, int idx, long amount) in lprocfs_counter_sub() argument
133 percpu_cntr->lc_sum_irq -= amount; in lprocfs_counter_sub()
[all …]
/drivers/gpu/drm/nouveau/core/subdev/devinit/
Dnv20.c36 uint32_t amount, off; in nv20_devinit_meminit() local
51 amount = nv_rd32(priv, 0x10020c); in nv20_devinit_meminit()
52 for (off = amount; off > 0x2000000; off -= 0x2000000) in nv20_devinit_meminit()
55 amount = nv_rd32(priv, 0x10020c); in nv20_devinit_meminit()
56 if (amount != fbmem_peek(fb, amount - 4)) in nv20_devinit_meminit()
/drivers/scsi/
DBusLogic.h1241 unsigned int amount) in blogic_addcount() argument
1243 bytecount->units += amount; in blogic_addcount()
1255 unsigned int amount) in blogic_incszbucket() argument
1258 if (amount < 8 * 1024) { in blogic_incszbucket()
1259 if (amount < 2 * 1024) in blogic_incszbucket()
1260 index = (amount < 1 * 1024 ? 0 : 1); in blogic_incszbucket()
1262 index = (amount < 4 * 1024 ? 2 : 3); in blogic_incszbucket()
1263 } else if (amount < 128 * 1024) { in blogic_incszbucket()
1264 if (amount < 32 * 1024) in blogic_incszbucket()
1265 index = (amount < 16 * 1024 ? 4 : 5); in blogic_incszbucket()
[all …]
Dfdomain.c579 static void do_pause(unsigned amount) /* Pause for amount*10 milliseconds */ in do_pause() argument
581 mdelay(10*amount); in do_pause()
D53c700.scr35 ; necessary amount of data and jumps to the next SG segment. The final
/drivers/pci/hotplug/
Dibmphp_pci.c1097 struct res_needed *amount; in scan_behind_bridge() local
1099 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge()
1100 if (amount == NULL) in scan_behind_bridge()
1108 amount->devices[device] = 0; in scan_behind_bridge()
1124 amount->not_correct = 1; in scan_behind_bridge()
1125 return amount; in scan_behind_bridge()
1131 amount->not_correct = 1; in scan_behind_bridge()
1132 return amount; in scan_behind_bridge()
1135 amount->not_correct = 1; in scan_behind_bridge()
1136 return amount; in scan_behind_bridge()
[all …]
/drivers/usb/gadget/function/
Df_mass_storage.c648 unsigned int amount; in do_read() local
688 amount = min(amount_left, FSG_BUFLEN); in do_read()
689 amount = min((loff_t)amount, in do_read()
704 if (amount == 0) { in do_read()
719 amount, &file_offset_tmp); in do_read()
720 VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, in do_read()
728 } else if (nread < amount) { in do_read()
730 (int)nread, amount); in do_read()
746 if (nread < amount) { in do_read()
779 unsigned int amount; in do_write() local
[all …]
/drivers/gpu/drm/ttm/
Dttm_memory.c452 uint64_t amount) in ttm_mem_global_free_zone() argument
462 zone->used_mem -= amount; in ttm_mem_global_free_zone()
468 uint64_t amount) in ttm_mem_global_free() argument
470 return ttm_mem_global_free_zone(glob, NULL, amount); in ttm_mem_global_free()
476 uint64_t amount, bool reserve) in ttm_mem_global_reserve() argument
501 zone->used_mem += amount; in ttm_mem_global_reserve()
/drivers/usb/misc/
Dadutux.c383 int amount = bytes_to_read < data_in_secondary ? bytes_to_read : data_in_secondary; in adu_read() local
384 i = copy_to_user(buffer, dev->read_buffer_secondary+dev->secondary_head, amount); in adu_read()
389 dev->secondary_head += (amount - i); in adu_read()
390 bytes_read += (amount - i); in adu_read()
391 bytes_to_read -= (amount - i); in adu_read()
/drivers/gpu/drm/radeon/
Datombios_crtc.c491 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in atombios_crtc_program_ss()
510 args.v2.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in atombios_crtc_program_ss()
1109 u32 amount = (((fb_div * 10) + frac_fb_div) * in atombios_crtc_set_pll() local
1112 radeon_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in atombios_crtc_set_pll()
1113 radeon_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in atombios_crtc_set_pll()
1116 step_size = (4 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / in atombios_crtc_set_pll()
1119 step_size = (2 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / in atombios_crtc_set_pll()
Dradeon_mode.h306 uint16_t amount; member
/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-adc-ad7280a8 enable for the programmed amount of time, before it
/drivers/video/console/
DKconfig37 If you want this feature, say 'Y' here and enter the amount of
46 Enter the amount of System RAM to allocate for the scrollback
/drivers/staging/lustre/lustre/include/
Dlprocfs_status.h503 long amount);
505 long amount);
817 int index, long amount) in lprocfs_counter_add() argument
823 int index, long amount) in lprocfs_counter_sub() argument
/drivers/watchdog/
DKconfig543 it does, it reboots your computer after a certain amount of time.
613 a certain amount of time.
626 amount of time.
668 it does, it reboots your computer after a certain amount of time.
800 amount of time.
864 amount of time.
933 and if it does, it reboots your computer after a certain amount of
969 amount of time.
1011 amount of time.
1025 and if it does, it reboots your computer after a certain amount of
[all …]
/drivers/virtio/
DKconfig30 This driver supports increasing and decreasing the amount
/drivers/gpu/drm/nouveau/
Dnouveau_bo.c797 u32 amount, stride, height; in nv50_bo_move_m2mf() local
803 amount = min(length, (u64)(4 * 1024 * 1024)); in nv50_bo_move_m2mf()
805 height = amount / stride; in nv50_bo_move_m2mf()
849 length -= amount; in nv50_bo_move_m2mf()
850 src_offset += amount; in nv50_bo_move_m2mf()
851 dst_offset += amount; in nv50_bo_move_m2mf()
/drivers/staging/lustre/lustre/ptlrpc/
Dptlrpc_internal.h83 void ptlrpc_lprocfs_rpc_sent(struct ptlrpc_request *req, long amount);
Dlproc_ptlrpc.c1116 void ptlrpc_lprocfs_rpc_sent(struct ptlrpc_request *req, long amount) in ptlrpc_lprocfs_rpc_sent() argument
1127 lprocfs_counter_add(svc_stats, opc + EXTRA_MAX_OPCODES, amount); in ptlrpc_lprocfs_rpc_sent()
/drivers/net/wireless/brcm80211/
DKconfig78 issues. This option adds a small amount of overhead when tracing
/drivers/usb/core/
Ddevio.c127 static int usbfs_increase_memory_usage(u64 amount) in usbfs_increase_memory_usage() argument
134 atomic64_add(amount, &usbfs_memory_usage); in usbfs_increase_memory_usage()
137 atomic64_sub(amount, &usbfs_memory_usage); in usbfs_increase_memory_usage()
145 static void usbfs_decrease_memory_usage(u64 amount) in usbfs_decrease_memory_usage() argument
147 atomic64_sub(amount, &usbfs_memory_usage); in usbfs_decrease_memory_usage()
/drivers/pinctrl/
DKconfig79 so only a small amount is available for gpio use.
/drivers/net/wireless/ath/ath9k/
DKconfig115 SAR is the unit of measurement for the amount of radio frequency(RF)
/drivers/char/hw_random/
DKconfig357 as the host has, rather than the small amount the UML gets from its
/drivers/acpi/
DKconfig262 amount of debug output.

12