Home
last modified time | relevance | path

Searched refs:ma (Results 1 – 25 of 244) sorted by relevance

12345678910

/freebsd/sys/dev/mii/
H A Dmii.c220 MII_OUI(ma->mii_id1, ma->mii_id2), in miibus_child_pnpinfo()
221 MII_MODEL(ma->mii_id2), MII_REV(ma->mii_id2)); in miibus_child_pnpinfo()
248 ma = NULL; in miibus_hinted_child()
252 ma = args; in miibus_hinted_child()
262 if (ma == NULL) { in miibus_hinted_child()
265 if (ma == NULL) in miibus_hinted_child()
275 ma->mii_id1 = 0; in miibus_hinted_child()
443 for (ma.mii_phyno = phymin; ma.mii_phyno <= phymax; ma.mii_phyno++) { in mii_attach()
490 ma.mii_id1 = MIIBUS_READREG(dev, ma.mii_phyno, MII_PHYIDR1); in mii_attach()
491 ma.mii_id2 = MIIBUS_READREG(dev, ma.mii_phyno, MII_PHYIDR2); in mii_attach()
[all …]
H A Dmii_fdt.c184 struct mii_attach_args *ma; in mii_fdt_get_config() local
257 struct mii_attach_args *ma; in miibus_fdt_attach() local
270 bzero(&ma->obd, sizeof(ma->obd)); in miibus_fdt_attach()
272 ma->mii_phyno); in miibus_fdt_attach()
276 ma->mii_phyno); in miibus_fdt_attach()
283 ma->mii_phyno); in miibus_fdt_attach()
302 struct mii_attach_args *ma; in miibus_fdt_get_resource_list() local
306 if (ma->obd.obd_node == 0) in miibus_fdt_get_resource_list()
309 return (&ma->rl); in miibus_fdt_get_resource_list()
319 if (ma->obd.obd_node == 0) in miibus_fdt_get_devinfo()
[all …]
H A Dmii_physubr.c556 if (MII_OUI(ma->mii_id1, ma->mii_id2) == mpd->mpd_oui && in mii_phy_match_gen()
557 MII_MODEL(ma->mii_id2) == mpd->mpd_model) in mii_phy_match_gen()
587 struct mii_attach_args *ma; in mii_phy_dev_attach() local
591 ma = device_get_ivars(dev); in mii_phy_dev_attach()
593 mii = ma->mii_data; in mii_phy_dev_attach()
597 sc->mii_mpd_oui = MII_OUI(ma->mii_id1, ma->mii_id2); in mii_phy_dev_attach()
598 sc->mii_mpd_model = MII_MODEL(ma->mii_id2); in mii_phy_dev_attach()
599 sc->mii_mpd_rev = MII_REV(ma->mii_id2); in mii_phy_dev_attach()
600 sc->mii_capmask = ma->mii_capmask; in mii_phy_dev_attach()
602 sc->mii_phy = ma->mii_phyno; in mii_phy_dev_attach()
[all …]
H A Dmcommphy.c102 struct mii_attach_args *ma = device_get_ivars(dev); in mcommphy_probe() local
108 if (MII_OUI(ma->mii_id1, ma->mii_id2) == MCOMMPHY_OUI && in mcommphy_probe()
109 MII_MODEL(ma->mii_id2) == MCOMMPHY_MODEL && in mcommphy_probe()
110 MII_REV(ma->mii_id2) == MCOMMPHY_REV) { in mcommphy_probe()
H A Dgentbi.c122 struct mii_attach_args *ma; in gentbi_probe() local
126 ma = device_get_ivars(dev); in gentbi_probe()
134 bmsr = MIIBUS_READREG(parent, ma->mii_phyno, MII_BMSR); in gentbi_probe()
138 extsr = MIIBUS_READREG(parent, ma->mii_phyno, MII_EXTSR); in gentbi_probe()
/freebsd/contrib/libedit/
H A Dread.c94 ma->level = -1; in read_init()
95 ma->offset = 0; in read_init()
214 ma->level++; in el_wpush()
215 if ((ma->macro[ma->level] = wcsdup(str)) != NULL) in el_wpush()
217 ma->level--; in el_wpush()
364 ma->macro[i] = ma->macro[i + 1]; in read_pop()
365 ma->level--; in read_pop()
373 el_free(ma->macro[ma->level--]); in read_clearmacros()
391 if (ma->macro[0][ma->offset] == '\0') { in el_wgetc()
396 *cp = ma->macro[0][ma->offset++]; in el_wgetc()
[all …]
/freebsd/tools/boot/
H A Dfull-test.sh64 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
108 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
196 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
218 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
241 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
270 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
301 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
318 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
414 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
436 [ "${m}" != "${ma}" ] && ma_combo="${m}-${ma}"
[all …]
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vfsops.c105 ma = mount_argf(ma, "dev", "%d", args.dev); in smbfs_cmount()
106 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_SOFT, "nosoft"); in smbfs_cmount()
107 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_INTR, "nointr"); in smbfs_cmount()
108 ma = mount_argb(ma, args.flags & SMBFS_MOUNT_STRONG, "nostrong"); in smbfs_cmount()
110 ma = mount_argb(ma, !(args.flags & SMBFS_MOUNT_NO_LONG), "nolong"); in smbfs_cmount()
111 ma = mount_arg(ma, "rootpath", args.root_path, -1); in smbfs_cmount()
112 ma = mount_argf(ma, "uid", "%d", args.uid); in smbfs_cmount()
113 ma = mount_argf(ma, "gid", "%d", args.gid); in smbfs_cmount()
114 ma = mount_argf(ma, "file_mode", "%d", args.file_mode); in smbfs_cmount()
115 ma = mount_argf(ma, "dir_mode", "%d", args.dir_mode); in smbfs_cmount()
[all …]
/freebsd/lib/libc/iconv/
H A Dcitrus_mapper.c75 struct _citrus_mapper_area *ma; in _citrus_mapper_create_area() local
93 ma = malloc(sizeof(*ma)); in _citrus_mapper_create_area()
94 if (ma == NULL) { in _citrus_mapper_create_area()
98 ma->ma_dir = strdup(area); in _citrus_mapper_create_area()
99 if (ma->ma_dir == NULL) { in _citrus_mapper_create_area()
101 free(ma); in _citrus_mapper_create_area()
104 _CITRUS_HASH_INIT(&ma->ma_cache, CM_HASH_SIZE); in _citrus_mapper_create_area()
106 *rma = ma; in _citrus_mapper_create_area()
259 ret = (*cm->cm_ops->mo_init)(ma, cm, ma->ma_dir, in mapper_open()
284 return (mapper_open(ma, rcm, module, variable)); in _citrus_mapper_open_direct()
[all …]
/freebsd/contrib/bearssl/test/
H A Dtest_math.c288 check_eqz(ma, a); in test_modint()
296 impl->sub(ma, mp, ctl); in test_modint()
299 check_eqz(ma, t1); in test_modint()
303 impl->add(ma, mp, impl->sub(ma, mb, 1)); in test_modint()
306 check_eqz(ma, t1); in test_modint()
310 check_eqz(ma, t1); in test_modint()
315 check_eqz(ma, t1); in test_modint()
318 impl->to_monty(ma, mp); in test_modint()
322 check_eqz(ma, t1); in test_modint()
324 check_eqz(ma, a); in test_modint()
[all …]
/freebsd/sys/fs/cd9660/
H A Dcd9660_vfsops.c105 ma = mount_argsu(ma, "from", args.fspec, MAXPATHLEN); in cd9660_cmount()
108 ma = mount_argf(ma, "uid", "%d", args.uid); in cd9660_cmount()
110 ma = mount_argf(ma, "gid", "%d", args.gid); in cd9660_cmount()
111 ma = mount_argf(ma, "mask", "%d", args.fmask); in cd9660_cmount()
112 ma = mount_argf(ma, "dirmask", "%d", args.dmask); in cd9660_cmount()
113 ma = mount_argsu(ma, "cs_disk", args.cs_disk, 64); in cd9660_cmount()
114 ma = mount_argsu(ma, "cs_local", args.cs_local, 64); in cd9660_cmount()
115 ma = mount_argf(ma, "ssector", "%u", args.ssector); in cd9660_cmount()
117 ma = mount_argb(ma, args.flags & ISOFSMNT_GENS, "nogens"); in cd9660_cmount()
118 ma = mount_argb(ma, args.flags & ISOFSMNT_EXTATT, "noextatt"); in cd9660_cmount()
[all …]
/freebsd/sys/kern/
H A Dvfs_mount.c1097 ma = mount_argb(ma, flags & MNT_RDONLY, "noro"); in sys_mount()
2831 ma->v = realloc(ma->v, sizeof *ma->v * (ma->len + 2), in mount_argf()
2833 ma->v[ma->len].iov_base = (void *)(uintptr_t)name; in mount_argf()
2834 ma->v[ma->len].iov_len = strlen(name) + 1; in mount_argf()
2848 ma->v[ma->len].iov_base = maa + 1; in mount_argf()
2849 ma->v[ma->len].iov_len = len; in mount_argf()
2895 ma->v = realloc(ma->v, sizeof *ma->v * (ma->len + 2), in mount_arg()
2898 ma->v[ma->len].iov_len = strlen(name) + 1; in mount_arg()
2901 ma->v[ma->len].iov_base = (void *)(uintptr_t)val; in mount_arg()
2903 ma->v[ma->len].iov_len = strlen(val) + 1; in mount_arg()
[all …]
H A Dvfs_mountroot.c784 ma = NULL; in parse_mount()
785 ma = mount_arg(ma, "fstype", fs, -1); in parse_mount()
786 ma = mount_arg(ma, "fspath", "/", -1); in parse_mount()
787 ma = mount_arg(ma, "from", dev, -1); in parse_mount()
788 ma = mount_arg(ma, "errmsg", errmsg, ERRMSGL); in parse_mount()
789 ma = mount_arg(ma, "ro", NULL, 0); in parse_mount()
790 ma = parse_mountroot_options(ma, opts); in parse_mount()
1131 return (ma); in parse_mountroot_options()
1135 return (ma); in parse_mountroot_options()
1160 ma = mount_arg(ma, name_arg, val_arg, in parse_mountroot_options()
[all …]
/freebsd/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c195 struct sockaddr_rfcomm ma; in main() local
209 memset(&ma, 0, sizeof(ma)); in main()
210 ma.rfcomm_len = sizeof(ma); in main()
211 ma.rfcomm_family = AF_BLUETOOTH; in main()
212 memcpy(&ma.rfcomm_bdaddr, &bt_addr_any, sizeof(bt_addr_any)); in main()
213 ma.rfcomm_channel = channel; in main()
215 if (bind(acceptsock, (struct sockaddr *)&ma, sizeof(ma)) < 0) in main()
220 aaddrlen = sizeof(ma); in main()
221 if (getsockname(acceptsock, (struct sockaddr *)&ma, &aaddrlen) < 0) in main()
223 channel = ma.rfcomm_channel; in main()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c80 vm_page_t *ma, dmu_tx_t *tx) in dmu_write_pages() argument
115 ASSERT3U(ptoa((*ma)->pindex), ==, in dmu_write_pages()
118 va = zfs_map_page(*ma, &sf); in dmu_write_pages()
121 ma += 1; in dmu_write_pages()
150 ASSERT3U(ma[0]->pindex + count - 1, ==, ma[count - 1]->pindex); in dmu_read_pages()
153 err = dmu_buf_hold_array(os, object, IDX_TO_OFF(ma[0]->pindex), in dmu_read_pages()
169 vmobj = ma[0]->object; in dmu_read_pages()
174 m = vm_page_grab_unlocked(vmobj, ma[0]->pindex - 1 - i, in dmu_read_pages()
202 bufoff = IDX_TO_OFF(ma[0]->pindex) % db->db_size; in dmu_read_pages()
206 m = ma[mi]; in dmu_read_pages()
[all …]
/freebsd/sys/dev/iommu/
H A Dbusdma_iommu.c694 vm_page_t *ma, fma; in iommu_bus_dmamap_load_phys() local
706 if (ma == NULL) in iommu_bus_dmamap_load_phys()
712 if (ma[i] == NULL || VM_PAGE_TO_PHYS(ma[i]) != paddr) { in iommu_bus_dmamap_load_phys()
728 ma[i] = &fma[i]; in iommu_bus_dmamap_load_phys()
734 free(ma, M_DEVBUF); in iommu_bus_dmamap_load_phys()
757 if (ma == NULL) in iommu_bus_dmamap_load_buffer()
766 if (ma[i] == NULL || VM_PAGE_TO_PHYS(ma[i]) != paddr) { in iommu_bus_dmamap_load_buffer()
781 ma[i] = &fma[i]; in iommu_bus_dmamap_load_buffer()
1001 vm_page_t *ma; in bus_dma_iommu_load_ident() local
1029 if (ma == NULL) { in bus_dma_iommu_load_ident()
[all …]
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c204 ma = mount_argsu(ma, "from", args.fspec, MAXPATHLEN); in msdosfs_cmount()
205 ma = mount_arg(ma, "export", &args.export, sizeof(args.export)); in msdosfs_cmount()
206 ma = mount_argf(ma, "uid", "%d", args.uid); in msdosfs_cmount()
207 ma = mount_argf(ma, "gid", "%d", args.gid); in msdosfs_cmount()
208 ma = mount_argf(ma, "mask", "%d", args.mask); in msdosfs_cmount()
209 ma = mount_argf(ma, "dirmask", "%d", args.dirmask); in msdosfs_cmount()
213 ma = mount_argb(ma, !(args.flags & MSDOSFSMNT_NOWIN95), "nowin95"); in msdosfs_cmount()
214 ma = mount_argb(ma, args.flags & MSDOSFSMNT_KICONV, "nokiconv"); in msdosfs_cmount()
216 ma = mount_argsu(ma, "cs_win", args.cs_win, MAXCSLEN); in msdosfs_cmount()
217 ma = mount_argsu(ma, "cs_dos", args.cs_dos, MAXCSLEN); in msdosfs_cmount()
[all …]
/freebsd/usr.sbin/mlxcontrol/
H A Dinterface.c81 struct mlxd_foreach_action *ma = (struct mlxd_foreach_action *)arg; in mlxd_foreach_ctrlr() local
100 ma->func(i, ma->arg); in mlxd_foreach_ctrlr()
108 struct mlxd_foreach_action ma; in mlxd_foreach() local
110 ma.func = func; in mlxd_foreach()
111 ma.arg = arg; in mlxd_foreach()
112 mlx_foreach(mlxd_foreach_ctrlr, &ma); in mlxd_foreach()
/freebsd/sys/dev/cxgbe/
H A Dt4_iov.c335 uint8_t ma[ETHER_ADDR_LEN]; in t4iov_add_vf() local
341 bcopy(mac, ma, ETHER_ADDR_LEN); in t4iov_add_vf()
350 rc = -t4_set_vf_mac(adap, sc->pf, vfnum + 1, 1, ma); in t4iov_add_vf()
356 ma[0], ma[1], ma[2], ma[3], ma[4], ma[5], rc); in t4iov_add_vf()
/freebsd/sys/contrib/device-tree/include/dt-bindings/usb/
H A Dpd.h30 #define PDO_FIXED_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_FIXED_CURR_SHIFT) argument
32 #define PDO_FIXED(mv, ma, flags) \ argument
34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma))
56 #define PDO_VAR_MAX_CURR(ma) ((((ma) / 10) & PDO_CURR_MASK) << PDO_VAR_MAX_CURR_SHIFT) argument
80 #define PDO_PPS_APDO_MAX_CURR(ma) \ argument
81 ((((ma) / 50) & PDO_PPS_APDO_CURR_MASK) << PDO_PPS_APDO_MAX_CURR_SHIFT)
/freebsd/sys/amd64/amd64/
H A Duio_machdep.c56 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) in uiomove_fromphys() argument
94 &ma[offset >> PAGE_SHIFT], &vaddr, 1, true); in uiomove_fromphys()
117 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], in uiomove_fromphys()
130 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], &vaddr, 1, in uiomove_fromphys()
/freebsd/sys/riscv/riscv/
H A Duio_machdep.c54 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) in uiomove_fromphys() argument
92 &ma[offset >> PAGE_SHIFT], &vaddr, 1, true); in uiomove_fromphys()
115 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], in uiomove_fromphys()
129 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], &vaddr, 1, in uiomove_fromphys()
/freebsd/sys/arm64/arm64/
H A Duio_machdep.c54 uiomove_fromphys(vm_page_t ma[], vm_offset_t offset, int n, struct uio *uio) in uiomove_fromphys() argument
92 &ma[offset >> PAGE_SHIFT], &vaddr, 1, true); in uiomove_fromphys()
115 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], in uiomove_fromphys()
129 pmap_unmap_io_transient(&ma[offset >> PAGE_SHIFT], &vaddr, 1, in uiomove_fromphys()
/freebsd/sys/dev/dc/
H A Dpnphy.c102 struct mii_attach_args *ma; in pnphy_probe() local
104 ma = device_get_ivars(dev); in pnphy_probe()
110 if (ma->mii_id1 != DC_VENDORID_LO || in pnphy_probe()
111 ma->mii_id2 != DC_DEVICEID_82C168) in pnphy_probe()
/freebsd/crypto/heimdal/lib/gssapi/mech/
H A Dgss_mo.c589 struct _gss_oid_name_table *ma = NULL; in gss_display_mech_attr() local
600 for (n = 0; ma == NULL && _gss_ont_ma[n].oid; n++) in gss_display_mech_attr()
602 ma = &_gss_ont_ma[n]; in gss_display_mech_attr()
604 if (ma == NULL) in gss_display_mech_attr()
609 bd.value = rk_UNCONST(ma->name); in gss_display_mech_attr()
610 bd.length = strlen(ma->name); in gss_display_mech_attr()
618 bd.value = rk_UNCONST(ma->short_desc); in gss_display_mech_attr()
619 bd.length = strlen(ma->short_desc); in gss_display_mech_attr()
627 bd.value = rk_UNCONST(ma->long_desc); in gss_display_mech_attr()
628 bd.length = strlen(ma->long_desc); in gss_display_mech_attr()

12345678910