mv 981 arch/alpha/kernel/setup.c struct alpha_machine_vector *mv = all_vecs[i]; mv 982 arch/alpha/kernel/setup.c if (strcasecmp(mv->vector_name, name) == 0) mv 983 arch/alpha/kernel/setup.c return mv; mv 504 arch/ia64/include/asm/pal.h mv : 1, /* mesi valid */ mv 716 arch/ia64/include/asm/pal.h #define pmci_cache_line_state_valid pme_cache.mv mv 21 arch/sh/kernel/machvec.c #define for_each_mv(mv) \ mv 22 arch/sh/kernel/machvec.c for ((mv) = (struct sh_machine_vector *)&__machvec_start; \ mv 23 arch/sh/kernel/machvec.c (mv) && (unsigned long)(mv) < (unsigned long)&__machvec_end; \ mv 24 arch/sh/kernel/machvec.c (mv)++) mv 28 arch/sh/kernel/machvec.c struct sh_machine_vector *mv; mv 30 arch/sh/kernel/machvec.c for_each_mv(mv) mv 31 arch/sh/kernel/machvec.c if (strcasecmp(name, mv->mv_name) == 0) mv 32 arch/sh/kernel/machvec.c return mv; mv 647 drivers/ata/ahci.c int mv; mv 651 drivers/ata/ahci.c mv = 2; mv 653 drivers/ata/ahci.c mv = 4; mv 654 drivers/ata/ahci.c port_mmio = __ahci_port_base(host, mv); mv 17 drivers/clk/tegra/cvb.c int mv; mv 20 drivers/clk/tegra/cvb.c mv = DIV_ROUND_CLOSEST(cvb->c2 * speedo, s_scale); mv 21 drivers/clk/tegra/cvb.c mv = DIV_ROUND_CLOSEST((mv + cvb->c1) * speedo, s_scale) + cvb->c0; mv 22 drivers/clk/tegra/cvb.c return mv; mv 25 drivers/clk/tegra/cvb.c static int round_cvb_voltage(int mv, int v_scale, mv 33 drivers/clk/tegra/cvb.c uv = max(mv * 1000, offset) - offset; mv 43 drivers/clk/tegra/cvb.c static int round_voltage(int mv, const struct rail_alignment *align, int up) mv 48 drivers/clk/tegra/cvb.c uv = max(mv * 1000, align->offset_uv) - align->offset_uv; mv 52 drivers/clk/tegra/cvb.c return mv; mv 85 drivers/cpufreq/speedstep-centrino.c #define OP(mhz, mv) \ mv 88 drivers/cpufreq/speedstep-centrino.c .driver_data = (((mhz)/100) << 8) | ((mv - 700) / 16) \ mv 8821 drivers/gpu/drm/i915/i915_reg.h #define GEN6_ENCODE_RC6_VID(mv) (((mv) - 245) / 5) mv 196 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c s32 mv = DIV_ROUND_CLOSEST(uv, 1000); mv 199 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c coeff = DIV_ROUND_CLOSEST(mv * p->coeff_slope, 1000) + p->coeff_offs; mv 257 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c int mv = !next->bios.ramcfg_11_02_04; mv 360 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpioMV, 0x3000, fuc->r_funcMV[mv]); mv 708 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c int mv = !next->bios.ramcfg_11_02_04; mv 811 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c u32 temp = ram_mask(fuc, gpioMV, 0x3000, fuc->r_funcMV[mv]); mv 54 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c int mv; mv 56 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c mv = DIV_ROUND_CLOSEST(coef->c2 * speedo, s_scale); mv 57 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c mv = DIV_ROUND_CLOSEST((mv + coef->c1) * speedo, s_scale) + coef->c0; mv 58 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c return mv; mv 70 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c int cvb_mv, mv; mv 74 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c mv = DIV_ROUND_CLOSEST(coef->c3 * speedo, s_scale) + coef->c4 + mv 76 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c mv = DIV_ROUND_CLOSEST(mv * temp, t_scale) + cvb_mv; mv 77 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c return mv; mv 84 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c int mv; mv 86 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c mv = gk20a_volt_get_cvb_t_voltage(speedo, -10, 100, 10, coef); mv 87 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c mv = DIV_ROUND_UP(mv, v_scale); mv 89 drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c return mv * 1000; mv 361 drivers/hwmon/lm93.c const long mv = clamp_val(val, mv 365 drivers/hwmon/lm93.c const long uv = mv * 1000; mv 117 drivers/hwmon/max16065.c static inline int MV_TO_LIMIT(int mv, int range) mv 119 drivers/hwmon/max16065.c return clamp_val(DIV_ROUND_CLOSEST(mv * 256, range), 0, 255); mv 130 drivers/leds/leds-max77693.c static inline u8 max77693_led_vsys_to_reg(u32 mv) mv 132 drivers/leds/leds-max77693.c return ((mv - MAX_FLASH1_VSYS_MIN) / MAX_FLASH1_VSYS_STEP) << 2; mv 135 drivers/leds/leds-max77693.c static inline u8 max77693_led_vout_to_reg(u32 mv) mv 137 drivers/leds/leds-max77693.c return (mv - FLASH_VOUT_MIN) / FLASH_VOUT_STEP + FLASH_VOUT_RMIN; mv 168 drivers/media/pci/tw5864/tw5864-core.c tw_writel(TW5864_MV_STREAM_BASE_ADDR, cur_frame->mv.dma_addr); mv 962 drivers/media/pci/tw5864/tw5864-video.c frame->mv.addr = dma_alloc_coherent(&dev->pci->dev, mv 964 drivers/media/pci/tw5864/tw5864-video.c &frame->mv.dma_addr, mv 966 drivers/media/pci/tw5864/tw5864-video.c if (!frame->mv.addr) { mv 1018 drivers/media/pci/tw5864/tw5864-video.c dev->h264_buf[dev->h264_buf_w_index].mv.dma_addr); mv 1086 drivers/media/pci/tw5864/tw5864-video.c dev->h264_buf[i].mv.addr, mv 1087 drivers/media/pci/tw5864/tw5864-video.c dev->h264_buf[i].mv.dma_addr); mv 1209 drivers/media/pci/tw5864/tw5864-video.c dev->h264_buf[i].mv.addr, mv 1210 drivers/media/pci/tw5864/tw5864-video.c dev->h264_buf[i].mv.dma_addr); mv 1299 drivers/media/pci/tw5864/tw5864-video.c u32 *mv = (u32 *)frame->mv.addr; mv 1305 drivers/media/pci/tw5864/tw5864-video.c const unsigned int metric = tw5864_md_metric_from_mvd(mv[i]); mv 1330 drivers/media/pci/tw5864/tw5864-video.c dma_sync_single_for_cpu(&dev->pci->dev, frame->mv.dma_addr, mv 1335 drivers/media/pci/tw5864/tw5864-video.c dma_sync_single_for_device(&dev->pci->dev, frame->mv.dma_addr, mv 134 drivers/media/pci/tw5864/tw5864.h struct tw5864_dma_buf mv; mv 864 drivers/media/platform/ti-vpe/vpe.c const struct vpdma_data_format *mv = mv 874 drivers/media/platform/ti-vpe/vpe.c bytes_per_line = ALIGN((s_q_data->width * mv->depth) >> 3, mv 179 drivers/media/usb/usbvision/usbvision.h #define YUV_TO_RGB_BY_THE_BOOK(my, mu, mv, mr, mg, mb) { \ mv 183 drivers/media/usb/usbvision/usbvision.h mm_v = (mv) - 128; \ mv 2094 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c struct qlcnic_macvlan_mbx mv; mv 2118 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mv.vlan = vlan_id; mv 2119 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mv.mac_addr0 = addr[0]; mv 2120 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mv.mac_addr1 = addr[1]; mv 2121 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mv.mac_addr2 = addr[2]; mv 2122 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mv.mac_addr3 = addr[3]; mv 2123 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mv.mac_addr4 = addr[4]; mv 2124 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c mv.mac_addr5 = addr[5]; mv 2126 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c memcpy(buf, &mv, sizeof(struct qlcnic_macvlan_mbx)); mv 792 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c struct qlcnic_macvlan_mbx mv; mv 824 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c mv.vlan = vlan; mv 825 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c mv.mac_addr0 = addr[0]; mv 826 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c mv.mac_addr1 = addr[1]; mv 827 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c mv.mac_addr2 = addr[2]; mv 828 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c mv.mac_addr3 = addr[3]; mv 829 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c mv.mac_addr4 = addr[4]; mv 830 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c mv.mac_addr5 = addr[5]; mv 832 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c memcpy(buf, &mv, sizeof(struct qlcnic_macvlan_mbx)); mv 692 drivers/scsi/ch.c struct changer_move mv; mv 694 drivers/scsi/ch.c if (copy_from_user(&mv, argp, sizeof (mv))) mv 697 drivers/scsi/ch.c if (0 != ch_checkrange(ch, mv.cm_fromtype, mv.cm_fromunit) || mv 698 drivers/scsi/ch.c 0 != ch_checkrange(ch, mv.cm_totype, mv.cm_tounit )) { mv 705 drivers/scsi/ch.c ch->firsts[mv.cm_fromtype] + mv.cm_fromunit, mv 706 drivers/scsi/ch.c ch->firsts[mv.cm_totype] + mv.cm_tounit, mv 707 drivers/scsi/ch.c mv.cm_flags & CM_INVERT); mv 714 drivers/scsi/ch.c struct changer_exchange mv; mv 716 drivers/scsi/ch.c if (copy_from_user(&mv, argp, sizeof (mv))) mv 719 drivers/scsi/ch.c if (0 != ch_checkrange(ch, mv.ce_srctype, mv.ce_srcunit ) || mv 720 drivers/scsi/ch.c 0 != ch_checkrange(ch, mv.ce_fdsttype, mv.ce_fdstunit) || mv 721 drivers/scsi/ch.c 0 != ch_checkrange(ch, mv.ce_sdsttype, mv.ce_sdstunit)) { mv 729 drivers/scsi/ch.c ch->firsts[mv.ce_srctype] + mv.ce_srcunit, mv 730 drivers/scsi/ch.c ch->firsts[mv.ce_fdsttype] + mv.ce_fdstunit, mv 731 drivers/scsi/ch.c ch->firsts[mv.ce_sdsttype] + mv.ce_sdstunit, mv 732 drivers/scsi/ch.c mv.ce_flags & CE_INVERT1, mv.ce_flags & CE_INVERT2); mv 163 drivers/scsi/hptiop.c u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); mv 169 drivers/scsi/hptiop.c memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); mv 170 drivers/scsi/hptiop.c writel(head, &hba->u.mv.mu->inbound_head); mv 172 drivers/scsi/hptiop.c &hba->u.mv.regs->inbound_doorbell); mv 208 drivers/scsi/hptiop.c status = readl(&hba->u.mv.regs->outbound_doorbell); mv 209 drivers/scsi/hptiop.c writel(~status, &hba->u.mv.regs->outbound_doorbell); mv 213 drivers/scsi/hptiop.c msg = readl(&hba->u.mv.mu->outbound_msg); mv 222 drivers/scsi/hptiop.c while ((tag = mv_outbound_read(hba->u.mv.mu))) mv 323 drivers/scsi/hptiop.c struct hpt_iop_request_header *reqhdr = hba->u.mv.internal_req; mv 328 drivers/scsi/hptiop.c mv_inbound_write(hba->u.mv.internal_req_phy | mv 368 drivers/scsi/hptiop.c writel(msg, &hba->u.mv.mu->inbound_msg); mv 369 drivers/scsi/hptiop.c writel(MVIOP_MU_INBOUND_INT_MSG, &hba->u.mv.regs->inbound_doorbell); mv 370 drivers/scsi/hptiop.c readl(&hba->u.mv.regs->inbound_doorbell); mv 431 drivers/scsi/hptiop.c struct hpt_iop_request_get_config *req = hba->u.mv.internal_req; mv 507 drivers/scsi/hptiop.c struct hpt_iop_request_set_config *req = hba->u.mv.internal_req; mv 558 drivers/scsi/hptiop.c &hba->u.mv.regs->outbound_intmask); mv 637 drivers/scsi/hptiop.c hba->u.mv.regs = hptiop_map_pci_bar(hba, 0); mv 638 drivers/scsi/hptiop.c if (hba->u.mv.regs == NULL) mv 641 drivers/scsi/hptiop.c hba->u.mv.mu = hptiop_map_pci_bar(hba, 2); mv 642 drivers/scsi/hptiop.c if (hba->u.mv.mu == NULL) { mv 643 drivers/scsi/hptiop.c iounmap(hba->u.mv.regs); mv 667 drivers/scsi/hptiop.c iounmap(hba->u.mv.regs); mv 668 drivers/scsi/hptiop.c iounmap(hba->u.mv.mu); mv 1189 drivers/scsi/hptiop.c hba->u.mv.internal_req = dma_alloc_coherent(&hba->pcidev->dev, mv 1190 drivers/scsi/hptiop.c 0x800, &hba->u.mv.internal_req_phy, GFP_KERNEL); mv 1191 drivers/scsi/hptiop.c if (hba->u.mv.internal_req) mv 1256 drivers/scsi/hptiop.c if (hba->u.mv.internal_req) { mv 1258 drivers/scsi/hptiop.c hba->u.mv.internal_req, hba->u.mv.internal_req_phy); mv 1536 drivers/scsi/hptiop.c writel(0, &hba->u.mv.regs->outbound_intmask); mv 1537 drivers/scsi/hptiop.c readl(&hba->u.mv.regs->outbound_intmask); mv 281 drivers/scsi/hptiop.h } mv; mv 96 drivers/staging/fbtft/fb_hx8353d.c my | mv | (par->bgr << 3)); mv 104 drivers/staging/fbtft/fb_hx8353d.c mx | mv | (par->bgr << 3)); mv 181 drivers/staging/uwb/drp-ie.c struct uwb_rsv_move *mv; mv 222 drivers/staging/uwb/drp-ie.c mv = &rsv->mv; mv 223 drivers/staging/uwb/drp-ie.c if (mv->companion_drp_ie == NULL) { mv 224 drivers/staging/uwb/drp-ie.c mv->companion_drp_ie = uwb_drp_ie_alloc(); mv 225 drivers/staging/uwb/drp-ie.c if (mv->companion_drp_ie == NULL) mv 228 drivers/staging/uwb/drp-ie.c drp_ie = mv->companion_drp_ie; mv 239 drivers/staging/uwb/drp-ie.c uwb_drp_ie_from_bm(drp_ie, &mv->companion_mas); mv 95 drivers/staging/uwb/drp.c struct uwb_rsv_move *mv; mv 105 drivers/staging/uwb/drp.c (rsv->mv.companion_drp_ie != NULL)) { mv 106 drivers/staging/uwb/drp.c mv = &rsv->mv; mv 108 drivers/staging/uwb/drp.c mv->companion_drp_ie->hdr.length + 2; mv 134 drivers/staging/uwb/drp.c (rsv->mv.companion_drp_ie != NULL)) { mv 135 drivers/staging/uwb/drp.c mv = &rsv->mv; mv 136 drivers/staging/uwb/drp.c memcpy(IEDataptr, mv->companion_drp_ie, mv 137 drivers/staging/uwb/drp.c mv->companion_drp_ie->hdr.length + 2); mv 139 drivers/staging/uwb/drp.c mv->companion_drp_ie->hdr.length + 2; mv 245 drivers/staging/uwb/drp.c struct uwb_rsv_move *mv = &rsv->mv; mv 264 drivers/staging/uwb/drp.c bitmap_and(mv->companion_mas.bm, rsv->mas.bm, conflicting_mas->bm, UWB_NUM_MAS); mv 288 drivers/staging/uwb/drp.c struct uwb_rsv_move *mv = &rsv->mv; mv 304 drivers/staging/uwb/drp.c &rsv->mv.companion_mas); mv 319 drivers/staging/uwb/drp.c uwb_drp_avail_release(rsv->rc, &rsv->mv.companion_mas); mv 324 drivers/staging/uwb/drp.c bitmap_andnot(mv->companion_mas.bm, rsv->mas.bm, mv 339 drivers/staging/uwb/drp.c struct uwb_rsv_move *mv; mv 343 drivers/staging/uwb/drp.c mv = &rsv->mv; mv 350 drivers/staging/uwb/drp.c if (bitmap_intersects(mv->companion_mas.bm, mv 381 drivers/staging/uwb/drp.c struct uwb_rsv_move *mv = &rsv->mv; mv 410 drivers/staging/uwb/drp.c bitmap_copy(mv->companion_mas.bm, mas->bm, mv 433 drivers/staging/uwb/drp.c struct uwb_rsv_move *mv = &rsv->mv; mv 457 drivers/staging/uwb/drp.c bitmap_andnot(mv->companion_mas.bm, rsv->mas.bm, mas.bm, mv 459 drivers/staging/uwb/drp.c uwb_drp_avail_release(rsv->rc, &mv->companion_mas); mv 474 drivers/staging/uwb/drp.c struct uwb_rsv_move *mv = &rsv->mv; mv 496 drivers/staging/uwb/drp.c if (bitmap_equal(mas->bm, mv->companion_mas.bm, UWB_NUM_MAS)) { mv 291 drivers/staging/uwb/rsv.c struct uwb_rsv_move *mv = &rsv->mv; mv 329 drivers/staging/uwb/rsv.c bitmap_andnot(rsv->mas.bm, rsv->mas.bm, mv->companion_mas.bm, UWB_NUM_MAS); mv 335 drivers/staging/uwb/rsv.c uwb_drp_avail_release(rsv->rc, &mv->companion_mas); mv 348 drivers/staging/uwb/rsv.c uwb_drp_avail_reserve(rsv->rc, &mv->companion_mas); mv 349 drivers/staging/uwb/rsv.c bitmap_or(rsv->mas.bm, rsv->mas.bm, mv->companion_mas.bm, UWB_NUM_MAS); mv 350 drivers/staging/uwb/rsv.c rsv->mas.safe += mv->companion_mas.safe; mv 351 drivers/staging/uwb/rsv.c rsv->mas.unsafe += mv->companion_mas.unsafe; mv 355 drivers/staging/uwb/rsv.c bitmap_andnot(mv->companion_mas.bm, rsv->mas.bm, mv->final_mas.bm, UWB_NUM_MAS); mv 357 drivers/staging/uwb/rsv.c rsv->mas.safe = mv->final_mas.safe; mv 358 drivers/staging/uwb/rsv.c rsv->mas.unsafe = mv->final_mas.unsafe; mv 359 drivers/staging/uwb/rsv.c bitmap_copy(rsv->mas.bm, mv->final_mas.bm, UWB_NUM_MAS); mv 360 drivers/staging/uwb/rsv.c bitmap_copy(rsv->mas.unsafe_bm, mv->final_mas.unsafe_bm, UWB_NUM_MAS); mv 381 drivers/staging/uwb/rsv.c uwb_drp_avail_reserve(rsv->rc, &mv->companion_mas); mv 437 drivers/staging/uwb/rsv.c uwb_drp_avail_release(rsv->rc, &rsv->mv.companion_mas); mv 506 drivers/staging/uwb/rsv.c uwb_drp_avail_release(rsv->rc, &rsv->mv.companion_mas); mv 614 drivers/staging/uwb/rsv.c struct uwb_rsv_move *mv; mv 620 drivers/staging/uwb/rsv.c mv = &rsv->mv; mv 622 drivers/staging/uwb/rsv.c if (uwb_rsv_find_best_allocation(rsv, available, &mv->final_mas) == UWB_RSV_ALLOC_FOUND) { mv 624 drivers/staging/uwb/rsv.c if (!bitmap_equal(rsv->mas.bm, mv->final_mas.bm, UWB_NUM_MAS)) { mv 626 drivers/staging/uwb/rsv.c bitmap_andnot(mv->companion_mas.bm, mv->final_mas.bm, rsv->mas.bm, UWB_NUM_MAS); mv 627 drivers/staging/uwb/rsv.c uwb_drp_avail_reserve_pending(rc, &mv->companion_mas); mv 248 drivers/staging/uwb/uwb.h struct uwb_rsv_move mv; mv 734 drivers/usb/typec/tcpm/tcpm.c static int tcpm_set_current_limit(struct tcpm_port *port, u32 max_ma, u32 mv) mv 738 drivers/usb/typec/tcpm/tcpm.c tcpm_log(port, "Setting voltage/current limit %u mV %u mA", mv, max_ma); mv 740 drivers/usb/typec/tcpm/tcpm.c port->supply_voltage = mv; mv 744 drivers/usb/typec/tcpm/tcpm.c ret = port->tcpc->set_current_limit(port->tcpc, max_ma, mv); mv 2329 drivers/usb/typec/tcpm/tcpm.c unsigned int mv, ma, mw, flags; mv 2347 drivers/usb/typec/tcpm/tcpm.c mv = pdo_fixed_voltage(pdo); mv 2351 drivers/usb/typec/tcpm/tcpm.c mv = pdo_min_voltage(pdo); mv 2361 drivers/usb/typec/tcpm/tcpm.c ma = 1000 * mw / mv; mv 2364 drivers/usb/typec/tcpm/tcpm.c mw = ma * mv / 1000; mv 2391 drivers/usb/typec/tcpm/tcpm.c src_pdo_index, mv, mw, mv 2397 drivers/usb/typec/tcpm/tcpm.c src_pdo_index, mv, ma, mv 2402 drivers/usb/typec/tcpm/tcpm.c port->supply_voltage = mv; mv 325 drivers/usb/typec/tcpm/wcove.c static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv) mv 29 include/dt-bindings/usb/pd.h #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) mv 32 include/dt-bindings/usb/pd.h #define PDO_FIXED(mv, ma, flags) \ mv 34 include/dt-bindings/usb/pd.h PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) mv 42 include/dt-bindings/usb/pd.h #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) mv 43 include/dt-bindings/usb/pd.h #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) mv 54 include/dt-bindings/usb/pd.h #define PDO_VAR_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MIN_VOLT_SHIFT) mv 55 include/dt-bindings/usb/pd.h #define PDO_VAR_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MAX_VOLT_SHIFT) mv 76 include/dt-bindings/usb/pd.h #define PDO_PPS_APDO_MIN_VOLT(mv) \ mv 77 include/dt-bindings/usb/pd.h ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT) mv 78 include/dt-bindings/usb/pd.h #define PDO_PPS_APDO_MAX_VOLT(mv) \ mv 79 include/dt-bindings/usb/pd.h ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MAX_VOLT_SHIFT) mv 230 include/linux/usb/pd.h #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) mv 233 include/linux/usb/pd.h #define PDO_FIXED(mv, ma, flags) \ mv 235 include/linux/usb/pd.h PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) mv 243 include/linux/usb/pd.h #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) mv 244 include/linux/usb/pd.h #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) mv 255 include/linux/usb/pd.h #define PDO_VAR_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MIN_VOLT_SHIFT) mv 256 include/linux/usb/pd.h #define PDO_VAR_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MAX_VOLT_SHIFT) mv 279 include/linux/usb/pd.h #define PDO_PPS_APDO_MIN_VOLT(mv) \ mv 280 include/linux/usb/pd.h ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT) mv 281 include/linux/usb/pd.h #define PDO_PPS_APDO_MAX_VOLT(mv) \ mv 282 include/linux/usb/pd.h ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MAX_VOLT_SHIFT) mv 386 include/linux/usb/pd.h #define PDO_PROG_OUT_VOLT(mv) \ mv 387 include/linux/usb/pd.h ((((mv) / RDO_PROG_VOLT_MV_STEP) & RDO_PROG_VOLT_MASK) << RDO_PROG_VOLT_SHIFT) mv 137 include/linux/usb/tcpm.h int (*set_current_limit)(struct tcpc_dev *dev, u32 max_ma, u32 mv); mv 49 net/sched/sch_dsmark.c struct mask_value *mv; mv 142 net/sched/sch_dsmark.c p->mv[*arg - 1].value = nla_get_u8(tb[TCA_DSMARK_VALUE]); mv 145 net/sched/sch_dsmark.c p->mv[*arg - 1].mask = nla_get_u8(tb[TCA_DSMARK_MASK]); mv 160 net/sched/sch_dsmark.c p->mv[arg - 1].mask = 0xff; mv 161 net/sched/sch_dsmark.c p->mv[arg - 1].value = 0; mv 178 net/sched/sch_dsmark.c if (p->mv[i].mask == 0xff && !p->mv[i].value) mv 308 net/sched/sch_dsmark.c ipv4_change_dsfield(ip_hdr(skb), p->mv[index].mask, mv 309 net/sched/sch_dsmark.c p->mv[index].value); mv 312 net/sched/sch_dsmark.c ipv6_change_dsfield(ipv6_hdr(skb), p->mv[index].mask, mv 313 net/sched/sch_dsmark.c p->mv[index].value); mv 321 net/sched/sch_dsmark.c if (p->mv[index].mask != 0xff || p->mv[index].value) mv 375 net/sched/sch_dsmark.c p->mv = p->embedded; mv 377 net/sched/sch_dsmark.c p->mv = kmalloc_array(indices, sizeof(*p->mv), GFP_KERNEL); mv 378 net/sched/sch_dsmark.c if (!p->mv) { mv 383 net/sched/sch_dsmark.c p->mv[i].mask = 0xff; mv 384 net/sched/sch_dsmark.c p->mv[i].value = 0; mv 422 net/sched/sch_dsmark.c if (p->mv != p->embedded) mv 423 net/sched/sch_dsmark.c kfree(p->mv); mv 443 net/sched/sch_dsmark.c if (nla_put_u8(skb, TCA_DSMARK_MASK, p->mv[cl - 1].mask) || mv 444 net/sched/sch_dsmark.c nla_put_u8(skb, TCA_DSMARK_VALUE, p->mv[cl - 1].value)) mv 29 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) mv 32 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_FIXED(mv, ma, flags) \ mv 34 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) mv 42 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) mv 43 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) mv 54 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_VAR_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MIN_VOLT_SHIFT) mv 55 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_VAR_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_VAR_MAX_VOLT_SHIFT) mv 76 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_PPS_APDO_MIN_VOLT(mv) \ mv 77 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MIN_VOLT_SHIFT) mv 78 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_PPS_APDO_MAX_VOLT(mv) \ mv 79 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h ((((mv) / 100) & PDO_PPS_APDO_VOLT_MASK) << PDO_PPS_APDO_MAX_VOLT_SHIFT) mv 66 tools/power/cpupower/debug/i386/centrino-decode.c unsigned int mv; mv 70 tools/power/cpupower/debug/i386/centrino-decode.c mv = (((msr & 0xFF) * 16) + 700); mv 72 tools/power/cpupower/debug/i386/centrino-decode.c printf("0x%x means multiplier %d @ %d mV\n", msr, multiplier, mv);