Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 11 of 11) sorted by relevance

/arch/cris/include/arch-v32/arch/hwregs/iop/
Diop_fifo_in_extra_defs.h115 unsigned int avail : 1; member
127 unsigned int avail : 1; member
139 unsigned int avail : 1; member
150 unsigned int avail : 1; member
Diop_fifo_in_defs.h190 unsigned int avail : 1; member
202 unsigned int avail : 1; member
214 unsigned int avail : 1; member
225 unsigned int avail : 1; member
/arch/ia64/kernel/
Dpalinfo.c534 feature_set_info(char *page, u64 avail, u64 status, u64 control, u64 set) in feature_set_info() argument
541 for(i=0; i < 64; i++, avail >>=1, status >>=1, control >>=1) { in feature_set_info()
545 if (!(avail & 0x1)) /* Print only bits that are available */ in feature_set_info()
551 avail & 0x1 ? (status & 0x1 ? in feature_set_info()
553 avail & 0x1 ? (control & 0x1 ? in feature_set_info()
559 avail & 0x1 ? (status & 0x1 ? in feature_set_info()
561 avail & 0x1 ? (control & 0x1 ? in feature_set_info()
572 u64 avail=1, status=1, control=1, feature_set=0; in processor_info() local
576 ret = ia64_pal_proc_get_features(&avail, &status, &control, in processor_info()
586 p = feature_set_info(p, avail, status, control, feature_set); in processor_info()
[all …]
/arch/x86/kernel/
Dmfgpt_32.c39 unsigned int avail:1; member
104 mfgpt_timers[i].avail = 1; in geode_mfgpt_detect()
209 mfgpt_timers[timer].avail = 0; in mfgpt_get()
232 if (mfgpt_timers[i].avail) in geode_mfgpt_alloc_timer()
240 if (mfgpt_timers[timer].avail) in geode_mfgpt_alloc_timer()
/arch/um/kernel/
Dum_arch.c259 unsigned long avail, diff; in linux_main() local
354 avail = stack - start_vm; in linux_main()
355 if (physmem_size > avail) in linux_main()
356 virtmem_size = avail; in linux_main()
/arch/s390/kernel/
Dsmp.c303 static int smp_rescan_cpus_sigp(cpumask_t avail) in smp_rescan_cpus_sigp() argument
307 logical_cpu = first_cpu(avail); in smp_rescan_cpus_sigp()
319 logical_cpu = next_cpu(logical_cpu, avail); in smp_rescan_cpus_sigp()
326 static int smp_rescan_cpus_sclp(cpumask_t avail) in smp_rescan_cpus_sclp() argument
332 logical_cpu = first_cpu(avail); in smp_rescan_cpus_sclp()
354 logical_cpu = next_cpu(logical_cpu, avail); in smp_rescan_cpus_sclp()
365 cpumask_t avail; in __smp_rescan_cpus() local
367 cpus_xor(avail, cpu_possible_map, cpu_present_map); in __smp_rescan_cpus()
369 return smp_rescan_cpus_sigp(avail); in __smp_rescan_cpus()
371 return smp_rescan_cpus_sclp(avail); in __smp_rescan_cpus()
/arch/cris/arch-v10/drivers/
Dsync_serial.c404 int avail; in sync_data_avail() local
415 avail = end - start; in sync_data_avail()
417 avail = port->in_buffer_size - (start - end); in sync_data_avail()
418 return avail; in sync_data_avail()
423 int avail; in sync_data_avail_to_end() local
435 avail = end - start; in sync_data_avail_to_end()
437 avail = port->flip + port->in_buffer_size - start; in sync_data_avail_to_end()
438 return avail; in sync_data_avail_to_end()
1089 int avail; in sync_serial_read() local
1139 avail = port->in_buffer_size; in sync_serial_read()
[all …]
/arch/cris/arch-v32/drivers/
Dsync_serial.c392 int avail; in sync_data_avail() local
404 avail = end - start; in sync_data_avail()
406 avail = port->in_buffer_size - (start - end); in sync_data_avail()
407 return avail; in sync_data_avail()
412 int avail; in sync_data_avail_to_end() local
424 avail = end - start; in sync_data_avail_to_end()
426 avail = port->flip + port->in_buffer_size - start; in sync_data_avail_to_end()
427 return avail; in sync_data_avail_to_end()
1093 int avail; in sync_serial_read() local
1146 avail = port->in_buffer_size; in sync_serial_read()
[all …]
/arch/powerpc/kernel/
Dvio.c290 size_t avail, delta, tmp; in vio_cmo_entitlement_update() local
316 avail = vio_cmo.excess.free; in vio_cmo_entitlement_update()
323 if (avail >= delta) in vio_cmo_entitlement_update()
329 avail += viodev->cmo.entitled - in vio_cmo_entitlement_update()
334 if (delta <= avail) { in vio_cmo_entitlement_update()
399 size_t avail = 0, level, chunk, need; in vio_cmo_balance() local
417 avail = cmo->entitled - cmo->spare; in vio_cmo_balance()
423 avail -= max_t(size_t, viodev->cmo.allocated, VIO_CMO_MIN_ENT); in vio_cmo_balance()
432 while (avail) { in vio_cmo_balance()
447 chunk = min_t(size_t, avail, VIO_CMO_BALANCE_CHUNK); in vio_cmo_balance()
[all …]
/arch/powerpc/platforms/cell/spufs/
Dbacking_ops.c160 int avail = (ctx->csa.prob.mb_stat_R & 0x00ff00) >> 8; in spu_backing_wbox_write() local
166 BUG_ON(avail != (4 - slot)); in spu_backing_wbox_write()
/arch/ia64/kvm/
Dkvm-ia64.c1487 long avail = 1, status = 1, control = 1; in vti_cpu_has_kvm_support() local
1490 ret = ia64_pal_proc_get_features(&avail, &status, &control, 0); in vti_cpu_has_kvm_support()
1494 if (!(avail & PAL_PROC_VM_BIT)) in vti_cpu_has_kvm_support()