Home
last modified time | relevance | path

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

123

/linux-2.4.37.9/net/lapb/
Dlapb_in.c48 printk(KERN_DEBUG "lapb: (%p) S0 RX SABM(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
52 printk(KERN_DEBUG "lapb: (%p) S0 TX DM(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
57 printk(KERN_DEBUG "lapb: (%p) S0 TX UA(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
60 printk(KERN_DEBUG "lapb: (%p) S0 -> S3\n", lapb->token); in lapb_state0_machine()
77 printk(KERN_DEBUG "lapb: (%p) S0 RX SABME(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
81 printk(KERN_DEBUG "lapb: (%p) S0 TX UA(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
84 printk(KERN_DEBUG "lapb: (%p) S0 -> S3\n", lapb->token); in lapb_state0_machine()
98 printk(KERN_DEBUG "lapb: (%p) S0 TX DM(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
106 printk(KERN_DEBUG "lapb: (%p) S0 RX DISC(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
107 printk(KERN_DEBUG "lapb: (%p) S0 TX UA(%d)\n", lapb->token, frame->pf); in lapb_state0_machine()
[all …]
Dlapb_iface.c103 static lapb_cb *lapb_tokentostruct(void *token) in lapb_tokentostruct() argument
108 if (lapb->token == token) in lapb_tokentostruct()
144 int lapb_register(void *token, struct lapb_register_struct *callbacks) in lapb_register() argument
148 if (lapb_tokentostruct(token) != NULL) in lapb_register()
154 lapb->token = token; in lapb_register()
164 int lapb_unregister(void *token) in lapb_unregister() argument
168 if ((lapb = lapb_tokentostruct(token)) == NULL) in lapb_unregister()
183 int lapb_getparms(void *token, struct lapb_parms_struct *parms) in lapb_getparms() argument
187 if ((lapb = lapb_tokentostruct(token)) == NULL) in lapb_getparms()
211 int lapb_setparms(void *token, struct lapb_parms_struct *parms) in lapb_setparms() argument
[all …]
Dlapb_timer.c110 printk(KERN_DEBUG "lapb: (%p) S1 -> S0\n", lapb->token); in lapb_t1timer_expiry()
117 printk(KERN_DEBUG "lapb: (%p) S1 TX SABME(1)\n", lapb->token); in lapb_t1timer_expiry()
122 printk(KERN_DEBUG "lapb: (%p) S1 TX SABM(1)\n", lapb->token); in lapb_t1timer_expiry()
138 printk(KERN_DEBUG "lapb: (%p) S2 -> S0\n", lapb->token); in lapb_t1timer_expiry()
144 printk(KERN_DEBUG "lapb: (%p) S2 TX DISC(1)\n", lapb->token); in lapb_t1timer_expiry()
160 printk(KERN_DEBUG "lapb: (%p) S3 -> S0\n", lapb->token); in lapb_t1timer_expiry()
178 printk(KERN_DEBUG "lapb: (%p) S4 -> S0\n", lapb->token); in lapb_t1timer_expiry()
Dlapb_out.c65 …printk(KERN_DEBUG "lapb: (%p) S%d TX I(%d) S%d R%d\n", lapb->token, lapb->state, poll_bit, lapb->v… in lapb_send_iframe()
155 …printk(KERN_DEBUG "lapb: (%p) S%d TX %02X %02X %02X\n", lapb->token, lapb->state, skb->data[0], sk… in lapb_transmit_buffer()
169 printk(KERN_DEBUG "lapb: (%p) S%d TX SABME(1)\n", lapb->token, lapb->state); in lapb_establish_data_link()
174 printk(KERN_DEBUG "lapb: (%p) S%d TX SABM(1)\n", lapb->token, lapb->state); in lapb_establish_data_link()
186 printk(KERN_DEBUG "lapb: (%p) S%d TX RR(1) R%d\n", lapb->token, lapb->state, lapb->vr); in lapb_enquiry_response()
197 printk(KERN_DEBUG "lapb: (%p) S%d TX RR(0) R%d\n", lapb->token, lapb->state, lapb->vr); in lapb_timeout_response()
/linux-2.4.37.9/include/linux/
Dlapb.h27 void (*connect_confirmation)(void *token, int reason);
28 void (*connect_indication)(void *token, int reason);
29 void (*disconnect_confirmation)(void *token, int reason);
30 void (*disconnect_indication)(void *token, int reason);
31 int (*data_indication)(void *token, struct sk_buff *skb);
32 void (*data_transmit)(void *token, struct sk_buff *skb);
47 extern int lapb_register(void *token, struct lapb_register_struct *callbacks);
48 extern int lapb_unregister(void *token);
49 extern int lapb_getparms(void *token, struct lapb_parms_struct *parms);
50 extern int lapb_setparms(void *token, struct lapb_parms_struct *parms);
[all …]
/linux-2.4.37.9/drivers/usb/host/
Duhci.h127 #define uhci_maxlen(token) ((token) >> 21) argument
129 #define uhci_toggle(token) (((token) >> TD_TOKEN_TOGGLE_SHIFT) & 1) argument
130 #define uhci_endpoint(token) (((token) >> 15) & 0xf) argument
131 #define uhci_devaddr(token) (((token) >> 8) & 0x7f) argument
132 #define uhci_devep(token) (((token) >> 8) & 0x7ff) argument
133 #define uhci_packetid(token) ((token) & TD_TOKEN_PID_MASK) argument
134 #define uhci_packetout(token) (uhci_packetid(token) != USB_PID_IN) argument
135 #define uhci_packetin(token) (uhci_packetid(token) == USB_PID_IN) argument
Dusb-uhci.h115 #define uhci_maxlen(token) ((token) >> 21) argument
116 #define uhci_toggle(token) (((token) >> TD_TOKEN_TOGGLE) & 1) argument
117 #define uhci_endpoint(token) (((token) >> 15) & 0xf) argument
118 #define uhci_devaddr(token) (((token) >> 8) & 0x7f) argument
119 #define uhci_devep(token) (((token) >> 8) & 0x7ff) argument
120 #define uhci_packetid(token) ((token) & 0xff) argument
121 #define uhci_packetout(token) (uhci_packetid(token) != USB_PID_IN) argument
122 #define uhci_packetin(token) (uhci_packetid(token) == USB_PID_IN) argument
Dehci-q.c47 int token, int maxpacket) in qtd_fill() argument
78 qtd->hw_token = cpu_to_le32 ((count << 16) | token); in qtd_fill()
123 u32 token in qtd_copy_status() argument
127 if (likely (QTD_PID (token) != 2)) in qtd_copy_status()
128 urb->actual_length += length - QTD_LENGTH (token); in qtd_copy_status()
135 if (unlikely (IS_SHORT_READ (token))) in qtd_copy_status()
139 if (token & QTD_STS_HALT) { in qtd_copy_status()
140 if (token & QTD_STS_BABBLE) { in qtd_copy_status()
143 } else if (token & QTD_STS_MMF) { in qtd_copy_status()
146 } else if (token & QTD_STS_DBE) { in qtd_copy_status()
[all …]
/linux-2.4.37.9/fs/smbfs/
Dgetopt.c29 char *token; in smb_getopt() local
34 if ((token = strsep(options, ",")) == NULL) in smb_getopt()
36 } while (*token == '\0'); in smb_getopt()
37 *optopt = token; in smb_getopt()
40 if ((val = strchr (token, '=')) != NULL) { in smb_getopt()
48 if (!strcmp(opts[i].name, token)) { in smb_getopt()
51 caller, token); in smb_getopt()
61 printk("%s: Unrecognized mount option %s\n", caller, token); in smb_getopt()
/linux-2.4.37.9/scripts/
Dtkgen.c297 if ( cfg->token == token_define_bool || cfg->token == token_define_hex in generate_if()
298 || cfg->token == token_define_int || cfg->token == token_define_string in generate_if()
299 || cfg->token == token_define_tristate || cfg->token == token_unset ) in generate_if()
301 if ( cfg->token == token_comment && line_num == -1 ) in generate_if()
306 if ( cfg->token == token_string || cfg->token == token_mainmenu_option ) in generate_if()
383 switch ( cfg->token ) in generate_if()
414 if ( cfg->token == token_bool ) in generate_if()
418 if ( cfg->token == token_bool ) in generate_if()
466 if ( cfg->token == token_tristate ) in generate_if()
522 switch ( cfg->token ) in generate_if()
[all …]
Dtkcond.c48 if ( cfg->token == token_bool in mark_variables()
49 || cfg->token == token_choice_item in mark_variables()
50 || cfg->token == token_define_bool in mark_variables()
51 || cfg->token == token_define_hex in mark_variables()
52 || cfg->token == token_define_int in mark_variables()
53 || cfg->token == token_define_string in mark_variables()
54 || cfg->token == token_define_tristate in mark_variables()
55 || cfg->token == token_dep_bool in mark_variables()
56 || cfg->token == token_dep_mbool in mark_variables()
57 || cfg->token == token_dep_tristate in mark_variables()
[all …]
Dtkparse.c355 cfg->token = token_choice_item; in tokenize_choices()
383 enum e_token token; in tokenize_line() local
397 if (strncmp(pnt, s, strlen(s)) == 0) { token = t; pnt += strlen(s); break; } in tokenize_line()
399 token = token_UNKNOWN; in tokenize_line()
469 if ( token == token_source ) in tokenize_line()
477 if ( token == token_then ) in tokenize_line()
479 if ( config_last != NULL && config_last->token == token_if ) in tokenize_line()
485 if ( token == token_unset ) in tokenize_line()
492 if ( token == token_UNKNOWN ) in tokenize_line()
511 cfg->token = token; in tokenize_line()
[all …]
/linux-2.4.37.9/drivers/message/i2o/
Di2o_proc.c745 int token; in i2o_proc_read_hw() local
764 token = i2o_query_scalar(c, ADAPTER_TID, 0x0000, -1, &work32, sizeof(work32)); in i2o_proc_read_hw()
766 if (token < 0) { in i2o_proc_read_hw()
767 len += i2o_report_query_status(buf+len, token,"0x0000 IOP Hardware"); in i2o_proc_read_hw()
808 int token; in i2o_proc_read_ddm_table() local
839 token = i2o_query_table(I2O_PARAMS_TABLE_GET, in i2o_proc_read_ddm_table()
845 if (token < 0) { in i2o_proc_read_ddm_table()
846 len += i2o_report_query_status(buf+len, token,"0x0003 Executing DDM List"); in i2o_proc_read_ddm_table()
891 int token; in i2o_proc_read_driver_store() local
897 token = i2o_query_scalar(c, ADAPTER_TID, 0x0004, -1, &work32, sizeof(work32)); in i2o_proc_read_driver_store()
[all …]
Di2o_config.c447 int token; in ioctl_html() local
520 token = i2o_post_wait_mem(c, msg, 9*4, 400, query, res); in ioctl_html()
521 if(token < 0) in ioctl_html()
523 printk(KERN_DEBUG "token = %#10x\n", token); in ioctl_html()
526 if(token != -ETIMEDOUT) in ioctl_html()
532 return token; in ioctl_html()
690 int token; in ioctl_swdel() local
710 token = i2o_post_wait(c, msg, sizeof(msg), 10); in ioctl_swdel()
713 if (token != I2O_POST_WAIT_OK) in ioctl_swdel()
715 printk(KERN_INFO "i2o_config: swdel failed, DetailedStatus = %d\n", token); in ioctl_swdel()
[all …]
/linux-2.4.37.9/drivers/net/wan/
Dhdlc_x25.c28 static void x25_connect_disconnect(void *token, int reason, int code) in x25_connect_disconnect() argument
30 hdlc_device *hdlc = token; in x25_connect_disconnect()
52 static void x25_connected(void *token, int reason) in x25_connected() argument
54 x25_connect_disconnect(token, reason, 1); in x25_connected()
59 static void x25_disconnected(void *token, int reason) in x25_disconnected() argument
61 x25_connect_disconnect(token, reason, 2); in x25_disconnected()
66 static int x25_data_indication(void *token, struct sk_buff *skb) in x25_data_indication() argument
68 hdlc_device *hdlc = token; in x25_data_indication()
84 static void x25_data_transmit(void *token, struct sk_buff *skb) in x25_data_transmit() argument
86 hdlc_device *hdlc = token; in x25_data_transmit()
Dlapbether.c161 static int lapbeth_data_indication(void *token, struct sk_buff *skb) in lapbeth_data_indication() argument
163 struct lapbethdev *lapbeth = (struct lapbethdev *) token; in lapbeth_data_indication()
224 static void lapbeth_data_transmit(void *token, struct sk_buff *skb) in lapbeth_data_transmit() argument
226 struct lapbethdev *lapbeth = (struct lapbethdev *) token; in lapbeth_data_transmit()
249 static void lapbeth_connected(void *token, int reason) in lapbeth_connected() argument
251 struct lapbethdev *lapbeth = (struct lapbethdev *) token; in lapbeth_connected()
271 static void lapbeth_disconnected(void *token, int reason) in lapbeth_disconnected() argument
273 struct lapbethdev *lapbeth = (struct lapbethdev *) token; in lapbeth_disconnected()
/linux-2.4.37.9/Documentation/networking/
Dlapb-module.txt38 void (*connect_confirmation)(int token, int reason);
39 void (*connect_indication)(int token, int reason);
40 void (*disconnect_confirmation)(int token, int reason);
41 void (*disconnect_indication)(int token, int reason);
42 int (*data_indication)(int token, struct sk_buff *skb);
43 void (*data_transmit)(int token, struct sk_buff *skb);
103 int lapb_register(void *token, struct lapb_register_struct);
106 successful then LAPB_OK is returned. The token must be a unique identifier
119 int lapb_unregister(void *token);
123 this call, the value of token is no longer valid for any calls to the LAPB
[all …]
/linux-2.4.37.9/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y122 %token T_REGISTER
124 %token <value> T_CONST
126 %token T_EXPORT
128 %token T_DOWNLOAD
130 %token T_SCB
132 %token T_SRAM
134 %token T_ALIAS
136 %token T_SIZE
138 %token T_EXPR_LSHIFT
140 %token T_EXPR_RSHIFT
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Drtas.c69 phys_call_rtas(int token, int nargs, int nret, ...) in phys_call_rtas() argument
76 rtas->token = token; in phys_call_rtas()
95 rtas->token = 10; in phys_call_rtas_display_status()
109 rtas->token = 10; in call_rtas_display_status()
133 rtas_call(int token, int nargs, int nret, in rtas_call() argument
142 PPCDBG(PPCDBG_RTAS, "\ttoken = 0x%x\n", token); in rtas_call()
146 if (token == RTAS_UNKNOWN_SERVICE) in rtas_call()
149 rtas_args->token = token; in rtas_call()
Deeh.c57 unsigned long eeh_token_to_phys(unsigned long token) in eeh_token_to_phys() argument
59 if (REGION_ID(token) == EEH_REGION_ID) { in eeh_token_to_phys()
60 unsigned long vaddr = IO_TOKEN_TO_ADDR(token); in eeh_token_to_phys()
65 return token; in eeh_token_to_phys()
75 unsigned long eeh_check_failure(void *token, unsigned long val) in eeh_check_failure() argument
91 addr = eeh_token_to_phys((unsigned long)token); in eeh_check_failure()
/linux-2.4.37.9/drivers/net/skfp/
Dqueue.c62 void timer_event(smc,token) in timer_event() argument
64 u_long token ;
67 EV_T_CLASS(token),
68 EV_T_EVENT(token)) ;
69 queue_event(smc,EV_T_CLASS(token),EV_T_EVENT(token));
/linux-2.4.37.9/drivers/fc4/
Dsocal.c139 int token; in socal_solicited() local
185 token = hwrsp->shdr.token; in socal_solicited()
187 fc = (fc_channel *)(&s->port[(token >> 11) & 1]); in socal_solicited()
189 SOD(("Solicited token %08x status %08x\n", token, status)) in socal_solicited()
191 fcp_receive_solicited(fc, token >> 12, in socal_solicited()
192 token & ((1 << 11) - 1), in socal_solicited()
199 fcp_receive_solicited(fc, token >> 12, in socal_solicited()
200 token & ((1 << 11) - 1), status, &hwrsp->fchdr); in socal_solicited()
433 #define TOKEN(proto, port, token) (((proto)<<12)|(token)|(port)) argument
475 request->shdr.token = TOKEN(TYPE_SCSI_FCP, port->mask, fcmd->token); in socal_hw_enque()
[all …]
Dsoc.c111 int token; in soc_solicited() local
124 token = xram_get_32low ((xram_p)&hwrsp->shdr.token); in soc_solicited()
126 fc = (fc_channel *)(&s->port[(token >> 11) & 1]); in soc_solicited()
129 fcp_receive_solicited(fc, token >> 12, in soc_solicited()
130 token & ((1 << 11) - 1), in soc_solicited()
138 fcp_receive_solicited(fc, token >> 12, in soc_solicited()
139 token & ((1 << 11) - 1), in soc_solicited()
353 #define TOKEN(proto, port, token) (((proto)<<12)|(token)|(port)) argument
392 request->shdr.token = TOKEN(TYPE_SCSI_FCP, port->mask, fcmd->token); in soc_hw_enque()
393 request->data[0].base = fc->dma_scsi_cmd + fcmd->token * sizeof(fcp_cmd); in soc_hw_enque()
[all …]
Dfc.c178 fcmd->token += l->count; in fcp_login_done()
389 static inline void fcp_scsi_receive(fc_channel *fc, int token, int status, fc_hdr *fch) in fcp_scsi_receive() argument
398 fcmd = fc->cmd_slots[token]; in fcp_scsi_receive()
400 rsp = (fcp_rsp *) (fc->scsi_rsp_pool + fc->rsp_size * token); in fcp_scsi_receive()
416 fcp_cmd *cmd = fc->scsi_cmd_pool + token; in fcp_scsi_receive()
447 FCD(("Wrong FC status %d for token %d\n", status, token)) in fcp_scsi_receive()
462 clear_bit(token, fc->scsi_bitmap); in fcp_scsi_receive()
468 void fcp_receive_solicited(fc_channel *fc, int proto, int token, int status, fc_hdr *fch) in fcp_receive_solicited() argument
471 FCD(("receive_solicited %d %d %d\n", proto, token, status)) in fcp_receive_solicited()
474 fcp_scsi_receive(fc, token, status, fch); break; in fcp_receive_solicited()
[all …]
/linux-2.4.37.9/include/asm-ppc64/
Deeh.h34 #define IO_TOKEN_TO_ADDR(token) (((unsigned long)(token) & ~(0xfUL << REGION_SHIFT)) | \ argument
48 unsigned long eeh_check_failure(void *token, unsigned long val);
66 unsigned long eeh_token_to_phys(unsigned long token);

123