Home
last modified time | relevance | path

Searched refs:oz_pd (Results 1 – 10 of 10) sorted by relevance

/linux-4.1.27/drivers/staging/ozwpan/
Dozpd.h62 struct oz_pd { struct
110 struct oz_pd *oz_pd_alloc(const u8 *mac_addr); argument
111 void oz_pd_destroy(struct oz_pd *pd);
112 void oz_pd_get(struct oz_pd *pd);
113 void oz_pd_put(struct oz_pd *pd);
114 void oz_pd_set_state(struct oz_pd *pd, unsigned state);
115 void oz_pd_indicate_farewells(struct oz_pd *pd);
116 int oz_pd_sleep(struct oz_pd *pd);
117 void oz_pd_stop(struct oz_pd *pd);
118 void oz_pd_heartbeat(struct oz_pd *pd, u16 apps);
[all …]
Dozproto.h35 int (*start)(struct oz_pd *pd, int resume);
36 void (*stop)(struct oz_pd *pd, int pause);
37 void (*rx)(struct oz_pd *pd, struct oz_elt *elt);
38 int (*heartbeat)(struct oz_pd *pd);
39 void (*farewell)(struct oz_pd *pd, u8 ep_num, u8 *data, u8 len);
46 struct oz_pd *oz_pd_find(const u8 *mac_addr);
49 void oz_timer_add(struct oz_pd *pd, int type, unsigned long due_time);
50 void oz_timer_delete(struct oz_pd *pd, int type);
51 void oz_pd_request_heartbeat(struct oz_pd *pd);
Dozusbsvc.h18 struct oz_pd *pd;
25 int oz_usb_start(struct oz_pd *pd, int resume);
26 void oz_usb_stop(struct oz_pd *pd, int pause);
27 void oz_usb_rx(struct oz_pd *pd, struct oz_elt *elt);
28 int oz_usb_heartbeat(struct oz_pd *pd);
29 void oz_usb_farewell(struct oz_pd *pd, u8 ep_num, u8 *data, u8 len);
Dozpd.c24 static struct oz_tx_frame *oz_tx_frame_alloc(struct oz_pd *pd);
25 static void oz_tx_frame_free(struct oz_pd *pd, struct oz_tx_frame *f);
26 static void oz_tx_isoc_free(struct oz_pd *pd, struct oz_tx_frame *f);
27 static struct sk_buff *oz_build_frame(struct oz_pd *pd, struct oz_tx_frame *f);
28 static int oz_send_isoc_frame(struct oz_pd *pd);
29 static void oz_retire_frame(struct oz_pd *pd, struct oz_tx_frame *f);
31 static int oz_send_next_queued_frame(struct oz_pd *pd, int more_data);
64 void oz_pd_set_state(struct oz_pd *pd, unsigned state) in oz_pd_set_state()
86 void oz_pd_get(struct oz_pd *pd) in oz_pd_get()
94 void oz_pd_put(struct oz_pd *pd) in oz_pd_put()
[all …]
Dozproto.c75 static void oz_send_conn_rsp(struct oz_pd *pd, u8 status) in oz_send_conn_rsp()
120 static void pd_set_keepalive(struct oz_pd *pd, u8 kalive) in pd_set_keepalive()
146 static void pd_set_presleep(struct oz_pd *pd, u8 presleep, u8 start_timer) in pd_set_presleep()
163 static struct oz_pd *oz_connect_req(struct oz_pd *cur_pd, struct oz_elt *elt, in oz_connect_req()
166 struct oz_pd *pd; in oz_connect_req()
173 struct oz_pd *free_pd = NULL; in oz_connect_req()
179 struct oz_pd *pd2 = NULL; in oz_connect_req()
188 pd2 = list_entry(e, struct oz_pd, link); in oz_connect_req()
300 static void oz_add_farewell(struct oz_pd *pd, u8 ep_num, u8 index, in oz_add_farewell()
338 struct oz_pd *pd = NULL; in oz_rx_frame()
[all …]
Dozcdev.h13 int oz_cdev_start(struct oz_pd *pd, int resume);
14 void oz_cdev_stop(struct oz_pd *pd, int pause);
15 void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt);
Dozusbsvc.c52 int oz_usb_start(struct oz_pd *pd, int resume) in oz_usb_start()
117 void oz_usb_stop(struct oz_pd *pd, int pause) in oz_usb_stop()
186 int oz_usb_heartbeat(struct oz_pd *pd) in oz_usb_heartbeat()
214 struct oz_pd *pd = usb_ctx->pd; in oz_usb_stream_create()
238 struct oz_pd *pd = usb_ctx->pd; in oz_usb_stream_delete()
Dozcdev.c29 struct oz_pd *active_pd;
48 static struct oz_serial_ctx *oz_cdev_claim_ctx(struct oz_pd *pd) in oz_cdev_claim_ctx()
101 struct oz_pd *pd; in oz_cdev_read()
151 struct oz_pd *pd; in oz_cdev_write()
214 struct oz_pd *pd; in oz_set_active_pd()
215 struct oz_pd *old_pd; in oz_set_active_pd()
430 int oz_cdev_start(struct oz_pd *pd, int resume) in oz_cdev_start()
468 void oz_cdev_stop(struct oz_pd *pd, int pause) in oz_cdev_stop()
498 void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt) in oz_cdev_rx()
Dozusbsvc1.c60 struct oz_pd *pd = usb_ctx->pd; in oz_usb_get_desc_req()
96 struct oz_pd *pd = usb_ctx->pd; in oz_usb_set_config_req()
119 struct oz_pd *pd = usb_ctx->pd; in oz_usb_set_interface_req()
144 struct oz_pd *pd = usb_ctx->pd; in oz_usb_set_clear_feature_req()
170 struct oz_pd *pd = usb_ctx->pd; in oz_usb_vendor_class_req()
248 struct oz_pd *pd = usb_ctx->pd; in oz_usb_send_isoc()
370 void oz_usb_rx(struct oz_pd *pd, struct oz_elt *elt) in oz_usb_rx()
446 void oz_usb_farewell(struct oz_pd *pd, u8 ep_num, u8 *data, u8 len) in oz_usb_farewell()
Dozeltbuf.h13 struct oz_pd;
14 typedef void (*oz_elt_callback_t)(struct oz_pd *pd, long context);