Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 3 of 3) sorted by relevance

/arch/sparc/kernel/
Dviohs.c48 struct vio_ver_info pkt; in send_version() local
52 memset(&pkt, 0, sizeof(pkt)); in send_version()
53 init_tag(&pkt.tag, VIO_TYPE_CTRL, VIO_SUBTYPE_INFO, VIO_VER_INFO); in send_version()
54 pkt.major = major; in send_version()
55 pkt.minor = minor; in send_version()
56 pkt.dev_class = vio->dev_class; in send_version()
61 return send_ctrl(vio, &pkt.tag, sizeof(pkt)); in send_version()
161 struct vio_msg_tag *pkt = arg; in process_unknown() local
164 pkt->type, pkt->stype, pkt->stype_env, pkt->sid); in process_unknown()
178 struct vio_dring_register pkt; in send_dreg() member
[all …]
Dds.c285 } pkt; in md_update_data() local
293 memset(&pkt, 0, sizeof(pkt)); in md_update_data()
294 pkt.data.tag.type = DS_DATA; in md_update_data()
295 pkt.data.tag.len = sizeof(pkt) - sizeof(struct ds_msg_tag); in md_update_data()
296 pkt.data.handle = cp->handle; in md_update_data()
297 pkt.res.req_num = rp->req_num; in md_update_data()
298 pkt.res.result = DS_OK; in md_update_data()
300 ds_send(lp, &pkt, sizeof(pkt)); in md_update_data()
324 } pkt; in domain_shutdown_data() local
331 memset(&pkt, 0, sizeof(pkt)); in domain_shutdown_data()
[all …]
/arch/sparc/include/asm/
Dvio.h306 int (*handle_attr)(struct vio_driver_state *vio, void *pkt);
392 extern int vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt);