Lines Matching defs:drv
54 struct hfi_event_data drv;
83 static int send_and_recv_msgs(struct hfi_event_data *drv,
91 cb = nl_cb_clone(drv->nl_cb);
95 err = nl_send_auto_complete(drv->nl_handle, msg);
110 nl_recvmsgs(drv->nl_handle, cb);
152 static int nl_get_multicast_id(struct hfi_event_data *drv,
162 genlmsg_put(msg, 0, 0, genl_ctrl_resolve(drv->nl_handle, "nlctrl"),
166 ret = send_and_recv_msgs(drv, msg, family_handler, &res);
267 drv.nl_handle = sock;
268 drv.nl_cb = cb = nl_cb_alloc(NL_CB_DEFAULT);
269 if (drv.nl_cb == NULL) {
274 mcast_id = nl_get_multicast_id(&drv, THERMAL_GENL_FAMILY_NAME,