Lines Matching refs:cmd_data
498 struct add_characteristic cmd_data; in add_characteristic() local
507 cmd_data.char_id = 0U; in add_characteristic()
508 cmd_data.permissions = cp->permissions; in add_characteristic()
509 cmd_data.properties = cp->properties; in add_characteristic()
510 cmd_data.uuid = &uuid.uuid; in add_characteristic()
521 if (alloc_characteristic(&cmd_data)) { in add_characteristic()
527 rp->char_id = sys_cpu_to_le16(cmd_data.char_id); in add_characteristic()
687 struct add_descriptor cmd_data; in add_descriptor() local
702 cmd_data.desc_id = 0U; in add_descriptor()
703 cmd_data.permissions = cp->permissions; in add_descriptor()
704 cmd_data.uuid = &uuid.uuid; in add_descriptor()
721 if (alloc_descriptor(chrc, &cmd_data)) { in add_descriptor()
725 rp->desc_id = sys_cpu_to_le16(cmd_data.desc_id); in add_descriptor()
885 struct set_value cmd_data; in set_value() local
900 cmd_data.value = cp->value; in set_value()
901 cmd_data.len = sys_le16_to_cpu(cp->len); in set_value()
904 status = alloc_value(LAST_DB_ATTR, &cmd_data); in set_value()
908 &cmd_data); in set_value()