Lines Matching refs:io
102 if (!srv->io->open) { in io_open()
106 return srv->io->open(srv->io, &srv->state.xfer, BT_MESH_BLOB_WRITE); in io_open()
111 if (!srv->io->close) { in io_close()
115 srv->io->close(srv->io, &srv->state.xfer); in io_close()
699 if (srv->io->block_start) { in handle_block_start()
700 err = srv->io->block_start(srv->io, &srv->state.xfer, in handle_block_start()
769 err = srv->io->wr(srv->io, &srv->state.xfer, &srv->block, &chunk); in handle_chunk()
783 if (srv->io->block_end) { in handle_chunk()
784 srv->io->block_end(srv->io, &srv->state.xfer, &srv->block); in handle_chunk()
915 srv->io = NULL; in blob_srv_start()
916 err = srv->cb->recover(srv, &srv->state.xfer, &srv->io); in blob_srv_start()
917 if (!err && srv->io) { in blob_srv_start()
922 if (err || !srv->io) { in blob_srv_start()
952 const struct bt_mesh_blob_io *io, uint8_t ttl, in bt_mesh_blob_srv_recv() argument
959 if (!io || !io->wr) { in bt_mesh_blob_srv_recv()
966 srv->io = io; in bt_mesh_blob_srv_recv()