/haiku/src/add-ons/accelerants/ati/ |
H A D | mach64_util.cpp | 28 int divider = *denominator; in Mach64_ReduceRatio() local 31 while ((remainder = multiplier % divider)) { in Mach64_ReduceRatio() 32 multiplier = divider; in Mach64_ReduceRatio() 33 divider = remainder; in Mach64_ReduceRatio() 36 *numerator /= divider; in Mach64_ReduceRatio() 37 *denominator /= divider; in Mach64_ReduceRatio()
|
H A D | mach64_mode.cpp | 165 uint32 divider = uint32(params.vClkFeedbackDivider) * params.xClkRefDivider; in SetDSPRegisters() local 166 divider *= ((mode.bitsPerPixel + 1) / 4); in SetDSPRegisters() 177 int tmp = Mach64_Divide(multiplier * params.displayFIFODepth, divider, vshift, -1); in SetDSPRegisters() 191 divider, vshift, -1) - Mach64_Divide(1, 1, vshift - xshift, 1); in SetDSPRegisters() 193 int dsp_on = Mach64_Divide(multiplier, divider, vshift, 1); in SetDSPRegisters() 205 dsp_on = dsp_off - Mach64_Divide(multiplier, divider, vshift, -1); in SetDSPRegisters() 209 int dsp_xclks = Mach64_Divide(multiplier, divider, vshift + 5, 1); in SetDSPRegisters()
|
H A D | rage128_mode.cpp | 196 int divider; in CalculatePLLRegisters() member 227 output_freq = postDividers[j].divider * freq; in CalculatePLLRegisters() 231 params.post_div = postDividers[j].divider; in CalculatePLLRegisters()
|
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | dtt7592.c | 64 uint32 divider; in dtt7592_set_frequency() local 67 divider = (frequency + 36083333) / 166666; in dtt7592_set_frequency() 68 if (divider > 0x7fff) in dtt7592_set_frequency() 69 divider = 0x7fff; in dtt7592_set_frequency() 72 B_PRIx32 " (%" B_PRId32 ")\n", frequency, divider, divider); in dtt7592_set_frequency() 74 data[0] = divider >> 8; in dtt7592_set_frequency() 75 data[1] = (uint8)divider; in dtt7592_set_frequency()
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | Tuner.cpp | 301 void CTuner::SetParameters(int divider, int control, int band) in SetParameters() argument 305 if (divider > fDivider) { in SetParameters() 306 buffer[0] = (divider >> 8) & 0x7f; in SetParameters() 307 buffer[1] = (divider >> 0) & 0xff; in SetParameters() 316 buffer[2] = (divider >> 8) & 0x7f; in SetParameters() 317 buffer[3] = (divider >> 0) & 0xff; in SetParameters() 320 fDivider = divider; in SetParameters()
|
H A D | Tuner.h | 61 void SetParameters(int divider, int control, int band);
|
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci.cpp | 328 int divider = base_clock * 1000 / kilohertz; in SetClock() local 333 if (divider > 256) in SetClock() 334 divider = 256; in SetClock() 336 divider--; in SetClock() 337 divider |= divider >> 1; in SetClock() 338 divider |= divider >> 2; in SetClock() 339 divider |= divider >> 4; in SetClock() 340 divider++; in SetClock() 343 divider = fRegisters->clock_control.SetDivider(divider); in SetClock() 347 TRACE("SDCLK frequency: %dMHz / %d = %dkHz\n", base_clock, divider, in SetClock() [all …]
|
H A D | sdhci.h | 176 uint16_t SetDivider(uint16_t divider) { in SetDivider() argument 177 if (divider == 1) in SetDivider() 178 divider = 0; in SetDivider() 180 divider /= 2; in SetDivider() 182 bits |= divider << 8; in SetDivider() 183 bits |= (divider >> 8) & 0xc0; in SetDivider() 186 return divider == 0 ? 1 : divider * 2; in SetDivider()
|
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/ |
H A D | AuthenticationPanel.cpp | 135 float divider = fNameTC->Divider(); in GetAuthentication() local 137 if (fPassTC->Divider() > divider) in GetAuthentication() 138 divider = fPassTC->Divider(); in GetAuthentication() 152 fNameTC->SetDivider(divider); in GetAuthentication() 153 fPassTC->SetDivider(divider); in GetAuthentication()
|
/haiku/src/add-ons/accelerants/radeon/ |
H A D | pll.c | 96 pll->post_divs[max_post_div_idx].divider != 0; in Radeon_CalcPLLDividers() 103 pll->post_divs[min_post_div_idx].divider != fixed_post_div; in Radeon_CalcPLLDividers() 113 …for( extra_post_div_idx = 0; pll->extra_post_divs[extra_post_div_idx].divider != 0; ++extra_post_d… in Radeon_CalcPLLDividers() 117 pll->post_divs[post_div_idx].divider in Radeon_CalcPLLDividers() 118 * pll->extra_post_divs[extra_post_div_idx].divider; in Radeon_CalcPLLDividers() 188 dividers->post = pll->post_divs[best_post_div_idx].divider; in Radeon_CalcPLLDividers() 190 dividers->extra_post = pll->post_divs[best_extra_post_div_idx].divider; in Radeon_CalcPLLDividers()
|
/haiku/src/preferences/time/ |
H A D | DateTimeView.cpp | 190 BBox* divider = new BBox(BRect(0, 0, 1, 1), in _InitView() local 193 divider->SetExplicitMaxSize(BSize(1, B_SIZE_UNLIMITED)); in _InitView() 200 .Add(divider) in _InitView()
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | Silicon.cpp | 71 uint16_t divider = kBaudrateGeneratorFrequency / lineCoding->speed ; in SetLineCoding() local 72 status_t result = WriteConfig(SET_BAUDRATE_DIVIDER, ÷r, 2); in SetLineCoding()
|
/haiku/src/kits/interface/ |
H A D | TextControl.cpp | 894 float divider = 0; in DoLayout() local 898 divider = fabs(fLayoutData->text_view_layout_item->Frame().left in DoLayout() 904 divider = fLayoutData->label_width in DoLayout() 907 textFrame.Set(divider, 0, size.width, size.height); in DoLayout() 915 fDivider = divider; in DoLayout() 1251 float divider = 0; in _ValidateLayoutData() local 1253 divider = fLayoutData->label_width in _ValidateLayoutData() 1259 divider = max_c(divider, fDivider); in _ValidateLayoutData() 1271 if (divider > 0) in _ValidateLayoutData() 1272 min.width += divider; in _ValidateLayoutData()
|
H A D | MenuField.cpp | 967 float divider = 0; in DoLayout() local 973 divider = fabs(fLayoutData->menu_bar_layout_item->Frame().left in DoLayout() 976 divider = fLayoutData->label_width in DoLayout() 982 BRect menuBarFrame(divider + kVMargin, kVMargin, size.width - kVMargin, in DoLayout() 988 fDivider = divider; in DoLayout() 1344 float divider = 0; in _ValidateLayoutData() local 1346 divider = fLayoutData->label_width in _ValidateLayoutData() 1352 divider = std::max(divider, fDivider); in _ValidateLayoutData() 1368 if (divider > 0) in _ValidateLayoutData() 1369 min.width += divider; in _ValidateLayoutData()
|
H A D | AbstractSpinner.cpp | 1381 float divider = 0; in DoLayout() local 1386 divider = fLayoutData->text_view_layout_item->Frame().left in DoLayout() 1389 divider = fLayoutData->label_width in DoLayout() 1392 fDivider = divider; in DoLayout() 1632 float divider = 0; in _ValidateLayoutData() local 1634 divider = ceilf(fLayoutData->label_width in _ValidateLayoutData() 1639 divider = std::max(divider, fDivider); in _ValidateLayoutData() 1650 if (divider > 0.0f) in _ValidateLayoutData() 1651 min.width += divider; in _ValidateLayoutData()
|
/haiku/src/kits/print/ |
H A D | JobSetupPanel.cpp | 273 BBox* divider = new BBox(B_FANCY_BORDER, NULL); in _SetupInterface() local 274 divider->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, 1)); in _SetupInterface() 284 .Add(divider) in _SetupInterface()
|
/haiku/src/apps/bootmanager/ |
H A D | DefaultPartitionPage.cpp | 185 float divider = be_plain_font->StringWidth(fDefaultPartition->Label()) + 3; in _BuildUI() local 186 fDefaultPartition->SetDivider(divider); in _BuildUI()
|
/haiku/docs/user/interface/ |
H A D | MenuField.dox | 36 by the bounds set by the divider position and \a frame rectangle. 46 pixels then the divider position and the width of the frame rectangle set 175 Adds the label, divider, and current state of the BMenuField to the archive. 419 \brief Sets the horizontal \a position of the divider that separates the 429 \param position The divider \a position to set, should be an integral value. 437 \brief Returns the current divider position. 439 \return The current divider position as a float.
|
H A D | TextControl.dox | 124 - The current divider position is stored in \c _divide 387 \brief Sets the horizontal \a position of the divider that separates the 397 \param position The divider \a position to set, should be an integral value. 405 \brief Returns the current divider position.
|
/haiku/src/apps/debugger/user_interface/gui/inspector_window/ |
H A D | MemoryView.cpp | 167 float divider = (fTargetAddressSize + 1) * fCharWidth; in Draw() local 168 StrokeLine(BPoint(divider, rect.top), in Draw() 169 BPoint(divider, rect.bottom)); in Draw() 177 divider += (fHexBlocksPerLine * hexBlockSize + 1) * fCharWidth; in Draw() 178 StrokeLine(BPoint(divider, rect.top), in Draw() 179 BPoint(divider, rect.bottom)); in Draw()
|
/haiku/src/libs/linprog/ |
H A D | LayoutOptimizer.cpp | 835 double divider = _ActualValue(constraint, p); in _Solve() local 836 if (divider > 0 || fuzzy_equals(divider, 0)) in _Solve() 842 alphaI /= divider; in _Solve()
|
/haiku/src/kits/interface/layouter/ |
H A D | LayoutOptimizer.cpp | 863 double divider = constraint->ActualValue(p); in _Solve() local 864 if (divider > 0 || fuzzy_equals(divider, 0)) in _Solve() 870 alphaI /= divider; in _Solve()
|
/haiku/src/apps/sudoku/ |
H A D | SudokuView.cpp | 303 BString divider; in SaveTo() local 304 divider << (int)(100.0 / fField->Size()) << "%"; in SaveTo() 306 text << "<tr height=\"" << divider << "\">\n"; in SaveTo() 329 text << "<td width=\"" << divider << "\" "; in SaveTo() 333 text << "<td width=\"" << divider << "\" "; in SaveTo() 342 text << "<td width=\"" << divider << "\" "; in SaveTo()
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | pll.cpp | 833 unsigned int divider) in skl_wrpll_try_divider() argument 847 ctx->p = divider; in skl_wrpll_try_divider() 860 ctx->p = divider; in skl_wrpll_try_divider()
|
/haiku/src/apps/screenshot/ |
H A D | ScreenshotWindow.cpp | 191 BBox* divider = new BBox(B_FANCY_BORDER, NULL); in ScreenshotWindow() local 192 divider->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, 1)); in ScreenshotWindow()
|