/linux-6.6.21/fs/reiserfs/ |
D | hashes.c | 130 int j, pow; in yura_hash() local 134 for (pow = 1, i = 1; i < len; i++) in yura_hash() 135 pow = pow * 10; in yura_hash() 140 a = (msg[0] - 48) * pow; in yura_hash() 144 for (pow = 1, j = i; j < len - 1; j++) in yura_hash() 145 pow = pow * 10; in yura_hash() 146 a = a + c * pow; in yura_hash() 151 for (pow = 1, j = i; j < len - 1; j++) in yura_hash() 152 pow = pow * 10; in yura_hash() 153 a = a + c * pow; in yura_hash() [all …]
|
/linux-6.6.21/drivers/macintosh/ |
D | windfarm_smu_sensors.c | 287 struct smu_cpu_power_sensor *pow = to_smu_cpu_power(sr); in smu_cpu_power_release() local 289 if (pow->volts) in smu_cpu_power_release() 290 wf_put_sensor(pow->volts); in smu_cpu_power_release() 291 if (pow->amps) in smu_cpu_power_release() 292 wf_put_sensor(pow->amps); in smu_cpu_power_release() 293 kfree(pow); in smu_cpu_power_release() 298 struct smu_cpu_power_sensor *pow = to_smu_cpu_power(sr); in smu_cpu_power_get() local 303 rc = pow->amps->ops->get_value(pow->amps, &s); in smu_cpu_power_get() 307 if (pow->fake_volts) { in smu_cpu_power_get() 312 rc = pow->volts->ops->get_value(pow->volts, &volts); in smu_cpu_power_get() [all …]
|
/linux-6.6.21/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-colors.c | 1168 return pow((-v + 0.055) / 1.055, 2.4); in transfer_srgb_to_rgb() 1169 return (v <= 0.04045) ? v / 12.92 : pow((v + 0.055) / 1.055, 2.4); in transfer_srgb_to_rgb() 1175 return -1.055 * pow(-v, 1.0 / 2.4) + 0.055; in transfer_rgb_to_srgb() 1178 return 1.055 * pow(v, 1.0 / 2.4) - 0.055; in transfer_rgb_to_srgb() 1183 return (v <= 0.0228) ? v * 4.0 : 1.1115 * pow(v, 0.45) - 0.1115; in transfer_rgb_to_smpte240m() 1189 return -1.099 * pow(-v, 0.45) + 0.099; in transfer_rgb_to_rec709() 1190 return (v < 0.018) ? v * 4.5 : 1.099 * pow(v, 0.45) - 0.099; in transfer_rgb_to_rec709() 1195 return (v < 0.081) ? v / 4.5 : pow((v + 0.099) / 1.099, 1.0 / 0.45); in transfer_rec709_to_rgb() 1200 return pow(v, 1.0 / 2.19921875); in transfer_rgb_to_oprgb() 1205 return pow(v, 1.0 / 2.6); in transfer_rgb_to_dcip3() [all …]
|
/linux-6.6.21/drivers/thermal/ |
D | k3_j72xx_bandgap.c | 280 int i, tmp, pow; in get_efuse_values() local 302 pow = tmp & 0x80; in get_efuse_values() 307 pow = tmp & 0x100; in get_efuse_values() 314 pow = ct_bm[id][i] >> __ffs(ct_bm[id][i]); in get_efuse_values() 315 pow += 1; in get_efuse_values() 316 pow /= 2; in get_efuse_values() 320 if (tmp & pow) { in get_efuse_values()
|
/linux-6.6.21/drivers/mtd/spi-nor/ |
D | swp.c | 161 u8 pow, val; in spi_nor_sr_lock() local 201 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; in spi_nor_sr_lock() 202 val = pow << SR_BP_SHIFT; in spi_nor_sr_lock() 251 u8 pow, val; in spi_nor_sr_unlock() local 291 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; in spi_nor_sr_unlock() 292 val = pow << SR_BP_SHIFT; in spi_nor_sr_unlock()
|
/linux-6.6.21/Documentation/scheduler/ |
D | sched-pelt.c | 26 x = ((1UL<<32)-1)*pow(y, i); in calc_runnable_avg_yN_inv() 103 y = pow(0.5, 1/(double)HALFLIFE); in main()
|
/linux-6.6.21/drivers/clk/sunxi/ |
D | clk-sunxi.c | 726 u8 pow; member 733 .pow = 0, 756 .pow = 1, 770 .pow = 1, 799 data->pow ? CLK_DIVIDER_POWER_OF_TWO : 0, in sunxi_divider_clk_setup() 887 u8 pow; /* is it power-of-two based? */ member 906 { .shift = 0, .pow = 0, .critical = true }, /* M, DDR */ 907 { .shift = 16, .pow = 1, }, /* P, other */ 1063 flags = data->div[i].pow ? CLK_DIVIDER_POWER_OF_TWO : 0; in sunxi_divs_clk_setup()
|
/linux-6.6.21/arch/powerpc/sysdev/ |
D | fsl_pci.c | 168 out_be32(&pci->pow[index + i].potar, pci_addr >> 12); in setup_one_atmu() 169 out_be32(&pci->pow[index + i].potear, (u64)pci_addr >> 44); in setup_one_atmu() 170 out_be32(&pci->pow[index + i].powbar, phys_addr >> 12); in setup_one_atmu() 171 out_be32(&pci->pow[index + i].powar, flags | (bits - 1)); in setup_one_atmu() 244 out_be32(&pci->pow[i].powar, 0); in setup_pci_atmu() 280 out_be32(&pci->pow[j].potar, (hose->io_resource.start >> 12)); in setup_pci_atmu() 281 out_be32(&pci->pow[j].potear, 0); in setup_pci_atmu() 282 out_be32(&pci->pow[j].powbar, (hose->io_base_phys >> 12)); in setup_pci_atmu() 284 out_be32(&pci->pow[j].powar, 0x80088000 in setup_pci_atmu()
|
D | fsl_pci.h | 81 struct pci_outbound_window_regs pow[5]; member
|
/linux-6.6.21/Documentation/devicetree/bindings/sound/ |
D | rt5677.txt | 20 - realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin. 72 realtek,pow-ldo2-gpio =
|
/linux-6.6.21/tools/power/cpupower/bench/ |
D | benchmark.h | 10 (void)(((int)(pow(rcnt, rcnt) * \
|
/linux-6.6.21/lib/crypto/mpi/ |
D | Makefile | 29 mpi-pow.o \
|
/linux-6.6.21/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 2234 uint64_t pow:1; member 2260 uint64_t pow:1; 2303 uint64_t pow:1; member 2329 uint64_t pow:1; 2374 uint64_t pow:1; member 2400 uint64_t pow:1; 2441 uint64_t pow:1; member 2467 uint64_t pow:1;
|
D | cvmx-npei-defs.h | 3726 uint64_t pow:1; member 3752 uint64_t pow:1;
|
/linux-6.6.21/drivers/staging/octeon/ |
D | octeon-stubs.h | 1025 uint64_t pow:1; member 1060 uint64_t pow:1; member 1095 uint64_t pow:1; member 1126 uint64_t pow:1; member
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 1019 u16 offset = 0, qmap = 0, tx_count = 0, rx_count = 0, pow = 0; in ice_vsi_setup_q_map() local 1040 pow = (u16)order_base_2(num_rxq_per_tc); in ice_vsi_setup_q_map() 1072 ((pow << ICE_AQ_VSI_TC_Q_NUM_S) & in ice_vsi_setup_q_map() 1214 int pow; in ice_chnl_vsi_setup_q_map() local 1218 pow = order_base_2(qcount); in ice_chnl_vsi_setup_q_map() 1221 ((pow << ICE_AQ_VSI_TC_Q_NUM_S) & in ice_chnl_vsi_setup_q_map() 3322 u16 pow, offset = 0, qcount_tx = 0, qcount_rx = 0, qmap; in ice_vsi_setup_q_map_mqprio() local 3331 pow = order_base_2(tc0_qcount); in ice_vsi_setup_q_map_mqprio() 3334 ((pow << ICE_AQ_VSI_TC_Q_NUM_S) & ICE_AQ_VSI_TC_Q_NUM_M); in ice_vsi_setup_q_map_mqprio()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 871 unsigned int i, pow; in sdma_cleanup_sde_map() local 879 pow = roundup_pow_of_two(map->ctr ? : 1); in sdma_cleanup_sde_map() 880 map->mask = pow - 1; in sdma_cleanup_sde_map() 968 int ctr, pow; in sdma_set_cpu_to_sde_map() local 982 pow = roundup_pow_of_two(ctr); in sdma_set_cpu_to_sde_map() 983 rht_node->map[vl]->mask = pow - 1; in sdma_set_cpu_to_sde_map()
|
/linux-6.6.21/arch/arm64/boot/dts/freescale/ |
D | imx8mp-beacon-som.dtsi | 22 regulator-name = "wl-bt-pow-dwn";
|
/linux-6.6.21/arch/arm64/boot/dts/amlogic/ |
D | meson-g12b-w400.dtsi | 127 usb1_pow: regulator-usb1-pow {
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 1929 int i, override_q, pow, num_qps, ret; in i40e_vsi_setup_queue_map_mqprio() local 1941 pow = ilog2(num_qps); in i40e_vsi_setup_queue_map_mqprio() 1943 pow++; in i40e_vsi_setup_queue_map_mqprio() 1945 (pow << I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT); in i40e_vsi_setup_queue_map_mqprio() 2084 int pow, num_qps; in i40e_vsi_setup_queue_map() local 2109 pow = 0; in i40e_vsi_setup_queue_map() 2110 while (num_qps && (BIT_ULL(pow) < qcount)) { in i40e_vsi_setup_queue_map() 2111 pow++; in i40e_vsi_setup_queue_map() 2118 (pow << I40E_AQ_VSI_TC_QUE_NUMBER_SHIFT); in i40e_vsi_setup_queue_map() 6230 int pow; in i40e_channel_setup_queue_map() local [all …]
|
/linux-6.6.21/drivers/iio/adc/ |
D | ad4130.c | 1742 unsigned int pow = ad4130_resolution(st) - st->bipolar; in ad4130_fill_scale_tbls() local 1756 st->scale_tbls[i][j][1] = div_u64(nv >> (pow + j), MILLI); in ad4130_fill_scale_tbls()
|
/linux-6.6.21/tools/testing/selftests/net/openvswitch/ |
D | ovs-dpctl.py | 208 return int(value, 0), pow(2, size) - 1
|
/linux-6.6.21/Documentation/virt/kvm/ |
D | api.rst | 5859 [0, 1), while the range of the last bucket is [pow(2, ``size``-2), +INF). 5861 [pow(2, N-2), pow(2, N-1)).
|