Home
last modified time | relevance | path

Searched refs:app_hdr (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/ozwpan/
Dozcdev.c155 struct oz_app_hdr *app_hdr; in oz_cdev_write() local
158 if (count > sizeof(ei->data) - sizeof(*elt) - sizeof(*app_hdr)) in oz_cdev_write()
177 app_hdr = (struct oz_app_hdr *)(elt+1); in oz_cdev_write()
182 app_hdr->app_id = OZ_APPID_SERIAL; in oz_cdev_write()
183 if (copy_from_user(app_hdr+1, buf, count)) in oz_cdev_write()
188 app_hdr->elt_seq_num = ctx->tx_seq_num++; in oz_cdev_write()
501 struct oz_app_hdr *app_hdr; in oz_cdev_rx() local
514 app_hdr = (struct oz_app_hdr *)(elt+1); in oz_cdev_rx()
517 if (app_hdr->elt_seq_num != 0) { in oz_cdev_rx()
518 if (((ctx->rx_seq_num - app_hdr->elt_seq_num) & 0x80) == 0) { in oz_cdev_rx()
[all …]
Dozeltbuf.c223 struct oz_app_hdr *app_hdr = (struct oz_app_hdr *) in oz_select_elts_for_tx() local
225 app_hdr->elt_seq_num = buf->tx_seq_num[ei->app_id]++; in oz_select_elts_for_tx()
Dozusbsvc1.c34 struct oz_app_hdr *app_hdr = (struct oz_app_hdr *)(elt+1); in oz_usb_submit_elt() local
39 app_hdr->app_id = OZ_APPID_USB; in oz_usb_submit_elt()
42 app_hdr->elt_seq_num = usb_ctx->tx_seq_num++; in oz_usb_submit_elt()
Dozproto.c434 struct oz_app_hdr *app_hdr = in oz_rx_frame() local
438 oz_handle_app_elt(pd, app_hdr->app_id, elt); in oz_rx_frame()