Searched refs:divisor (Results 151 - 175 of 185) sorted by relevance

12345678

/linux-master/drivers/video/fbdev/core/
H A Dfbmon.c1141 u32 divisor, hfreq; local
1143 divisor = (1000000 - (vfreq * FLYBACK))/1000;
1145 return (hfreq/divisor);
/linux-master/drivers/hsi/controllers/
H A Domap_ssi_port.c146 omap_port->sst.divisor = val;
163 debugfs_create_file_unsafe("divisor", 0644, dir, port,
495 omap_port->sst.divisor = div;
1260 writel_relaxed(omap_port->sst.divisor,
1269 /* update divisor */
1271 omap_port->sst.divisor = div;
1356 goto mode; /* We always need to restore the mode & TX divisor */
/linux-master/drivers/acpi/acpica/
H A Dacmacros.h167 #define _ACPI_MOD(value, divisor) ((u32) ((value) & ((divisor) -1)))
H A Dacutils.h542 u32 divisor, u64 *out_quotient, u32 *out_remainder);
/linux-master/drivers/usb/host/
H A Docteon-hcd.c695 int divisor; local
770 divisor = DIV_ROUND_UP(octeon_get_clock_rate(), 125000000);
772 if (divisor < 4)
773 divisor = 4;
774 usbn_clk_ctl.s.divide = divisor;
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dphy_lp.c1060 static u32 lpphy_qdiv_roundup(u32 dividend, u32 divisor, u8 precision) argument
1064 if (divisor == 0)
1067 quotient = dividend / divisor;
1068 remainder = dividend % divisor;
1072 if (remainder << 1 >= divisor) {
1074 remainder = (remainder << 1) - divisor;
1079 if (remainder << 1 >= divisor)
/linux-master/drivers/video/fbdev/via/
H A Dhw.c1382 cur.divisor = limits[i].divisor;
1383 cur.multiplier = clk / ((f0 / cur.divisor)>>cur.rshift);
/linux-master/sound/x86/
H A Dintel_hdmi_audio.c735 u64 dividend, divisor; local
743 divisor = 128 * aud_samp_freq;
744 cts_val = div64_u64(dividend, divisor);
/linux-master/tools/testing/selftests/net/
H A Drtnetlink.sh224 run_cmd tc filter add dev "$dev" parent 1:0 prio 5 handle ffe: protocol ip u32 divisor 256
225 run_cmd tc filter add dev "$dev" parent 1:0 prio 5 handle ffd: protocol ip u32 divisor 256
226 run_cmd tc filter add dev "$dev" parent 1:0 prio 5 handle ffc: protocol ip u32 divisor 256
/linux-master/sound/sparc/
H A Ddbri.c1279 int divisor = 12288 / clockrate; local
1281 if (divisor > 255 || divisor * clockrate != 12288)
1285 *(cmd++) = DBRI_CMD(D_CHI, 0, D_CHI_CHICM(divisor) | D_CHI_FD
/linux-master/scripts/
H A Dget_maintainer.pl2164 my ($role, $divisor, @lines) = @_;
2171 if ($divisor <= 0) {
2172 warn("Bad divisor in " . (caller(0))[3] . ": $divisor\n");
2173 $divisor = 1;
2188 my $percent = $sign_offs * 100 / $divisor;
2199 add_role($line, "$role:$sign_offs/$divisor=$fmt_percent%");
/linux-master/include/uapi/linux/
H A Dpkt_sched.h217 unsigned divisor; /* Hash divisor */ member in struct:tc_sfq_qopt
420 __u32 rate2quantum; /* bps->quantum divisor */
/linux-master/tools/include/uapi/linux/
H A Dpkt_sched.h216 unsigned divisor; /* Hash divisor */ member in struct:tc_sfq_qopt
400 __u32 rate2quantum; /* bps->quantum divisor */
/linux-master/drivers/accel/habanalabs/common/
H A Ddevice.c1177 u64 max_power, curr_power, dc_power, dividend, divisor; local
1182 divisor = max_power - dc_power;
1183 if (!divisor) {
1195 *utilization = (u32) div_u64(dividend, divisor);
/linux-master/drivers/net/hamradio/
H A Dyam.c463 int divisor = 115200 / yp->baudrate; local
467 outb(divisor, DLL(dev->base_addr));
/linux-master/drivers/mmc/host/
H A Dau1xmmc.c589 unsigned int divisor = ((pbus / rate) / 2) - 1; local
595 config |= (divisor & SD_CONFIG_DIV) | SD_CONFIG_DE;
/linux-master/drivers/gpu/drm/bridge/
H A Dtc358768.c343 u32 divisor = prd * (1 << frs); local
349 pll = (u32)div_u64((u64)refclk * fbd, divisor);
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c1120 unsigned int divisor; local
1124 divisor = I40E_ITR_ADAPTIVE_MIN_INC * 1024;
1128 divisor = I40E_ITR_ADAPTIVE_MIN_INC * 512;
1132 divisor = I40E_ITR_ADAPTIVE_MIN_INC * 256;
1136 divisor = I40E_ITR_ADAPTIVE_MIN_INC * 32;
1140 return divisor;
/linux-master/block/
H A Dbfq-iosched.c3452 u32 rate, weight, divisor; local
3531 divisor = 10 - weight;
3536 * peak_rate = peak_rate * (divisor-1) / divisor + rate / divisor
3538 bfqd->peak_rate *= divisor-1;
3539 bfqd->peak_rate /= divisor;
3540 rate /= divisor; /* smoothing constant alpha = 1/divisor */
3549 * divisor
[all...]
/linux-master/scripts/dtc/
H A Dchecks.c146 static bool is_multiple_of(int multiple, int divisor) argument
148 if (divisor == 0)
151 return (multiple % divisor) == 0;
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_b0.c1265 s64 divisor = div64_s64((s64)NSEC_PER_SEC * NSEC_PER_SEC, local
1267 nsi_frac = div64_s64(AQ_FRAC_PER_NS * NSEC_PER_SEC, divisor);
/linux-master/drivers/scsi/aacraid/
H A Daacraid.h2628 static inline unsigned int cap_to_cyls(sector_t capacity, unsigned divisor) argument
2630 sector_div(capacity, divisor);
/linux-master/include/net/
H A Dpkt_cls.h660 unsigned int divisor; member in struct:tc_cls_u32_hnode
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c950 wlc_lcnphy_qdiv_roundup(u32 dividend, u32 divisor, u8 precision) argument
954 quotient = dividend / divisor;
955 remainder = dividend % divisor;
956 rbit = divisor & 1;
957 roundup = (divisor >> 1) + rbit;
/linux-master/kernel/trace/
H A Dtrace_events_hist.c356 /* Use shift if the divisor is a power of 2 */
403 * If the divisor is a constant, do a multiplication and shift instead.
687 * Returns the specific division function to use if the divisor
690 static enum hist_field_fn hist_field_get_div_fn(struct hist_field *divisor) argument
692 u64 div = divisor->constant;
697 /* If the divisor is too large, do a regular division */
701 divisor->div_multiplier = div64_u64((u64)(1 << HIST_DIV_SHIFT), div);
2771 u64 divisor = var2 ? var2->constant : operand2->constant; local
2773 if (!divisor) {
2780 * Copy the divisor her
[all...]

Completed in 504 milliseconds

12345678