Searched defs:divisor (Results 1 - 119 of 119) sorted by relevance

/linux-4.4.14/arch/x86/include/asm/
H A Ddiv64.h42 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) div_u64_rem() argument
H A Dapicdef.h417 u32 divisor : 4, member in struct:local_apic::__anon3026
/linux-4.4.14/lib/
H A Ddiv64.c62 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) div_s64_rem() argument
93 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) div64_u64_rem() argument
133 u64 div64_u64(u64 dividend, u64 divisor) div64_u64() argument
161 s64 div64_s64(s64 dividend, s64 divisor) div64_s64() argument
179 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) iter_div_u64_rem() argument
H A Dstring_helpers.c42 static const unsigned int divisor[] = { string_get_size() local
/linux-4.4.14/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-jtag.c50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); cvmx_helper_qlm_jtag_init() local
/linux-4.4.14/arch/arm/mach-orion5x/
H A Dtsx09-common.c31 const unsigned divisor = ((orion5x_tclk + (8 * 19200)) / (16 * 19200)); qnap_tsx09_power_off() local
H A Dkurobox_pro-setup.c295 const unsigned divisor = ((orion5x_tclk + (8 * 38400)) / (16 * 38400)); kurobox_pro_power_off() local
H A Dterastation_pro2-setup.c274 const unsigned divisor = ((orion5x_tclk + (8 * 38400)) / (16 * 38400)); tsp2_power_off() local
/linux-4.4.14/arch/arm/common/
H A Dicst.c33 u32 divisor = (vco.r + 2) * p->s2div[vco.s]; icst_hz() local
/linux-4.4.14/drivers/tty/serial/8250/
H A D8250_early.c118 unsigned int divisor; init_port() local
H A D8250_ingenic.c102 unsigned int baud, divisor; ingenic_early_console_setup() local
/linux-4.4.14/arch/alpha/lib/
H A Ddivide.S54 #define divisor $1 define
H A Dev6-divide.S64 #define divisor $1 define
/linux-4.4.14/drivers/video/fbdev/via/
H A Dvia_clock.h42 u8 divisor; member in struct:via_pll_config
H A Dhw.h495 u8 divisor; member in struct:pll_limit
/linux-4.4.14/drivers/input/serio/
H A Dambakmi.c35 unsigned int divisor; member in struct:amba_kmi_port
71 unsigned int divisor; amba_kmi_open() local
/linux-4.4.14/drivers/power/reset/
H A Dqnap-poweroff.c60 const unsigned divisor = ((tclk + (8 * cfg->baud)) / (16 * cfg->baud)); qnap_power_off() local
/linux-4.4.14/drivers/acpi/acpica/
H A Dutmath.c149 union uint64_overlay divisor; acpi_ut_divide() local
90 acpi_ut_short_divide(u64 dividend, u32 divisor, u64 *out_quotient, u32 *out_remainder) acpi_ut_short_divide() argument
/linux-4.4.14/arch/powerpc/boot/
H A Dvirtex.c32 u16 divisor; virtex_ns16550_console_init() local
/linux-4.4.14/arch/arm/mach-w90x900/include/mach/
H A Dregs-serial.h37 unsigned int divisor; member in struct:w90x900_uart_clksrc
/linux-4.4.14/drivers/staging/sm750fb/
H A Dddk750_chip.c82 unsigned int ulReg, divisor; setMemoryClock() local
129 unsigned int ulReg, divisor; setMasterClock() local
/linux-4.4.14/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c73 static void simple_div(int dividend, int divisor, int *whole, simple_div() argument
/linux-4.4.14/drivers/mfd/
H A Dmcp-sa11x0.c48 mcp_sa11x0_set_telecom_divisor(struct mcp *mcp, unsigned int divisor) mcp_sa11x0_set_telecom_divisor() argument
60 mcp_sa11x0_set_audio_divisor(struct mcp *mcp, unsigned int divisor) mcp_sa11x0_set_audio_divisor() argument
/linux-4.4.14/arch/tile/include/arch/
H A Duart.h39 uint_reg_t divisor : 12; member in struct:__anon2795::__anon2796
/linux-4.4.14/arch/x86/boot/
H A Dearly_serial_console.c24 unsigned divisor; early_serial_init() local
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
H A Dclock-sh4-202.c33 int divisor = clk->parent->rate / rate; frqcr3_lookup() local
82 int divisor = frqcr3_divisors[i]; shoc_clk_init() local
/linux-4.4.14/arch/mips/ralink/
H A Dtimer.c77 static int rt_timer_config(struct rt_timer *rt, unsigned long divisor) rt_timer_config() argument
/linux-4.4.14/include/linux/
H A Dmath64.h18 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) div_u64_rem() argument
27 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) div_s64_rem() argument
36 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) div64_u64_rem() argument
45 static inline u64 div64_u64(u64 dividend, u64 divisor) div64_u64() argument
53 static inline s64 div64_s64(s64 dividend, s64 divisor) div64_s64() argument
64 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) div_u64_rem() argument
97 static inline u64 div_u64(u64 dividend, u32 divisor) div_u64() argument
108 static inline s64 div_s64(s64 dividend, s32 divisor) div_s64() argument
118 __iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) __iter_div_u64_rem() argument
218 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) mul_u64_u32_div() argument
H A Dvlynq.h57 enum vlynq_divisor divisor; member in struct:vlynq_device_id
66 enum vlynq_divisor divisor; member in struct:vlynq_device
/linux-4.4.14/drivers/usb/serial/
H A Dmct_u232.c181 unsigned int divisor; mct_u232_set_baud_rate() local
H A Dch341.c128 short divisor; ch341_set_baudrate() local
H A Df81232.c352 int divisor; f81232_set_baudrate() local
H A Doti6858.c79 __le16 divisor; /* baud rate = 96000000 / (16 * divisor), LE */ member in struct:oti6858_control_pkt
181 __le16 divisor; member in struct:oti6858_private::__anon11045
409 __le16 divisor; oti6858_set_termios() local
H A Dssu100.c206 u16 baud, divisor, remainder; ssu100_set_termios() local
H A Dftdi_sio.c1108 unsigned short int divisor; ftdi_232am_baud_base_to_divisor() local
1134 __u32 divisor; ftdi_232bm_baud_base_to_divisor() local
1155 __u32 divisor; ftdi_2232h_baud_base_to_divisor() local
H A Dquatech2.c152 int divisor, rem; calc_baud_divisor() local
167 int divisor = calc_baud_divisor(baudrate); qt2_set_port_config() local
H A Dio_edgeport.c2239 int divisor; send_cmd_write_baud_rate() local
2291 static int calc_baud_rate_divisor(struct device *dev, int baudrate, int *divisor) calc_baud_rate_divisor() argument
H A Dmos7720.c1408 __u16 divisor; member in struct:divisor_table_entry
1438 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor) calc_baud_rate_divisor() argument
1486 int divisor; send_cmd_write_baud_rate() local
H A Dmos7840.c1599 int divisor = 0; mos7840_send_cmd_write_baud_rate() local
1555 mos7840_calc_baud_rate_divisor(struct usb_serial_port *port, int baudRate, int *divisor, __u16 *clk_sel_val) mos7840_calc_baud_rate_divisor() argument
/linux-4.4.14/drivers/tty/serial/
H A Dtilegx.c455 UART_DIVISOR_t divisor; tilegx_set_termios() local
H A Ddigicolor-usart.c296 unsigned int baud, divisor; digicolor_uart_set_termios() local
H A D68328serial.c451 int divisor, prescale; member in struct:__anon10947
H A Dlantiq.c393 unsigned int divisor; lqasc_set_termios() local
H A Dmsm_serial.c858 u16 divisor; member in struct:msm_baud_map
866 unsigned int i, divisor; msm_find_best_baud() local
H A Dioc3_serial.c310 int divisor; set_baud() local
H A Dmpc52xx_uart.c298 unsigned int divisor; mpc5200_psc_set_baudrate() local
307 mpc52xx_set_divisor(PSC(port), 0xdd00, divisor); mpc5200_psc_set_baudrate() local
316 unsigned int divisor; mpc5200b_psc_set_baudrate() local
333 mpc52xx_set_divisor(PSC(port), prescaler, divisor); mpc5200b_psc_set_baudrate() local
544 unsigned int divisor; mpc512x_psc_set_baudrate() local
566 mpc52xx_set_divisor(PSC(port), 0xdd00, divisor); mpc512x_psc_set_baudrate() local
894 unsigned int divisor; mpc5125_psc_set_baudrate() local
907 mpc5125_set_divisor(PSC_5125(port), 0xdd, divisor); mpc5125_psc_set_baudrate() local
129 mpc52xx_set_divisor(struct mpc52xx_psc __iomem *psc, u16 prescaler, unsigned int divisor) mpc52xx_set_divisor() argument
880 mpc5125_set_divisor(struct mpc5125_psc __iomem *psc, u8 prescaler, unsigned int divisor) mpc5125_set_divisor() argument
H A Dserial-tegra.c290 unsigned int divisor; tegra_set_baudrate() local
H A Dcrisv10.c2817 u16 divisor = info->custom_divisor; change_speed() local
H A Dioc4_serial.c712 unsigned short divisor; set_baud() local
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dcomedi_8254.c450 unsigned int divisor; comedi_8254_ns_to_timer() local
H A Dcomedi_8254.h91 unsigned int divisor; member in struct:comedi_8254
H A Daddi_apci_3120.c285 unsigned int divisor; apci3120_ns_to_timer() local
550 unsigned int divisor; apci3120_ai_cmd() local
718 unsigned int divisor; apci3120_ai_insn_read() local
831 unsigned int divisor; apci3120_timer_insn_config() local
H A Ddt282x.c304 unsigned int divisor; member in struct:dt282x_private
H A Dcb_pcidas64.c1120 unsigned int divisor; member in struct:ext_clock_info
1934 unsigned int divisor = data[4]; ai_config_master_clock_4020() local
1996 unsigned int divisor; get_divisor() local
2304 unsigned int divisor; ai_convert_counter_4020() local
3211 unsigned int divisor; set_dac_interval_regs() local
/linux-4.4.14/drivers/hwmon/
H A Dntc_thermistor.c341 static inline u64 div64_u64_safe(u64 dividend, u64 divisor) div64_u64_safe() argument
H A Dabituguru3.c138 int divisor; member in struct:abituguru3_sensor_info
/linux-4.4.14/drivers/hsi/controllers/
H A Domap_ssi.h55 u32 divisor; member in struct:omap_ssm_ctx::__anon5014::__anon5015
/linux-4.4.14/drivers/media/pci/cx88/
H A Dcx88-dsp.c107 u32 divisor; int_goertzel() local
/linux-4.4.14/drivers/media/tuners/
H A Dmax2165.c164 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) fixpt_div32() argument
H A Dtda18271-fe.c577 s32 divisor, dividend; tda18271_rf_tracking_filters_init() local
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dxgmac.c347 int hwm, lwm, divisor; t3_mac_set_mtu() local
/linux-4.4.14/drivers/clocksource/
H A Dtcb_clksrc.c313 unsigned divisor = atmel_tc_divisors[i]; tcb_clksrc_init() local
H A Dsamsung_pwm_timer.c104 static void samsung_timer_set_divisor(unsigned int channel, u8 divisor) samsung_timer_set_divisor() argument
/linux-4.4.14/drivers/cpufreq/
H A Dsparc-us2e-cpufreq.c252 unsigned long clock_tick, divisor, old_divisor, estar; us2e_freq_target() local
85 frob_mem_refresh(int cpu_slowing_down, unsigned long clock_tick, unsigned long old_divisor, unsigned long divisor) frob_mem_refresh() argument
117 us2e_transition(unsigned long estar, unsigned long new_bits, unsigned long clock_tick, unsigned long old_divisor, unsigned long divisor) us2e_transition() argument
/linux-4.4.14/drivers/cpuidle/governors/
H A Dmenu.c201 int i, divisor; get_typical_interval() local
/linux-4.4.14/arch/x86/kernel/
H A Dearly_printk.c131 static __init void early_serial_hw_init(unsigned divisor) early_serial_hw_init() argument
151 unsigned divisor; early_serial_init() local
219 unsigned divisor; early_pci_serial_init() local
/linux-4.4.14/drivers/bluetooth/
H A Dbtuart_cs.c349 int divisor; btuart_change_speed() local
/linux-4.4.14/fs/ubifs/
H A Dbudget.c639 int divisor, factor, f; ubifs_reported_space() local
/linux-4.4.14/sound/soc/codecs/
H A Dtlv320aic26.c69 int fsref, divisor, wlen, pval, jval, dval, qval; aic26_hw_params() local
/linux-4.4.14/drivers/ssb/
H A Ddriver_chipcommon.c154 int divisor = 1; chipco_pctl_clockfreqlimit() local
/linux-4.4.14/drivers/video/fbdev/
H A Dasiliantfb.c120 unsigned char divisor = 0; asiliant_calc_dclk2() local
/linux-4.4.14/drivers/clk/mmp/
H A Dclk.h69 unsigned int divisor; member in struct:mmp_clk_mix_clk_table
/linux-4.4.14/arch/alpha/kernel/
H A Dcore_lca.c506 lca_clock_fiddle(int divisor) lca_clock_fiddle() argument
/linux-4.4.14/arch/powerpc/kernel/
H A Dudbg_16550.c130 unsigned int dll, dlm, divisor, prescaler, speed; udbg_probe_uart_speed() local
H A Dtime.c1077 div128_by_32(u64 dividend_high, u64 dividend_low, unsigned divisor, struct div_result *dr) div128_by_32() argument
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
H A Dqe.c202 u32 divisor, tempval; qe_setbrg() local
/linux-4.4.14/drivers/pwm/
H A Dpwm-samsung.c120 pwm_samsung_set_divisor(struct samsung_pwm_chip *pwm, unsigned int channel, u8 divisor) pwm_samsung_set_divisor() argument
/linux-4.4.14/drivers/net/hamradio/
H A Dbaycom_ser_fdx.c184 ser12_set_divisor(struct net_device *dev, unsigned int divisor) ser12_set_divisor() argument
H A Dbaycom_ser_hdx.c171 ser12_set_divisor(struct net_device *dev, unsigned char divisor) ser12_set_divisor() argument
H A Dyam.c478 int divisor = 115200 / yp->baudrate; yam_set_uart() local
/linux-4.4.14/drivers/net/irda/
H A Dali-ircc.c1037 int divisor; ali_ircc_sir_change_speed() local
H A Dpxaficp_ir.c258 unsigned int divisor; pxa_irda_set_speed() local
H A Dsmsc-ircc2.c1137 int divisor; smsc_ircc_set_sir_speed() local
/linux-4.4.14/drivers/clk/
H A Dclk-vt8500.c144 u32 divisor; vt8500_dclk_round_rate() local
170 u32 divisor; vt8500_dclk_set_rate() local
/linux-4.4.14/drivers/clk/pistachio/
H A Dclk-pll.c97 static inline u64 do_div_round_closest(u64 dividend, u64 divisor) do_div_round_closest() argument
/linux-4.4.14/net/sched/
H A Dcls_flow.c57 u32 divisor; member in struct:flow_filter
H A Dcls_u32.c80 unsigned int divisor; member in struct:tc_u_hnode
776 unsigned int divisor = nla_get_u32(tb[TCA_U32_DIVISOR]); u32_change() local
955 u32 divisor = ht->divisor + 1; u32_dump() local
H A Dsch_sfq.c119 unsigned int divisor; /* number of slots in hash table */ member in struct:sfq_sched_data
/linux-4.4.14/arch/mips/ar7/
H A Dclock.c181 int divisor = prediv * postdiv; tnetd7300_get_clock() local
/linux-4.4.14/arch/arm/net/
H A Dbpf_jit_32.c131 static u32 jit_udiv(u32 dividend, u32 divisor) jit_udiv() argument
136 static u32 jit_mod(u32 dividend, u32 divisor) jit_mod() argument
/linux-4.4.14/arch/arm/mach-pxa/
H A Dviper.c169 unsigned int divisor = 0; viper_set_core_cpu_voltage() local
/linux-4.4.14/sound/isa/cs423x/
H A Dcs4236_lib.c163 static unsigned char divisor_to_rate_register(unsigned int divisor) divisor_to_rate_register() argument
/linux-4.4.14/drivers/w1/masters/
H A Dds1wm.c67 unsigned long divisor; member in struct:__anon11255
257 int divisor; ds1wm_up() local
/linux-4.4.14/drivers/watchdog/
H A Ds3c2410_wdt.c309 unsigned int divisor = 1; s3c2410wdt_set_heartbeat() local
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_sas_fp.c94 u32 mega_mod64(u64 dividend, u32 divisor) mega_mod64() argument
112 u64 mega_div64_32(uint64_t dividend, uint32_t divisor) mega_div64_32() argument
/linux-4.4.14/drivers/video/fbdev/core/
H A Dfbmon.c1230 u32 divisor, hfreq; fb_get_hfreq() local
/linux-4.4.14/drivers/md/
H A Ddm-stats.c953 unsigned divisor; message_stats_create() local
/linux-4.4.14/drivers/mmc/host/
H A Dau1xmmc.c603 unsigned int divisor = ((pbus / rate) / 2) - 1; au1xmmc_set_clock() local
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-axxia.c137 u32 divisor = clk_get_rate(idev->i2c_clk) / idev->bus_clk_rate; axxia_i2c_init() local
/linux-4.4.14/drivers/media/platform/s5p-tv/
H A Dmixer_video.c259 static unsigned int divup(unsigned int divident, unsigned int divisor) divup() argument
/linux-4.4.14/drivers/media/rc/
H A Dredrat3.c302 u32 divisor = (RR3_CLK_CONV_FACTOR) / 1000; redrat3_len_to_us() local
323 u32 divisor; redrat3_us_to_len() local
H A Dmceusb.c899 int prescaler = 0, divisor = 0; mceusb_set_tx_carrier() local
/linux-4.4.14/drivers/net/wireless/zd1211rw/
H A Dzd_mac.c631 u32 divisor; zd_calc_tx_length_us() local
/linux-4.4.14/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c1566 uint32_t total_area, divisor; mga_vga_calculate_mode_bandwidth() local
/linux-4.4.14/sound/drivers/
H A Dserial-u16550.c136 unsigned char divisor; member in struct:snd_uart16550
/linux-4.4.14/drivers/tty/
H A Drocket.c711 int bits, baud, divisor; configure_r_port() local
/linux-4.4.14/drivers/iio/adc/
H A Dvf610_adc.c194 int divisor, i; vf610_adc_calculate_rates() local
/linux-4.4.14/drivers/net/wireless/b43/
H A Dphy_lp.c1072 static u32 lpphy_qdiv_roundup(u32 dividend, u32 divisor, u8 precision) lpphy_qdiv_roundup() argument
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
H A Dqed_l2.c1365 int divisor = (max + cdev->num_hwfns - 1) / qed_update_vport() local
/linux-4.4.14/tools/vm/
H A Dslabinfo.c232 unsigned long divisor = 1; store_size() local
/linux-4.4.14/drivers/staging/octeon-usb/
H A Docteon-hcd.c715 int divisor; cvmx_usb_initialize() local
/linux-4.4.14/drivers/media/usb/gspca/
H A Dcpia1.c297 u8 divisor; member in struct:cam_params::__anon6169
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_dp.c1230 const struct dp_link_dpll *divisor = NULL; intel_dp_set_clock() local
/linux-4.4.14/include/uapi/linux/
H A Dpkt_sched.h194 unsigned divisor; /* Hash divisor */ member in struct:tc_sfq_qopt
/linux-4.4.14/sound/sparc/
H A Ddbri.c1270 int divisor = 12288 / clockrate; reset_chi() local
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c1016 wlc_lcnphy_qdiv_roundup(u32 dividend, u32 divisor, u8 precision) wlc_lcnphy_qdiv_roundup() argument
/linux-4.4.14/arch/x86/kvm/
H A Dx86.c1193 static uint32_t div_frac(uint32_t dividend, uint32_t divisor) div_frac() argument
/linux-4.4.14/kernel/events/
H A Dcore.c2888 u64 divisor, dividend; perf_calculate_period() local
/linux-4.4.14/drivers/scsi/aacraid/
H A Daacraid.h2103 static inline unsigned int cap_to_cyls(sector_t capacity, unsigned divisor) cap_to_cyls() argument

Completed in 4145 milliseconds