Lines Matching refs:dis_value
141 pp = dis_cb.dis_value in dis_read_attr_value()
164 uint64_t_TO_STREAM(p, dis_cb.dis_value.system_id); /* int_min */ in dis_read_attr_value()
169 UINT8_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id_src); in dis_read_attr_value()
170 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.vendor_id); in dis_read_attr_value()
171 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_id); in dis_read_attr_value()
172 UINT16_TO_STREAM(p, dis_cb.dis_value.pnp_id.product_version); in dis_read_attr_value()
201 p_clcb->dis_value.attr_mask); in dis_gatt_c_read_dis_value_cmpl()
203 (*dis_cb.p_read_dis_cback)(p_clcb->bda, &p_clcb->dis_value); in dis_gatt_c_read_dis_value_cmpl()
275 p_clcb->dis_value.attr_mask |= DIS_ATTR_SYS_ID_BIT; in dis_c_cmpl_cback()
277 STREAM_TO_UINT64(p_clcb->dis_value.system_id, pp); in dis_c_cmpl_cback()
283 p_clcb->dis_value.attr_mask |= DIS_ATTR_PNP_ID_BIT; in dis_c_cmpl_cback()
284 STREAM_TO_UINT8(p_clcb->dis_value.pnp_id.vendor_id_src, pp); in dis_c_cmpl_cback()
285 STREAM_TO_UINT16(p_clcb->dis_value.pnp_id.vendor_id, pp); in dis_c_cmpl_cback()
286 STREAM_TO_UINT16(p_clcb->dis_value.pnp_id.product_id, pp); in dis_c_cmpl_cback()
287 STREAM_TO_UINT16(p_clcb->dis_value.pnp_id.product_version, pp); in dis_c_cmpl_cback()
298 p_str = p_clcb->dis_value in dis_c_cmpl_cback()
302 p_clcb->dis_value.attr_mask |= dis_uuid_to_attr(read_type); in dis_c_cmpl_cback()
305 p_clcb->dis_value.data_string[read_type - GATT_UUID_MODEL_NUMBER_STR] = in dis_c_cmpl_cback()
393 dis_cb.dis_value.system_id = p_info->system_id; in DIS_SrUpdate()
395 dis_cb.dis_value.pnp_id.vendor_id = p_info->pnp_id.vendor_id; in DIS_SrUpdate()
396 dis_cb.dis_value.pnp_id.vendor_id_src = p_info->pnp_id.vendor_id_src; in DIS_SrUpdate()
397 dis_cb.dis_value.pnp_id.product_id = p_info->pnp_id.product_id; in DIS_SrUpdate()
398 dis_cb.dis_value.pnp_id.product_version = p_info->pnp_id.product_version; in DIS_SrUpdate()
404 osi_free(dis_cb.dis_value.data_string[i - 1]); in DIS_SrUpdate()
405 dis_cb.dis_value.data_string[i - 1] = in DIS_SrUpdate()
407 memcpy(dis_cb.dis_value.data_string[i - 1], p_info->data_str.p_data, in DIS_SrUpdate()
409 dis_cb.dis_value.data_string[i - 1][p_info->data_str.len] = in DIS_SrUpdate()