Lines Matching refs:cpf
2305 const struct bt_gatt_cpf *cpf = attr->user_data; in bt_gatt_attr_read_cpf() local
2308 value.format = cpf->format; in bt_gatt_attr_read_cpf()
2309 value.exponent = cpf->exponent; in bt_gatt_attr_read_cpf()
2310 value.unit = sys_cpu_to_le16(cpf->unit); in bt_gatt_attr_read_cpf()
2311 value.name_space = cpf->name_space; in bt_gatt_attr_read_cpf()
2312 value.description = sys_cpu_to_le16(cpf->description); in bt_gatt_attr_read_cpf()
4221 struct bt_gatt_cpf cpf; in parse_read_std_char_desc() member
4268 struct gatt_cpf *cpf; in parse_read_std_char_desc() local
4270 if (length < sizeof(*data) + sizeof(*cpf)) { in parse_read_std_char_desc()
4275 cpf = (void *)data->value; in parse_read_std_char_desc()
4277 value.cpf.format = cpf->format; in parse_read_std_char_desc()
4278 value.cpf.exponent = cpf->exponent; in parse_read_std_char_desc()
4279 value.cpf.unit = sys_le16_to_cpu(cpf->unit); in parse_read_std_char_desc()
4280 value.cpf.name_space = cpf->name_space; in parse_read_std_char_desc()
4281 value.cpf.description = sys_le16_to_cpu(cpf->description); in parse_read_std_char_desc()