Lines Matching refs:c_struct
711 * @c_struct: Reference to structure to encode
717 const void *c_struct)
725 if (!c_struct) {
728 pr_err("%s: Calc. len %d != 0, but NULL c_struct\n",
739 if (c_struct) {
740 msglen = qmi_encode(ei, msg + sizeof(*hdr), c_struct, *len, 1);
764 * @c_struct: Reference to structure to decode into
770 struct qmi_elem_info *ei, void *c_struct)
775 if (!c_struct || !buf || !len)
778 return qmi_decode(ei, c_struct, buf + sizeof(struct qmi_header),