Searched refs:ntfy_obj (Results 1 - 20 of 20) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/tidspbridge/include/dspbridge/
H A Dntfy.h79 * @ntfy_obj: Pointer to the ntfy object structure.
86 static inline void ntfy_delete(struct ntfy_object *ntfy_obj) argument
91 spin_lock_bh(&ntfy_obj->ntfy_lock);
92 nb = ntfy_obj->head.head;
98 spin_unlock_bh(&ntfy_obj->ntfy_lock);
103 * @ntfy_obj: Pointer to the ntfy_object structure.
109 static inline void ntfy_notify(struct ntfy_object *ntfy_obj, u32 event) argument
111 spin_lock_bh(&ntfy_obj->ntfy_lock);
112 raw_notifier_call_chain(&ntfy_obj->head, event, NULL);
113 spin_unlock_bh(&ntfy_obj
155 ntfy_register(struct ntfy_object *ntfy_obj, struct dsp_notification *noti, u32 event, u32 type) argument
195 ntfy_unregister(struct ntfy_object *ntfy_obj, struct dsp_notification *noti) argument
[all...]
H A D_chnl_sm.h158 struct ntfy_object *ntfy_obj; member in struct:chnl_object
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/tidspbridge/include/dspbridge/
H A Dntfy.h79 * @ntfy_obj: Pointer to the ntfy object structure.
86 static inline void ntfy_delete(struct ntfy_object *ntfy_obj) argument
91 spin_lock_bh(&ntfy_obj->ntfy_lock);
92 nb = ntfy_obj->head.head;
98 spin_unlock_bh(&ntfy_obj->ntfy_lock);
103 * @ntfy_obj: Pointer to the ntfy_object structure.
109 static inline void ntfy_notify(struct ntfy_object *ntfy_obj, u32 event) argument
111 spin_lock_bh(&ntfy_obj->ntfy_lock);
112 raw_notifier_call_chain(&ntfy_obj->head, event, NULL);
113 spin_unlock_bh(&ntfy_obj
155 ntfy_register(struct ntfy_object *ntfy_obj, struct dsp_notification *noti, u32 event, u32 type) argument
195 ntfy_unregister(struct ntfy_object *ntfy_obj, struct dsp_notification *noti) argument
[all...]
H A D_chnl_sm.h158 struct ntfy_object *ntfy_obj; member in struct:chnl_object
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/tidspbridge/core/
H A D_deh.h29 struct ntfy_object *ntfy_obj; /* NTFY object */ member in struct:deh_mgr
H A Due_deh.c105 deh->ntfy_obj = kmalloc(sizeof(struct ntfy_object), GFP_KERNEL);
106 if (!deh->ntfy_obj) {
110 ntfy_init(deh->ntfy_obj);
139 if (deh->ntfy_obj) {
140 ntfy_delete(deh->ntfy_obj);
141 kfree(deh->ntfy_obj);
163 return ntfy_register(deh->ntfy_obj, hnotification,
166 return ntfy_unregister(deh->ntfy_obj, hnotification);
258 ntfy_notify(deh->ntfy_obj, event);
H A D_msg_sm.h121 struct ntfy_object *ntfy_obj; /* For notification of message ready */ member in struct:msg_queue
H A Dmsg_sm.c171 msg_q->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
173 if (msg_q->ntfy_obj)
174 ntfy_init(msg_q->ntfy_obj);
518 status = ntfy_register(msg_queue_obj->ntfy_obj, hnotification,
521 status = ntfy_unregister(msg_queue_obj->ntfy_obj,
640 if (msg_queue_obj->ntfy_obj) {
641 ntfy_delete(msg_queue_obj->ntfy_obj);
642 kfree(msg_queue_obj->ntfy_obj);
H A Dchnl_sm.c344 if (pchnl->ntfy_obj) {
345 ntfy_delete(pchnl->ntfy_obj);
346 kfree(pchnl->ntfy_obj);
347 pchnl->ntfy_obj = NULL;
835 pchnl->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
837 if (pchnl->ntfy_obj)
838 ntfy_init(pchnl->ntfy_obj);
881 if (pchnl->ntfy_obj) {
882 ntfy_delete(pchnl->ntfy_obj);
883 kfree(pchnl->ntfy_obj);
[all...]
H A Dio_sm.c1158 ntfy_notify(pchnl->ntfy_obj,
1280 (msg_queue_obj->ntfy_obj,
1349 ntfy_notify(pchnl->ntfy_obj, DSP_STREAMIOCOMPLETION);
1430 ntfy_notify(pchnl->ntfy_obj, DSP_STREAMDONE);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/tidspbridge/core/
H A D_deh.h29 struct ntfy_object *ntfy_obj; /* NTFY object */ member in struct:deh_mgr
H A Due_deh.c105 deh->ntfy_obj = kmalloc(sizeof(struct ntfy_object), GFP_KERNEL);
106 if (!deh->ntfy_obj) {
110 ntfy_init(deh->ntfy_obj);
139 if (deh->ntfy_obj) {
140 ntfy_delete(deh->ntfy_obj);
141 kfree(deh->ntfy_obj);
163 return ntfy_register(deh->ntfy_obj, hnotification,
166 return ntfy_unregister(deh->ntfy_obj, hnotification);
258 ntfy_notify(deh->ntfy_obj, event);
H A D_msg_sm.h121 struct ntfy_object *ntfy_obj; /* For notification of message ready */ member in struct:msg_queue
H A Dmsg_sm.c171 msg_q->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
173 if (msg_q->ntfy_obj)
174 ntfy_init(msg_q->ntfy_obj);
518 status = ntfy_register(msg_queue_obj->ntfy_obj, hnotification,
521 status = ntfy_unregister(msg_queue_obj->ntfy_obj,
640 if (msg_queue_obj->ntfy_obj) {
641 ntfy_delete(msg_queue_obj->ntfy_obj);
642 kfree(msg_queue_obj->ntfy_obj);
H A Dchnl_sm.c344 if (pchnl->ntfy_obj) {
345 ntfy_delete(pchnl->ntfy_obj);
346 kfree(pchnl->ntfy_obj);
347 pchnl->ntfy_obj = NULL;
835 pchnl->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
837 if (pchnl->ntfy_obj)
838 ntfy_init(pchnl->ntfy_obj);
881 if (pchnl->ntfy_obj) {
882 ntfy_delete(pchnl->ntfy_obj);
883 kfree(pchnl->ntfy_obj);
[all...]
H A Dio_sm.c1158 ntfy_notify(pchnl->ntfy_obj,
1280 (msg_queue_obj->ntfy_obj,
1349 ntfy_notify(pchnl->ntfy_obj, DSP_STREAMIOCOMPLETION);
1430 ntfy_notify(pchnl->ntfy_obj, DSP_STREAMDONE);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/tidspbridge/rmgr/
H A Dproc.c97 struct ntfy_object *ntfy_obj; /* Manages notifications */ member in struct:proc_object
344 p_proc_object->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
346 if (p_proc_object->ntfy_obj)
347 ntfy_init(p_proc_object->ntfy_obj);
365 if (p_proc_object->ntfy_obj) {
366 ntfy_delete(p_proc_object->ntfy_obj);
367 kfree(p_proc_object->ntfy_obj);
556 ntfy_notify(p_proc_object->ntfy_obj, DSP_PROCESSORDETACH);
558 if (p_proc_object->ntfy_obj) {
559 ntfy_delete(p_proc_object->ntfy_obj);
[all...]
H A Dnode.c141 struct ntfy_object *ntfy_obj; /* Manages registered notifications */ member in struct:node_mgr
209 struct ntfy_object *ntfy_obj; /* Manages registered notifications */ member in struct:node_object
479 pnode->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
481 if (pnode->ntfy_obj)
482 ntfy_init(pnode->ntfy_obj);
1292 ntfy_notify(hnode->ntfy_obj, DSP_NODESTATECHANGE);
1334 node_mgr_obj->ntfy_obj = kmalloc(
1336 if (node_mgr_obj->ntfy_obj)
1337 ntfy_init(node_mgr_obj->ntfy_obj);
2009 ntfy_notify(hnode->ntfy_obj, DSP_NODESTATECHANG
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/tidspbridge/rmgr/
H A Dproc.c97 struct ntfy_object *ntfy_obj; /* Manages notifications */ member in struct:proc_object
344 p_proc_object->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
346 if (p_proc_object->ntfy_obj)
347 ntfy_init(p_proc_object->ntfy_obj);
365 if (p_proc_object->ntfy_obj) {
366 ntfy_delete(p_proc_object->ntfy_obj);
367 kfree(p_proc_object->ntfy_obj);
556 ntfy_notify(p_proc_object->ntfy_obj, DSP_PROCESSORDETACH);
558 if (p_proc_object->ntfy_obj) {
559 ntfy_delete(p_proc_object->ntfy_obj);
[all...]
H A Dnode.c141 struct ntfy_object *ntfy_obj; /* Manages registered notifications */ member in struct:node_mgr
209 struct ntfy_object *ntfy_obj; /* Manages registered notifications */ member in struct:node_object
479 pnode->ntfy_obj = kmalloc(sizeof(struct ntfy_object),
481 if (pnode->ntfy_obj)
482 ntfy_init(pnode->ntfy_obj);
1292 ntfy_notify(hnode->ntfy_obj, DSP_NODESTATECHANGE);
1334 node_mgr_obj->ntfy_obj = kmalloc(
1336 if (node_mgr_obj->ntfy_obj)
1337 ntfy_init(node_mgr_obj->ntfy_obj);
2009 ntfy_notify(hnode->ntfy_obj, DSP_NODESTATECHANG
[all...]

Completed in 213 milliseconds