| /drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
| A D | nv20.c | 38 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/ |
| A D | nouveau_bo5039.c | 52 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/ |
| A D | BusLogic.h | 1223 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/ |
| A D | ibmphp_pci.c | 1067 amount = kzalloc(sizeof(*amount), GFP_KERNEL); in scan_behind_bridge() 1068 if (amount == NULL) in scan_behind_bridge() 1093 return amount; in scan_behind_bridge() 1100 return amount; in scan_behind_bridge() 1104 return amount; in scan_behind_bridge() 1163 amount->not_correct = 1; in scan_behind_bridge() 1166 if ((amount->io) && (amount->io < IOBRIDGE)) in scan_behind_bridge() 1167 amount->io = IOBRIDGE; in scan_behind_bridge() 1168 if ((amount->mem) && (amount->mem < MEMBRIDGE)) in scan_behind_bridge() 1170 if ((amount->pfmem) && (amount->pfmem < MEMBRIDGE)) in scan_behind_bridge() [all …]
|
| /drivers/usb/gadget/function/ |
| A D | f_mass_storage.c | 614 unsigned int amount; in do_read() local 658 amount = min_t(loff_t, amount, in do_read() 671 if (amount == 0) { in do_read() 745 unsigned int amount; in do_write() local 874 amount = min(amount, bh->bulk_out_intended_length); in do_write() 877 amount = round_down(amount, curlun->blksize); in do_write() 878 if (amount == 0) in do_write() 960 unsigned int amount; in do_verify() local 1008 amount = min_t(loff_t, amount, in do_verify() 1010 if (amount == 0) { in do_verify() [all …]
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | atombios_crtc.c | 292 args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); in amdgpu_atombios_crtc_program_ss() 867 u32 amount = (((fb_div * 10) + frac_fb_div) * in amdgpu_atombios_crtc_set_pll() local 870 amdgpu_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in amdgpu_atombios_crtc_set_pll() 871 amdgpu_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in amdgpu_atombios_crtc_set_pll() 874 step_size = (4 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll() 877 step_size = (2 * amount * ref_div * ((u32)amdgpu_crtc->ss.rate * 2048)) / in amdgpu_atombios_crtc_set_pll()
|
| A D | amdgpu_mode.h | 455 uint16_t amount; member
|
| /drivers/usb/misc/ |
| A D | adutux.c | 384 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/ |
| A D | netback.c | 404 int amount = data_len > txp->size ? txp->size : data_len; in xenvif_get_requests() local 419 if (cop->dest.offset + amount > XEN_PAGE_SIZE) { in xenvif_get_requests() 420 amount = XEN_PAGE_SIZE - cop->dest.offset; in xenvif_get_requests() 425 cop->len = amount; in xenvif_get_requests() 436 data_len -= amount; in xenvif_get_requests() 438 if (amount == txp->size) { in xenvif_get_requests() 457 txp->offset += amount; in xenvif_get_requests() 458 txp->size -= amount; in xenvif_get_requests()
|
| /drivers/gpu/drm/radeon/ |
| A D | atombios_crtc.c | 496 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() 1114 u32 amount = (((fb_div * 10) + frac_fb_div) * in atombios_crtc_set_pll() local 1117 radeon_crtc->ss.amount = (amount / 10) & ATOM_PPLL_SS_AMOUNT_V2_FBDIV_MASK; in atombios_crtc_set_pll() 1118 radeon_crtc->ss.amount |= ((amount - (amount / 10)) << ATOM_PPLL_SS_AMOUNT_V2_NFRAC_SHIFT) & in atombios_crtc_set_pll() 1121 step_size = (4 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / in atombios_crtc_set_pll() 1124 step_size = (2 * amount * ref_div * ((u32)radeon_crtc->ss.rate * 2048)) / in atombios_crtc_set_pll()
|
| /drivers/media/platform/raspberrypi/rp1-cfe/ |
| A D | csi2.c | 237 u32 amount; in csi2_isr_handle_errors() local 247 amount = (v & CSI2_DISCARDS_AMOUNT_MASK) >> in csi2_isr_handle_errors() 252 csi2->discards_table[vc][i] += amount; in csi2_isr_handle_errors()
|
| /drivers/staging/iio/Documentation/ |
| A D | sysfs-bus-iio-adc-ad7280a | 8 enable for the programmed amount of time, before it
|
| /drivers/net/wireless/broadcom/brcm80211/ |
| A D | Kconfig | 35 issues. This option adds a small amount of overhead when tracing
|
| /drivers/ras/ |
| A D | Kconfig | 17 time, i.e. the amount of time a device is actually operating as the
|
| /drivers/scsi/qla2xxx/ |
| A D | qla_inline.h | 465 static void qla_atomic_dtz(atomic_t *v, int amount) in qla_atomic_dtz() argument 471 dec = c - amount; in qla_atomic_dtz()
|
| /drivers/watchdog/ |
| A D | Kconfig | 402 and if it does, it reboots your system after a certain amount of 1136 it does, it reboots your computer after a certain amount of time. 1249 a certain amount of time. 1262 amount of time. 1446 amount of time. 1512 amount of time. 1582 and if it does, it reboots your computer after a certain amount of 1610 amount of time. 1669 amount of time. 1683 and if it does, it reboots your computer after a certain amount of [all …]
|
| /drivers/cpuidle/ |
| A D | Kconfig | 42 for polling for a certain amount of time before entering idle
|
| /drivers/net/wwan/ |
| A D | wwan_core.c | 889 int amount = 0; in wwan_port_fops_ioctl() local 893 amount += skb->len; in wwan_port_fops_ioctl() 896 return put_user(amount, (int __user *)arg); in wwan_port_fops_ioctl()
|
| /drivers/staging/media/ipu7/ |
| A D | ipu7-isys.c | 599 static int alloc_fw_msg_bufs(struct ipu7_isys *isys, int amount) in alloc_fw_msg_bufs() argument 607 for (i = 0; i < amount; i++) { in alloc_fw_msg_bufs() 619 if (i == amount) in alloc_fw_msg_bufs()
|
| /drivers/media/pci/intel/ipu6/ |
| A D | ipu6-isys.c | 948 static int alloc_fw_msg_bufs(struct ipu6_isys *isys, int amount) in alloc_fw_msg_bufs() argument 955 for (i = 0; i < amount; i++) { in alloc_fw_msg_bufs() 967 if (i == amount) in alloc_fw_msg_bufs()
|
| /drivers/nvme/target/ |
| A D | fcloop.c | 1631 int starting, amount; in fcloop_set_cmd_drop() local 1633 if (sscanf(buf, "%x:%d:%d", &opcode, &starting, &amount) != 3) in fcloop_set_cmd_drop() 1644 drop_amount = amount - 1; in fcloop_set_cmd_drop()
|
| /drivers/pinctrl/intel/ |
| A D | Kconfig | 13 so only a small amount is available for gpio use.
|
| /drivers/usb/core/ |
| A D | devio.c | 146 static int usbfs_increase_memory_usage(u64 amount) in usbfs_increase_memory_usage() argument 157 total_mem = usbfs_memory_usage + amount; in usbfs_increase_memory_usage() 168 static void usbfs_decrease_memory_usage(u64 amount) in usbfs_decrease_memory_usage() argument 173 if (amount > usbfs_memory_usage) in usbfs_decrease_memory_usage() 176 usbfs_memory_usage -= amount; in usbfs_decrease_memory_usage()
|
| /drivers/s390/char/ |
| A D | Kconfig | 166 Specify the default amount of memory in MiB reserved for the z/VM CP
|
| /drivers/net/wireless/ath/ath9k/ |
| A D | Kconfig | 87 SAR is the unit of measurement for the amount of radio frequency(RF)
|