Lines Matching refs:instance
97 int qrtr_new_server(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_new_server() argument
109 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_new_server()
114 int qrtr_remove_server(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_remove_server() argument
126 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_remove_server()
133 int qrtr_publish(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_publish() argument
135 return qrtr_new_server(sock, service, version, instance); in qrtr_publish()
138 int qrtr_bye(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_bye() argument
140 return qrtr_remove_server(sock, service, version, instance); in qrtr_bye()
143 int qrtr_new_lookup(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_new_lookup() argument
155 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_new_lookup()
160 int qrtr_remove_lookup(int sock, uint32_t service, uint16_t version, uint16_t instance) in qrtr_remove_lookup() argument
172 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_remove_lookup()
242 dest->version = le32_to_cpu(ctrl->server.instance) & 0xff; in qrtr_decode()
243 dest->instance = le32_to_cpu(ctrl->server.instance) >> 8; in qrtr_decode()