/drivers/isdn/hisax/ |
D | fsm.c | 51 FsmEvent(struct FsmInst *fi, int event, void *arg) in FsmEvent() argument 55 if ((fi->state>=fi->fsm->state_count) || (event >= fi->fsm->event_count)) { in FsmEvent() 57 (long)fi->state,(long)fi->fsm->state_count,event,(long)fi->fsm->event_count); in FsmEvent() 60 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in FsmEvent() 62 if (fi->debug) in FsmEvent() 63 fi->printdebug(fi, "State %s Event %s", in FsmEvent() 64 fi->fsm->strState[fi->state], in FsmEvent() 65 fi->fsm->strEvent[event]); in FsmEvent() 66 r(fi, event, arg); in FsmEvent() 69 if (fi->debug) in FsmEvent() [all …]
|
D | callc.c | 206 lli_close(struct FsmInst *fi) in lli_close() argument 208 struct Channel *chanp = fi->userdata; in lli_close() 210 FsmChangeState(fi, ST_NULL); in lli_close() 216 lli_leased_in(struct FsmInst *fi, int event, void *arg) in lli_leased_in() argument 218 struct Channel *chanp = fi->userdata; in lli_leased_in() 225 FsmChangeState(fi, ST_IN_WAIT_LL); in lli_leased_in() 242 FsmChangeState(fi, ST_NULL); in lli_leased_in() 251 lli_init_bchan_out(struct FsmInst *fi, int event, void *arg) in lli_init_bchan_out() argument 253 struct Channel *chanp = fi->userdata; in lli_init_bchan_out() 255 FsmChangeState(fi, ST_WAIT_BCONN); in lli_init_bchan_out() [all …]
|
D | isdnl2.c | 24 static void l2m_debug(struct FsmInst *fi, char *fmt, ...); 498 establishlink(struct FsmInst *fi) in establishlink() argument 500 struct PStack *st = fi->userdata; in establishlink() 511 FsmChangeState(fi, ST_L2_5); in establishlink() 515 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument 518 struct PStack *st = fi->userdata; in l2_mdl_error_ua() 527 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() argument 530 struct PStack *st = fi->userdata; in l2_mdl_error_dm() 536 establishlink(fi); in l2_mdl_error_dm() 542 l2_st8_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_st8_mdl_error_dm() argument [all …]
|
D | isdnl1.c | 141 l1m_debug(struct FsmInst *fi, char *fmt, ...) in l1m_debug() argument 144 struct PStack *st = fi->userdata; in l1m_debug() 457 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() argument 459 FsmChangeState(fi, ST_L1_F3); in l1_reset() 463 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() argument 465 struct PStack *st = fi->userdata; in l1_deact_cnf() 467 FsmChangeState(fi, ST_L1_F3); in l1_deact_cnf() 473 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() argument 475 struct PStack *st = fi->userdata; in l1_deact_req_s() 477 FsmChangeState(fi, ST_L1_F3); in l1_deact_req_s() [all …]
|
D | hisax_isac.c | 265 static void l1_di(struct FsmInst *fi, int event, void *arg) in l1_di() argument 267 struct isac *isac = fi->userdata; in l1_di() 269 FsmChangeState(fi, ST_L1_RESET); in l1_di() 273 static void l1_di_deact_ind(struct FsmInst *fi, int event, void *arg) in l1_di_deact_ind() argument 275 struct isac *isac = fi->userdata; in l1_di_deact_ind() 277 FsmChangeState(fi, ST_L1_RESET); in l1_di_deact_ind() 282 static void l1_go_f3pdown(struct FsmInst *fi, int event, void *arg) in l1_go_f3pdown() argument 284 FsmChangeState(fi, ST_L1_F3_PDOWN); in l1_go_f3pdown() 287 static void l1_go_f3pend_deact_ind(struct FsmInst *fi, int event, void *arg) in l1_go_f3pend_deact_ind() argument 289 struct isac *isac = fi->userdata; in l1_go_f3pend_deact_ind() [all …]
|
D | isdnl3.c | 69 l3m_debug(struct FsmInst *fi, char *fmt, ...) in l3m_debug() argument 72 struct PStack *st = fi->userdata; in l3m_debug() 419 lc_activate(struct FsmInst *fi, int event, void *arg) in lc_activate() argument 421 struct PStack *st = fi->userdata; in lc_activate() 423 FsmChangeState(fi, ST_L3_LC_ESTAB_WAIT); in lc_activate() 428 lc_connect(struct FsmInst *fi, int event, void *arg) in lc_connect() argument 430 struct PStack *st = fi->userdata; in lc_connect() 434 FsmChangeState(fi, ST_L3_LC_ESTAB); in lc_connect() 448 lc_connected(struct FsmInst *fi, int event, void *arg) in lc_connected() argument 450 struct PStack *st = fi->userdata; in lc_connected() [all …]
|
D | tei.c | 126 tei_id_request(struct FsmInst *fi, int event, void *arg) in tei_id_request() argument 128 struct PStack *st = fi->userdata; in tei_id_request() 147 tei_id_assign(struct FsmInst *fi, int event, void *arg) in tei_id_assign() argument 149 struct PStack *ost, *st = fi->userdata; in tei_id_assign() 175 tei_id_test_dup(struct FsmInst *fi, int event, void *arg) in tei_id_test_dup() argument 177 struct PStack *ost, *st = fi->userdata; in tei_id_test_dup() 196 tei_id_denied(struct FsmInst *fi, int event, void *arg) in tei_id_denied() argument 198 struct PStack *st = fi->userdata; in tei_id_denied() 210 tei_id_chk_req(struct FsmInst *fi, int event, void *arg) in tei_id_chk_req() argument 212 struct PStack *st = fi->userdata; in tei_id_chk_req() [all …]
|
D | st5481_d.c | 64 l1_go_f3(struct FsmInst *fi, int event, void *arg) in l1_go_f3() argument 66 struct st5481_adapter *adapter = fi->userdata; in l1_go_f3() 68 if (fi->state == ST_L1_F7) in l1_go_f3() 71 FsmChangeState(fi, ST_L1_F3); in l1_go_f3() 76 l1_go_f6(struct FsmInst *fi, int event, void *arg) in l1_go_f6() argument 78 struct st5481_adapter *adapter = fi->userdata; in l1_go_f6() 80 if (fi->state == ST_L1_F7) in l1_go_f6() 83 FsmChangeState(fi, ST_L1_F6); in l1_go_f6() 87 l1_go_f7(struct FsmInst *fi, int event, void *arg) in l1_go_f7() argument 89 struct st5481_adapter *adapter = fi->userdata; in l1_go_f7() [all …]
|
D | fsm.h | 44 struct FsmInst *fi; member 52 int FsmEvent(struct FsmInst *fi, int event, void *arg); 53 void FsmChangeState(struct FsmInst *fi, int newstate); 54 void FsmInitTimer(struct FsmInst *fi, struct FsmTimer *ft);
|
/drivers/isdn/mISDN/ |
D | fsm.c | 59 mISDN_FsmEvent(struct FsmInst *fi, int event, void *arg) in mISDN_FsmEvent() argument 63 if ((fi->state >= fi->fsm->state_count) || in mISDN_FsmEvent() 64 (event >= fi->fsm->event_count)) { in mISDN_FsmEvent() 67 (long)fi->state, (long)fi->fsm->state_count, event, in mISDN_FsmEvent() 68 (long)fi->fsm->event_count); in mISDN_FsmEvent() 71 r = fi->fsm->jumpmatrix[fi->fsm->state_count * event + fi->state]; in mISDN_FsmEvent() 73 if (fi->debug) in mISDN_FsmEvent() 74 fi->printdebug(fi, "State %s Event %s", in mISDN_FsmEvent() 75 fi->fsm->strState[fi->state], in mISDN_FsmEvent() 76 fi->fsm->strEvent[event]); in mISDN_FsmEvent() [all …]
|
D | layer2.c | 94 l2m_debug(struct FsmInst *fi, char *fmt, ...) in l2m_debug() argument 96 struct layer2 *l2 = fi->userdata; in l2m_debug() 667 establishlink(struct FsmInst *fi) in establishlink() argument 669 struct layer2 *l2 = fi->userdata; in establishlink() 680 mISDN_FsmChangeState(fi, ST_L2_5); in establishlink() 684 l2_mdl_error_ua(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_ua() argument 687 struct layer2 *l2 = fi->userdata; in l2_mdl_error_ua() 697 l2_mdl_error_dm(struct FsmInst *fi, int event, void *arg) in l2_mdl_error_dm() argument 700 struct layer2 *l2 = fi->userdata; in l2_mdl_error_dm() 706 establishlink(fi); in l2_mdl_error_dm() [all …]
|
D | layer1.c | 98 l1m_debug(struct FsmInst *fi, char *fmt, ...) in l1m_debug() argument 100 struct layer1 *l1 = fi->userdata; in l1m_debug() 111 l1_reset(struct FsmInst *fi, int event, void *arg) in l1_reset() argument 113 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_reset() 117 l1_deact_cnf(struct FsmInst *fi, int event, void *arg) in l1_deact_cnf() argument 119 struct layer1 *l1 = fi->userdata; in l1_deact_cnf() 121 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_deact_cnf() 127 l1_deact_req_s(struct FsmInst *fi, int event, void *arg) in l1_deact_req_s() argument 129 struct layer1 *l1 = fi->userdata; in l1_deact_req_s() 131 mISDN_FsmChangeState(fi, ST_L1_F3); in l1_deact_req_s() [all …]
|
D | tei.c | 78 da_debug(struct FsmInst *fi, char *fmt, ...) in da_debug() argument 80 struct manager *mgr = fi->userdata; in da_debug() 93 da_activate(struct FsmInst *fi, int event, void *arg) in da_activate() argument 95 struct manager *mgr = fi->userdata; in da_activate() 97 if (fi->state == ST_L1_DEACT_PENDING) in da_activate() 99 mISDN_FsmChangeState(fi, ST_L1_ACTIV); in da_activate() 103 da_deactivate_ind(struct FsmInst *fi, int event, void *arg) in da_deactivate_ind() argument 105 mISDN_FsmChangeState(fi, ST_L1_DEACT); in da_deactivate_ind() 109 da_deactivate(struct FsmInst *fi, int event, void *arg) in da_deactivate() argument 111 struct manager *mgr = fi->userdata; in da_deactivate() [all …]
|
/drivers/s390/net/ |
D | fsm.h | 89 fsm_instance *fi; member 118 extern void kfree_fsm(fsm_instance *fi); 122 fsm_print_history(fsm_instance *fi); 125 fsm_record_history(fsm_instance *fi, int state, int event); 142 fsm_event(fsm_instance *fi, int event, void *arg) in fsm_event() argument 145 int state = atomic_read(&fi->state); in fsm_event() 147 if ((state >= fi->f->nr_states) || in fsm_event() 148 (event >= fi->f->nr_events) ) { in fsm_event() 150 fi->name, (long)state,(long)fi->f->nr_states, event, in fsm_event() 151 (long)fi->f->nr_events); in fsm_event() [all …]
|
D | fsm.c | 85 fsm_print_history(fsm_instance *fi) in fsm_print_history() argument 90 if (fi->history_size >= FSM_HISTORY_SIZE) in fsm_print_history() 91 idx = fi->history_index; in fsm_print_history() 93 printk(KERN_DEBUG "fsm(%s): History:\n", fi->name); in fsm_print_history() 94 for (i = 0; i < fi->history_size; i++) { in fsm_print_history() 95 int e = fi->history[idx].event; in fsm_print_history() 96 int s = fi->history[idx++].state; in fsm_print_history() 100 fi->f->state_names[s]); in fsm_print_history() 103 fi->f->state_names[s], in fsm_print_history() 104 fi->f->event_names[e]); in fsm_print_history() [all …]
|
D | ctcm_fsms.c | 134 static void ctcm_action_nop(fsm_instance *fi, int event, void *arg); 140 static void chx_txdone(fsm_instance *fi, int event, void *arg); 141 static void chx_rx(fsm_instance *fi, int event, void *arg); 142 static void chx_rxidle(fsm_instance *fi, int event, void *arg); 143 static void chx_firstio(fsm_instance *fi, int event, void *arg); 144 static void ctcm_chx_setmode(fsm_instance *fi, int event, void *arg); 145 static void ctcm_chx_start(fsm_instance *fi, int event, void *arg); 146 static void ctcm_chx_haltio(fsm_instance *fi, int event, void *arg); 147 static void ctcm_chx_stopped(fsm_instance *fi, int event, void *arg); 148 static void ctcm_chx_stop(fsm_instance *fi, int event, void *arg); [all …]
|
D | netiucv.c | 591 static void netiucv_action_nop(fsm_instance *fi, int event, void *arg) in netiucv_action_nop() argument 663 static void conn_action_rx(fsm_instance *fi, int event, void *arg) in conn_action_rx() argument 699 static void conn_action_txdone(fsm_instance *fi, int event, void *arg) in conn_action_txdone() argument 754 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_txdone() 772 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_txdone() 786 static void conn_action_connaccept(fsm_instance *fi, int event, void *arg) in conn_action_connaccept() argument 805 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_connaccept() 810 static void conn_action_connreject(fsm_instance *fi, int event, void *arg) in conn_action_connreject() argument 819 static void conn_action_connack(fsm_instance *fi, int event, void *arg) in conn_action_connack() argument 827 fsm_newstate(fi, CONN_STATE_IDLE); in conn_action_connack() [all …]
|
D | ctcm_fsms.h | 164 void fsm_action_nop(fsm_instance *fi, int event, void *arg); 170 void ctcm_chx_txidle(fsm_instance *fi, int event, void *arg); 186 void ctcmpc_chx_rxidle(fsm_instance *fi, int event, void *arg);
|
/drivers/ieee1394/ |
D | raw1394.c | 135 struct file_info *fi = req->file_info; in __queue_complete_req() local 137 list_move_tail(&req->list, &fi->req_complete); in __queue_complete_req() 138 wake_up(&fi->wait_complete); in __queue_complete_req() 144 struct file_info *fi = req->file_info; in queue_complete_req() local 146 spin_lock_irqsave(&fi->reqlists_lock, flags); in queue_complete_req() 148 spin_unlock_irqrestore(&fi->reqlists_lock, flags); in queue_complete_req() 253 struct file_info *fi; in host_reset() local 260 list_for_each_entry(fi, &hi->file_info_list, list) { in host_reset() 261 if (fi->notification == RAW1394_NOTIFY_ON) { in host_reset() 265 req->file_info = fi; in host_reset() [all …]
|
D | eth1394.c | 288 struct fragment_info *fi; in purge_partial_datagram() local 293 fi = list_entry(lh, struct fragment_info, list); in purge_partial_datagram() 295 kfree(fi); in purge_partial_datagram() 914 struct fragment_info *fi; in fragment_overlap() local 917 list_for_each_entry(fi, frag_list, list) in fragment_overlap() 918 if (offset < fi->offset + fi->len && end > fi->offset) in fragment_overlap() 939 struct fragment_info *fi, *fi2, *new; in new_fragment() local 942 fi = list_entry(lh, struct fragment_info, list); in new_fragment() 943 if (fi->offset + fi->len == offset) { in new_fragment() 945 fi->len += len; in new_fragment() [all …]
|
/drivers/media/dvb/firewire/ |
D | firedtv-fe.c | 167 struct dvb_frontend_info *fi = &ops->info; in fdtv_frontend_init() local 189 fi->type = FE_QPSK; in fdtv_frontend_init() 191 fi->frequency_min = 950000; in fdtv_frontend_init() 192 fi->frequency_max = 2150000; in fdtv_frontend_init() 193 fi->frequency_stepsize = 125; in fdtv_frontend_init() 194 fi->symbol_rate_min = 1000000; in fdtv_frontend_init() 195 fi->symbol_rate_max = 40000000; in fdtv_frontend_init() 197 fi->caps = FE_CAN_INVERSION_AUTO | in fdtv_frontend_init() 208 fi->type = FE_QAM; in fdtv_frontend_init() 210 fi->frequency_min = 47000000; in fdtv_frontend_init() [all …]
|
/drivers/xen/ |
D | features.c | 23 struct xen_feature_info fi; in xen_setup_features() local 27 fi.submap_idx = i; in xen_setup_features() 28 if (HYPERVISOR_xen_version(XENVER_get_features, &fi) < 0) in xen_setup_features() 31 xen_features[i * 32 + j] = !!(fi.submap & 1<<j); in xen_setup_features()
|
/drivers/video/ |
D | fbmem.c | 656 struct fb_info *fi = registered_fb[i]; in fb_seq_show() local 658 if (fi) in fb_seq_show() 659 seq_printf(m, "%d %s\n", fi->node, fi->fix.id); in fb_seq_show() 1432 static int fb_check_foreignness(struct fb_info *fi) in fb_check_foreignness() argument 1434 const bool foreign_endian = fi->flags & FBINFO_FOREIGN_ENDIAN; in fb_check_foreignness() 1436 fi->flags &= ~FBINFO_FOREIGN_ENDIAN; in fb_check_foreignness() 1439 fi->flags |= foreign_endian ? 0 : FBINFO_BE_MATH; in fb_check_foreignness() 1441 fi->flags |= foreign_endian ? FBINFO_BE_MATH : 0; in fb_check_foreignness() 1444 if (fi->flags & FBINFO_BE_MATH && !fb_be_math(fi)) { in fb_check_foreignness() 1446 "support this framebuffer\n", fi->fix.id); in fb_check_foreignness() [all …]
|
/drivers/net/wireless/hostap/ |
D | Kconfig | 22 See <http://hostap.epitest.fi/> for more information about the 45 It is available from http://hostap.epitest.fi/. 57 It is available from http://hostap.epitest.fi/.
|
/drivers/usb/host/ |
D | ohci.h | 689 #define FSMP(fi) (0x7fff & ((6 * ((fi) - 210)) / 7)) argument 695 u32 fi = ohci->fminterval & 0x03fff; in periodic_reinit() local 700 ohci_writel (ohci, ((9 * fi) / 10) & 0x3fff, in periodic_reinit()
|