Home
last modified time | relevance | path

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

123

/linux-2.4.37.9/net/irda/ircomm/
Dircomm_lmp.c50 notify_t notify; in ircomm_open_lsap() local
55 irda_notify_init(&notify); in ircomm_open_lsap()
56 notify.data_indication = ircomm_lmp_data_indication; in ircomm_open_lsap()
57 notify.connect_confirm = ircomm_lmp_connect_confirm; in ircomm_open_lsap()
58 notify.connect_indication = ircomm_lmp_connect_indication; in ircomm_open_lsap()
59 notify.disconnect_indication = ircomm_lmp_disconnect_indication; in ircomm_open_lsap()
60 notify.instance = self; in ircomm_open_lsap()
61 strncpy(notify.name, "IrCOMM", NOTIFY_MAX_NAME); in ircomm_open_lsap()
63 self->lsap = irlmp_open_lsap(LSAP_ANY, &notify, 0); in ircomm_open_lsap()
193 if (self->notify.flow_indication) in ircomm_lmp_flow_control()
[all …]
Dircomm_ttp.c50 notify_t notify; in ircomm_open_tsap() local
55 irda_notify_init(&notify); in ircomm_open_tsap()
56 notify.data_indication = ircomm_ttp_data_indication; in ircomm_open_tsap()
57 notify.connect_confirm = ircomm_ttp_connect_confirm; in ircomm_open_tsap()
58 notify.connect_indication = ircomm_ttp_connect_indication; in ircomm_open_tsap()
59 notify.flow_indication = ircomm_ttp_flow_indication; in ircomm_open_tsap()
60 notify.disconnect_indication = ircomm_ttp_disconnect_indication; in ircomm_open_tsap()
61 notify.instance = self; in ircomm_open_tsap()
62 strncpy(notify.name, "IrCOMM", NOTIFY_MAX_NAME); in ircomm_open_tsap()
65 &notify); in ircomm_open_tsap()
[all …]
Dircomm_core.c98 struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line) in ircomm_open() argument
114 self->notify = *notify; in ircomm_open()
244 if (self->notify.connect_indication) in ircomm_connect_indication()
245 self->notify.connect_indication(self->notify.instance, self, in ircomm_connect_indication()
285 if (self->notify.connect_confirm ) in ircomm_connect_confirm()
286 self->notify.connect_confirm(self->notify.instance, in ircomm_connect_confirm()
329 if (self->notify.data_indication) in ircomm_data_indication()
330 self->notify.data_indication(self->notify.instance, self, skb); in ircomm_data_indication()
412 if (self->notify.udata_indication) in ircomm_control_indication()
413 self->notify.udata_indication(self->notify.instance, self, in ircomm_control_indication()
[all …]
Dircomm_tty.c189 notify_t notify; in ircomm_tty_startup() local
204 irda_notify_init(&notify); in ircomm_tty_startup()
206 notify.data_indication = ircomm_tty_data_indication; in ircomm_tty_startup()
207 notify.udata_indication = ircomm_tty_control_indication; in ircomm_tty_startup()
208 notify.flow_indication = ircomm_tty_flow_indication; in ircomm_tty_startup()
211 notify.disconnect_indication = ircomm_tty_disconnect_indication; in ircomm_tty_startup()
212 notify.connect_confirm = ircomm_tty_connect_confirm; in ircomm_tty_startup()
213 notify.connect_indication = ircomm_tty_connect_indication; in ircomm_tty_startup()
214 strncpy(notify.name, "ircomm_tty", NOTIFY_MAX_NAME); in ircomm_tty_startup()
215 notify.instance = self; in ircomm_tty_startup()
[all …]
/linux-2.4.37.9/net/irda/
Dirsyms.c231 void irda_notify_init(notify_t *notify) in irda_notify_init() argument
233 notify->data_indication = NULL; in irda_notify_init()
234 notify->udata_indication = NULL; in irda_notify_init()
235 notify->connect_confirm = NULL; in irda_notify_init()
236 notify->connect_indication = NULL; in irda_notify_init()
237 notify->disconnect_indication = NULL; in irda_notify_init()
238 notify->flow_indication = NULL; in irda_notify_init()
239 notify->status_indication = NULL; in irda_notify_init()
240 notify->instance = NULL; in irda_notify_init()
241 strncpy(notify->name, "Unknown", NOTIFY_MAX_NAME); in irda_notify_init()
Dirlmp.c139 struct lsap_cb *irlmp_open_lsap(__u8 slsap_sel, notify_t *notify, __u8 pid) in irlmp_open_lsap() argument
143 ASSERT(notify != NULL, return NULL;); in irlmp_open_lsap()
178 ASSERT(notify->instance != NULL, return NULL;); in irlmp_open_lsap()
179 self->notify = *notify; in irlmp_open_lsap()
271 void irlmp_register_link(struct irlap_cb *irlap, __u32 saddr, notify_t *notify) in irlmp_register_link() argument
277 ASSERT(notify != NULL, return;); in irlmp_register_link()
308 irda_notify_init(notify); in irlmp_register_link()
309 notify->instance = lap; in irlmp_register_link()
495 if (self->notify.connect_indication) in irlmp_connect_indication()
496 self->notify.connect_indication(self->notify.instance, self, in irlmp_connect_indication()
[all …]
Dirttp.c369 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify) in irttp_open_tsap() argument
408 if(notify->status_indication != NULL) in irttp_open_tsap()
411 strncpy(ttp_notify.name, notify->name, NOTIFY_MAX_NAME); in irttp_open_tsap()
436 self->notify = *notify; in irttp_open_tsap()
635 if (self->notify.flow_indication) { in irttp_data_request()
636 self->notify.flow_indication(self->notify.instance, in irttp_data_request()
746 if (self->notify.flow_indication) in irttp_run_tx_queue()
747 self->notify.flow_indication(self->notify.instance, in irttp_run_tx_queue()
832 if (self->notify.udata_indication) in irttp_udata_indication()
833 self->notify.udata_indication(self->notify.instance, self,skb); in irttp_udata_indication()
[all …]
Dirlap.c162 irlmp_register_link(self, self->saddr, &self->notify); in irlap_open()
213 self->notify.instance = NULL; in irlap_close()
240 irlmp_link_connect_indication(self->notify.instance, self->saddr, in irlap_connect_indication()
301 irlmp_link_connect_confirm(self->notify.instance, &self->qos_tx, skb); in irlap_connect_confirm()
318 irlmp_link_data_indication(self->notify.instance, skb, unreliable); in irlap_data_indication()
412 irlmp_link_unitdata_indication(self->notify.instance, skb); in irlap_unitdata_indication()
476 irlmp_link_disconnect_indication(self->notify.instance, self, in irlap_disconnect_indication()
550 ASSERT(self->notify.instance != NULL, return;); in irlap_discovery_confirm()
567 irlmp_link_discovery_confirm(self->notify.instance, discovery_log); in irlap_discovery_confirm()
584 ASSERT(self->notify.instance != NULL, return;); in irlap_discovery_indication()
[all …]
Diriap.c247 notify_t notify; in iriap_register_lsap() local
251 irda_notify_init(&notify); in iriap_register_lsap()
252 notify.connect_confirm = iriap_connect_confirm; in iriap_register_lsap()
253 notify.connect_indication = iriap_connect_indication; in iriap_register_lsap()
254 notify.disconnect_indication = iriap_disconnect_indication; in iriap_register_lsap()
255 notify.data_indication = iriap_data_indication; in iriap_register_lsap()
256 notify.instance = self; in iriap_register_lsap()
258 strcpy(notify.name, "IrIAS cli"); in iriap_register_lsap()
260 strcpy(notify.name, "IrIAS srv"); in iriap_register_lsap()
262 self->lsap = irlmp_open_lsap(slsap_sel, &notify, 0); in iriap_register_lsap()
Daf_irda.c480 notify_t notify; in irda_open_tsap() local
488 irda_notify_init(&notify); in irda_open_tsap()
489 notify.connect_confirm = irda_connect_confirm; in irda_open_tsap()
490 notify.connect_indication = irda_connect_indication; in irda_open_tsap()
491 notify.disconnect_indication = irda_disconnect_indication; in irda_open_tsap()
492 notify.data_indication = irda_data_indication; in irda_open_tsap()
493 notify.udata_indication = irda_data_indication; in irda_open_tsap()
494 notify.flow_indication = irda_flow_indication; in irda_open_tsap()
495 notify.instance = self; in irda_open_tsap()
496 strncpy(notify.name, name, NOTIFY_MAX_NAME); in irda_open_tsap()
[all …]
/linux-2.4.37.9/drivers/acpi/events/
Devmisc.c184 notify_info->notify.node = node; in acpi_ev_queue_notify_request()
185 notify_info->notify.value = (u16) notify_value; in acpi_ev_queue_notify_request()
186 notify_info->notify.handler_obj = handler_obj; in acpi_ev_queue_notify_request()
237 if (notify_info->notify.value <= ACPI_MAX_SYS_NOTIFY) { in acpi_ev_notify_dispatch()
257 global_handler (notify_info->notify.node, notify_info->notify.value, global_context); in acpi_ev_notify_dispatch()
262 handler_obj = notify_info->notify.handler_obj; in acpi_ev_notify_dispatch()
264 handler_obj->notify.handler (notify_info->notify.node, notify_info->notify.value, in acpi_ev_notify_dispatch()
265 handler_obj->notify.context); in acpi_ev_notify_dispatch()
Devxface.c325 notify_obj->notify.node = node; in acpi_install_notify_handler()
326 notify_obj->notify.handler = handler; in acpi_install_notify_handler()
327 notify_obj->notify.context = context; in acpi_install_notify_handler()
450 (notify_obj->notify.handler != handler)) { in acpi_remove_notify_handler()
/linux-2.4.37.9/net/irda/irlan/
Dirlan_provider.c380 notify_t notify; in irlan_provider_open_ctrl_tsap() local
394 irda_notify_init(&notify); in irlan_provider_open_ctrl_tsap()
395 notify.data_indication = irlan_provider_data_indication; in irlan_provider_open_ctrl_tsap()
396 notify.connect_indication = irlan_provider_connect_indication; in irlan_provider_open_ctrl_tsap()
397 notify.disconnect_indication = irlan_provider_disconnect_indication; in irlan_provider_open_ctrl_tsap()
398 notify.instance = self; in irlan_provider_open_ctrl_tsap()
399 strncpy(notify.name, "IrLAN ctrl (p)", 16); in irlan_provider_open_ctrl_tsap()
401 tsap = irttp_open_tsap(LSAP_ANY, 1, &notify); in irlan_provider_open_ctrl_tsap()
Dirlan_client.c253 notify_t notify; in irlan_client_open_ctrl_tsap() local
264 irda_notify_init(&notify); in irlan_client_open_ctrl_tsap()
267 notify.data_indication = irlan_client_ctrl_data_indication; in irlan_client_open_ctrl_tsap()
268 notify.connect_confirm = irlan_client_ctrl_connect_confirm; in irlan_client_open_ctrl_tsap()
269 notify.disconnect_indication = irlan_client_ctrl_disconnect_indication; in irlan_client_open_ctrl_tsap()
270 notify.instance = self; in irlan_client_open_ctrl_tsap()
271 strncpy(notify.name, "IrLAN ctrl (c)", NOTIFY_MAX_NAME); in irlan_client_open_ctrl_tsap()
273 tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, &notify); in irlan_client_open_ctrl_tsap()
Dirlan_common.c447 notify_t notify; in irlan_open_data_tsap() local
458 irda_notify_init(&notify); in irlan_open_data_tsap()
460 notify.data_indication = irlan_eth_receive; in irlan_open_data_tsap()
461 notify.udata_indication = irlan_eth_receive; in irlan_open_data_tsap()
462 notify.connect_indication = irlan_connect_indication; in irlan_open_data_tsap()
463 notify.connect_confirm = irlan_connect_confirm; in irlan_open_data_tsap()
465 notify.disconnect_indication = irlan_disconnect_indication; in irlan_open_data_tsap()
466 notify.instance = self; in irlan_open_data_tsap()
467 strncpy(notify.name, "IrLAN data", NOTIFY_MAX_NAME); in irlan_open_data_tsap()
469 tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, &notify); in irlan_open_data_tsap()
/linux-2.4.37.9/net/sctp/
Dchunk.c83 int error = 0, notify; in sctp_datamsg_destroy() local
86 notify = msg->send_failed ? -1 : 0; in sctp_datamsg_destroy()
93 if (notify < 0) { in sctp_datamsg_destroy()
101 notify = sctp_ulpevent_type_enabled(SCTP_SEND_FAILED, in sctp_datamsg_destroy()
106 if (notify > 0) { in sctp_datamsg_destroy()
/linux-2.4.37.9/fs/autofs4/
Dwaitq.c128 enum autofs_notify notify) in autofs4_wait() argument
171 wq->wait_queue_token, wq->len, wq->name, notify)); in autofs4_wait()
174 if (notify != NFY_NONE) { in autofs4_wait()
176 notify == NFY_MOUNT ? autofs_ptype_missing : in autofs4_wait()
182 wq->wait_queue_token, wq->len, wq->name, notify)); in autofs4_wait()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dbte_error.c140 volatile u64 *notify; in bte_error_handler() local
243 notify = err_nodepda->bte_if[i].most_rcnt_na; in bte_error_handler()
248 *notify = IBLS_ERROR | bh_error; in bte_error_handler()
/linux-2.4.37.9/include/net/irda/
Dircomm_core.h59 notify_t notify; member
85 struct ircomm_cb *ircomm_open(notify_t *notify, __u8 service_type, int line);
Dirttp.h126 notify_t notify; /* Callbacks to client layer */ member
154 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify);
Dirmod.h41 void irda_notify_init(notify_t *notify);
/linux-2.4.37.9/net/irda/irnet/
Dirnet_irda.c99 notify_t notify; /* Callback structure */ in irnet_open_tsap() local
106 irda_notify_init(&notify); in irnet_open_tsap()
107 notify.connect_confirm = irnet_connect_confirm; in irnet_open_tsap()
108 notify.connect_indication = irnet_connect_indication; in irnet_open_tsap()
109 notify.disconnect_indication = irnet_disconnect_indication; in irnet_open_tsap()
110 notify.data_indication = irnet_data_indication; in irnet_open_tsap()
112 notify.flow_indication = irnet_flow_indication; in irnet_open_tsap()
113 notify.status_indication = irnet_status_indication; in irnet_open_tsap()
114 notify.instance = self; in irnet_open_tsap()
115 strncpy(notify.name, IRNET_NOTIFY_NAME, NOTIFY_MAX_NAME); in irnet_open_tsap()
[all …]
/linux-2.4.37.9/drivers/media/video/
Dmsp3400.c94 struct semaphore *notify; member
783 if(msp->notify != NULL) in msp3400c_thread()
784 up(msp->notify); in msp3400c_thread()
983 if(msp->notify != NULL) in msp3400c_thread()
984 up(msp->notify); in msp3400c_thread()
1033 if(msp->notify != NULL) in msp3410d_thread()
1034 up(msp->notify); in msp3410d_thread()
1232 if(msp->notify != NULL) in msp3410d_thread()
1233 up(msp->notify); in msp3410d_thread()
1350 msp->notify = &sem; in msp_attach()
[all …]
Dtvaudio.c128 struct semaphore *notify; member
284 if(chip->notify != NULL) in chip_thread()
285 up(chip->notify); in chip_thread()
306 if(chip->notify != NULL) in chip_thread()
307 up(chip->notify); in chip_thread()
1491 chip->notify = &sem; in chip_attach()
1502 chip->notify = NULL; in chip_attach()
1532 chip->notify = &sem; in chip_detach()
1536 chip->notify = NULL; in chip_detach()
/linux-2.4.37.9/arch/ia64/sn/kernel/
Dbte.c133 bte->most_rcnt_na = &bte->notify; in bte_copy()
403 &(mynodepda->bte_if[i].notify); in bte_init_node()
404 mynodepda->bte_if[i].notify = 0L; in bte_init_node()

123