Home
last modified time | relevance | path

Searched refs:payload_size (Results 1 – 25 of 32) sorted by relevance

12

/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c161 BT_HDR *attp_build_read_by_type_value_cmd (UINT16 payload_size, tGATT_FIND_TYPE_VALUE *p_value_type) in attp_build_read_by_type_value_cmd() argument
167 …if ((p_buf = (BT_HDR *)osi_malloc((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != … in attp_build_read_by_type_value_cmd()
179 if (p_value_type->value_len + p_buf->len > payload_size ) { in attp_build_read_by_type_value_cmd()
180 len = payload_size - p_buf->len; in attp_build_read_by_type_value_cmd()
198 BT_HDR *attp_build_read_multi_cmd(UINT16 payload_size, UINT16 num_handle, UINT16 *p_handle) in attp_build_read_multi_cmd() argument
211 for (i = 0; i < num_handle && p_buf->len + 2 <= payload_size; i ++) { in attp_build_read_multi_cmd()
286 BT_HDR *attp_build_value_cmd (UINT16 payload_size, UINT8 op_code, UINT16 handle, in attp_build_value_cmd() argument
292 …if ((p_buf = (BT_HDR *)osi_malloc((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != … in attp_build_value_cmd()
317 if (payload_size - p_buf->len < len) { in attp_build_value_cmd()
318 len = payload_size - p_buf->len; in attp_build_value_cmd()
[all …]
Dgatt_sr.c54 if (len > p_tcb->payload_size){ in gatt_send_packet()
58 buf_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); in gatt_send_packet()
303 if (!process_read_multi_rsp (&p_tcb->sr_cmd, status, p_msg, p_tcb->payload_size)) { in gatt_sr_process_app_rsp()
633 if (p_msg->len + p_msg->offset <= p_tcb->payload_size && in gatt_build_primary_service_rsp()
812 UINT16 msg_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); in gatts_process_primary_service_req()
878 buf_len = (UINT16)(sizeof(BT_HDR) + p_tcb->payload_size + L2CAP_MIN_OFFSET); in gatts_process_find_info()
889 buf_len = p_tcb->payload_size - 2; in gatts_process_find_info()
951 p_tcb->payload_size = GATT_DEF_BLE_MTU_SIZE; in gatts_process_mtu_req()
953 p_tcb->payload_size = gatt_default.local_mtu; in gatts_process_mtu_req()
955 p_tcb->payload_size = mtu; in gatts_process_mtu_req()
[all …]
Dgatt_cl.c235 if (p_attr->len <= (p_tcb->payload_size - GATT_HDR_SIZE)) { in gatt_act_write()
350 if (to_send > (p_tcb->payload_size - GATT_WRITE_LONG_HDR_SIZE)) { /* 2 = UINT16 offset bytes */ in gatt_send_prepare_write()
351 to_send = p_tcb->payload_size - GATT_WRITE_LONG_HDR_SIZE; in gatt_send_prepare_write()
731 if ((value_len > (p_tcb->payload_size - 2)) || (value_len > (len - 1)) ) { in gatt_process_read_by_type_rsp()
735 op_code, value_len, (p_tcb->payload_size - 2), (len - 1)); in gatt_process_read_by_type_rsp()
812 if ( p_clcb->counter == (p_clcb->p_tcb->payload_size - 4)) { in gatt_process_read_by_type_rsp()
917 if (len == (p_tcb->payload_size - 1) && /* full packet for read or read blob rsp */ in gatt_process_read_rsp()
988 if (mtu < p_tcb->payload_size && mtu >= GATT_DEF_BLE_MTU_SIZE) { in gatt_process_mtu_rsp()
989 p_tcb->payload_size = mtu; in gatt_process_mtu_rsp()
1108 if (len >= p_tcb->payload_size) { in gatt_client_handle_server_rsp()
[all …]
Dgatt_auth.c48 UINT16 payload_size = p_clcb->p_tcb->payload_size; in gatt_sign_data() local
64 if ((payload_size - GATT_AUTH_SIGN_LEN - 3) < p_attr->len) { in gatt_sign_data()
65 p_attr->len = payload_size - GATT_AUTH_SIGN_LEN - 3; in gatt_sign_data()
Dgatt_main.c477 p_tcb->payload_size = GATT_DEF_BLE_MTU_SIZE; in gatt_le_connect_cback()
495 p_tcb->payload_size = GATT_DEF_BLE_MTU_SIZE; in gatt_le_connect_cback()
766 p_tcb->payload_size = p_cfg->mtu; in gatt_l2cif_config_ind_cback()
768 p_tcb->payload_size = L2CAP_DEFAULT_MTU; in gatt_l2cif_config_ind_cback()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/ags/
Dags.c558 uint16_t payload_size; in ags_echo_rx_val_chunk() local
567 payload_size = max_packet_size - header_size; in ags_echo_rx_val_chunk()
568 s_ags_stream_payload.length -= payload_size; in ags_echo_rx_val_chunk()
570 payload_size = s_ags_stream_payload.length; in ags_echo_rx_val_chunk()
582 ags_encode_header(&s_gadget_tx_buffer[0], stream_id, trxn_type, payload_size, 0); in ags_echo_rx_val_chunk()
583 error_code = memcpy_s(&s_gadget_tx_buffer[header_size], payload_size, in ags_echo_rx_val_chunk()
584 … &s_ags_stream_payload.p_data[s_ags_stream_payload.offset], payload_size); in ags_echo_rx_val_chunk()
585 s_ags_stream_payload.offset += payload_size; in ags_echo_rx_val_chunk()
591 ags_rx_val_noti.length = header_size + payload_size; in ags_echo_rx_val_chunk()
684 uint16_t payload_size; in ags_stream_send() local
[all …]
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Ddhdioctl.h98 uint32 payload_size; member
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Ddhdioctl.h99 uint32 payload_size; member
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Ddhdioctl.h147 uint32 payload_size; member
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dcapture_v30.c694 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in mi_frame_end() local
696 vb2_set_plane_payload(vb2_buf, i, payload_size); in mi_frame_end()
1026 u32 payload_size = vir->out_fmt.plane_fmt[i].sizeimage; in vir_cpy_image() local
1033 vb2_set_plane_payload(&vir->curr_buf->vb.vb2_buf, i, payload_size); in vir_cpy_image()
1034 memcpy(dst, src, payload_size); in vir_cpy_image()
Dcapture_v1x.c405 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in mi_frame_end() local
407 vb2_set_plane_payload(&stream->curr_buf->vb.vb2_buf, i, payload_size); in mi_frame_end()
Dcapture_v21.c866 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in mi_frame_end() local
867 vb2_set_plane_payload(vb2_buf, i, payload_size); in mi_frame_end()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dcapture_v30.c724 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in mi_frame_end() local
726 vb2_set_plane_payload(vb2_buf, i, payload_size); in mi_frame_end()
1069 u32 payload_size = vir->out_fmt.plane_fmt[i].sizeimage; in vir_cpy_image() local
1075 vb2_set_plane_payload(&vir->curr_buf->vb.vb2_buf, i, payload_size); in vir_cpy_image()
1076 memcpy(dst, src, payload_size); in vir_cpy_image()
Dcapture_v1x.c421 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in mi_frame_end() local
423 vb2_set_plane_payload(&stream->curr_buf->vb.vb2_buf, i, payload_size); in mi_frame_end()
Dcapture_v21.c888 u32 payload_size = in mi_frame_end() local
890 vb2_set_plane_payload(vb2_buf, i, payload_size); in mi_frame_end()
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dcapture_v30.c724 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in mi_frame_end() local
726 vb2_set_plane_payload(vb2_buf, i, payload_size); in mi_frame_end()
1069 u32 payload_size = vir->out_fmt.plane_fmt[i].sizeimage; in vir_cpy_image() local
1075 vb2_set_plane_payload(&vir->curr_buf->vb.vb2_buf, i, payload_size); in vir_cpy_image()
1076 memcpy(dst, src, payload_size); in vir_cpy_image()
Dcapture_v1x.c421 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in mi_frame_end() local
423 vb2_set_plane_payload(&stream->curr_buf->vb.vb2_buf, i, payload_size); in mi_frame_end()
Dcapture_v21.c888 u32 payload_size = in mi_frame_end() local
890 vb2_set_plane_payload(vb2_buf, i, payload_size); in mi_frame_end()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dstream.c290 u32 payload_size = vir->out_fmt.plane_fmt[i].sizeimage; in vir_cpy_image() local
297 vb2_set_plane_payload(&vir->curr_buf->vb.vb2_buf, i, payload_size); in vir_cpy_image()
298 memcpy(dst, src, payload_size); in vir_cpy_image()
371 u32 payload_size = stream->out_fmt.plane_fmt[i].sizeimage; in rkispp_frame_end() local
372 vb2_set_plane_payload(&stream->curr_buf->vb.vb2_buf, i, payload_size); in rkispp_frame_end()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dstream.c278 u32 payload_size = vir->out_fmt.plane_fmt[i].sizeimage; in vir_cpy_image() local
284 vb2_set_plane_payload(&vir->curr_buf->vb.vb2_buf, i, payload_size); in vir_cpy_image()
285 memcpy(dst, src, payload_size); in vir_cpy_image()
359 u32 payload_size = in rkispp_frame_end() local
362 payload_size); in rkispp_frame_end()
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/
Dstream.c278 u32 payload_size = vir->out_fmt.plane_fmt[i].sizeimage; in vir_cpy_image() local
284 vb2_set_plane_payload(&vir->curr_buf->vb.vb2_buf, i, payload_size); in vir_cpy_image()
285 memcpy(dst, src, payload_size); in vir_cpy_image()
359 u32 payload_size = in rkispp_frame_end() local
362 payload_size); in rkispp_frame_end()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_mgmt_ap.c1238 hi_u32 payload_size; in hmac_ap_prepare_assoc_req() local
1246 payload_size = payload_len; in hmac_ap_prepare_assoc_req()
1266 hmac_user->puc_assoc_req_ie_buff = oal_mem_alloc(OAL_MEM_POOL_ID_LOCAL, (hi_u16)payload_size); in hmac_ap_prepare_assoc_req()
1273 …if (memcpy_s(hmac_user->puc_assoc_req_ie_buff, (hi_u16)payload_size, puc_payload, payload_len) != … in hmac_ap_prepare_assoc_req()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264_multi/
Dvmh264.c5478 int payload_size; in parse_one_sei_record() local
5497 payload_size = 0; in parse_one_sei_record()
5502 payload_size += *p_sei; in parse_one_sei_record()
5507 if (p_sei + payload_size > sei_data_buf_end) { in parse_one_sei_record()
5510 __func__, payload_type, payload_size); in parse_one_sei_record()
5515 if (payload_size <= 0) { in parse_one_sei_record()
5538 &temp, payload_size, in parse_one_sei_record()
5543 get_bits(p_sei, bit_offset, &temp, payload_size, 4); in parse_one_sei_record()
5559 for (i = 0; i < payload_size; i += 8) { in parse_one_sei_record()
5566 if (index >= payload_size) in parse_one_sei_record()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h265/
Dvh265.c7833 uint8_t payload_type, payload_size; in parse_sei() local
7847 payload_size = *p++; in parse_sei()
7848 if (p+payload_size <= sei_buf+size) { in parse_sei()
7925 payload_type, payload_size); in parse_sei()
7946 p += payload_size; in parse_sei()
9349 int payload_type, int payload_size) in process_nal_sei() argument
9356 payload_type, payload_size); in process_nal_sei()
9361 if (payload_size >= 24) { in process_nal_sei()
9406 payload_size -= 24; in process_nal_sei()
9407 while (payload_size > 0) { in process_nal_sei()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h383 UINT16 payload_size; member

12