Lines Matching refs:hme

191 static	boolean_t hmeinit_xfer_params(struct hme *);
192 static uint_t hmestop(struct hme *);
193 static void hmestatinit(struct hme *);
194 static int hmeallocthings(struct hme *);
195 static void hmefreethings(struct hme *);
196 static int hmeallocbuf(struct hme *, hmebuf_t *, int);
197 static int hmeallocbufs(struct hme *);
198 static void hmefreebufs(struct hme *);
199 static void hmeget_hm_rev_property(struct hme *);
200 static boolean_t hmestart(struct hme *, mblk_t *);
202 static void hmereclaim(struct hme *);
203 static int hmeinit(struct hme *);
204 static void hmeuninit(struct hme *hmep);
205 static mblk_t *hmeread(struct hme *, hmebuf_t *, uint32_t);
206 static void hmesavecntrs(struct hme *);
207 static void hme_fatal_err(struct hme *, uint_t);
208 static void hme_nonfatal_err(struct hme *, uint_t);
209 static int hmeburstsizes(struct hme *);
210 static void send_bit(struct hme *, uint16_t);
211 static uint16_t get_bit_std(uint8_t, struct hme *);
212 static uint16_t hme_bb_mii_read(struct hme *, uint8_t, uint8_t);
213 static void hme_bb_mii_write(struct hme *, uint8_t, uint8_t, uint16_t);
214 static void hme_bb_force_idle(struct hme *);
217 static void hme_setup_mac_address(struct hme *, dev_info_t *);
220 static void hme_fault_msg(struct hme *, uint_t, msg_t, char *, ...);
222 static void hme_check_acc_handle(char *, uint_t, struct hme *,
429 send_bit(struct hme *hmep, uint16_t x) in send_bit()
441 get_bit_std(uint8_t phyad, struct hme *hmep) in get_bit_std()
460 hme_bb_mii_write(struct hme *hmep, uint8_t phyad, uint8_t regad, uint16_t data) in hme_bb_mii_write()
489 hme_bb_mii_read(struct hme *hmep, uint8_t phyad, uint8_t regad) in hme_bb_mii_read()
526 hme_bb_force_idle(struct hme *hmep) in hme_bb_force_idle()
544 struct hme *hmep = arg; in hme_mii_read()
598 struct hme *hmep = arg; in hme_mii_write()
646 struct hme *hmep = arg; in hme_mii_notify()
777 struct hme *hmep; in hme_get_oldvpd_props()
825 struct hme *hmep; in hme_get_newvpd_props()
877 struct hme *hmep; in hme_get_vpd_props()
940 struct hme *hmep;
954 struct hme *hmep = rom->hmep; in hme_mapebusrom()
1004 struct hme *hmep; in hmeget_promebus()
1052 struct hme *hmep; in hmeget_promprops()
1121 hmeget_hm_rev_property(struct hme *hmep) in hmeget_hm_rev_property()
1164 struct hme *hmep; in hmeattach()
1572 struct hme *hmep; in hmedetach()
1657 kmem_free(hmep, sizeof (struct hme)); in hmedetach()
1665 struct hme *hmep; in hmequiesce()
1675 hmeinit_xfer_params(struct hme *hmep) in hmeinit_xfer_params()
1723 hmestop(struct hme *hmep) in hmestop()
1755 struct hme *hmep; in hmestat_kstat_update()
1758 hmep = (struct hme *)ksp->ks_private; in hmestat_kstat_update()
1814 hmestatinit(struct hme *hmep) in hmestatinit()
1909 struct hme *hmep = arg; in hme_m_getprop()
1943 struct hme *hmep = arg; in hme_m_propinfo()
1975 struct hme *hmep = arg; in hme_m_setprop()
2052 struct hme *hmep = arg; in hme_m_promisc()
2062 struct hme *hmep = arg; in hme_m_unicst()
2079 struct hme *hmep = arg; in hme_m_multicst()
2118 struct hme *hmep = arg; in hme_m_start()
2133 struct hme *hmep = arg; in hme_m_stop()
2143 struct hme *hmep = arg; in hme_m_stat()
2244 struct hme *hmep = arg; in hme_m_tx()
2287 hmestart(struct hme *hmep, mblk_t *mp) in hmestart()
2433 hmeinit(struct hme *hmep) in hmeinit()
2779 hmeburstsizes(struct hme *hmep) in hmeburstsizes()
2815 hmeallocbuf(struct hme *hmep, hmebuf_t *buf, int dir) in hmeallocbuf()
2855 hmeallocbufs(struct hme *hmep) in hmeallocbufs()
2879 hmefreebufs(struct hme *hmep) in hmefreebufs()
2924 hmeuninit(struct hme *hmep) in hmeuninit()
2948 hmeallocthings(struct hme *hmep) in hmeallocthings()
3029 hmefreethings(struct hme *hmep) in hmefreethings()
3056 struct hme *hmep = (void *)arg; in hmeintr()
3197 hmereclaim(struct hme *hmep) in hmereclaim()
3264 hme_fatal_err(struct hme *hmep, uint_t hmesbits) in hme_fatal_err()
3324 hme_nonfatal_err(struct hme *hmep, uint_t hmesbits) in hme_nonfatal_err()
3400 hmeread(struct hme *hmep, hmebuf_t *rbuf, uint32_t rflags) in hmeread()
3475 hme_fault_msg(struct hme *hmep, uint_t severity, msg_t type, char *fmt, ...) in hme_fault_msg()
3505 hmesavecntrs(struct hme *hmep) in hmesavecntrs()
3566 hme_setup_mac_address(struct hme *hmep, dev_info_t *dip) in hme_setup_mac_address()
3636 hme_check_acc_handle(char *file, uint_t line, struct hme *hmep, in hme_check_acc_handle()