/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | ch341.c | 157 #define CH341_CLK_DIV(ps, fact) (1 << (12 - 3 * (ps) - (fact))) 174 * baudrate = 48000000 / (2^(12 - 3 * ps - fact) * div), where 177 * 0 <= fact <= 1, 178 * 2 <= div <= 256 if fact = 0, or 179 * 9 <= div <= 256 if fact = 1 183 unsigned int fact, div, clk_div; in ch341_get_divisor() local 194 * Start with highest possible base clock (fact = 1) that will give a in ch341_get_divisor() 197 fact = 1; in ch341_get_divisor() 207 clk_div = CH341_CLK_DIV(ps, fact); in ch341_get_divisor() [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | ch341.c | 151 #define CH341_CLK_DIV(ps, fact) (1 << (12 - 3 * (ps) - (fact))) 168 * baudrate = 48000000 / (2^(12 - 3 * ps - fact) * div), where 171 * 0 <= fact <= 1, 172 * 2 <= div <= 256 if fact = 0, or 173 * 9 <= div <= 256 if fact = 1 177 unsigned int fact, div, clk_div; in ch341_get_divisor() local 188 * Start with highest possible base clock (fact = 1) that will give a in ch341_get_divisor() 191 fact = 1; in ch341_get_divisor() 201 clk_div = CH341_CLK_DIV(ps, fact); in ch341_get_divisor() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 199 int fact = new_speed < 0 ? -1 : 1; in ivtv_validate_speed() local 211 return fact * 2000; in ivtv_validate_speed() 213 return fact * 1500; in ivtv_validate_speed() 217 return fact * 2000; in ivtv_validate_speed() 219 return fact * 1500; in ivtv_validate_speed() 221 return fact * 1000; in ivtv_validate_speed() 226 return fact * new_speed; in ivtv_validate_speed() 232 if (new_speed > 60) return 1000 / (fact * 60); in ivtv_validate_speed() 233 return 1000 / (fact * new_speed); in ivtv_validate_speed()
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.c | 194 int fact = new_speed < 0 ? -1 : 1; in ivtv_validate_speed() local 206 return fact * 2000; in ivtv_validate_speed() 208 return fact * 1500; in ivtv_validate_speed() 212 return fact * 2000; in ivtv_validate_speed() 214 return fact * 1500; in ivtv_validate_speed() 216 return fact * 1000; in ivtv_validate_speed() 221 return fact * new_speed; in ivtv_validate_speed() 227 if (new_speed > 60) return 1000 / (fact * 60); in ivtv_validate_speed() 228 return 1000 / (fact * new_speed); in ivtv_validate_speed()
|
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/ |
H A D | isst.h | 135 int fact; member
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A D | core.c | 1402 struct nvm_ioctl_dev_factory fact; in nvm_ioctl_dev_factory() local 1404 if (copy_from_user(&fact, arg, sizeof(struct nvm_ioctl_dev_factory))) in nvm_ioctl_dev_factory() 1407 fact.dev[DISK_NAME_LEN - 1] = '\0'; in nvm_ioctl_dev_factory() 1409 if (fact.flags & ~(NVM_FACTORY_NR_BITS - 1)) in nvm_ioctl_dev_factory()
|
/kernel/linux/linux-5.10/arch/alpha/lib/ |
H A D | ev6-clear_user.S | 199 # We know for a fact that $0 > 0 zero due to previous context
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
H A D | entry-arcv2.h | 148 ; 1. Utilize the fact that Z bit is set if Intr taken in U mode
|
/kernel/linux/linux-6.6/arch/alpha/lib/ |
H A D | ev6-clear_user.S | 199 # We know for a fact that $0 > 0 zero due to previous context
|
/kernel/linux/linux-6.6/arch/arc/include/asm/ |
H A D | entry-arcv2.h | 162 ; 1. Utilize the fact that Z bit is set if Intr taken in U mode
|
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/ |
H A D | isst.h | 144 int fact; member
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | appletouch.c | 334 int fact, int *z, int *fingers) in atp_calculate_abs() 426 return pcum * fact / psum; in atp_calculate_abs() 333 atp_calculate_abs(struct atp *dev, int offset, int nb_sensors, int fact, int *z, int *fingers) atp_calculate_abs() argument
|
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | appletouch.c | 334 int fact, int *z, int *fingers) in atp_calculate_abs() 426 return pcum * fact / psum; in atp_calculate_abs() 333 atp_calculate_abs(struct atp *dev, int offset, int nb_sensors, int fact, int *z, int *fingers) atp_calculate_abs() argument
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | dc395x.c | 2406 * KG: despite the fact that we are using 16 bits I/O ops in data_io_transfer() 2588 int fact; in msgin_set_sync() local 2621 fact = 500; in msgin_set_sync() 2623 fact = 250; in msgin_set_sync() 2627 dcb->target_id, (fact == 500) ? "Wide16" : "", in msgin_set_sync() 2629 (fact / dcb->min_nego_period), in msgin_set_sync() 2630 ((fact % dcb->min_nego_period) * 10 + in msgin_set_sync()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | dc395x.c | 2382 * KG: despite the fact that we are using 16 bits I/O ops in data_io_transfer() 2564 int fact; in msgin_set_sync() local 2597 fact = 500; in msgin_set_sync() 2599 fact = 250; in msgin_set_sync() 2603 dcb->target_id, (fact == 500) ? "Wide16" : "", in msgin_set_sync() 2605 (fact / dcb->min_nego_period), in msgin_set_sync() 2606 ((fact % dcb->min_nego_period) * 10 + in msgin_set_sync()
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | fair.c | 260 u64 fact = scale_load_down(weight); in __calc_delta() local 265 if (unlikely(fact >> 32)) { in __calc_delta() 266 while (fact >> 32) { in __calc_delta() 267 fact >>= 1; in __calc_delta() 272 fact = mul_u32_u32(fact, lw->inv_weight); in __calc_delta() 274 while (fact >> 32) { in __calc_delta() 275 fact >>= 1; in __calc_delta() 279 return mul_u64_u32_shr(delta_exec, fact, shift); in __calc_delta() 343 * enqueued. The fact tha in list_add_leaf_cfs_rq() [all...] |
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | fair.c | 350 u64 fact = scale_load_down(weight); in __calc_delta() local 351 u32 fact_hi = (u32)(fact >> 32); in __calc_delta() 360 fact >>= fs; in __calc_delta() 363 fact = mul_u32_u32(fact, lw->inv_weight); in __calc_delta() 365 fact_hi = (u32)(fact >> 32); in __calc_delta() 369 fact >>= fs; in __calc_delta() 372 return mul_u64_u32_shr(delta_exec, fact, shift); in __calc_delta() 411 * enqueued. The fact that we always enqueue bottom-up in list_add_leaf_cfs_rq() 1131 * Group entities are initialized with zero load to reflect the fact tha in init_entity_runnable_average() [all...] |
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | res_func.S | 1886 | the input operand's exponent by 1 to account for the fact that
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | res_func.S | 1886 | the input operand's exponent by 1 to account for the fact that
|