Home
last modified time | relevance | path

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

12345678910

/openbsd/sys/arch/sparc64/dev/
H A Dfhc_mainbus.c52 struct mainbus_attach_args *ma = aux; in fhc_mainbus_match() local
54 if (strcmp(ma->ma_name, "fhc") == 0) in fhc_mainbus_match()
63 struct mainbus_attach_args *ma = aux; in fhc_mainbus_attach() local
65 sc->sc_node = ma->ma_node; in fhc_mainbus_attach()
66 sc->sc_bt = ma->ma_bustag; in fhc_mainbus_attach()
69 if (bus_space_map(sc->sc_bt, ma->ma_reg[0].ur_paddr, in fhc_mainbus_attach()
70 ma->ma_reg[0].ur_len, 0, &sc->sc_preg)) { in fhc_mainbus_attach()
75 if (bus_space_map(sc->sc_bt, ma->ma_reg[1].ur_paddr, in fhc_mainbus_attach()
76 ma->ma_reg[1].ur_len, 0, &sc->sc_ireg)) { in fhc_mainbus_attach()
81 if (bus_space_map(sc->sc_bt, ma->ma_reg[2].ur_paddr, in fhc_mainbus_attach()
[all …]
H A Dssm.c42 struct mainbus_attach_args *ma = aux; in ssm_match() local
44 if (strcmp(ma->ma_name, "ssm") == 0) in ssm_match()
53 struct mainbus_attach_args *ma = aux; in ssm_attach() local
60 for (node = OF_child(ma->ma_node); node; node = OF_peer(node)) { in ssm_attach()
69 nma.ma_bustag = ma->ma_bustag; in ssm_attach()
70 nma.ma_dmatag = ma->ma_dmatag; in ssm_attach()
84 struct mainbus_attach_args *ma = aux; in ssm_print() local
87 printf("\"%s\" at %s", ma->ma_name, name); in ssm_print()
H A Dcore.c41 struct mainbus_attach_args *ma = aux; in core_match() local
43 if (strcmp(ma->ma_name, "core") == 0) in core_match()
52 struct mainbus_attach_args *ma = aux; in core_attach() local
59 for (node = OF_child(ma->ma_node); node; node = OF_peer(node)) { in core_attach()
65 OF_getprop(ma->ma_node, "compatible", buf, sizeof(buf)); in core_attach()
77 struct mainbus_attach_args *ma = aux; in core_print() local
80 printf("\"%s\" at %s", ma->ma_name, name); in core_print()
H A Dgfb.c60 struct mainbus_attach_args *ma = aux; in gfb_match() local
62 if (strcmp(ma->ma_name, "SUNW,gfb") == 0) in gfb_match()
71 struct mainbus_attach_args *ma = aux; in gfb_attach() local
74 sc->sc_bt = ma->ma_bustag; in gfb_attach()
78 if (bus_space_map(ma->ma_bustag, ma->ma_reg[6].ur_paddr, in gfb_attach()
79 ma->ma_reg[6].ur_len, BUS_SPACE_MAP_LINEAR, &sc->sc_pixel_h)) in gfb_attach()
82 sc->sc_console = (fbnode == ma->ma_node); in gfb_attach()
83 sc->sc_node = ma->ma_node; in gfb_attach()
/openbsd/sys/dev/mii/
H A Dmii.c65 struct mii_attach_args ma; in mii_attach() local
84 for (ma.mii_phyno = phymin; ma.mii_phyno <= phymax; ma.mii_phyno++) { in mii_attach()
128 ma.mii_id1 = (*mii->mii_readreg)(parent, ma.mii_phyno, in mii_attach()
130 ma.mii_id2 = (*mii->mii_readreg)(parent, ma.mii_phyno, in mii_attach()
133 ma.mii_data = mii; in mii_attach()
134 ma.mii_capmask = capmask; in mii_attach()
182 struct mii_attach_args *ma = aux; in mii_print() local
186 MII_OUI(ma->mii_id1, ma->mii_id2), MII_MODEL(ma->mii_id2), in mii_print()
187 MII_REV(ma->mii_id2), pnp); in mii_print()
189 printf(" phy %d", ma->mii_phyno); in mii_print()
[all …]
H A Dexphy.c96 struct mii_attach_args *ma = aux; in exphymatch() local
104 ((MII_OUI(ma->mii_id1, ma->mii_id2) == 0 && in exphymatch()
105 MII_MODEL(ma->mii_id2) == 0) || in exphymatch()
106 (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_3COM && in exphymatch()
107 MII_MODEL(ma->mii_id2) == 0))) in exphymatch()
117 struct mii_attach_args *ma = aux; in exphyattach() local
118 struct mii_data *mii = ma->mii_data; in exphyattach()
123 sc->mii_phy = ma->mii_phyno; in exphyattach()
126 sc->mii_flags = ma->mii_flags; in exphyattach()
143 PHY_READ(sc, MII_BMSR) & ma->mii_capmask; in exphyattach()
H A Dukphy.c106 struct mii_attach_args *ma = aux; in ukphyattach() local
107 struct mii_data *mii = ma->mii_data; in ukphyattach()
110 MII_REV(ma->mii_id2)); in ukphyattach()
112 MII_OUI(ma->mii_id1, ma->mii_id2), MII_MODEL(ma->mii_id2)); in ukphyattach()
115 sc->mii_phy = ma->mii_phyno; in ukphyattach()
117 sc->mii_oui = MII_OUI(ma->mii_id1, ma->mii_id2); in ukphyattach()
118 sc->mii_model = MII_MODEL(ma->mii_id2); in ukphyattach()
120 sc->mii_flags = ma->mii_flags; in ukphyattach()
130 PHY_READ(sc, MII_BMSR) & ma->mii_capmask; in ukphyattach()
H A Dlxtphy.c115 struct mii_attach_args *ma = aux; in lxtphymatch() local
117 if (mii_phy_match(ma, lxtphys) != NULL) in lxtphymatch()
127 struct mii_attach_args *ma = aux; in lxtphyattach() local
128 struct mii_data *mii = ma->mii_data; in lxtphyattach()
131 if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxLEVEL1 && in lxtphyattach()
132 MII_MODEL(ma->mii_id2) == MII_MODEL_xxLEVEL1_LXT970) { in lxtphyattach()
135 if (MII_OUI(ma->mii_id1, ma->mii_id2) == MII_OUI_xxLEVEL1a && in lxtphyattach()
140 mpd = mii_phy_match(ma, lxtphys); in lxtphyattach()
144 sc->mii_phy = ma->mii_phyno; in lxtphyattach()
146 sc->mii_flags = ma->mii_flags; in lxtphyattach()
[all …]
H A Dytphy.c114 struct mii_attach_args *ma = aux; in ytphy_match() local
120 if (ma->mii_id1 == 0x0000 && ma->mii_id2 == 0x010a) in ytphy_match()
122 if (ma->mii_id1 == 0x0000 && ma->mii_id2 == 0x011a) in ytphy_match()
135 struct mii_attach_args *ma = aux; in ytphy_attach() local
139 mpd = mii_phy_match(ma, ytphys); in ytphy_attach()
143 else if (ma->mii_id1 == 0x0000 && ma->mii_id2 == 0x010a) in ytphy_attach()
149 sc->mii_phy = ma->mii_phyno; in ytphy_attach()
151 sc->mii_oui = MII_OUI(ma->mii_id1, ma->mii_id2); in ytphy_attach()
154 sc->mii_flags = ma->mii_flags; in ytphy_attach()
156 if (ma->mii_id1 == 0x0000 && ma->mii_id2 == 0x010a) in ytphy_attach()
[all …]
H A Dtxphy.c76 struct mii_attach_args *ma = aux; in txphymatch() local
78 if (mii_phy_match(ma, txphys) != NULL) in txphymatch()
88 struct mii_attach_args *ma = aux; in txphyattach() local
89 struct mii_data *mii = ma->mii_data; in txphyattach()
92 mpd = mii_phy_match(ma, txphys); in txphyattach()
93 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in txphyattach()
96 sc->mii_phy = ma->mii_phyno; in txphyattach()
99 sc->mii_flags = ma->mii_flags; in txphyattach()
104 PHY_READ(sc, MII_BMSR) & ma->mii_capmask; in txphyattach()
H A Dluphy.c85 struct mii_attach_args *ma = aux; in luphymatch() local
87 if (mii_phy_match(ma, luphys) != NULL) in luphymatch()
97 struct mii_attach_args *ma = aux; in luphyattach() local
98 struct mii_data *mii = ma->mii_data; in luphyattach()
101 mpd = mii_phy_match(ma, luphys); in luphyattach()
102 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in luphyattach()
105 sc->mii_phy = ma->mii_phyno; in luphyattach()
108 sc->mii_flags = ma->mii_flags; in luphyattach()
115 PHY_READ(sc, MII_BMSR) & ma->mii_capmask; in luphyattach()
H A Dmtdphy.c76 struct mii_attach_args *ma = aux; in mtdphymatch() local
78 if (mii_phy_match(ma, mtdphys) != NULL) in mtdphymatch()
88 struct mii_attach_args *ma = aux; in mtdphyattach() local
89 struct mii_data *mii = ma->mii_data; in mtdphyattach()
92 mpd = mii_phy_match(ma, mtdphys); in mtdphyattach()
93 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in mtdphyattach()
96 sc->mii_phy = ma->mii_phyno; in mtdphyattach()
99 sc->mii_flags = ma->mii_flags; in mtdphyattach()
104 PHY_READ(sc, MII_BMSR) & ma->mii_capmask; in mtdphyattach()
H A Drlphy.c88 struct mii_attach_args *ma = aux; in rlphymatch() local
93 if (mii_phy_match(ma, rlphys) != NULL) in rlphymatch()
96 if (MII_OUI(ma->mii_id1, ma->mii_id2) != 0 || in rlphymatch()
97 MII_MODEL(ma->mii_id2) != 0) in rlphymatch()
115 struct mii_attach_args *ma = aux; in rlphyattach() local
116 struct mii_data *mii = ma->mii_data; in rlphyattach()
119 mpd = mii_phy_match(ma, rlphys); in rlphyattach()
122 MII_REV(ma->mii_id2)); in rlphyattach()
127 sc->mii_phy = ma->mii_phyno; in rlphyattach()
130 sc->mii_flags = ma->mii_flags; in rlphyattach()
[all …]
H A Dnsgphy.c101 struct mii_attach_args *ma = aux; in nsgphymatch() local
103 if (mii_phy_match(ma, nsgphys) != NULL) in nsgphymatch()
113 struct mii_attach_args *ma = aux; in nsgphyattach() local
114 struct mii_data *mii = ma->mii_data; in nsgphyattach()
118 mpd = mii_phy_match(ma, nsgphys); in nsgphyattach()
119 printf(": %s, rev. %d\n", mpd->mpd_name, MII_REV(ma->mii_id2)); in nsgphyattach()
122 sc->mii_phy = ma->mii_phyno; in nsgphyattach()
125 sc->mii_flags = ma->mii_flags; in nsgphyattach()
131 PHY_READ(sc, MII_BMSR) & ma->mii_capmask; in nsgphyattach()
144 sc->mii_capabilities |= (BMSR_10THDX & ma->mii_capmask); in nsgphyattach()
[all …]
H A Dgentbi.c101 struct mii_attach_args *ma = aux; in gentbimatch() local
102 struct mii_data *mii = ma->mii_data; in gentbimatch()
111 bmsr = (*mii->mii_readreg)(parent, ma->mii_phyno, MII_BMSR); in gentbimatch()
115 extsr = (*mii->mii_readreg)(parent, ma->mii_phyno, MII_EXTSR); in gentbimatch()
135 struct mii_attach_args *ma = aux; in gentbiattach() local
136 struct mii_data *mii = ma->mii_data; in gentbiattach()
139 MII_REV(ma->mii_id2)); in gentbiattach()
142 sc->mii_phy = ma->mii_phyno; in gentbiattach()
145 sc->mii_flags = ma->mii_flags; in gentbiattach()
155 PHY_READ(sc, MII_BMSR) & ma->mii_capmask & ~BMSR_MEDIAMASK; in gentbiattach()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/execute/
H A Df90-intrinsic-bit.f16 integer*8 m, m2, m3, ma
47 ma = 0
51 ma = ma + 1
89 ma = 1
105 ma = 12
132 ma = 14
159 ma = 2
181 ma = 6
221 ma = 5
378 ma = 5
[all …]
/openbsd/sys/lib/libkern/arch/hppa/
H A Dbcopy.S60 ldws,ma 4(sr0, arg1), t1
61 ldws,ma 4(sr0, arg1), t2
62 ldws,ma 4(sr0, arg1), t3
63 ldws,ma 4(sr0, arg1), t4
65 stws,ma t2, 4(sr0, arg0)
66 stws,ma t3, 4(sr0, arg0)
68 stws,ma t4, 4(sr0, arg0)
72 ldws,ma 4(sr0, arg1), t1
74 stws,ma t1, 4(sr0, arg0)
91 ldws,ma 4(sr0, arg1), t1
[all …]
H A Dspcopy.S84 ldws,ma 4(sr1, arg1), t1
85 ldws,ma 4(sr1, arg1), t2
86 ldws,ma 4(sr1, arg1), t3
87 ldws,ma 4(sr1, arg1), t4
89 stws,ma t2, 4(sr2, arg3)
90 stws,ma t3, 4(sr2, arg3)
92 stws,ma t4, 4(sr2, arg3)
96 ldws,ma 4(sr1, arg1), t1
98 stws,ma t1, 4(sr2, arg3)
115 ldws,ma 4(sr1, arg1), t1
[all …]
/openbsd/lib/libc/arch/hppa/string/
H A Dmemmove.S56 ldws,ma 4(sr0, arg1), t1
57 ldws,ma 4(sr0, arg1), t2
58 ldws,ma 4(sr0, arg1), t3
59 ldws,ma 4(sr0, arg1), t4
61 stws,ma t2, 4(sr0, arg0)
62 stws,ma t3, 4(sr0, arg0)
64 stws,ma t4, 4(sr0, arg0)
68 ldws,ma 4(sr0, arg1), t1
70 stws,ma t1, 4(sr0, arg0)
87 ldws,ma 4(sr0, arg1), t1
[all …]
/openbsd/gnu/gcc/libgomp/testsuite/libgomp.fortran/
H A Dreduction2.f904 logical :: l, la (4), m, ma (4), v variable
10 ma = (/.false., .false., .false., .true./)
23 ma(2) = .true.
27 ma(1) = .true.
31 ma(1) = .true.
37 if (.not. m .or. any (ma .neqv. (/.true., .true., .false., .true./))) call abort
43 ma = (/.false., .false., .false., .true./)
56 ma(2) = .true.
60 ma(1) = .true.
64 ma(1) = .true.
[all …]
/openbsd/lib/libedit/
H A Dread.c91 ma->level = -1; in read_init()
92 ma->offset = 0; in read_init()
143 ma->level++; in el_wpush()
144 if ((ma->macro[ma->level] = wcsdup(str)) != NULL) in el_wpush()
146 ma->level--; in el_wpush()
292 ma->macro[i] = ma->macro[i + 1]; in read_pop()
293 ma->level--; in read_pop()
301 free(ma->macro[ma->level--]); in read_clearmacros()
319 if (ma->macro[0][ma->offset] == '\0') { in el_wgetc()
324 *cp = ma->macro[0][ma->offset++]; in el_wgetc()
[all …]
/openbsd/sys/arch/sparc64/sparc64/
H A Dautoconf.c835 if (ma->ma_pri) in mbprint()
976 bzero(&ma, sizeof(ma)); in mainbus_attach()
980 &ma.ma_nreg, (void **)&ma.ma_reg); in mainbus_attach()
988 bzero(&ma, sizeof(ma)); in mainbus_attach()
995 &ma.ma_nreg, (void **)&ma.ma_reg); in mainbus_attach()
1039 bzero(&ma, sizeof ma); in mainbus_attach()
1053 &ma.ma_nreg, (void **)&ma.ma_reg) != 0) in mainbus_attach()
1066 &ma.ma_ninterrupts, (void **)&ma.ma_interrupts); in mainbus_attach()
1081 &ma.ma_naddress, (void **)&ma.ma_address); in mainbus_attach()
1106 bzero(&ma, sizeof ma); in mainbus_attach()
[all …]
/openbsd/sys/arch/alpha/alpha/
H A Dmainbus.c76 struct mainbus_attach_args ma; local
92 ma.ma_name = "cpu";
93 ma.ma_slot = i;
94 config_found(self, &ma, mbprint);
98 ma.ma_name = platform.iobus;
99 ma.ma_slot = 0; /* meaningless */
100 config_found(self, &ma, mbprint);
109 struct mainbus_attach_args *ma = aux; local
112 printf("%s at %s", ma->ma_name, pnp);
/openbsd/lib/libradius/
H A Dradius_msgauth.c46 void *ma) in radius_calc_message_authenticator() argument
94 if (!HMAC_Final(ctx, (u_char *)ma, &mdlen)) in radius_calc_message_authenticator()
108 u_char ma[16]; in radius_put_message_authenticator() local
116 ma, sizeof(ma)) != 0) in radius_put_message_authenticator()
125 u_char ma[16]; in radius_set_message_authenticator() local
127 if (radius_calc_message_authenticator(packet, secret, ma) != 0) in radius_set_message_authenticator()
131 ma, sizeof(ma))); in radius_set_message_authenticator()
/openbsd/sys/arch/luna88k/dev/
H A Dspc.c78 struct mainbus_attach_args *ma = aux; in spc_mainbus_match() local
80 if (strcmp(ma->ma_name, spc_cd.cd_name)) in spc_mainbus_match()
83 if (badaddr((caddr_t)ma->ma_addr, 4)) in spc_mainbus_match()
94 struct mainbus_attach_args *ma = aux; in spc_mainbus_attach() local
99 sc->sc_ioh = ma->ma_addr; in spc_mainbus_attach()
104 isrlink_autovec(spc_intr, (void *)sc, ma->ma_ilvl, ISRPRI_BIO, in spc_mainbus_attach()

12345678910