ma 146 arch/arm/mach-s3c24xx/mach-gta02.c int ma; ma 157 arch/arm/mach-s3c24xx/mach-gta02.c ma = 1000; ma 159 arch/arm/mach-s3c24xx/mach-gta02.c ma = 100; ma 161 arch/arm/mach-s3c24xx/mach-gta02.c pcf50633_mbc_usb_curlim_set(pcf, ma); ma 207 arch/arm/mach-s3c24xx/mach-gta02.c static void gta02_udc_vbus_draw(unsigned int ma) ma 212 arch/arm/mach-s3c24xx/mach-gta02.c gta02_usb_vbus_draw = ma; ma 344 arch/ia64/kernel/acpi.c get_memory_proximity_domain(struct acpi_srat_mem_affinity *ma) ma 348 arch/ia64/kernel/acpi.c pxm = ma->proximity_domain; ma 402 arch/ia64/kernel/acpi.c acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *ma) ma 408 arch/ia64/kernel/acpi.c pxm = get_memory_proximity_domain(ma); ma 411 arch/ia64/kernel/acpi.c paddr = ma->base_address; ma 412 arch/ia64/kernel/acpi.c size = ma->length; ma 415 arch/ia64/kernel/acpi.c if (!(ma->flags & ACPI_SRAT_MEM_ENABLED)) ma 734 arch/ia64/kernel/palinfo.c unsigned long ma:3; ma 800 arch/ia64/kernel/palinfo.c gr_reg->pl, gr_reg->ar, rid_reg->rid, gr_reg->p, gr_reg->ma, ma 18 arch/parisc/include/asm/assembly.h #define STREGM std,ma ma 231 arch/parisc/include/asm/assembly.h fstd,ma %fr0, 8(\regs) ma 232 arch/parisc/include/asm/assembly.h fstd,ma %fr1, 8(\regs) ma 233 arch/parisc/include/asm/assembly.h fstd,ma %fr2, 8(\regs) ma 234 arch/parisc/include/asm/assembly.h fstd,ma %fr3, 8(\regs) ma 235 arch/parisc/include/asm/assembly.h fstd,ma %fr4, 8(\regs) ma 236 arch/parisc/include/asm/assembly.h fstd,ma %fr5, 8(\regs) ma 237 arch/parisc/include/asm/assembly.h fstd,ma %fr6, 8(\regs) ma 238 arch/parisc/include/asm/assembly.h fstd,ma %fr7, 8(\regs) ma 239 arch/parisc/include/asm/assembly.h fstd,ma %fr8, 8(\regs) ma 240 arch/parisc/include/asm/assembly.h fstd,ma %fr9, 8(\regs) ma 241 arch/parisc/include/asm/assembly.h fstd,ma %fr10, 8(\regs) ma 242 arch/parisc/include/asm/assembly.h fstd,ma %fr11, 8(\regs) ma 243 arch/parisc/include/asm/assembly.h fstd,ma %fr12, 8(\regs) ma 244 arch/parisc/include/asm/assembly.h fstd,ma %fr13, 8(\regs) ma 245 arch/parisc/include/asm/assembly.h fstd,ma %fr14, 8(\regs) ma 246 arch/parisc/include/asm/assembly.h fstd,ma %fr15, 8(\regs) ma 247 arch/parisc/include/asm/assembly.h fstd,ma %fr16, 8(\regs) ma 248 arch/parisc/include/asm/assembly.h fstd,ma %fr17, 8(\regs) ma 249 arch/parisc/include/asm/assembly.h fstd,ma %fr18, 8(\regs) ma 250 arch/parisc/include/asm/assembly.h fstd,ma %fr19, 8(\regs) ma 251 arch/parisc/include/asm/assembly.h fstd,ma %fr20, 8(\regs) ma 252 arch/parisc/include/asm/assembly.h fstd,ma %fr21, 8(\regs) ma 253 arch/parisc/include/asm/assembly.h fstd,ma %fr22, 8(\regs) ma 254 arch/parisc/include/asm/assembly.h fstd,ma %fr23, 8(\regs) ma 255 arch/parisc/include/asm/assembly.h fstd,ma %fr24, 8(\regs) ma 256 arch/parisc/include/asm/assembly.h fstd,ma %fr25, 8(\regs) ma 257 arch/parisc/include/asm/assembly.h fstd,ma %fr26, 8(\regs) ma 258 arch/parisc/include/asm/assembly.h fstd,ma %fr27, 8(\regs) ma 259 arch/parisc/include/asm/assembly.h fstd,ma %fr28, 8(\regs) ma 260 arch/parisc/include/asm/assembly.h fstd,ma %fr29, 8(\regs) ma 261 arch/parisc/include/asm/assembly.h fstd,ma %fr30, 8(\regs) ma 301 arch/parisc/include/asm/assembly.h fstd,ma %fr12, 8(%r30) ma 302 arch/parisc/include/asm/assembly.h fstd,ma %fr13, 8(%r30) ma 303 arch/parisc/include/asm/assembly.h fstd,ma %fr14, 8(%r30) ma 304 arch/parisc/include/asm/assembly.h fstd,ma %fr15, 8(%r30) ma 305 arch/parisc/include/asm/assembly.h fstd,ma %fr16, 8(%r30) ma 306 arch/parisc/include/asm/assembly.h fstd,ma %fr17, 8(%r30) ma 307 arch/parisc/include/asm/assembly.h fstd,ma %fr18, 8(%r30) ma 308 arch/parisc/include/asm/assembly.h fstd,ma %fr19, 8(%r30) ma 309 arch/parisc/include/asm/assembly.h fstd,ma %fr20, 8(%r30) ma 310 arch/parisc/include/asm/assembly.h fstd,ma %fr21, 8(%r30) ma 328 arch/parisc/include/asm/assembly.h std,ma %r3, CALLEE_REG_FRAME_SIZE(%r30) ma 372 arch/parisc/include/asm/assembly.h stw,ma %r3, CALLEE_REG_FRAME_SIZE(%r30) ma 213 arch/powerpc/platforms/4xx/pci.c u32 ma, pcila, pciha; ma 237 arch/powerpc/platforms/4xx/pci.c ma = (0xffffffffu << ilog2(size)) | 1; ma 239 arch/powerpc/platforms/4xx/pci.c ma |= 2; ma 247 arch/powerpc/platforms/4xx/pci.c writel(ma, reg + PCIL0_PMM0MA + (0x10 * index)); ma 157 arch/sh/include/asm/uaccess.h struct mem_access *ma, int, unsigned long address); ma 86 arch/sh/kernel/traps_32.c struct mem_access *ma) ma 121 arch/sh/kernel/traps_32.c if (ma->from(dst, srcu, count)) ma 134 arch/sh/kernel/traps_32.c if (ma->to(dstu, src, count)) ma 145 arch/sh/kernel/traps_32.c if (ma->to(dstu, src, 4)) ma 158 arch/sh/kernel/traps_32.c if (ma->to(dstu, src, count)) ma 169 arch/sh/kernel/traps_32.c if (ma->from(dst, srcu, 4)) ma 184 arch/sh/kernel/traps_32.c if (ma->from(dst, srcu, count)) ma 200 arch/sh/kernel/traps_32.c if (ma->to(dstu, src, 2)) ma 214 arch/sh/kernel/traps_32.c if (ma->from(dst, srcu, 2)) ma 233 arch/sh/kernel/traps_32.c if (ma->from(dst, srcu, 2)) ma 246 arch/sh/kernel/traps_32.c if (ma->from(dst, srcu, 4)) ma 267 arch/sh/kernel/traps_32.c struct mem_access *ma) ma 283 arch/sh/kernel/traps_32.c return handle_unaligned_ins(instruction, regs, ma); ma 303 arch/sh/kernel/traps_32.c struct mem_access *ma, int expected, ma 336 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 342 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 348 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 369 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 375 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 403 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 417 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 434 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 440 arch/sh/kernel/traps_32.c ret = handle_delayslot(regs, instruction, ma); ma 454 arch/sh/kernel/traps_32.c ret = handle_unaligned_ins(instruction, regs, ma); ma 404 arch/x86/boot/compressed/acpi.c struct acpi_srat_mem_affinity *ma; ma 406 arch/x86/boot/compressed/acpi.c ma = (struct acpi_srat_mem_affinity *)sub_table; ma 407 arch/x86/boot/compressed/acpi.c if (!(ma->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE) && ma->length) { ma 408 arch/x86/boot/compressed/acpi.c immovable_mem[num].start = ma->base_address; ma 409 arch/x86/boot/compressed/acpi.c immovable_mem[num].size = ma->length; ma 324 arch/x86/include/asm/xen/hypercall.h HYPERVISOR_update_descriptor(u64 ma, u64 desc) ma 327 arch/x86/include/asm/xen/hypercall.h return _hypercall2(int, update_descriptor, ma, desc); ma 328 arch/x86/include/asm/xen/hypercall.h return _hypercall4(int, update_descriptor, ma, ma>>32, desc, desc>>32); ma 449 drivers/acpi/hmat/hmat.c struct acpi_srat_mem_affinity *ma = (void *)header; ma 451 drivers/acpi/hmat/hmat.c if (!ma) ma 453 drivers/acpi/hmat/hmat.c if (!(ma->flags & ACPI_SRAT_MEM_ENABLED)) ma 455 drivers/acpi/hmat/hmat.c alloc_memory_target(ma->proximity_domain); ma 247 drivers/acpi/numa.c acpi_numa_memory_affinity_init(struct acpi_srat_mem_affinity *ma) ma 255 drivers/acpi/numa.c if (ma->header.length < sizeof(struct acpi_srat_mem_affinity)) { ma 257 drivers/acpi/numa.c ma->header.length); ma 260 drivers/acpi/numa.c if ((ma->flags & ACPI_SRAT_MEM_ENABLED) == 0) ma 262 drivers/acpi/numa.c hotpluggable = ma->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE; ma 266 drivers/acpi/numa.c start = ma->base_address; ma 267 drivers/acpi/numa.c end = start + ma->length; ma 268 drivers/acpi/numa.c pxm = ma->proximity_domain; ma 291 drivers/acpi/numa.c ma->flags & ACPI_SRAT_MEM_NON_VOLATILE ? " non-volatile" : ""); ma 294 drivers/acpi/numa.c if (hotpluggable && memblock_mark_hotplug(start, ma->length)) ma 167 drivers/ata/pata_sil680.c unsigned long ma = sil680_seldev(ap, adev, 0x08); ma 176 drivers/ata/pata_sil680.c pci_read_config_word(pdev, ma, &multi); ma 195 drivers/ata/pata_sil680.c pci_write_config_word(pdev, ma, multi); ma 46 drivers/gpu/drm/i915/gvt/debugfs.c struct diff_mmio *ma; ma 49 drivers/gpu/drm/i915/gvt/debugfs.c ma = container_of(a, struct diff_mmio, node); ma 51 drivers/gpu/drm/i915/gvt/debugfs.c if (ma->offset < mb->offset) ma 53 drivers/gpu/drm/i915/gvt/debugfs.c else if (ma->offset > mb->offset) ma 146 drivers/hwtracing/intel_th/gth.c struct master_attribute *ma = ma 148 drivers/hwtracing/intel_th/gth.c struct gth_device *gth = ma->gth; ma 153 drivers/hwtracing/intel_th/gth.c port = gth->master[ma->master]; ma 168 drivers/hwtracing/intel_th/gth.c struct master_attribute *ma = ma 170 drivers/hwtracing/intel_th/gth.c struct gth_device *gth = ma->gth; ma 182 drivers/hwtracing/intel_th/gth.c old_port = gth->master[ma->master]; ma 184 drivers/hwtracing/intel_th/gth.c gth->master[ma->master] = -1; ma 185 drivers/hwtracing/intel_th/gth.c clear_bit(ma->master, gth->output[old_port].master); ma 192 drivers/hwtracing/intel_th/gth.c gth_master_set(gth, ma->master, -1); ma 203 drivers/hwtracing/intel_th/gth.c set_bit(ma->master, gth->output[port].master); ma 207 drivers/hwtracing/intel_th/gth.c gth_master_set(gth, ma->master, port); ma 210 drivers/hwtracing/intel_th/gth.c gth->master[ma->master] = port; ma 311 drivers/ide/siimage.c unsigned long ma = siimage_seldev(drive, 0x08); ma 317 drivers/ide/siimage.c multi = sil_ioread16(dev, ma); ma 337 drivers/ide/siimage.c sil_iowrite16(dev, multi, ma); ma 693 drivers/media/tuners/mt2063.c u32 ma, mb, mc, md, me, mf; ma 724 drivers/media/tuners/mt2063.c ma = (n * ((f_LO1 + hgds) / gd_Scale) + ma 728 drivers/media/tuners/mt2063.c if (md == ma) ma 764 drivers/media/tuners/mt2063.c if (ma != mb) { ma 766 drivers/media/tuners/mt2063.c f_nsLO2 = ma * (f_LO2 / gc_Scale); ma 769 drivers/media/tuners/mt2063.c n * (f_LO1 % gc_Scale) - ma * (f_LO2 % gc_Scale); ma 771 drivers/media/tuners/mt2063.c *fp = (((s32) d + f_Spur) / (ma - n)) + 1; ma 772 drivers/media/tuners/mt2063.c *fm = (-(f_Spur + (s32) c) / (ma - n)) + 1; ma 156 drivers/media/usb/usbvision/usbvision.h #define RESTRICT_TO_RANGE(v, mi, ma) \ ma 157 drivers/media/usb/usbvision/usbvision.h { if (((int)v) < (mi)) (v) = (mi); else if ((v) > (ma)) (v) = (ma); } ma 499 drivers/net/ethernet/chelsio/cxgb/pm3393.c static int pm3393_macaddress_set(struct cmac *cmac, u8 ma[6]) ma 522 drivers/net/ethernet/chelsio/cxgb/pm3393.c memcpy(cmac->instance->mac_addr, ma, ETH_ALEN); ma 524 drivers/net/ethernet/chelsio/cxgb/pm3393.c lo = ((u32) ma[1] << 8) | (u32) ma[0]; ma 525 drivers/net/ethernet/chelsio/cxgb/pm3393.c mid = ((u32) ma[3] << 8) | (u32) ma[2]; ma 526 drivers/net/ethernet/chelsio/cxgb/pm3393.c hi = ((u32) ma[5] << 8) | (u32) ma[4]; ma 1215 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct tc_cls_matchall_offload *ma) ma 1217 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c switch (ma->command) { ma 1219 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c return mlx5e_tc_configure_matchall(priv, ma); ma 1221 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c return mlx5e_tc_delete_matchall(priv, ma); ma 1223 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mlx5e_tc_stats_matchall(priv, ma); ma 4015 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct tc_cls_matchall_offload *ma) ma 4017 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct netlink_ext_ack *extack = ma->common.extack; ma 4019 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c if (ma->common.prio != 1) { ma 4024 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c return scan_tc_matchall_fdb_actions(priv, &ma->rule->action, extack); ma 4028 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct tc_cls_matchall_offload *ma) ma 4030 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct netlink_ext_ack *extack = ma->common.extack; ma 4036 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c struct tc_cls_matchall_offload *ma) ma 4047 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c flow_stats_update(&ma->stats, dpkts, dbytes, jiffies); ma 71 drivers/net/ethernet/mellanox/mlx5/core/en_tc.h struct tc_cls_matchall_offload *ma); ma 823 drivers/net/fddi/skfp/h/skfbi.h #define MARW(ma) outpw(FM_A(FM_MARW),(unsigned int)(ma)) ma 824 drivers/net/fddi/skfp/h/skfbi.h #define MARR(ma) outpw(FM_A(FM_MARR),(unsigned int)(ma)) ma 372 drivers/pinctrl/bcm/pinctrl-ns2-mux.c #define NS2_PIN_GROUP(group_name, ba, off, sh, ma, al) \ ma 381 drivers/pinctrl/bcm/pinctrl-ns2-mux.c .mask = ma, \ ma 227 drivers/pinctrl/bcm/pinctrl-nsp-mux.c #define NSP_PIN_GROUP(group_name, ba, sh, ma, al) \ ma 235 drivers/pinctrl/bcm/pinctrl-nsp-mux.c .mask = ma, \ ma 260 drivers/pinctrl/freescale/pinctrl-mxs.c u8 ma, vol, pull, bank, shift; ma 269 drivers/pinctrl/freescale/pinctrl-mxs.c ma = CONFIG_TO_MA(config); ma 284 drivers/pinctrl/freescale/pinctrl-mxs.c mxs_pinctrl_rmwl(ma, 0x3, shift, reg); ma 4880 drivers/pinctrl/sirf/pinctrl-atlas7.c u32 ma; ma 5140 drivers/pinctrl/sirf/pinctrl-atlas7.c static u32 convert_current_to_drive_strength(u32 type, u32 ma) ma 5145 drivers/pinctrl/sirf/pinctrl-atlas7.c if (atlas7_ma2ds_map[idx].ma != ma) ma 5215 drivers/pinctrl/sirf/pinctrl-atlas7.c u32 pin, u32 ma) ma 5223 drivers/pinctrl/sirf/pinctrl-atlas7.c sel = convert_current_to_drive_strength(conf->type, ma); ma 5226 drivers/pinctrl/sirf/pinctrl-atlas7.c pin, type, ma); ma 5233 drivers/pinctrl/sirf/pinctrl-atlas7.c pin, sel, ma, ret?"FAILED":"OK"); ma 451 drivers/power/supply/bd70528-charger.c static int get_charge_current(struct bd70528_psy *bdpsy, int *ma) ma 468 drivers/power/supply/bd70528-charger.c ma); ma 478 drivers/power/supply/bd70528-charger.c static int get_current_limit(struct bd70528_psy *bdpsy, int *ma) ma 496 drivers/power/supply/bd70528-charger.c ma); ma 500 drivers/power/supply/bd70528-charger.c *ma = 500; ma 569 drivers/power/supply/bd70528-charger.c static int set_charge_current(struct bd70528_psy *bdpsy, int ma) ma 575 drivers/power/supply/bd70528-charger.c if (ma > 500) { ma 578 drivers/power/supply/bd70528-charger.c ma); ma 582 drivers/power/supply/bd70528-charger.c if (ma < 10) { ma 585 drivers/power/supply/bd70528-charger.c ma); ma 592 drivers/power/supply/bd70528-charger.c ARRAY_SIZE(warm_charge_curr), ma, ma 601 drivers/power/supply/bd70528-charger.c "Unsupported charge current %u mA\n", ma); ma 629 drivers/power/supply/bd70528-charger.c static int set_current_limit(struct bd70528_psy *bdpsy, int ma) ma 635 drivers/power/supply/bd70528-charger.c if (ma > 500) { ma 638 drivers/power/supply/bd70528-charger.c ma); ma 642 drivers/power/supply/bd70528-charger.c if (ma < 5) { ma 645 drivers/power/supply/bd70528-charger.c ma); ma 652 drivers/power/supply/bd70528-charger.c ARRAY_SIZE(current_limit_ranges), ma, ma 661 drivers/power/supply/bd70528-charger.c ma); ma 36 drivers/power/supply/pcf50633-charger.c int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma) ma 44 drivers/power/supply/pcf50633-charger.c if (ma >= 1000) { ma 46 drivers/power/supply/pcf50633-charger.c ma = 1000; ma 47 drivers/power/supply/pcf50633-charger.c } else if (ma >= 500) { ma 49 drivers/power/supply/pcf50633-charger.c ma = 500; ma 50 drivers/power/supply/pcf50633-charger.c } else if (ma >= 100) { ma 52 drivers/power/supply/pcf50633-charger.c ma = 100; ma 55 drivers/power/supply/pcf50633-charger.c ma = 0; ma 61 drivers/power/supply/pcf50633-charger.c dev_err(pcf->dev, "error setting usb curlim to %d mA\n", ma); ma 63 drivers/power/supply/pcf50633-charger.c dev_info(pcf->dev, "usb curlim to %d mA\n", ma); ma 77 drivers/power/supply/pcf50633-charger.c mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; ma 166 drivers/power/supply/pcf50633-charger.c unsigned int ma; ma 169 drivers/power/supply/pcf50633-charger.c ma = 1000; ma 171 drivers/power/supply/pcf50633-charger.c ma = 500; ma 173 drivers/power/supply/pcf50633-charger.c ma = 100; ma 175 drivers/power/supply/pcf50633-charger.c ma = 0; ma 177 drivers/power/supply/pcf50633-charger.c return sprintf(buf, "%u\n", ma); ma 184 drivers/power/supply/pcf50633-charger.c unsigned long ma; ma 187 drivers/power/supply/pcf50633-charger.c ret = kstrtoul(buf, 10, &ma); ma 191 drivers/power/supply/pcf50633-charger.c pcf50633_mbc_usb_curlim_set(mbc->pcf, ma); ma 203 drivers/power/supply/pcf50633-charger.c unsigned int ma; ma 208 drivers/power/supply/pcf50633-charger.c ma = (mbc->pcf->pdata->charger_reference_current_ma * mbcc5) >> 8; ma 210 drivers/power/supply/pcf50633-charger.c return sprintf(buf, "%u\n", ma); ma 217 drivers/power/supply/pcf50633-charger.c unsigned long ma; ma 224 drivers/power/supply/pcf50633-charger.c ret = kstrtoul(buf, 10, &ma); ma 228 drivers/power/supply/pcf50633-charger.c mbcc5 = (ma << 8) / mbc->pcf->pdata->charger_reference_current_ma; ma 179 drivers/tee/optee/call.c struct optee_msg_arg *ma; ma 186 drivers/tee/optee/call.c ma = tee_shm_get_va(shm, 0); ma 187 drivers/tee/optee/call.c if (IS_ERR(ma)) { ma 188 drivers/tee/optee/call.c rc = PTR_ERR(ma); ma 196 drivers/tee/optee/call.c memset(ma, 0, OPTEE_MSG_GET_ARG_SIZE(num_params)); ma 197 drivers/tee/optee/call.c ma->num_params = num_params; ma 198 drivers/tee/optee/call.c *msg_arg = ma; ma 1592 drivers/usb/chipidea/udc.c static int ci_udc_vbus_draw(struct usb_gadget *_gadget, unsigned ma) ma 1597 drivers/usb/chipidea/udc.c return usb_phy_set_power(ci->usb_phy, ma); ma 1493 drivers/usb/gadget/udc/s3c2410_udc.c static int s3c2410_vbus_draw(struct usb_gadget *_gadget, unsigned ma) ma 1498 drivers/usb/gadget/udc/s3c2410_udc.c udc_info->vbus_draw(ma); ma 2329 drivers/usb/typec/tcpm/tcpm.c unsigned int mv, ma, mw, flags; ma 2361 drivers/usb/typec/tcpm/tcpm.c ma = 1000 * mw / mv; ma 2363 drivers/usb/typec/tcpm/tcpm.c ma = min_current(pdo, matching_snk_pdo); ma 2364 drivers/usb/typec/tcpm/tcpm.c mw = ma * mv / 1000; ma 2370 drivers/usb/typec/tcpm/tcpm.c max_ma = ma; ma 2394 drivers/usb/typec/tcpm/tcpm.c *rdo = RDO_FIXED(src_pdo_index + 1, ma, max_ma, flags); ma 2397 drivers/usb/typec/tcpm/tcpm.c src_pdo_index, mv, ma, ma 2401 drivers/usb/typec/tcpm/tcpm.c port->current_limit = ma; ma 157 drivers/virtio/virtio_input.c u32 mi, ma, re, fu, fl; ma 161 drivers/virtio/virtio_input.c virtio_cread(vi->vdev, struct virtio_input_config, u.abs.max, &ma); ma 165 drivers/virtio/virtio_input.c input_set_abs_params(vi->idev, abs, mi, ma, fu, fl); ma 198 fs/hostfs/hostfs_user.c int err, ma; ma 238 fs/hostfs/hostfs_user.c ma = (HOSTFS_ATTR_ATIME_SET | HOSTFS_ATTR_MTIME_SET); ma 239 fs/hostfs/hostfs_user.c if (attrs->ia_valid & ma) { ma 30 include/dt-bindings/usb/pd.h #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) ma 32 include/dt-bindings/usb/pd.h #define PDO_FIXED(mv, ma, flags) \ ma 34 include/dt-bindings/usb/pd.h PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) ma 56 include/dt-bindings/usb/pd.h #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) ma 80 include/dt-bindings/usb/pd.h #define PDO_PPS_APDO_MAX_CURR(ma) \ ma 81 include/dt-bindings/usb/pd.h ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT) ma 263 include/linux/acpi.h int acpi_numa_memory_affinity_init (struct acpi_srat_mem_affinity *ma); ma 12 include/linux/kdev_t.h #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi)) ma 124 include/linux/mfd/pcf50633/mbc.h int pcf50633_mbc_usb_curlim_set(struct pcf50633 *pcf, int ma); ma 24 include/linux/platform_data/usb-s3c2410_udc.h void (*vbus_draw)(unsigned int ma); ma 231 include/linux/usb/pd.h #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) ma 233 include/linux/usb/pd.h #define PDO_FIXED(mv, ma, flags) \ ma 235 include/linux/usb/pd.h PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) ma 257 include/linux/usb/pd.h #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) ma 283 include/linux/usb/pd.h #define PDO_PPS_APDO_MAX_CURR(ma) \ ma 284 include/linux/usb/pd.h ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT) ma 360 include/linux/usb/pd.h #define PDO_FIXED_OP_CURR(ma) ((((ma) / 10) & RDO_CURR_MASK) << RDO_FIXED_OP_CURR_SHIFT) ma 361 include/linux/usb/pd.h #define PDO_FIXED_MAX_CURR(ma) ((((ma) / 10) & RDO_CURR_MASK) << RDO_FIXED_MAX_CURR_SHIFT) ma 388 include/linux/usb/pd.h #define PDO_PROG_OP_CURR(ma) \ ma 389 include/linux/usb/pd.h ((((ma) / RDO_PROG_CURR_MA_STEP) & RDO_PROG_CURR_MASK) << RDO_PROG_CURR_SHIFT) ma 12 include/uapi/linux/kdev_t.h #define MKDEV(ma,mi) ((ma)<<8 | (mi)) ma 720 net/appletalk/aarp.c struct atalk_addr sa, *ma, da; ma 814 net/appletalk/aarp.c ma = __aarp_proxy_find(dev, &sa); ma 815 net/appletalk/aarp.c if (!ma) ma 816 net/appletalk/aarp.c ma = &ifa->address; ma 820 net/appletalk/aarp.c ma = &da; ma 846 net/appletalk/aarp.c if (sa.s_node != ma->s_node) ma 849 net/appletalk/aarp.c if (sa.s_net && ma->s_net && sa.s_net != ma->s_net) ma 857 net/appletalk/aarp.c aarp_send_reply(dev, ma, &sa, ea->hw_src); ma 72 net/ipv6/mcast.c static void igmp6_join_group(struct ifmcaddr6 *ma); ma 73 net/ipv6/mcast.c static void igmp6_leave_group(struct ifmcaddr6 *ma); ma 947 net/ipv6/mcast.c struct ifmcaddr6 *ma, **map; ma 952 net/ipv6/mcast.c for (map = &idev->mc_list; (ma = *map) != NULL; map = &ma->next) { ma 953 net/ipv6/mcast.c if (ipv6_addr_equal(&ma->mca_addr, addr)) { ma 954 net/ipv6/mcast.c if (--ma->mca_users == 0) { ma 955 net/ipv6/mcast.c *map = ma->next; ma 958 net/ipv6/mcast.c igmp6_group_dropped(ma); ma 959 net/ipv6/mcast.c ip6_mc_clear_src(ma); ma 961 net/ipv6/mcast.c ma_put(ma); ma 1082 net/ipv6/mcast.c static void igmp6_group_queried(struct ifmcaddr6 *ma, unsigned long resptime) ma 1087 net/ipv6/mcast.c if (ipv6_addr_is_ll_all_nodes(&ma->mca_addr) || ma 1088 net/ipv6/mcast.c IPV6_ADDR_MC_SCOPE(&ma->mca_addr) < IPV6_ADDR_SCOPE_LINKLOCAL) ma 1091 net/ipv6/mcast.c if (del_timer(&ma->mca_timer)) { ma 1092 net/ipv6/mcast.c refcount_dec(&ma->mca_refcnt); ma 1093 net/ipv6/mcast.c delay = ma->mca_timer.expires - jiffies; ma 1099 net/ipv6/mcast.c ma->mca_timer.expires = jiffies + delay; ma 1100 net/ipv6/mcast.c if (!mod_timer(&ma->mca_timer, jiffies + delay)) ma 1101 net/ipv6/mcast.c refcount_inc(&ma->mca_refcnt); ma 1102 net/ipv6/mcast.c ma->mca_flags |= MAF_TIMER_RUNNING; ma 1339 net/ipv6/mcast.c struct ifmcaddr6 *ma; ma 1422 net/ipv6/mcast.c for (ma = idev->mc_list; ma; ma = ma->next) { ma 1423 net/ipv6/mcast.c spin_lock_bh(&ma->mca_lock); ma 1424 net/ipv6/mcast.c igmp6_group_queried(ma, max_delay); ma 1425 net/ipv6/mcast.c spin_unlock_bh(&ma->mca_lock); ma 1428 net/ipv6/mcast.c for (ma = idev->mc_list; ma; ma = ma->next) { ma 1429 net/ipv6/mcast.c if (!ipv6_addr_equal(group, &ma->mca_addr)) ma 1431 net/ipv6/mcast.c spin_lock_bh(&ma->mca_lock); ma 1432 net/ipv6/mcast.c if (ma->mca_flags & MAF_TIMER_RUNNING) { ma 1435 net/ipv6/mcast.c ma->mca_flags &= ~MAF_GSQUERY; ma 1439 net/ipv6/mcast.c ma->mca_flags |= MAF_GSQUERY; ma 1441 net/ipv6/mcast.c ma->mca_flags &= ~MAF_GSQUERY; ma 1443 net/ipv6/mcast.c if (!(ma->mca_flags & MAF_GSQUERY) || ma 1444 net/ipv6/mcast.c mld_marksources(ma, ntohs(mlh2->mld2q_nsrcs), mlh2->mld2q_srcs)) ma 1445 net/ipv6/mcast.c igmp6_group_queried(ma, max_delay); ma 1446 net/ipv6/mcast.c spin_unlock_bh(&ma->mca_lock); ma 1458 net/ipv6/mcast.c struct ifmcaddr6 *ma; ma 1492 net/ipv6/mcast.c for (ma = idev->mc_list; ma; ma = ma->next) { ma 1493 net/ipv6/mcast.c if (ipv6_addr_equal(&ma->mca_addr, &mld->mld_mca)) { ma 1494 net/ipv6/mcast.c spin_lock(&ma->mca_lock); ma 1495 net/ipv6/mcast.c if (del_timer(&ma->mca_timer)) ma 1496 net/ipv6/mcast.c refcount_dec(&ma->mca_refcnt); ma 1497 net/ipv6/mcast.c ma->mca_flags &= ~(MAF_LAST_REPORTER|MAF_TIMER_RUNNING); ma 1498 net/ipv6/mcast.c spin_unlock(&ma->mca_lock); ma 2410 net/ipv6/mcast.c static void igmp6_join_group(struct ifmcaddr6 *ma) ma 2414 net/ipv6/mcast.c if (ma->mca_flags & MAF_NOREPORT) ma 2417 net/ipv6/mcast.c igmp6_send(&ma->mca_addr, ma->idev->dev, ICMPV6_MGM_REPORT); ma 2419 net/ipv6/mcast.c delay = prandom_u32() % unsolicited_report_interval(ma->idev); ma 2421 net/ipv6/mcast.c spin_lock_bh(&ma->mca_lock); ma 2422 net/ipv6/mcast.c if (del_timer(&ma->mca_timer)) { ma 2423 net/ipv6/mcast.c refcount_dec(&ma->mca_refcnt); ma 2424 net/ipv6/mcast.c delay = ma->mca_timer.expires - jiffies; ma 2427 net/ipv6/mcast.c if (!mod_timer(&ma->mca_timer, jiffies + delay)) ma 2428 net/ipv6/mcast.c refcount_inc(&ma->mca_refcnt); ma 2429 net/ipv6/mcast.c ma->mca_flags |= MAF_TIMER_RUNNING | MAF_LAST_REPORTER; ma 2430 net/ipv6/mcast.c spin_unlock_bh(&ma->mca_lock); ma 2452 net/ipv6/mcast.c static void igmp6_leave_group(struct ifmcaddr6 *ma) ma 2454 net/ipv6/mcast.c if (mld_in_v1_mode(ma->idev)) { ma 2455 net/ipv6/mcast.c if (ma->mca_flags & MAF_LAST_REPORTER) ma 2456 net/ipv6/mcast.c igmp6_send(&ma->mca_addr, ma->idev->dev, ma 2459 net/ipv6/mcast.c mld_add_delrec(ma->idev, ma); ma 2460 net/ipv6/mcast.c mld_ifc_event(ma->idev); ma 2497 net/ipv6/mcast.c struct ifmcaddr6 *ma = from_timer(ma, t, mca_timer); ma 2499 net/ipv6/mcast.c if (mld_in_v1_mode(ma->idev)) ma 2500 net/ipv6/mcast.c igmp6_send(&ma->mca_addr, ma->idev->dev, ICMPV6_MGM_REPORT); ma 2502 net/ipv6/mcast.c mld_send_report(ma->idev, ma); ma 2504 net/ipv6/mcast.c spin_lock(&ma->mca_lock); ma 2505 net/ipv6/mcast.c ma->mca_flags |= MAF_LAST_REPORTER; ma 2506 net/ipv6/mcast.c ma->mca_flags &= ~MAF_TIMER_RUNNING; ma 2507 net/ipv6/mcast.c spin_unlock(&ma->mca_lock); ma 2508 net/ipv6/mcast.c ma_put(ma); ma 2320 net/xfrm/xfrm_user.c static int copy_from_user_migrate(struct xfrm_migrate *ma, ma 2344 net/xfrm/xfrm_user.c for (i = 0; i < num_migrate; i++, um++, ma++) { ma 2345 net/xfrm/xfrm_user.c memcpy(&ma->old_daddr, &um->old_daddr, sizeof(ma->old_daddr)); ma 2346 net/xfrm/xfrm_user.c memcpy(&ma->old_saddr, &um->old_saddr, sizeof(ma->old_saddr)); ma 2347 net/xfrm/xfrm_user.c memcpy(&ma->new_daddr, &um->new_daddr, sizeof(ma->new_daddr)); ma 2348 net/xfrm/xfrm_user.c memcpy(&ma->new_saddr, &um->new_saddr, sizeof(ma->new_saddr)); ma 2350 net/xfrm/xfrm_user.c ma->proto = um->proto; ma 2351 net/xfrm/xfrm_user.c ma->mode = um->mode; ma 2352 net/xfrm/xfrm_user.c ma->reqid = um->reqid; ma 2354 net/xfrm/xfrm_user.c ma->old_family = um->old_family; ma 2355 net/xfrm/xfrm_user.c ma->new_family = um->new_family; ma 30 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) ma 32 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_FIXED(mv, ma, flags) \ ma 34 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) ma 56 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) ma 80 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h #define PDO_PPS_APDO_MAX_CURR(ma) \ ma 81 scripts/dtc/include-prefixes/dt-bindings/usb/pd.h ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT)