Lines Matching refs:cb
26 prov_bearer_send_complete_t cb; member
32 const struct prov_bearer_cb *cb; member
53 const struct prov_bearer_cb *cb = link.cb; in link_closed() local
58 cb->link_closed(&bt_mesh_pb_gatt, cb_data, status); in link_closed()
87 if (link.conn != conn || !link.cb) { in bt_mesh_pb_gatt_recv()
99 link.cb->recv(&bt_mesh_pb_gatt, link.cb_data, buf); in bt_mesh_pb_gatt_recv()
115 link.cb->link_opened(&bt_mesh_pb_gatt, link.cb_data); in bt_mesh_pb_gatt_start()
158 link.cb->link_opened(&bt_mesh_pb_gatt, link.cb_data); in bt_mesh_pb_gatt_cli_open()
164 const struct prov_bearer_cb *cb, void *cb_data) in prov_link_open() argument
168 link.cb = cb; in prov_link_open()
183 static int link_accept(const struct prov_bearer_cb *cb, void *cb_data) in link_accept() argument
196 link.cb = cb; in link_accept()
205 if (link.comp.cb) { in buf_send_end()
206 link.comp.cb(0, link.comp.cb_data); in buf_send_end()
210 static int buf_send(struct net_buf_simple *buf, prov_bearer_send_complete_t cb, in buf_send() argument
217 link.comp.cb = cb; in buf_send()