Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
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()
/drivers/gpu/drm/nouveau/
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()
/drivers/scsi/
DBusLogic.h1223 unsigned int amount) in blogic_addcount() argument
1225 bytecount->units += amount; in blogic_addcount()
1237 unsigned int amount) in blogic_incszbucket() argument
1240 if (amount < 8 * 1024) { in blogic_incszbucket()
1241 if (amount < 2 * 1024) in blogic_incszbucket()
1242 index = (amount < 1 * 1024 ? 0 : 1); in blogic_incszbucket()
1244 index = (amount < 4 * 1024 ? 2 : 3); in blogic_incszbucket()
1245 } else if (amount < 128 * 1024) { in blogic_incszbucket()
1246 if (amount < 32 * 1024) in blogic_incszbucket()
1247 index = (amount < 16 * 1024 ? 4 : 5); in blogic_incszbucket()
[all …]
/drivers/pci/hotplug/
Dibmphp_pci.c1065 struct res_needed *amount; in scan_behind_bridge() local
1067 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge()
1068 if (amount == NULL) in scan_behind_bridge()
1076 amount->devices[device] = 0; in scan_behind_bridge()
1092 amount->not_correct = 1; in scan_behind_bridge()
1093 return amount; in scan_behind_bridge()
1099 amount->not_correct = 1; in scan_behind_bridge()
1100 return amount; in scan_behind_bridge()
1103 amount->not_correct = 1; in scan_behind_bridge()
1104 return amount; in scan_behind_bridge()
[all …]
/drivers/usb/gadget/function/
Df_mass_storage.c612 unsigned int amount; in do_read() local
652 amount = min(amount_left, FSG_BUFLEN); in do_read()
653 amount = min((loff_t)amount, in do_read()
666 if (amount == 0) { in do_read()
679 nread = kernel_read(curlun->filp, bh->buf, amount, in do_read()
681 VLDBG(curlun, "file read %u @ %llu -> %d\n", amount, in do_read()
689 } else if (nread < amount) { in do_read()
691 (int)nread, amount); in do_read()
707 if (nread < amount) { in do_read()
740 unsigned int amount; in do_write() local
[all …]
/drivers/gpu/drm/vmwgfx/
Dttm_memory.c440 uint64_t amount) in ttm_mem_global_free_zone() argument
450 zone->used_mem -= amount; in ttm_mem_global_free_zone()
456 uint64_t amount) in ttm_mem_global_free() argument
458 return ttm_mem_global_free_zone(glob, glob->zone_kernel, amount); in ttm_mem_global_free()
464 uint64_t amount, bool reserve) in ttm_mem_global_reserve() argument
489 zone->used_mem += amount; in ttm_mem_global_reserve()
Dttm_memory.h84 void ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount);
/drivers/gpu/drm/amd/amdgpu/
Datombios_crtc.c293 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in amdgpu_atombios_crtc_program_ss()
868 u32 amount = (((fb_div * 10) + frac_fb_div) * in amdgpu_atombios_crtc_set_pll() local
871 amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in amdgpu_atombios_crtc_set_pll()
872 amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in amdgpu_atombios_crtc_set_pll()
875 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll()
878 step_size = (2 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll()
/drivers/usb/misc/
Dadutux.c384 size_t amount = min(bytes_to_read, data_in_secondary); in adu_read() local
385 if (copy_to_user(buffer, dev->read_buffer_secondary+dev->secondary_head, amount)) { in adu_read()
389 dev->secondary_head += amount; in adu_read()
390 bytes_read += amount; in adu_read()
391 bytes_to_read -= amount; in adu_read()
/drivers/net/xen-netback/
Dnetback.c402 int amount = data_len > txp->size ? txp->size : data_len; in xenvif_get_requests() local
417 if (cop->dest.offset + amount > XEN_PAGE_SIZE) { in xenvif_get_requests()
418 amount = XEN_PAGE_SIZE - cop->dest.offset; in xenvif_get_requests()
423 cop->len = amount; in xenvif_get_requests()
434 data_len -= amount; in xenvif_get_requests()
436 if (amount == txp->size) { in xenvif_get_requests()
455 txp->offset += amount; in xenvif_get_requests()
456 txp->size -= amount; in xenvif_get_requests()
/drivers/gpu/drm/radeon/
Datombios_crtc.c496 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in atombios_crtc_program_ss()
515 args.v2.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in atombios_crtc_program_ss()
1123 u32 amount = (((fb_div * 10) + frac_fb_div) * in atombios_crtc_set_pll() local
1126 radeon_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in atombios_crtc_set_pll()
1127 radeon_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in atombios_crtc_set_pll()
1130 step_size = (4 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / in atombios_crtc_set_pll()
1133 step_size = (2 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / in atombios_crtc_set_pll()
/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-adc-ad7280a8 enable for the programmed amount of time, before it
/drivers/staging/media/av7110/
Dvideo-fwrite.rst54 available. The amount of data to be transferred is implied by count.
Daudio-fwrite.rst53 until buffer space is available. The amount of data to be transferred is
/drivers/net/wireless/broadcom/brcm80211/
DKconfig30 issues. This option adds a small amount of overhead when tracing
/drivers/ras/
DKconfig17 time, i.e. the amount of time a device is actually operating as the
/drivers/watchdog/
DKconfig335 and if it does, it reboots your system after a certain amount of
1002 it does, it reboots your computer after a certain amount of time.
1084 a certain amount of time.
1097 amount of time.
1142 and if it does, it reboots your computer after a certain amount of time.
1269 amount of time.
1335 amount of time.
1405 and if it does, it reboots your computer after a certain amount of
1441 amount of time.
1500 amount of time.
[all …]
/drivers/cpuidle/
DKconfig42 for polling for a certain amount of time before entering idle
/drivers/scsi/qla2xxx/
Dqla_inline.h465 static void qla_atomic_dtz(atomic_t *v, int amount) in qla_atomic_dtz() argument
471 dec = c - amount; in qla_atomic_dtz()
/drivers/net/wwan/
Dwwan_core.c770 int amount = 0; in wwan_port_fops_ioctl() local
774 amount += skb->len; in wwan_port_fops_ioctl()
777 return put_user(amount, (int __user *)arg); in wwan_port_fops_ioctl()
/drivers/nvme/target/
Dfcloop.c1511 int starting, amount; in fcloop_set_cmd_drop() local
1513 if (sscanf(buf, "%x:%d:%d", &opcode, &starting, &amount) != 3) in fcloop_set_cmd_drop()
1524 drop_amount = amount - 1; in fcloop_set_cmd_drop()
/drivers/virtio/
DKconfig91 This driver supports increasing and decreasing the amount
/drivers/staging/pi433/Documentation/
Dpi433.txt229 regardless of the amount of bytes that were requested
232 amount of bytes that were requested by the read request.
/drivers/pinctrl/intel/
DKconfig14 so only a small amount is available for gpio use.
/drivers/s390/char/
DKconfig162 Specify the default amount of memory in MiB reserved for the z/VM CP

12