Home
last modified time | relevance | path

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

/drivers/net/skfp/
Dsmtdef.c77 static int set_min_max(int maxflag, u_long mib, u_long limit, u_long *oper);
134 smc->mib.fddiESSPayload = 0 ; in smt_reset_defaults()
135 smc->mib.fddiESSOverhead = 0 ; in smt_reset_defaults()
136 smc->mib.fddiESSMaxTNeg = (u_long)(- MS2BCLK(25)) ; in smt_reset_defaults()
137 smc->mib.fddiESSMinSegmentSize = 1 ; in smt_reset_defaults()
138 smc->mib.fddiESSCategory = SB_STATIC ; in smt_reset_defaults()
139 smc->mib.fddiESSSynchTxMode = FALSE ; in smt_reset_defaults()
166 struct fddi_mib *mib ; in smt_init_mib() local
171 mib = &smc->mib ; in smt_init_mib()
183 mib->fddiSMTRemoteDisconnectFlag = 0 ; in smt_init_mib()
[all …]
Dpcmplc.c76 #define GO_STATE(x) (mib->fddiPORTPCMState = (x)|AFLAG)
77 #define ACTIONS_DONE() (mib->fddiPORTPCMState &= ~AFLAG)
245 struct fddi_mib_p *mib ; in pcm_init() local
249 mib = phy->mib ; in pcm_init()
250 mib->fddiPORTPCMState = ACTIONS(PC0_OFF) ; in pcm_init()
255 mib->fddiPORTMy_Type = (np == PS) ? TS : TM ; in pcm_init()
258 mib->fddiPORTMy_Type = (np == PA) ? TA : in pcm_init()
262 mib->fddiPORTMy_Type = TM ; in pcm_init()
266 mib->fddiPORTMy_Type = (np == PS) ? TS : TNONE ; in pcm_init()
267 mib->fddiPORTHardwarePresent = (np == PS) ? TRUE : in pcm_init()
[all …]
Dsmt.c131 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[0]) in is_my_addr()
133 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[2]) in is_my_addr()
135 *(short *)(&smc->mib.m[MAC0].fddiMACSMTAddress.a[4])) ; in is_my_addr()
173 smc->mib.m[MAC0].fddiMACSMTAddress = smc->hw.fddi_home_addr ; in smt_agent_init()
178 smc->mib.fddiSMTStationId.sid_oem[0] = 0 ; in smt_agent_init()
179 smc->mib.fddiSMTStationId.sid_oem[1] = 0 ; in smt_agent_init()
180 driver_get_bia(smc,&smc->mib.fddiSMTStationId.sid_node) ; in smt_agent_init()
182 smc->mib.fddiSMTStationId.sid_node.a[i] = in smt_agent_init()
183 bitrev8(smc->mib.fddiSMTStationId.sid_node.a[i]); in smt_agent_init()
185 smc->mib.fddiSMTManufacturerData[0] = in smt_agent_init()
[all …]
Dcfm.c51 #define GO_STATE(x) (smc->mib.fddiSMTCF_State = (x)|AFLAG)
52 #define ACTIONS_DONE() (smc->mib.fddiSMTCF_State &= ~AFLAG)
107 smc->mib.fddiSMTCF_State = ACTIONS(SC0_ISOLATED) ; in cfm_init()
123 switch (phy->mib->fddiPORTMy_Type) { in selection_criteria()
231 oldstate = smc->mib.fddiSMTCF_State ; in cfm()
234 (smc->mib.fddiSMTCF_State & AFLAG) ? "ACTIONS " : "", in cfm()
235 cfm_states[smc->mib.fddiSMTCF_State & ~AFLAG]) ; in cfm()
237 state = smc->mib.fddiSMTCF_State ; in cfm()
240 } while (state != smc->mib.fddiSMTCF_State) ; in cfm()
247 if ( (smc->mib.fddiSMTCF_State == SC9_C_WRAP_A && in cfm()
[all …]
Dess.c177 if (!local || smc->mib.fddiESSPayload) in ess_raf_received_pack()
195 smc->mib.a[PATH0].fddiPATHSbaPayload ; in ess_raf_received_pack()
198 smc->mib.a[PATH0].fddiPATHSbaOverhead ; in ess_raf_received_pack()
438 if (smc->mib.fddiESSPayload && in process_bw_alloc()
439 ((u_long)payload != smc->mib.fddiESSPayload || in process_bw_alloc()
440 (u_long)overhead != smc->mib.fddiESSOverhead)) { in process_bw_alloc()
453 (long)smc->mib.m[MAC0].fddiMACT_Neg * in process_bw_alloc()
463 smc->mib.a[PATH0].fddiPATHSbaPayload = payload ; in process_bw_alloc()
464 smc->mib.a[PATH0].fddiPATHSbaOverhead = overhead ; in process_bw_alloc()
520 chg->payload.mib_payload = smc->mib.a[PATH0].fddiPATHSbaPayload ; in ess_send_response()
[all …]
Decm.c56 #define GO_STATE(x) (smc->mib.fddiSMTECMState = (x)|AFLAG)
57 #define ACTIONS_DONE() (smc->mib.fddiSMTECMState &= ~AFLAG)
111 smc->mib.fddiSMTECMState = ACTIONS(EC0_OUT) ; in ecm_init()
130 (smc->mib.fddiSMTECMState & AFLAG) ? "ACTIONS " : "", in ecm()
131 ecm_states[smc->mib.fddiSMTECMState & ~AFLAG]) ; in ecm()
133 state = smc->mib.fddiSMTECMState ; in ecm()
136 } while (state != smc->mib.fddiSMTECMState) ; in ecm()
137 ecm_state_change(smc,(int)smc->mib.fddiSMTECMState) ; in ecm()
150 smc->mib.fddiSMTBypassPresent = sm_pm_bypass_present(smc) ; in ecm_fsm()
152 smc->mib.fddiSMTRemoteDisconnectFlag = FALSE ; in ecm_fsm()
[all …]
Drmt.c60 #define GO_STATE(x) (smc->mib.m[MAC0].fddiMACRMTState = (x)|AFLAG)
61 #define ACTIONS_DONE() (smc->mib.m[MAC0].fddiMACRMTState &= ~AFLAG)
127 smc->mib.m[MAC0].fddiMACRMTState = ACTIONS(RM0_ISOLATED) ; in rmt_init()
130 smc->mib.m[MAC0].fddiMACMA_UnitdataAvailable = FALSE ; in rmt_init()
153 (smc->mib.m[MAC0].fddiMACRMTState & AFLAG) ? "ACTIONS " : "", in rmt()
154 rmt_states[smc->mib.m[MAC0].fddiMACRMTState & ~AFLAG]) ; in rmt()
156 state = smc->mib.m[MAC0].fddiMACRMTState ; in rmt()
159 } while (state != smc->mib.m[MAC0].fddiMACRMTState) ; in rmt()
160 rmt_state_change(smc,(int)smc->mib.m[MAC0].fddiMACRMTState) ; in rmt()
172 smc->mib.m[MAC0].fddiMACRMTState != ACTIONS(RM0_ISOLATED) && in rmt_fsm()
[all …]
Dpmf.c490 smc->mib.fddiSMTSetCount.count++ ; in smt_build_pmf_response()
491 smt_set_timestamp(smc,smc->mib.fddiSMTSetCount.timestamp) ; in smt_build_pmf_response()
492 smc->mib.fddiSMTLastSetStationId = req->smt_sid ; in smt_build_pmf_response()
508 p = (char *) &smc->mib.fddiPRPMFStation ; in smt_authorize()
513 (char *) &smc->mib.fddiPRPMFStation,8)) in smt_authorize()
519 p = (char *) smc->mib.fddiPRPMFPasswd ; in smt_authorize()
528 if (memcmp((char *)(pa+1),(char *)smc->mib.fddiPRPMFPasswd,8)) in smt_authorize()
542 if ((smc->mib.fddiSMTSetCount.count != sc->count) || in smt_check_set_count()
543 memcmp((char *) smc->mib.fddiSMTSetCount.timestamp, in smt_check_set_count()
612 mib_addr = (char *) (&smc->mib) ; in smt_add_para()
[all …]
Dsrf.c108 smc->evcs[0].evc_cond_state = &smc->mib.fddiSMTPeerWrapFlag ; in smt_init_evc()
110 &smc->mib.m[MAC0].fddiMACDuplicateAddressCond ; in smt_init_evc()
112 &smc->mib.m[MAC0].fddiMACFrameErrorFlag ; in smt_init_evc()
114 &smc->mib.m[MAC0].fddiMACNotCopiedFlag ; in smt_init_evc()
119 smc->evcs[4].evc_multiple = &smc->mib.m[MAC0].fddiMACMultiple_N ; in smt_init_evc()
120 smc->evcs[5].evc_multiple = &smc->mib.m[MAC0].fddiMACMultiple_P ; in smt_init_evc()
128 &smc->mib.p[i].fddiPORTLerFlag ; in smt_init_evc()
130 &smc->mib.p[i].fddiPORTEB_Condition ; in smt_init_evc()
136 &smc->mib.p[i].fddiPORTMultiple_U ; in smt_init_evc()
138 &smc->mib.p[i].fddiPORTMultiple_P ; in smt_init_evc()
[all …]
Dsmtinit.c53 struct fddi_mib *mib ; in set_oem_spec_val() local
55 mib = &smc->mib ; in set_oem_spec_val()
61 mib->fddiSMTConnectionPolicy = POLICY_MM ; in set_oem_spec_val()
92 smc->y[p].mib = & smc->mib.p[p] ; in init_smt()
Dfplustm.c121 smc->mib.m[MAC0].fddiMACFrame_Ct = in mac_update_counter()
122 (smc->mib.m[MAC0].fddiMACFrame_Ct & 0xffff0000L) in mac_update_counter()
124 smc->mib.m[MAC0].fddiMACLost_Ct = in mac_update_counter()
125 (smc->mib.m[MAC0].fddiMACLost_Ct & 0xffff0000L) in mac_update_counter()
127 smc->mib.m[MAC0].fddiMACError_Ct = in mac_update_counter()
128 (smc->mib.m[MAC0].fddiMACError_Ct & 0xffff0000L) in mac_update_counter()
130 smc->mib.m[MAC0].fddiMACT_Neg = mac_get_tneg(smc) ; in mac_update_counter()
348 smc->mib.m[MAC0].fddiMACRingOp_Ct = 0 ; in mac_counter_init()
356 long t_requ = smc->mib.m[MAC0].fddiMACT_Req ; in set_formac_addr()
456 memcpy((char *)a+1,(char *) &smc->mib.m[MAC0].fddiMACUpstreamNbr,6) ; in directed_beacon()
[all …]
Ddrvfbi.c334 smc->mib.fddiSMTBypassPresent = 0 ; in init_board()
337 smc->mib.fddiSMTBypassPresent = 1 ; in init_board()
402 mib_a = phy->mib ; in led_indication()
404 mib_b = phy->mib ; in led_indication()
Dqueue.c131 return(smc->mib.fddiSMTCF_State) ; in smt_online()
Dhwmtm.c1180 smc->mib.m[MAC0].fddiMACCopied_Ct++ ; in process_receive()
1682 smc->mib.m[MAC0].fddiMACTransmit_Ct++ ; in hwm_tx_frag()
1919 smc->mib.m[MAC0].fddiMACTransmit_Ct++ ; in smt_send_mbuf()
Dskfddi.c1166 if (smc->mib.fddiESSSynchTxMode) { in send_queued_packets()
/drivers/staging/wlan-ng/
Dprism2mib.c104 int (*func)(struct mibrec *mib,
116 mibrec_t *mib,
124 mibrec_t *mib,
132 mibrec_t *mib,
140 mibrec_t *mib,
148 mibrec_t *mib,
156 mibrec_t *mib,
164 mibrec_t *mib,
172 mibrec_t *mib,
300 mibrec_t *mib; in prism2mgmt_mibset_mibget() local
[all …]
Dp80211meta.h85 #define MKMIBMETANAME(name) p80211meta_ ## mib ## _ ## name
90 #define MKMIBMETASIZE(name) p80211meta_ ## mib ## _ ## name ## _ ## size
/drivers/net/wireless/prism54/
Doid_mgt.c240 priv->mib = kcalloc(OID_NUM_LAST, sizeof (void *), GFP_KERNEL); in mgt_init()
241 if (!priv->mib) in mgt_init()
247 priv->mib[i] = kzalloc(isl_oid[i].size * in mgt_init()
250 if (!priv->mib[i]) in mgt_init()
253 priv->mib[i] = NULL; in mgt_init()
267 if (!priv->mib) in mgt_clean()
270 kfree(priv->mib[i]); in mgt_clean()
271 priv->mib[i] = NULL; in mgt_clean()
273 kfree(priv->mib); in mgt_clean()
274 priv->mib = NULL; in mgt_clean()
[all …]
Dislpci_dev.h86 void **mib; member
/drivers/net/wireless/
Datmel.c3742 } mib; in build_wep_mib() local
3745 mib.wep_is_on = priv->wep_is_on; in build_wep_mib()
3748 mib.encryption_level = 2; in build_wep_mib()
3750 mib.encryption_level = 1; in build_wep_mib()
3752 mib.encryption_level = 0; in build_wep_mib()
3755 mib.default_key = priv->default_key; in build_wep_mib()
3756 mib.exclude_unencrypted = priv->exclude_unencrypted; in build_wep_mib()
3759 memcpy(mib.wep_keys[i], priv->wep_keys[i], 13); in build_wep_mib()
3761 atmel_set_mib(priv, Mac_Wep_Mib_Type, 0, (u8 *)&mib, sizeof(mib)); in build_wep_mib()
3782 } mib; in build_wpa_mib() local
[all …]
/drivers/video/
Duvesafb.c508 struct vbe_mode_ib *mib; in uvesafb_vbe_getmodes() local
527 mib = task->buf; in uvesafb_vbe_getmodes()
528 mib->mode_id = *mode; in uvesafb_vbe_getmodes()
535 if ((mib->mode_attr & VBE_MODE_MASK) == VBE_MODE_MASK && in uvesafb_vbe_getmodes()
536 mib->bits_per_pixel >= 8) in uvesafb_vbe_getmodes()
542 mib->depth = mib->red_len + mib->green_len + mib->blue_len; in uvesafb_vbe_getmodes()
548 if (mib->depth == 0 || (mib->depth == 24 && in uvesafb_vbe_getmodes()
549 mib->bits_per_pixel == 32)) in uvesafb_vbe_getmodes()
550 mib->depth = mib->bits_per_pixel; in uvesafb_vbe_getmodes()
/drivers/net/skfp/h/
Dsmc.h200 struct fddi_mib_p *mib ; member
457 struct fddi_mib mib ; /* __THE_MIB__ */ member
/drivers/net/wireless/ath9k/
Ddebug.c147 sc->sc_debug.stats.istats.mib++; in ath_debug_stat_interrupt()
190 "%8s: %10u\n", "MIB", sc->sc_debug.stats.istats.mib); in read_file_interrupt()
Dcore.h120 u32 mib; member
/drivers/staging/at76_usb/
Dat76_usb.c760 static inline int at76_get_mib(struct usb_device *udev, u16 mib, void *buf, in at76_get_mib() argument
767 USB_RECIP_INTERFACE, mib << 8, 0, buf, buf_size, in at76_get_mib()