Searched refs:self (Results 1 - 25 of 35) sorted by relevance

12

/net/irda/ircomm/
H A Dircomm_tty_attach.c47 static void ircomm_tty_ias_register(struct ircomm_tty_cb *self);
53 static void ircomm_tty_start_watchdog_timer(struct ircomm_tty_cb *self,
57 static int ircomm_tty_state_idle(struct ircomm_tty_cb *self,
61 static int ircomm_tty_state_search(struct ircomm_tty_cb *self,
65 static int ircomm_tty_state_query_parameters(struct ircomm_tty_cb *self,
69 static int ircomm_tty_state_query_lsap_sel(struct ircomm_tty_cb *self,
73 static int ircomm_tty_state_setup(struct ircomm_tty_cb *self,
77 static int ircomm_tty_state_ready(struct ircomm_tty_cb *self,
111 static int (*state[])(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event,
129 int ircomm_tty_attach_cable(struct ircomm_tty_cb *self) argument
164 ircomm_tty_detach_cable(struct ircomm_tty_cb *self) argument
210 ircomm_tty_ias_register(struct ircomm_tty_cb *self) argument
267 ircomm_tty_ias_unregister(struct ircomm_tty_cb *self) argument
304 ircomm_tty_send_initial_parameters(struct ircomm_tty_cb *self) argument
367 struct ircomm_tty_cb *self; local
404 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
437 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) priv; local
498 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
528 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
558 ircomm_tty_link_established(struct ircomm_tty_cb *self) argument
604 ircomm_tty_start_watchdog_timer(struct ircomm_tty_cb *self, int timeout) argument
622 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) data; local
639 ircomm_tty_do_event(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info) argument
657 ircomm_tty_next_state(struct ircomm_tty_cb *self, IRCOMM_TTY_STATE state) argument
675 ircomm_tty_state_idle(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info) argument
739 ircomm_tty_state_search(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info) argument
812 ircomm_tty_state_query_parameters(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info) argument
870 ircomm_tty_state_query_lsap_sel(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info) argument
919 ircomm_tty_state_setup(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info) argument
973 ircomm_tty_state_ready(struct ircomm_tty_cb *self, IRCOMM_TTY_EVENT event, struct sk_buff *skb, struct ircomm_tty_info *info) argument
[all...]
H A Dircomm_event.c41 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event,
43 static int ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event,
45 static int ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event,
47 static int ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event,
78 static int (*state[])(struct ircomm_cb *self, IRCOMM_EVENT event,
88 * Function ircomm_state_idle (self, event, skb)
93 static int ircomm_state_idle(struct ircomm_cb *self, IRCOMM_EVENT event, argument
100 ircomm_next_state(self, IRCOMM_WAITI);
101 ret = self->issue.connect_request(self, sk
122 ircomm_state_waiti(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
152 ircomm_state_waitr(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
185 ircomm_state_conn(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
227 ircomm_do_event(struct ircomm_cb *self, IRCOMM_EVENT event, struct sk_buff *skb, struct ircomm_info *info) argument
242 ircomm_next_state(struct ircomm_cb *self, IRCOMM_STATE state) argument
[all...]
H A Dircomm_tty.c68 static void ircomm_tty_shutdown(struct ircomm_tty_cb *self);
110 struct ircomm_tty_cb *self = container_of(port, struct ircomm_tty_cb, local
118 self->settings.dte |= IRCOMM_RTS | IRCOMM_DTR;
120 self->settings.dte &= ~(IRCOMM_RTS | IRCOMM_DTR);
122 ircomm_param_request(self, IRCOMM_DTE, TRUE);
127 struct ircomm_tty_cb *self = container_of(port, struct ircomm_tty_cb, local
129 return self->settings.dce & IRCOMM_CD;
174 static void __exit __ircomm_tty_cleanup(struct ircomm_tty_cb *self) argument
178 IRDA_ASSERT(self != NULL, return;);
179 IRDA_ASSERT(self
217 ircomm_tty_startup(struct ircomm_tty_cb *self) argument
275 ircomm_tty_block_til_ready(struct ircomm_tty_cb *self, struct tty_struct *tty, struct file *filp) argument
384 struct ircomm_tty_cb *self; local
439 struct ircomm_tty_cb *self = tty->driver_data; local
521 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
548 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
569 struct ircomm_tty_cb *self = local
635 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
767 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
807 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
844 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
875 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
905 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
922 ircomm_tty_shutdown(struct ircomm_tty_cb *self) argument
969 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
1013 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
1026 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
1041 ircomm_tty_check_modem_status(struct ircomm_tty_cb *self) argument
1109 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
1161 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
1190 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
1220 ircomm_tty_line_info(struct ircomm_tty_cb *self, struct seq_file *m) argument
1359 struct ircomm_tty_cb *self; local
[all...]
H A Dircomm_core.c49 static int __ircomm_close(struct ircomm_cb *self);
50 static void ircomm_control_indication(struct ircomm_cb *self,
110 struct ircomm_cb *self = NULL; local
118 self = kzalloc(sizeof(struct ircomm_cb), GFP_KERNEL);
119 if (self == NULL)
122 self->notify = *notify;
123 self->magic = IRCOMM_MAGIC;
127 self->flow_status = FLOW_START;
128 ret = ircomm_open_lsap(self);
130 ret = ircomm_open_tsap(self);
155 __ircomm_close(struct ircomm_cb *self) argument
186 ircomm_close(struct ircomm_cb *self) argument
211 ircomm_connect_request(struct ircomm_cb *self, __u8 dlsap_sel, __u32 saddr, __u32 daddr, struct sk_buff *skb, __u8 service_type) argument
242 ircomm_connect_indication(struct ircomm_cb *self, struct sk_buff *skb, struct ircomm_info *info) argument
267 ircomm_connect_response(struct ircomm_cb *self, struct sk_buff *userdata) argument
289 ircomm_connect_confirm(struct ircomm_cb *self, struct sk_buff *skb, struct ircomm_info *info) argument
310 ircomm_data_request(struct ircomm_cb *self, struct sk_buff *skb) argument
333 ircomm_data_indication(struct ircomm_cb *self, struct sk_buff *skb) argument
352 ircomm_process_data(struct ircomm_cb *self, struct sk_buff *skb) argument
397 ircomm_control_request(struct ircomm_cb *self, struct sk_buff *skb) argument
420 ircomm_control_indication(struct ircomm_cb *self, struct sk_buff *skb, int clen) argument
454 ircomm_disconnect_request(struct ircomm_cb *self, struct sk_buff *userdata) argument
477 ircomm_disconnect_indication(struct ircomm_cb *self, struct sk_buff *skb, struct ircomm_info *info) argument
498 ircomm_flow_request(struct ircomm_cb *self, LOCAL_FLOW flow) argument
516 struct ircomm_cb *self; local
545 const struct ircomm_cb *self = v; local
[all...]
H A Dircomm_lmp.c44 * Function ircomm_lmp_connect_request (self, userdata)
49 static int ircomm_lmp_connect_request(struct ircomm_cb *self, argument
61 ret = irlmp_connect_request(self->lsap, info->dlsap_sel,
67 * Function ircomm_lmp_connect_response (self, skb)
72 static int ircomm_lmp_connect_response(struct ircomm_cb *self, argument
100 return irlmp_connect_response(self->lsap, tx_skb);
103 static int ircomm_lmp_disconnect_request(struct ircomm_cb *self, argument
125 ret = irlmp_disconnect_request(self->lsap, userdata);
140 struct ircomm_cb *self; local
151 self
177 ircomm_lmp_data_request(struct ircomm_cb *self, struct sk_buff *skb, int not_used) argument
223 struct ircomm_cb *self = (struct ircomm_cb *) instance; local
252 struct ircomm_cb *self = (struct ircomm_cb *) instance; local
285 struct ircomm_cb *self = (struct ircomm_cb *)instance; local
315 struct ircomm_cb *self = (struct ircomm_cb *) instance; local
337 ircomm_open_lsap(struct ircomm_cb *self) argument
[all...]
H A Dircomm_param.c93 * Function ircomm_param_request (self, pi, flush)
98 int ircomm_param_request(struct ircomm_tty_cb *self, __u8 pi, int flush) argument
106 IRDA_ASSERT(self != NULL, return -1;);
107 IRDA_ASSERT(self->magic == IRCOMM_TTY_MAGIC, return -1;);
110 if (self->service_type == IRCOMM_3_WIRE_RAW)
113 spin_lock_irqsave(&self->spinlock, flags);
115 skb = self->ctrl_skb;
119 spin_unlock_irqrestore(&self->spinlock, flags);
123 skb_reserve(skb, self->max_header_size);
124 self
161 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
227 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
251 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
274 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
298 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
320 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
343 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
370 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
411 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
456 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
488 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) instance; local
[all...]
H A Dircomm_ttp.c57 static int ircomm_ttp_data_request(struct ircomm_cb *self,
60 static int ircomm_ttp_connect_request(struct ircomm_cb *self,
63 static int ircomm_ttp_connect_response(struct ircomm_cb *self,
65 static int ircomm_ttp_disconnect_request(struct ircomm_cb *self,
70 * Function ircomm_open_tsap (self)
75 int ircomm_open_tsap(struct ircomm_cb *self) argument
88 notify.instance = self;
91 self->tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT,
93 if (!self->tsap) {
97 self
116 ircomm_ttp_connect_request(struct ircomm_cb *self, struct sk_buff *userdata, struct ircomm_info *info) argument
141 ircomm_ttp_connect_response(struct ircomm_cb *self, struct sk_buff *userdata) argument
166 ircomm_ttp_data_request(struct ircomm_cb *self, struct sk_buff *skb, int clen) argument
207 struct ircomm_cb *self = (struct ircomm_cb *) instance; local
229 struct ircomm_cb *self = (struct ircomm_cb *) instance; local
270 struct ircomm_cb *self = (struct ircomm_cb *)instance; local
304 ircomm_ttp_disconnect_request(struct ircomm_cb *self, struct sk_buff *userdata, struct ircomm_info *info) argument
329 struct ircomm_cb *self = (struct ircomm_cb *) instance; local
355 struct ircomm_cb *self = (struct ircomm_cb *) instance; local
[all...]
H A Dircomm_tty_ioctl.c53 static void ircomm_tty_change_speed(struct ircomm_tty_cb *self, argument
61 if (!self->ircomm)
87 self->settings.data_rate = baud;
88 ircomm_param_request(self, IRCOMM_DATA_RATE, FALSE);
92 self->port.flags |= ASYNC_CTS_FLOW;
93 self->settings.flow_control |= IRCOMM_RTS_CTS_IN;
95 if (self->service_type == IRCOMM_3_WIRE_RAW)
98 self->port.flags &= ~ASYNC_CTS_FLOW;
99 self->settings.flow_control &= ~IRCOMM_RTS_CTS_IN;
102 self
149 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
198 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
224 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
260 ircomm_tty_get_serial_info(struct ircomm_tty_cb *self, struct serial_struct __user *retinfo) argument
297 ircomm_tty_set_serial_info(struct ircomm_tty_cb *self, struct serial_struct __user *new_info) argument
375 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; local
[all...]
/net/irda/
H A Dirlap_event.c50 static int irlap_state_ndm (struct irlap_cb *self, IRLAP_EVENT event,
52 static int irlap_state_query (struct irlap_cb *self, IRLAP_EVENT event,
54 static int irlap_state_reply (struct irlap_cb *self, IRLAP_EVENT event,
56 static int irlap_state_conn (struct irlap_cb *self, IRLAP_EVENT event,
58 static int irlap_state_setup (struct irlap_cb *self, IRLAP_EVENT event,
60 static int irlap_state_offline(struct irlap_cb *self, IRLAP_EVENT event,
62 static int irlap_state_xmit_p (struct irlap_cb *self, IRLAP_EVENT event,
64 static int irlap_state_pclose (struct irlap_cb *self, IRLAP_EVENT event,
66 static int irlap_state_nrm_p (struct irlap_cb *self, IRLAP_EVENT event,
68 static int irlap_state_reset_wait(struct irlap_cb *self, IRLAP_EVEN
170 struct irlap_cb *self = (struct irlap_cb *) data; local
184 irlap_start_poll_timer(struct irlap_cb *self, int timeout) argument
237 irlap_do_event(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
326 irlap_state_ndm(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
558 irlap_state_query(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
669 irlap_state_reply(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
737 irlap_state_conn(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
831 irlap_state_setup(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
967 irlap_state_offline(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
983 irlap_state_xmit_p(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
1137 irlap_state_pclose(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
1194 irlap_state_nrm_p(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
1608 irlap_state_reset_wait(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
1655 irlap_state_reset(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
1748 irlap_state_xmit_s(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
1868 irlap_state_nrm_s(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
2227 irlap_state_sclose(struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
2296 irlap_state_reset_check( struct irlap_cb *self, IRLAP_EVENT event, struct sk_buff *skb, struct irlap_info *info) argument
[all...]
H A Dtimer.c44 void irlap_start_slot_timer(struct irlap_cb *self, int timeout) argument
46 irda_start_timer(&self->slot_timer, timeout, (void *) self,
50 void irlap_start_query_timer(struct irlap_cb *self, int S, int s) argument
69 irda_start_timer( &self->query_timer, timeout, (void *) self,
73 void irlap_start_final_timer(struct irlap_cb *self, int timeout) argument
75 irda_start_timer(&self->final_timer, timeout, (void *) self,
79 void irlap_start_wd_timer(struct irlap_cb *self, in argument
85 irlap_start_backoff_timer(struct irlap_cb *self, int timeout) argument
91 irlap_start_mbusy_timer(struct irlap_cb *self, int timeout) argument
97 irlap_stop_mbusy_timer(struct irlap_cb *self) argument
111 irlmp_start_watchdog_timer(struct lsap_cb *self, int timeout) argument
117 irlmp_start_discovery_timer(struct irlmp_cb *self, int timeout) argument
123 irlmp_start_idle_timer(struct lap_cb *self, int timeout) argument
129 irlmp_stop_idle_timer(struct lap_cb *self) argument
143 struct irlap_cb *self = (struct irlap_cb *) data; local
159 struct irlap_cb *self = (struct irlap_cb *) data; local
175 struct irlap_cb *self = (struct irlap_cb *) data; local
191 struct irlap_cb *self = (struct irlap_cb *) data; local
207 struct irlap_cb *self = (struct irlap_cb *) data; local
223 struct irlap_cb *self = (struct irlap_cb *) data; local
[all...]
H A Dirlap.c58 extern void irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb);
59 static void __irlap_close(struct irlap_cb *self);
60 static void irlap_init_qos_capabilities(struct irlap_cb *self,
112 struct irlap_cb *self; local
117 self = kzalloc(sizeof(struct irlap_cb), GFP_KERNEL);
118 if (self == NULL)
121 self->magic = LAP_MAGIC;
124 self->netdev = dev;
125 self->qos_dev = qos;
128 strlcpy(self
184 __irlap_close(struct irlap_cb *self) argument
212 irlap_close(struct irlap_cb *self) argument
245 irlap_connect_indication(struct irlap_cb *self, struct sk_buff *skb) argument
264 irlap_connect_response(struct irlap_cb *self, struct sk_buff *userdata) argument
278 irlap_connect_request(struct irlap_cb *self, __u32 daddr, struct qos_info *qos_user, int sniff) argument
306 irlap_connect_confirm(struct irlap_cb *self, struct sk_buff *skb) argument
323 irlap_data_indication(struct irlap_cb *self, struct sk_buff *skb, int unreliable) argument
339 irlap_data_request(struct irlap_cb *self, struct sk_buff *skb, int unreliable) argument
387 irlap_unitdata_request(struct irlap_cb *self, struct sk_buff *skb) argument
416 irlap_unitdata_indication(struct irlap_cb *self, struct sk_buff *skb) argument
436 irlap_disconnect_request(struct irlap_cb *self) argument
471 irlap_disconnect_indication(struct irlap_cb *self, LAP_REASON reason) argument
504 irlap_discovery_request(struct irlap_cb *self, discovery_t *discovery) argument
566 irlap_discovery_confirm(struct irlap_cb *self, hashbin_t *discovery_log) argument
597 irlap_discovery_indication(struct irlap_cb *self, discovery_t *discovery) argument
624 irlap_status_indication(struct irlap_cb *self, int quality_of_link) argument
643 irlap_reset_indication(struct irlap_cb *self) argument
696 irlap_update_nr_received(struct irlap_cb *self, int nr) argument
738 irlap_validate_ns_received(struct irlap_cb *self, int ns) argument
757 irlap_validate_nr_received(struct irlap_cb *self, int nr) argument
787 irlap_initiate_connection_state(struct irlap_cb *self) argument
814 irlap_wait_min_turn_around(struct irlap_cb *self, struct qos_info *qos) argument
843 irlap_flush_all_queues(struct irlap_cb *self) argument
868 irlap_change_speed(struct irlap_cb *self, __u32 speed, int now) argument
896 irlap_init_qos_capabilities(struct irlap_cb *self, struct qos_info *qos_user) argument
943 irlap_apply_default_connection_parameters(struct irlap_cb *self) argument
1006 irlap_apply_connection_parameters(struct irlap_cb *self, int now) argument
1104 struct irlap_cb *self; local
1137 const struct irlap_cb *self = v; local
[all...]
H A Diriap_event.c34 static void state_s_disconnect (struct iriap_cb *self, IRIAP_EVENT event,
36 static void state_s_connecting (struct iriap_cb *self, IRIAP_EVENT event,
38 static void state_s_call (struct iriap_cb *self, IRIAP_EVENT event,
41 static void state_s_make_call (struct iriap_cb *self, IRIAP_EVENT event,
43 static void state_s_calling (struct iriap_cb *self, IRIAP_EVENT event,
45 static void state_s_outstanding (struct iriap_cb *self, IRIAP_EVENT event,
47 static void state_s_replying (struct iriap_cb *self, IRIAP_EVENT event,
49 static void state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event,
51 static void state_s_wait_active (struct iriap_cb *self, IRIAP_EVENT event,
54 static void state_r_disconnect (struct iriap_cb *self, IRIAP_EVEN
96 iriap_next_client_state(struct iriap_cb *self, IRIAP_STATE state) argument
104 iriap_next_call_state(struct iriap_cb *self, IRIAP_STATE state) argument
112 iriap_next_server_state(struct iriap_cb *self, IRIAP_STATE state) argument
120 iriap_next_r_connect_state(struct iriap_cb *self, IRIAP_STATE state) argument
128 iriap_do_client_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
137 iriap_do_call_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
146 iriap_do_server_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
155 iriap_do_r_connect_event(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
171 state_s_disconnect(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
201 state_s_connecting(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
234 state_s_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
257 state_s_make_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
285 state_s_calling(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
297 state_s_outstanding(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
320 state_s_replying(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
332 state_s_wait_for_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
345 state_s_wait_active(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
363 state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
399 state_r_call(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
423 state_r_waiting(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
429 state_r_wait_active(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
441 state_r_receiving(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
464 state_r_execute(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
493 state_r_returning(struct iriap_cb *self, IRIAP_EVENT event, struct sk_buff *skb) argument
[all...]
H A Dirttp.c45 static void __irttp_close_tsap(struct tsap_cb *self);
59 static void irttp_run_tx_queue(struct tsap_cb *self);
60 static void irttp_run_rx_queue(struct tsap_cb *self);
62 static void irttp_flush_queues(struct tsap_cb *self);
63 static void irttp_fragment_skb(struct tsap_cb *self, struct sk_buff *skb);
64 static struct sk_buff *irttp_reassemble_skb(struct tsap_cb *self);
135 * Function irttp_start_todo_timer (self, timeout)
141 static inline void irttp_start_todo_timer(struct tsap_cb *self, int timeout) argument
144 mod_timer(&self->todo_timer, jiffies + timeout);
163 struct tsap_cb *self local
206 irttp_flush_queues(struct tsap_cb *self) argument
235 irttp_reassemble_skb(struct tsap_cb *self) argument
292 irttp_fragment_skb(struct tsap_cb *self, struct sk_buff *skb) argument
352 struct tsap_cb *self; local
394 struct tsap_cb *self; local
477 __irttp_close_tsap(struct tsap_cb *self) argument
508 irttp_close_tsap(struct tsap_cb *self) argument
553 irttp_udata_request(struct tsap_cb *self, struct sk_buff *skb) argument
600 irttp_data_request(struct tsap_cb *self, struct sk_buff *skb) argument
716 irttp_run_tx_queue(struct tsap_cb *self) argument
820 irttp_give_credit(struct tsap_cb *self) argument
876 struct tsap_cb *self; local
912 struct tsap_cb *self; local
994 struct tsap_cb *self; local
1025 struct tsap_cb *self; local
1068 irttp_flow_request(struct tsap_cb *self, LOCAL_FLOW flow) argument
1101 irttp_connect_request(struct tsap_cb *self, __u8 dtsap_sel, __u32 saddr, __u32 daddr, struct qos_info *qos, __u32 max_sdu_size, struct sk_buff *userdata) argument
1202 struct tsap_cb *self; local
1287 struct tsap_cb *self; local
1356 irttp_connect_response(struct tsap_cb *self, __u32 max_sdu_size, struct sk_buff *userdata) argument
1501 irttp_disconnect_request(struct tsap_cb *self, struct sk_buff *userdata, int priority) argument
1598 struct tsap_cb *self; local
1642 irttp_do_data_indication(struct tsap_cb *self, struct sk_buff *skb) argument
1680 irttp_run_rx_queue(struct tsap_cb *self) argument
1817 struct tsap_cb *self; local
1851 const struct tsap_cb *self = v; local
[all...]
H A Dirlmp_event.c119 static inline void irlmp_next_lap_state(struct lap_cb *self, argument
125 self->lap_state = state;
128 static inline void irlmp_next_lsap_state(struct lsap_cb *self, argument
132 IRDA_ASSERT(self != NULL, return;);
135 self->lsap_state = state;
139 int irlmp_do_lsap_event(struct lsap_cb *self, IRLMP_EVENT event, argument
142 IRDA_ASSERT(self != NULL, return -1;);
143 IRDA_ASSERT(self->magic == LMP_LSAP_MAGIC, return -1;);
146 __func__, irlmp_event[event], irlsap_state[ self->lsap_state]);
148 return (*lsap_state[self
157 irlmp_do_lap_event(struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
185 struct lsap_cb *self = (struct lsap_cb *) data; local
197 struct lap_cb *self = (struct lap_cb *) data; local
256 irlmp_state_standby(struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
306 irlmp_state_u_connect(struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
381 irlmp_state_active(struct lap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
488 irlmp_state_disconnected(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
567 irlmp_state_connect(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
629 irlmp_state_connect_pend(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
695 irlmp_state_dtr(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
787 irlmp_state_setup(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
859 irlmp_state_setup_pend(struct lsap_cb *self, IRLMP_EVENT event, struct sk_buff *skb) argument
[all...]
H A Dirlap_frame.c47 static void irlap_send_i_frame(struct irlap_cb *self, struct sk_buff *skb,
51 * Function irlap_insert_info (self, skb)
57 static inline void irlap_insert_info(struct irlap_cb *self, argument
67 cb->mtt = self->mtt_required;
68 cb->next_speed = self->speed;
71 self->mtt_required = 0;
77 cb->xbofs = self->bofs_count;
78 cb->next_xbofs = self->next_bofs;
79 cb->xbofs_delay = self->xbofs_delay;
82 self
93 irlap_queue_xmit(struct irlap_cb *self, struct sk_buff *skb) argument
120 irlap_send_snrm_frame(struct irlap_cb *self, struct qos_info *qos) argument
172 irlap_recv_snrm_cmd(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
213 irlap_send_ua_response_frame(struct irlap_cb *self, struct qos_info *qos) argument
259 irlap_send_dm_frame( struct irlap_cb *self) argument
289 irlap_send_disc_frame(struct irlap_cb *self) argument
317 irlap_send_discovery_xid_frame(struct irlap_cb *self, int S, __u8 s, __u8 command, discovery_t *discovery) argument
409 irlap_recv_discovery_xid_rsp(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
485 irlap_recv_discovery_xid_cmd(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
588 irlap_send_rr_frame(struct irlap_cb *self, int command) argument
613 irlap_send_rd_frame(struct irlap_cb *self) argument
637 irlap_recv_rr_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
656 irlap_recv_rnr_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
669 irlap_recv_rej_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
683 irlap_recv_srej_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
697 irlap_recv_disc_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
715 irlap_recv_ua_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
728 irlap_send_data_primary(struct irlap_cb *self, struct sk_buff *skb) argument
769 irlap_send_data_primary_poll(struct irlap_cb *self, struct sk_buff *skb) argument
877 irlap_send_data_secondary_final(struct irlap_cb *self, struct sk_buff *skb) argument
939 irlap_send_data_secondary(struct irlap_cb *self, struct sk_buff *skb) argument
982 irlap_resend_rejected_frames(struct irlap_cb *self, int command) argument
1044 irlap_resend_rejected_frame(struct irlap_cb *self, int command) argument
1083 irlap_send_ui_frame(struct irlap_cb *self, struct sk_buff *skb, __u8 caddr, int command) argument
1103 irlap_send_i_frame(struct irlap_cb *self, struct sk_buff *skb, int command) argument
1122 irlap_recv_i_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
1143 irlap_recv_ui_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
1159 irlap_recv_frmr_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info) argument
1214 irlap_send_test_frame(struct irlap_cb *self, __u8 caddr, __u32 daddr, struct sk_buff *cmd) argument
1254 irlap_recv_test_frame(struct irlap_cb *self, struct sk_buff *skb, struct irlap_info *info, int command) argument
1312 struct irlap_cb *self; local
[all...]
H A Daf_irda.c83 struct irda_sock *self; local
89 self = instance;
95 self->rx_flow = FLOW_STOP;
113 struct irda_sock *self; local
116 self = instance;
118 IRDA_DEBUG(2, "%s(%p)\n", __func__, self);
127 __func__, self);
152 if (self->tsap) {
153 irttp_close_tsap(self->tsap);
154 self
178 struct irda_sock *self; local
242 struct irda_sock *self; local
300 irda_connect_response(struct irda_sock *self) argument
327 struct irda_sock *self; local
367 struct irda_sock *self; local
414 struct irda_sock *self; local
441 struct irda_sock *self; local
463 irda_open_tsap(struct irda_sock *self, __u8 tsap_sel, char *name) argument
503 irda_open_lsap(struct irda_sock *self, int pid) argument
539 irda_find_lsap_sel(struct irda_sock *self, char *name) argument
619 irda_discover_daddr_and_lsap_sel(struct irda_sock *self, char *name) argument
712 struct irda_sock *self = irda_sk(sk); local
779 struct irda_sock *self = irda_sk(sk); local
843 struct irda_sock *new, *self = irda_sk(sk); local
971 struct irda_sock *self = irda_sk(sk); local
1099 struct irda_sock *self; local
1182 irda_destroy_socket(struct irda_sock *self) argument
1285 struct irda_sock *self; local
1376 struct irda_sock *self = irda_sk(sk); local
1425 struct irda_sock *self = irda_sk(sk); local
1548 struct irda_sock *self; local
1628 struct irda_sock *self; local
1724 struct irda_sock *self = irda_sk(sk); local
1762 struct irda_sock *self = irda_sk(sk); local
1897 struct irda_sock *self = irda_sk(sk); local
2247 struct irda_sock *self = irda_sk(sk); local
[all...]
H A Diriap.c66 static void __iriap_close(struct iriap_cb *self);
67 static int iriap_register_lsap(struct iriap_cb *self, __u8 slsap_sel, int mode);
83 static inline void iriap_start_watchdog_timer(struct iriap_cb *self, argument
86 irda_start_timer(&self->watchdog_timer, timeout, self,
178 struct iriap_cb *self; local
182 self = kzalloc(sizeof(*self), GFP_ATOMIC);
183 if (!self) {
192 self
224 __iriap_close(struct iriap_cb *self) argument
246 iriap_close(struct iriap_cb *self) argument
267 iriap_register_lsap(struct iriap_cb *self, __u8 slsap_sel, int mode) argument
304 struct iriap_cb *self; local
346 iriap_disconnect_request(struct iriap_cb *self) argument
377 iriap_getvaluebyclass_request(struct iriap_cb *self, __u32 saddr, __u32 daddr, char *name, char *attr) argument
439 iriap_getvaluebyclass_confirm(struct iriap_cb *self, struct sk_buff *skb) argument
553 iriap_getvaluebyclass_response(struct iriap_cb *self, __u16 obj_id, __u8 ret_code, struct ias_value *value) argument
646 iriap_getvaluebyclass_indication(struct iriap_cb *self, struct sk_buff *skb) argument
712 iriap_send_ack(struct iriap_cb *self) argument
737 iriap_connect_request(struct iriap_cb *self) argument
764 struct iriap_cb *self; local
794 struct iriap_cb *self, *new; local
840 struct iriap_cb *self; local
933 iriap_call_indication(struct iriap_cb *self, struct sk_buff *skb) argument
974 struct iriap_cb *self = (struct iriap_cb *) data; local
[all...]
/net/irda/irlan/
H A Dirlan_client_event.c39 static int irlan_client_state_idle (struct irlan_cb *self, IRLAN_EVENT event,
41 static int irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event,
43 static int irlan_client_state_conn (struct irlan_cb *self, IRLAN_EVENT event,
45 static int irlan_client_state_info (struct irlan_cb *self, IRLAN_EVENT event,
47 static int irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event,
49 static int irlan_client_state_open (struct irlan_cb *self, IRLAN_EVENT event,
51 static int irlan_client_state_wait (struct irlan_cb *self, IRLAN_EVENT event,
53 static int irlan_client_state_arb (struct irlan_cb *self, IRLAN_EVENT event,
55 static int irlan_client_state_data (struct irlan_cb *self, IRLAN_EVENT event,
57 static int irlan_client_state_close(struct irlan_cb *self, IRLAN_EVEN
77 irlan_do_client_event(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
92 irlan_client_state_idle(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
136 irlan_client_state_query(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
189 irlan_client_state_conn(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
224 irlan_client_state_info(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
266 irlan_client_state_media(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
303 irlan_client_state_open(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
376 irlan_client_state_wait(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
405 irlan_client_state_arb(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
462 irlan_client_state_data(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
494 irlan_client_state_close(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
511 irlan_client_state_sync(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
[all...]
H A Dirlan_event.c41 void irlan_next_client_state(struct irlan_cb *self, IRLAN_STATE state) argument
45 IRDA_ASSERT(self != NULL, return;);
46 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;);
48 self->client.state = state;
51 void irlan_next_provider_state(struct irlan_cb *self, IRLAN_STATE state) argument
55 IRDA_ASSERT(self != NULL, return;);
56 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;);
58 self->provider.state = state;
H A Dirlan_provider_event.c33 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVENT event,
35 static int irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event,
37 static int irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event,
39 static int irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event,
42 static int (*state[])(struct irlan_cb *self, IRLAN_EVENT event,
58 void irlan_do_provider_event(struct irlan_cb *self, IRLAN_EVENT event, argument
61 IRDA_ASSERT(*state[ self->provider.state] != NULL, return;);
63 (*state[self->provider.state]) (self, event, skb);
72 static int irlan_provider_state_idle(struct irlan_cb *self, IRLAN_EVEN argument
99 irlan_provider_state_info(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
166 irlan_provider_state_open(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
205 irlan_provider_state_data(struct irlan_cb *self, IRLAN_EVENT event, struct sk_buff *skb) argument
[all...]
H A Dirlan_client.c67 static void irlan_check_response_param(struct irlan_cb *self, char *param,
69 static void irlan_client_open_ctrl_tsap(struct irlan_cb *self);
73 struct irlan_cb *self = (struct irlan_cb *) data; local
77 IRDA_ASSERT(self != NULL, return;);
78 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;);
85 if ((self->provider.access_type == ACCESS_PEER) &&
86 (self->client.state == IRLAN_IDLE) &&
87 (self->provider.state != IRLAN_IDLE)) {
88 irlan_client_wakeup(self, self
92 irlan_client_start_kick_timer(struct irlan_cb *self, int timeout) argument
106 irlan_client_wakeup(struct irlan_cb *self, __u32 saddr, __u32 daddr) argument
153 struct irlan_cb *self; local
196 struct irlan_cb *self; local
222 struct irlan_cb *self; local
253 irlan_client_open_ctrl_tsap(struct irlan_cb *self) argument
296 struct irlan_cb *self; local
364 irlan_client_parse_response(struct irlan_cb *self, struct sk_buff *skb) argument
433 irlan_check_response_param(struct irlan_cb *self, char *param, char *value, int val_len) argument
538 struct irlan_cb *self; local
[all...]
H A Dirlan_common.c102 static void __irlan_close(struct irlan_cb *self);
106 static void irlan_open_unicast_addr(struct irlan_cb *self);
107 static void irlan_get_unicast_addr(struct irlan_cb *self);
108 void irlan_close_tsaps(struct irlan_cb *self);
174 struct irlan_cb *self, *next; local
187 list_for_each_entry_safe(self, next, &irlans, dev_list) {
188 __irlan_close(self);
202 struct irlan_cb *self; local
211 self = netdev_priv(dev);
212 self
267 __irlan_close(struct irlan_cb *self) argument
294 struct irlan_cb *self; local
314 struct irlan_cb *self; local
361 struct irlan_cb *self; local
403 struct irlan_cb *self; local
457 irlan_open_data_tsap(struct irlan_cb *self) argument
496 irlan_close_tsaps(struct irlan_cb *self) argument
530 irlan_ias_register(struct irlan_cb *self, __u8 tsap_sel) argument
584 irlan_run_ctrl_tx_queue(struct irlan_cb *self) argument
618 irlan_ctrl_data_request(struct irlan_cb *self, struct sk_buff *skb) argument
635 irlan_get_provider_info(struct irlan_cb *self) argument
668 irlan_open_data_channel(struct irlan_cb *self) argument
703 irlan_close_data_channel(struct irlan_cb *self) argument
744 irlan_open_unicast_addr(struct irlan_cb *self) argument
786 irlan_set_broadcast_filter(struct irlan_cb *self, int status) argument
830 irlan_set_multicast_filter(struct irlan_cb *self, int status) argument
875 irlan_get_unicast_addr(struct irlan_cb *self) argument
915 irlan_get_media_char(struct irlan_cb *self) argument
1155 struct irlan_cb *self = list_entry(v, struct irlan_cb, dev_list); local
[all...]
H A Dirlan_filter.c33 * Function irlan_filter_request (self, skb)
38 void irlan_filter_request(struct irlan_cb *self, struct sk_buff *skb) argument
40 IRDA_ASSERT(self != NULL, return;);
41 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return;);
43 if ((self->provider.filter_type == IRLAN_DIRECTED) &&
44 (self->provider.filter_operation == DYNAMIC))
47 self->provider.mac_address[0] = 0x40;
48 self->provider.mac_address[1] = 0x00;
49 self->provider.mac_address[2] = 0x00;
50 self
144 irlan_check_command_param(struct irlan_cb *self, char *param, char *value) argument
[all...]
H A Dirlan_provider.c70 struct irlan_cb *self; local
75 self = instance;
77 IRDA_ASSERT(self != NULL, return -1;);
78 IRDA_ASSERT(self->magic == IRLAN_MAGIC, return -1;);
86 irlan_do_provider_event(self, IRLAN_GET_INFO_CMD, skb);
91 irlan_do_provider_event(self, IRLAN_GET_MEDIA_CMD, skb);
95 irlan_do_provider_event(self, IRLAN_OPEN_DATA_CMD, skb);
99 irlan_do_provider_event(self, IRLAN_FILTER_CONFIG_CMD, skb);
128 struct irlan_cb *self; local
133 self
165 irlan_provider_connect_response(struct irlan_cb *self, struct tsap_cb *tsap) argument
179 struct irlan_cb *self; local
203 irlan_parse_open_data_cmd(struct irlan_cb *self, struct sk_buff *skb) argument
222 irlan_provider_parse_command(struct irlan_cb *self, int cmd, struct sk_buff *skb) argument
286 irlan_provider_send_reply(struct irlan_cb *self, int command, int ret_code) argument
380 irlan_provider_open_ctrl_tsap(struct irlan_cb *self) argument
[all...]
/net/irda/irnet/
H A Dirnet_irda.c23 irnet_socket * self = local
26 if (self == NULL)
32 if (self->ppp_open && !self->ttp_open && !self->ttp_connect) {
33 ppp_unregister_channel(&self->chan);
34 self->ppp_open = 0;
110 * because our input structure (self) is quite different
117 * Function irda_open_tsap (self)
124 irnet_open_tsap(irnet_socket * self) argument
173 irnet_ias_to_tsap(irnet_socket * self, int result, struct ias_value * value) argument
257 irnet_find_lsap_sel(irnet_socket * self) argument
292 irnet_connect_tsap(irnet_socket * self) argument
336 irnet_discover_next_daddr(irnet_socket * self) argument
395 irnet_discover_daddr_and_lsap_sel(irnet_socket * self) argument
451 irnet_dname_to_daddr(irnet_socket * self) argument
503 irda_irnet_create(irnet_socket * self) argument
547 irda_irnet_connect(irnet_socket * self) argument
616 irda_irnet_destroy(irnet_socket * self) argument
702 irnet_daddr_to_dname(irnet_socket * self) argument
749 irnet_find_socket(irnet_socket * self) argument
907 irnet_disconnect_server(irnet_socket * self, struct sk_buff *skb) argument
1107 irnet_socket * self = (irnet_socket *) instance; local
1192 irnet_socket * self = (irnet_socket *) instance; local
1257 irnet_socket * self = (irnet_socket *) instance; local
1299 irnet_socket * self = (irnet_socket *) instance; local
1487 irnet_socket * self = (irnet_socket *) priv; local
1550 irnet_socket * self = (irnet_socket *) priv; local
1664 irnet_socket * self = &irnet_server.s; local
1695 irnet_socket * self = &irnet_server.s; local
1724 irnet_socket * self; local
[all...]

Completed in 397 milliseconds

12