/linux/arch/riscv/kernel/ |
H A D | kexec_relocate.S | 24 mv s0, a0 25 mv s1, a1 26 mv s2, a2 27 mv s3, a3 28 mv s4, a4 29 mv s5, zero 30 mv s6, zero 102 mv a0, s3 103 mv a1, s2 104 mv a2, s1 [all …]
|
H A D | mcount-dyn.S | 89 mv t4, sp // Save original SP in T4 136 mv a1, ra 137 mv a3, sp 149 mv a1, ra 150 mv a3, sp 160 mv a2, s0 171 mv t1, zero
|
H A D | hibernate-asm.S | 34 mv a0, zero 46 mv s0, a0 47 mv s1, a1 48 mv s2, a2
|
H A D | mcount.S | 74 mv a0, sp 76 mv a2, a0 107 mv a1, ra 123 mv a0, ra
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
H A D | gk20a.c | 54 int mv; in gk20a_volt_get_cvb_voltage() local 56 mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); in gk20a_volt_get_cvb_voltage() 57 mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; in gk20a_volt_get_cvb_voltage() 58 return mv; in gk20a_volt_get_cvb_voltage() 70 int cvb_mv, mv; in gk20a_volt_get_cvb_t_voltage() local 74 mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + in gk20a_volt_get_cvb_t_voltage() 76 mv = DIV_ROUND_CLOSEST(mv * temp, t_scale) + cvb_mv; in gk20a_volt_get_cvb_t_voltage() 77 return mv; in gk20a_volt_get_cvb_t_voltage() 84 int mv; in gk20a_volt_calc_voltage() local 86 mv = gk20a_volt_get_cvb_t_voltage(speedo, -10, 100, 10, coef); in gk20a_volt_calc_voltage() [all …]
|
/linux/arch/sh/kernel/ |
H A D | machvec.c | 22 #define for_each_mv(mv) \ argument 23 for ((mv) = (struct sh_machine_vector *)__machvec_start; \ 24 (mv) && (unsigned long)(mv) < (unsigned long)__machvec_end; \ 25 (mv)++) 29 struct sh_machine_vector *mv; in get_mv_byname() local 31 for_each_mv(mv) in get_mv_byname() 32 if (strcasecmp(name, mv->mv_name) == 0) in get_mv_byname() 33 return mv; in get_mv_byname()
|
/linux/include/dt-bindings/usb/ |
H A D | pd.h | 29 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument 32 #define PDO_FIXED(mv, ma, flags) \ argument 34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 42 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument 43 #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) argument 54 #define PDO_VAR_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MIN_VOLT_SHIFT) argument 55 #define PDO_VAR_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MAX_VOLT_SHIFT) argument 76 #define PDO_PPS_APDO_MIN_VOLT(mv) \ argument 77 ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT) 78 #define PDO_PPS_APDO_MAX_VOLT(mv) \ argument [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-vp9.c | 1075 .mv = { 1361 u8 *p = probs->mv.joint; in update_mv_probs() 1362 const u8 *d = deltas->mv.joint; in update_mv_probs() 1369 for (i = 0; i < ARRAY_SIZE(probs->mv.sign); i++) { in update_mv_probs() 1370 p = probs->mv.sign; in update_mv_probs() 1371 d = deltas->mv.sign; in update_mv_probs() 1374 p = probs->mv.classes[i]; in update_mv_probs() 1375 d = deltas->mv.classes[i]; in update_mv_probs() 1376 for (j = 0; j < ARRAY_SIZE(probs->mv.classes[0]); j++) in update_mv_probs() 1379 p = probs->mv.class0_bit; in update_mv_probs() [all …]
|
/linux/drivers/clk/tegra/ |
H A D | cvb.c | 17 int mv; in get_cvb_voltage() local 20 mv = DIV_ROUND_CLOSEST(cvb->c2 * speedo, s_scale); in get_cvb_voltage() 21 mv = DIV_ROUND_CLOSEST((mv + cvb->c1) * speedo, s_scale) + cvb->c0; in get_cvb_voltage() 22 return mv; in get_cvb_voltage() 25 static int round_cvb_voltage(int mv, int v_scale, in round_cvb_voltage() argument 33 uv = max(mv * 1000, offset) - offset; in round_cvb_voltage() 43 static int round_voltage(int mv, const struct rail_alignment *align, int up) in round_voltage() argument 48 uv = max(mv * 1000, align->offset_uv) - align->offset_uv; in round_voltage() 52 return mv; in round_voltage()
|
/linux/include/linux/usb/ |
H A D | pd.h | 235 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument 238 #define PDO_FIXED(mv, ma, flags) \ argument 240 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 248 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument 249 #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) argument 260 #define PDO_VAR_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MIN_VOLT_SHIFT) argument 261 #define PDO_VAR_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MAX_VOLT_SHIFT) argument 284 #define PDO_PPS_APDO_MIN_VOLT(mv) \ argument 285 ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT) 286 #define PDO_PPS_APDO_MAX_VOLT(mv) \ argument [all …]
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 359 struct vdec_vp9_slice_mem mv[2]; member 471 struct mtk_vcodec_mem mv[2]; member 592 if (instance->mv[i].va) in vdec_vp9_slice_alloc_working_buffer() 593 mtk_vcodec_mem_free(ctx, &instance->mv[i]); in vdec_vp9_slice_alloc_working_buffer() 594 instance->mv[i].size = size; in vdec_vp9_slice_alloc_working_buffer() 595 if (mtk_vcodec_mem_alloc(ctx, &instance->mv[i])) in vdec_vp9_slice_alloc_working_buffer() 639 for (i = 0; i < ARRAY_SIZE(instance->mv); i++) { in vdec_vp9_slice_free_working_buffer() 640 if (instance->mv[i].va) in vdec_vp9_slice_free_working_buffer() 641 mtk_vcodec_mem_free(ctx, &instance->mv[i]); in vdec_vp9_slice_free_working_buffer() 990 vsi->mv[i].dma_addr = instance->mv[i].dma_addr; in vdec_vp9_slice_setup_lat_buffer() [all …]
|
/linux/drivers/scsi/ |
H A D | ch.c | 711 struct changer_move mv; in ch_ioctl() local 713 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl() 716 if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || in ch_ioctl() 717 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { in ch_ioctl() 724 ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, in ch_ioctl() 725 ch->firsts[mv.cm_totype] + mv.cm_tounit, in ch_ioctl() 726 mv.cm_flags & CM_INVERT); in ch_ioctl() 733 struct changer_exchange mv; in ch_ioctl() local 735 if (copy_from_user(&mv, argp, sizeof (mv))) in ch_ioctl() 738 if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || in ch_ioctl() [all …]
|
H A D | hptiop.c | 163 u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); in mv_inbound_write() 169 memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); in mv_inbound_write() 170 writel(head, &hba->u.mv.mu->inbound_head); in mv_inbound_write() 172 &hba->u.mv.regs->inbound_doorbell); in mv_inbound_write() 208 status = readl(&hba->u.mv.regs->outbound_doorbell); in iop_intr_mv() 209 writel(~status, &hba->u.mv.regs->outbound_doorbell); in iop_intr_mv() 213 msg = readl(&hba->u.mv.mu->outbound_msg); in iop_intr_mv() 222 while ((tag = mv_outbound_read(hba->u.mv.mu))) in iop_intr_mv() 323 struct hpt_iop_request_header *reqhdr = hba->u.mv.internal_req; in iop_send_sync_request_mv() 328 mv_inbound_write(hba->u.mv.internal_req_phy | in iop_send_sync_request_mv() [all …]
|
/linux/arch/riscv/lib/ |
H A D | tishift.S | 20 mv a1,a2 27 mv a1,a2 43 mv a1,a2 50 mv a1,a2 66 mv a0,a2 73 mv a0,a2
|
/linux/arch/riscv/purgatory/ |
H A D | entry.S | 18 mv s0, a0 /* The hartid of the current hart */ 19 mv s1, a1 /* Phys address of the FDT image */ 24 mv a0, s0 25 mv a1, s1
|
/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec-vp9.c | 69 } mv; member 290 memcpy(rkprobs->mv.joint, probs->mv.joint, in init_inter_probs() 291 sizeof(rkprobs->mv.joint)); in init_inter_probs() 292 memcpy(rkprobs->mv.sign, probs->mv.sign, in init_inter_probs() 293 sizeof(rkprobs->mv.sign)); in init_inter_probs() 294 memcpy(rkprobs->mv.classes, probs->mv.classes, in init_inter_probs() 295 sizeof(rkprobs->mv.classes)); in init_inter_probs() 296 memcpy(rkprobs->mv.class0_bit, probs->mv.class0_bit, in init_inter_probs() 297 sizeof(rkprobs->mv.class0_bit)); in init_inter_probs() 298 memcpy(rkprobs->mv.bits, probs->mv.bits, in init_inter_probs() [all …]
|
/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_g2_vp9_dec.c | 638 struct hantro_g2_mv_probs *mv; in config_probs() local 715 mv = &adaptive->mv; in config_probs() 717 memcpy(mv->joint, probs->mv.joint, sizeof(mv->joint)); in config_probs() 718 memcpy(mv->sign, probs->mv.sign, sizeof(mv->sign)); in config_probs() 719 memcpy(mv->class0_bit, probs->mv.class0_bit, sizeof(mv->class0_bit)); in config_probs() 720 memcpy(mv->fr, probs->mv.fr, sizeof(mv->fr)); in config_probs() 721 memcpy(mv->class0_hp, probs->mv.class0_hp, sizeof(mv->class0_hp)); in config_probs() 722 memcpy(mv->hp, probs->mv.hp, sizeof(mv->hp)); in config_probs() 723 memcpy(mv->classes, probs->mv.classes, sizeof(mv->classes)); in config_probs() 724 memcpy(mv->class0_fr, probs->mv.class0_fr, sizeof(mv->class0_fr)); in config_probs() [all …]
|
/linux/net/bridge/ |
H A D | br_mst.c | 151 int br_mst_vlan_set_msti(struct net_bridge_vlan *mv, u16 msti) 155 .orig_dev = mv->br->dev, in br_mst_vlan_set_msti() 157 .vid = mv->vid, in br_mst_vlan_set_msti() 166 if (mv->msti == msti) in br_mst_vlan_set_msti() 169 err = switchdev_port_attr_set(mv->br->dev, &attr, NULL); in br_mst_vlan_set_msti() 173 mv->msti = msti; in br_mst_vlan_set_msti() 175 list_for_each_entry(p, &mv->br->port_list, list) { in br_mst_vlan_set_msti() 178 pv = br_vlan_find(vg, mv->vid); in br_mst_vlan_set_msti() 152 br_mst_vlan_set_msti(struct net_bridge_vlan * mv,u16 msti) br_mst_vlan_set_msti() argument
|
/linux/arch/hexagon/ |
H A D | Makefile | 22 cflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION}) 23 aflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION}) 24 ldflags-y += $(call cc-option,-mv${CONFIG_HEXAGON_ARCH_VERSION})
|
/linux/tools/power/cpupower/debug/i386/ |
H A D | centrino-decode.c | 66 unsigned int mv; in decode() local 70 mv = (((msr & 0xFF) * 16) + 700); in decode() 72 printf("0x%x means multiplier %d @ %d mV\n", msr, multiplier, mv); in decode()
|
/linux/drivers/usb/typec/tcpm/ |
H A D | maxim_contaminant.c | 114 int mv; in max_contaminant_read_resistance_kohm() local 136 mv = max_contaminant_read_adc_mv(chip, channel, sleep_msec, raw, true); in max_contaminant_read_resistance_kohm() 137 if (mv < 0) in max_contaminant_read_resistance_kohm() 145 return mv; in max_contaminant_read_resistance_kohm() 158 mv = max_contaminant_read_adc_mv(chip, channel, sleep_msec, raw, true); in max_contaminant_read_resistance_kohm() 159 if (mv < 0) in max_contaminant_read_resistance_kohm() 171 return mv; in max_contaminant_read_resistance_kohm()
|
/linux/arch/s390/boot/ |
H A D | install.sh | 22 if [ -f "$4/vmlinuz-$1" ]; then mv -- "$4/vmlinuz-$1" "$4/vmlinuz-$1.old"; fi 23 if [ -f "$4/System.map-$1" ]; then mv -- "$4/System.map-$1" "$4/System.map-$1.old"; fi
|
/linux/drivers/staging/fbtft/ |
H A D | fb_hx8353d.c | 78 #define mv BIT(5) macro 96 my | mv | (par->bgr << 3)); in set_var() 104 mx | mv | (par->bgr << 3)); in set_var()
|
/linux/arch/sparc/boot/ |
H A D | install.sh | 22 mv $4/vmlinuz $4/vmlinuz.old 26 mv $4/System.map $4/System.old
|
/linux/arch/nios2/boot/ |
H A D | install.sh | 22 mv $4/vmlinuz $4/vmlinuz.old 26 mv $4/System.map $4/System.old
|