Home | History | Annotate | Download | only in drivers

Lines Matching refs:cb

64 static struct nl_handle *nl80211_handle_alloc(void *cb)
70 handle = nl_handle_alloc_cb(cb);
290 struct nl_cb *cb;
293 cb = nl_cb_clone(drv->nl_cb);
294 if (!cb)
303 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err);
304 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err);
305 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err);
308 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM,
312 nl_recvmsgs(nl_handle, cb);
314 nl_cb_put(cb);
1577 struct nl_cb *cb;
1582 cb = nl_cb_clone(drv->nl_cb);
1583 if (!cb)
1585 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL);
1586 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, process_event, drv);
1587 nl_recvmsgs(handle, cb);
1588 nl_cb_put(cb);