Searched refs:cpu_to_le32 (Results 1 – 4 of 4) sorted by relevance
107 pkt.cmd = cpu_to_le32(QRTR_TYPE_NEW_SERVER); in qrtr_new_server()108 pkt.server.service = cpu_to_le32(service); in qrtr_new_server()109 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_new_server()124 pkt.cmd = cpu_to_le32(QRTR_TYPE_DEL_SERVER); in qrtr_remove_server()125 pkt.server.service = cpu_to_le32(service); in qrtr_remove_server()126 pkt.server.instance = cpu_to_le32(instance << 8 | version); in qrtr_remove_server()127 pkt.server.node = cpu_to_le32(sq.sq_node); in qrtr_remove_server()128 pkt.server.port = cpu_to_le32(sq.sq_port); in qrtr_remove_server()153 pkt.cmd = cpu_to_le32(QRTR_TYPE_NEW_LOOKUP); in qrtr_new_lookup()154 pkt.server.service = cpu_to_le32(service); in qrtr_new_lookup()[all …]
165 cmsg.cmd = cpu_to_le32(QRTR_TYPE_NEW_SERVER); in service_announce_new()166 cmsg.server.service = cpu_to_le32(srv->service); in service_announce_new()167 cmsg.server.instance = cpu_to_le32(srv->instance); in service_announce_new()168 cmsg.server.node = cpu_to_le32(srv->node); in service_announce_new()169 cmsg.server.port = cpu_to_le32(srv->port); in service_announce_new()189 cmsg.cmd = cpu_to_le32(QRTR_TYPE_DEL_SERVER); in service_announce_del()190 cmsg.server.service = cpu_to_le32(srv->service); in service_announce_del()191 cmsg.server.instance = cpu_to_le32(srv->instance); in service_announce_del()192 cmsg.server.node = cpu_to_le32(srv->node); in service_announce_del()193 cmsg.server.port = cpu_to_le32(srv->port); in service_announce_del()[all …]
7 static inline __le32 cpu_to_le32(uint32_t x) { return htole32(x); } in cpu_to_le32() function
126 return cpu_to_le32(ret); in read_num_le()176 pkt.cmd = cpu_to_le32(QRTR_TYPE_NEW_LOOKUP); in main()