/drivers/gpu/drm/radeon/ |
D | rs690.c | 81 tmp.full = dfixed_const(100); in rs690_pm_info() 82 rdev->pm.igp_sideport_mclk.full = dfixed_const(le32_to_cpu(info->info.ulBootUpMemoryClock)); in rs690_pm_info() 83 rdev->pm.igp_sideport_mclk.full = dfixed_div(rdev->pm.igp_sideport_mclk, tmp); in rs690_pm_info() 85 rdev->pm.igp_system_mclk.full = dfixed_const(le16_to_cpu(info->info.usK8MemoryClock)); in rs690_pm_info() 87 rdev->pm.igp_system_mclk.full = dfixed_const(rdev->clock.default_mclk); in rs690_pm_info() 88 rdev->pm.igp_system_mclk.full = dfixed_div(rdev->pm.igp_system_mclk, tmp); in rs690_pm_info() 90 rdev->pm.igp_system_mclk.full = dfixed_const(400); in rs690_pm_info() 91 rdev->pm.igp_ht_link_clk.full = dfixed_const(le16_to_cpu(info->info.usFSBClock)); in rs690_pm_info() 92 rdev->pm.igp_ht_link_width.full = dfixed_const(info->info.ucHTLinkWidth); in rs690_pm_info() 95 tmp.full = dfixed_const(100); in rs690_pm_info() [all …]
|
D | rv515.c | 949 a.full = dfixed_const(100); in rv515_crtc_bandwidth_compute() 950 sclk.full = dfixed_const(selected_sclk); in rv515_crtc_bandwidth_compute() 951 sclk.full = dfixed_div(sclk, a); in rv515_crtc_bandwidth_compute() 953 if (crtc->vsc.full > dfixed_const(2)) in rv515_crtc_bandwidth_compute() 954 wm->num_line_pair.full = dfixed_const(2); in rv515_crtc_bandwidth_compute() 956 wm->num_line_pair.full = dfixed_const(1); in rv515_crtc_bandwidth_compute() 958 b.full = dfixed_const(mode->crtc_hdisplay); in rv515_crtc_bandwidth_compute() 959 c.full = dfixed_const(256); in rv515_crtc_bandwidth_compute() 960 a.full = dfixed_div(b, c); in rv515_crtc_bandwidth_compute() 961 request_fifo_depth.full = dfixed_mul(a, wm->num_line_pair); in rv515_crtc_bandwidth_compute() [all …]
|
D | r100.c | 3240 min_mem_eff.full = dfixed_const_8(0); in r100_bandwidth_update() 3261 temp_ff.full = dfixed_const(temp); in r100_bandwidth_update() 3262 mem_bw.full = dfixed_mul(mclk_ff, temp_ff); in r100_bandwidth_update() 3264 pix_clk.full = 0; in r100_bandwidth_update() 3265 pix_clk2.full = 0; in r100_bandwidth_update() 3266 peak_disp_bw.full = 0; in r100_bandwidth_update() 3268 temp_ff.full = dfixed_const(1000); in r100_bandwidth_update() 3269 pix_clk.full = dfixed_const(mode1->clock); /* convert to fixed point */ in r100_bandwidth_update() 3270 pix_clk.full = dfixed_div(pix_clk, temp_ff); in r100_bandwidth_update() 3271 temp_ff.full = dfixed_const(pixel_bytes1); in r100_bandwidth_update() [all …]
|
D | evergreen.c | 1955 a.full = dfixed_const(1000); in evergreen_dram_bandwidth() 1956 yclk.full = dfixed_const(wm->yclk); in evergreen_dram_bandwidth() 1957 yclk.full = dfixed_div(yclk, a); in evergreen_dram_bandwidth() 1958 dram_channels.full = dfixed_const(wm->dram_channels * 4); in evergreen_dram_bandwidth() 1959 a.full = dfixed_const(10); in evergreen_dram_bandwidth() 1960 dram_efficiency.full = dfixed_const(7); in evergreen_dram_bandwidth() 1961 dram_efficiency.full = dfixed_div(dram_efficiency, a); in evergreen_dram_bandwidth() 1962 bandwidth.full = dfixed_mul(dram_channels, yclk); in evergreen_dram_bandwidth() 1963 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in evergreen_dram_bandwidth() 1975 a.full = dfixed_const(1000); in evergreen_dram_bandwidth_for_display() [all …]
|
D | si.c | 2075 a.full = dfixed_const(1000); in dce6_dram_bandwidth() 2076 yclk.full = dfixed_const(wm->yclk); in dce6_dram_bandwidth() 2077 yclk.full = dfixed_div(yclk, a); in dce6_dram_bandwidth() 2078 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce6_dram_bandwidth() 2079 a.full = dfixed_const(10); in dce6_dram_bandwidth() 2080 dram_efficiency.full = dfixed_const(7); in dce6_dram_bandwidth() 2081 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce6_dram_bandwidth() 2082 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce6_dram_bandwidth() 2083 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce6_dram_bandwidth() 2095 a.full = dfixed_const(1000); in dce6_dram_bandwidth_for_display() [all …]
|
D | cik.c | 8930 a.full = dfixed_const(1000); in dce8_dram_bandwidth() 8931 yclk.full = dfixed_const(wm->yclk); in dce8_dram_bandwidth() 8932 yclk.full = dfixed_div(yclk, a); in dce8_dram_bandwidth() 8933 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce8_dram_bandwidth() 8934 a.full = dfixed_const(10); in dce8_dram_bandwidth() 8935 dram_efficiency.full = dfixed_const(7); in dce8_dram_bandwidth() 8936 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce8_dram_bandwidth() 8937 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce8_dram_bandwidth() 8938 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce8_dram_bandwidth() 8959 a.full = dfixed_const(1000); in dce8_dram_bandwidth_for_display() [all …]
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppevvmath.h | 42 int full; member 223 temp.full = (X << SHIFT_AMOUNT); in ConvertToFraction() 225 temp.full = 0; in ConvertToFraction() 241 temp.full = (X << SHIFT_AMOUNT); in Convert_ULONG_ToFraction() 243 temp.full = 0; in Convert_ULONG_ToFraction() 280 fValue.full = 0; in GetScaledFraction() 290 fValue.full = fValue.full << times_shifted; in GetScaledFraction() 291 fValue.full = fValue.full >> factor_shifted; in GetScaledFraction() 301 Sum.full = X.full + Y.full; in fAdd() 311 Difference.full = X.full - Y.full; in fSubtract() [all …]
|
/drivers/acpi/acpica/ |
D | utmath.c | 22 u64 full; member 56 multiplicand_ovl.full = multiplicand; in acpi_ut_short_multiply() 73 *out_product = product.full; in acpi_ut_short_multiply() 97 operand_ovl.full = operand; in acpi_ut_short_shift_left() 110 *out_result = operand_ovl.full; in acpi_ut_short_shift_left() 134 operand_ovl.full = operand; in acpi_ut_short_shift_right() 147 *out_result = operand_ovl.full; in acpi_ut_short_shift_right() 272 dividend_ovl.full = dividend; in acpi_ut_short_divide() 287 *out_quotient = quotient.full; in acpi_ut_short_divide() 334 divisor.full = in_divisor; in acpi_ut_divide() [all …]
|
/drivers/power/supply/ |
D | apm_power.c | 40 union power_supply_propval full; member 57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || in __find_main_battery() 58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { in __find_main_battery() 59 if (bp->full.intval > bp->max_charge) { in __find_main_battery() 61 bp->max_charge = bp->full.intval; in __find_main_battery() 63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) || in __find_main_battery() 64 !PSY_PROP(bp->bat, ENERGY_FULL, &bp->full)) { in __find_main_battery() 65 if (bp->full.intval > bp->max_energy) { in __find_main_battery() 67 bp->max_energy = bp->full.intval; in __find_main_battery() 93 &bp.full)) { in find_main_battery() [all …]
|
D | cpcap-battery.c | 464 *empty, *full; in cpcap_battery_update_status() local 494 full = cpcap_battery_get_full(ddata); in cpcap_battery_update_status() 495 memcpy(full, latest, sizeof(*full)); in cpcap_battery_update_status() 501 empty->counter_uah - full->counter_uah; in cpcap_battery_update_status() 505 full->counter_uah + ddata->charge_full; in cpcap_battery_update_status() 511 full = cpcap_battery_get_full(ddata); in cpcap_battery_update_status() 512 if (full->voltage) { in cpcap_battery_update_status() 513 full->voltage = 0; in cpcap_battery_update_status() 515 empty->counter_uah - full->counter_uah; in cpcap_battery_update_status()
|
/drivers/media/platform/ti-vpe/ |
D | csc.c | 32 struct quantization full; member 55 .full = { 69 .full = { 85 .full = { 99 .full = { 195 coeff = csc_coeffs.y2r.r601.full.coeff; in csc_set_coeff() 200 coeff = csc_coeffs.y2r.r709.full.coeff; in csc_set_coeff() 205 coeff = csc_coeffs.y2r.r601.full.coeff; in csc_set_coeff() 223 coeff = csc_coeffs.r2y.r601.full.coeff; in csc_set_coeff() 228 coeff = csc_coeffs.r2y.r709.full.coeff; in csc_set_coeff() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 526 a.full = dfixed_const(1000); in dce_v6_0_dram_bandwidth() 527 yclk.full = dfixed_const(wm->yclk); in dce_v6_0_dram_bandwidth() 528 yclk.full = dfixed_div(yclk, a); in dce_v6_0_dram_bandwidth() 529 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v6_0_dram_bandwidth() 530 a.full = dfixed_const(10); in dce_v6_0_dram_bandwidth() 531 dram_efficiency.full = dfixed_const(7); in dce_v6_0_dram_bandwidth() 532 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v6_0_dram_bandwidth() 533 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v6_0_dram_bandwidth() 534 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v6_0_dram_bandwidth() 555 a.full = dfixed_const(1000); in dce_v6_0_dram_bandwidth_for_display() [all …]
|
D | dce_v8_0.c | 663 a.full = dfixed_const(1000); in dce_v8_0_dram_bandwidth() 664 yclk.full = dfixed_const(wm->yclk); in dce_v8_0_dram_bandwidth() 665 yclk.full = dfixed_div(yclk, a); in dce_v8_0_dram_bandwidth() 666 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v8_0_dram_bandwidth() 667 a.full = dfixed_const(10); in dce_v8_0_dram_bandwidth() 668 dram_efficiency.full = dfixed_const(7); in dce_v8_0_dram_bandwidth() 669 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v8_0_dram_bandwidth() 670 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v8_0_dram_bandwidth() 671 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v8_0_dram_bandwidth() 692 a.full = dfixed_const(1000); in dce_v8_0_dram_bandwidth_for_display() [all …]
|
D | dce_v10_0.c | 728 a.full = dfixed_const(1000); in dce_v10_0_dram_bandwidth() 729 yclk.full = dfixed_const(wm->yclk); in dce_v10_0_dram_bandwidth() 730 yclk.full = dfixed_div(yclk, a); in dce_v10_0_dram_bandwidth() 731 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v10_0_dram_bandwidth() 732 a.full = dfixed_const(10); in dce_v10_0_dram_bandwidth() 733 dram_efficiency.full = dfixed_const(7); in dce_v10_0_dram_bandwidth() 734 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v10_0_dram_bandwidth() 735 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v10_0_dram_bandwidth() 736 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v10_0_dram_bandwidth() 757 a.full = dfixed_const(1000); in dce_v10_0_dram_bandwidth_for_display() [all …]
|
D | dce_v11_0.c | 754 a.full = dfixed_const(1000); in dce_v11_0_dram_bandwidth() 755 yclk.full = dfixed_const(wm->yclk); in dce_v11_0_dram_bandwidth() 756 yclk.full = dfixed_div(yclk, a); in dce_v11_0_dram_bandwidth() 757 dram_channels.full = dfixed_const(wm->dram_channels * 4); in dce_v11_0_dram_bandwidth() 758 a.full = dfixed_const(10); in dce_v11_0_dram_bandwidth() 759 dram_efficiency.full = dfixed_const(7); in dce_v11_0_dram_bandwidth() 760 dram_efficiency.full = dfixed_div(dram_efficiency, a); in dce_v11_0_dram_bandwidth() 761 bandwidth.full = dfixed_mul(dram_channels, yclk); in dce_v11_0_dram_bandwidth() 762 bandwidth.full = dfixed_mul(bandwidth, dram_efficiency); in dce_v11_0_dram_bandwidth() 783 a.full = dfixed_const(1000); in dce_v11_0_dram_bandwidth_for_display() [all …]
|
/drivers/hwmon/ |
D | max197.c | 125 int full = data->limit; in max197_store_range() local 131 if (value <= -full) in max197_store_range() 132 value = -full; in max197_store_range() 138 if (value >= full) in max197_store_range() 139 value = full; in max197_store_range() 153 } else if (value == -full) { in max197_store_range() 159 } else if (value == full) { in max197_store_range()
|
/drivers/usb/gadget/udc/ |
D | Kconfig | 39 full speed USB Device Port with support for five configurable 116 high speed or full speed USB device. This driver supppors 134 Many Texas Instruments OMAP processors have flexible full 150 an integrated full speed USB 1.1 device controller. The 175 supports both full and high speed USB 2.0 data transfers. 187 that supports both full and high speed USB 2.0 data transfers. 201 that supports super, high, and full speed USB 3.0 data transfers. 212 an integrated full speed USB 1.1 device controller. 226 full speed USB 1.1 device controller. It has 4 configurable 252 full speed USB peripheral. [all …]
|
/drivers/infiniband/sw/rxe/ |
D | rxe_cq.c | 111 int full; in rxe_cq_post() local 116 full = queue_full(cq->queue, QUEUE_TYPE_TO_CLIENT); in rxe_cq_post() 117 if (unlikely(full)) { in rxe_cq_post()
|
/drivers/perf/ |
D | xgene_pmu.c | 297 XGENE_PMU_EVENT_ATTR(tq-full, 0x08), 298 XGENE_PMU_EVENT_ATTR(ackq-full, 0x09), 299 XGENE_PMU_EVENT_ATTR(wdb-full, 0x0a), 300 XGENE_PMU_EVENT_ATTR(bank-fifo-full, 0x0b), 301 XGENE_PMU_EVENT_ATTR(odb-full, 0x0c), 302 XGENE_PMU_EVENT_ATTR(wbq-full, 0x0d), 353 XGENE_PMU_EVENT_ATTR(collision-queue-full, 0x11), 401 XGENE_PMU_EVENT_ATTR(tq-full, 0x0c), 402 XGENE_PMU_EVENT_ATTR(ackq-full, 0x0d), 403 XGENE_PMU_EVENT_ATTR(wdb-full, 0x0e), [all …]
|
/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 676 bool full = tpg->real_quantization == V4L2_QUANTIZATION_FULL_RANGE; in color_to_ycbcr() local 677 unsigned y_offset = full ? 0 : 16; in color_to_ycbcr() 682 rgb2ycbcr(full ? bt601_full : bt601, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr() 695 rgb2ycbcr(full ? bt2020_full : bt2020, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr() 702 *y = full ? yc : (yc * 219) / 255 + (16 << 4); in color_to_ycbcr() 704 *cb = (((b - yc) * (full ? bt2020c_full[0] : bt2020c[0])) >> 16) + (128 << 4); in color_to_ycbcr() 706 *cb = (((b - yc) * (full ? bt2020c_full[1] : bt2020c[1])) >> 16) + (128 << 4); in color_to_ycbcr() 708 *cr = (((r - yc) * (full ? bt2020c_full[2] : bt2020c[2])) >> 16) + (128 << 4); in color_to_ycbcr() 710 *cr = (((r - yc) * (full ? bt2020c_full[3] : bt2020c[3])) >> 16) + (128 << 4); in color_to_ycbcr() 713 rgb2ycbcr(full ? smpte240m_full : smpte240m, r, g, b, y_offset, y, cb, cr); in color_to_ycbcr() [all …]
|
/drivers/md/ |
D | dm-snap-persistent.c | 445 int *full) in insert_exceptions() argument 452 *full = 1; in insert_exceptions() 465 *full = 0; in insert_exceptions() 491 int r, full = 1; in read_exceptions() local 511 for (ps->current_area = 0; full; ps->current_area++) { in read_exceptions() 538 &full); in read_exceptions() 540 if (!full) in read_exceptions()
|
/drivers/char/tpm/ |
D | tpm2-cmd.c | 458 int full; in tpm2_do_selftest() local 461 for (full = 0; full < 2; full++) { in tpm2_do_selftest() 466 tpm_buf_append_u8(&buf, full); in tpm2_do_selftest()
|
/drivers/net/wireless/microchip/wilc1000/ |
D | Kconfig | 17 WILC1000 chipset. The Atmel WILC1000 SDIO is a full speed interface. 36 full-duplex slave synchronous serial interface that is available
|
/drivers/gpu/drm/tiny/ |
D | ili9225.c | 89 bool full; in ili9225_fb_dirty() local 95 full = width == fb->width && height == fb->height; in ili9225_fb_dirty() 99 if (!dbi->dc || !full || swap || in ili9225_fb_dirty()
|
/drivers/macintosh/ |
D | via-cuda.c | 572 bool full; in cuda_interrupt() local 660 full = reading_reply ? ARRAY_FULL(current_req->reply, reply_ptr) in cuda_interrupt() 662 if (full) in cuda_interrupt() 666 if (!TREQ_asserted(status) || full) { in cuda_interrupt()
|