/drivers/ps3/ |
D | ps3-sys-manager.c | 61 u32 payload_size; member 73 pr_debug("%s:%d: payload_size: %xh\n", func, line, h->payload_size); in _dump_sm_header() 249 BUG_ON(header->payload_size != 8 && header->payload_size != 16); in ps3_sys_manager_write() 256 result = ps3_vuart_write(dev, payload, header->payload_size); in ps3_sys_manager_write() 283 header.payload_size = 16; in ps3_sys_manager_send_attr() 320 header.payload_size = 16; in ps3_sys_manager_send_next_op() 362 header.payload_size = 16; in ps3_sys_manager_send_request_shutdown() 400 header.payload_size = 16; in ps3_sys_manager_send_response() 558 if (header.size != 16 || (header.payload_size != 8 in ps3_sys_manager_handle_msg() 559 && header.payload_size != 16)) { in ps3_sys_manager_handle_msg() [all …]
|
/drivers/usb/gadget/function/ |
D | uvc_video.c | 70 if (video->payload_size == 0) { in uvc_video_encode_bulk() 72 video->payload_size += ret; in uvc_video_encode_bulk() 78 len = min((int)(video->max_payload_size - video->payload_size), len); in uvc_video_encode_bulk() 81 video->payload_size += ret; in uvc_video_encode_bulk() 85 req->zero = video->payload_size == video->max_payload_size; in uvc_video_encode_bulk() 93 video->payload_size = 0; in uvc_video_encode_bulk() 96 if (video->payload_size == video->max_payload_size || in uvc_video_encode_bulk() 98 video->payload_size = 0; in uvc_video_encode_bulk() 384 video->payload_size = 0; in uvcg_video_enable()
|
/drivers/staging/greybus/ |
D | log.c | 33 if (op->request->payload_size < sizeof(*receive)) { in gb_log_request_handler() 35 op->request->payload_size, sizeof(*receive)); in gb_log_request_handler() 40 if (len != (op->request->payload_size - sizeof(*receive))) { in gb_log_request_handler() 42 (op->request->payload_size - sizeof(*receive))); in gb_log_request_handler()
|
D | fw-download.c | 232 if (op->request->payload_size != sizeof(*request)) { in fw_download_find_firmware() 235 op->request->payload_size, sizeof(*request)); in fw_download_find_firmware() 282 if (op->request->payload_size != sizeof(*request)) { in fw_download_fetch_firmware() 285 op->request->payload_size, sizeof(*request)); in fw_download_fetch_firmware() 361 if (op->request->payload_size != sizeof(*request)) { in fw_download_release_firmware() 364 op->request->payload_size, sizeof(*request)); in fw_download_release_firmware()
|
D | bootrom.c | 200 if (op->request->payload_size != sizeof(*size_request)) { in gb_bootrom_firmware_size_request() 202 __func__, op->request->payload_size, in gb_bootrom_firmware_size_request() 255 if (op->request->payload_size != sizeof(*firmware_request)) { in gb_bootrom_get_firmware() 257 __func__, op->request->payload_size, in gb_bootrom_get_firmware() 323 if (op->request->payload_size != sizeof(*rtb_request)) { in gb_bootrom_ready_to_boot() 325 __func__, op->request->payload_size, in gb_bootrom_ready_to_boot()
|
D | operation.c | 312 size_t payload_size, u8 type) in gb_operation_message_init() argument 319 message->payload = payload_size ? header + 1 : NULL; in gb_operation_message_init() 320 message->payload_size = payload_size; in gb_operation_message_init() 328 u16 message_size = (u16)(sizeof(*header) + payload_size); in gb_operation_message_init() 362 size_t payload_size, gfp_t gfp_flags) in gb_operation_message_alloc() argument 366 size_t message_size = payload_size + sizeof(*header); in gb_operation_message_alloc() 384 gb_operation_message_init(hd, message, 0, payload_size, type); in gb_operation_message_alloc() 986 message_size = sizeof(*header) + message->payload_size; in gb_connection_recv_response() 995 message->payload_size = size - sizeof(*header); in gb_connection_recv_response()
|
D | svc.c | 650 if (op->request->payload_size < sizeof(*request)) { in gb_svc_version_request() 652 op->request->payload_size, in gb_svc_version_request() 847 if (op->request->payload_size < sizeof(*hello_request)) { in gb_svc_hello() 849 op->request->payload_size, in gb_svc_hello() 1143 if (request->payload_size < sizeof(*reset)) { in gb_svc_intf_reset_recv() 1145 request->payload_size, sizeof(*reset)); in gb_svc_intf_reset_recv() 1162 if (op->request->payload_size < sizeof(*request)) { in gb_svc_module_inserted_recv() 1164 op->request->payload_size, sizeof(*request)); in gb_svc_module_inserted_recv() 1181 if (op->request->payload_size < sizeof(*request)) { in gb_svc_module_removed_recv() 1183 op->request->payload_size, sizeof(*request)); in gb_svc_module_removed_recv() [all …]
|
D | raw.c | 105 if (op->request->payload_size < sizeof(*receive)) { in gb_raw_request_handler() 107 op->request->payload_size, sizeof(*receive)); in gb_raw_request_handler() 112 if (len != (int)(op->request->payload_size - sizeof(__le32))) { in gb_raw_request_handler() 114 (int)(op->request->payload_size - sizeof(__le32))); in gb_raw_request_handler()
|
D | uart.c | 93 if (request->payload_size < sizeof(*receive_data)) { in gb_uart_receive_data_handler() 96 request->payload_size, sizeof(*receive_data)); in gb_uart_receive_data_handler() 103 if (recv_data_size != request->payload_size - sizeof(*receive_data)) { in gb_uart_receive_data_handler() 107 request->payload_size - sizeof(*receive_data)); in gb_uart_receive_data_handler() 145 if (request->payload_size < sizeof(*serial_state)) { in gb_uart_serial_state_handler() 148 request->payload_size, sizeof(*serial_state)); in gb_uart_serial_state_handler() 168 if (request->payload_size < sizeof(*credit_request)) { in gb_uart_receive_credits_handler() 171 request->payload_size, in gb_uart_receive_credits_handler()
|
D | fw-management.c | 206 if (op->request->payload_size != sizeof(*request)) { in fw_mgmt_interface_fw_loaded_operation() 208 op->request->payload_size, sizeof(*request)); in fw_mgmt_interface_fw_loaded_operation() 355 if (op->request->payload_size != sizeof(*request)) { in fw_mgmt_backend_fw_updated_operation() 357 op->request->payload_size, sizeof(*request)); in fw_mgmt_backend_fw_updated_operation()
|
/drivers/net/ethernet/mellanox/mlxfw/ |
D | mlxfw_mfa2_tlv.h | 60 size_t payload_size, bool varsize) in mlxfw_mfa2_tlv_payload_get() argument 70 if (varsize && (be16_to_cpu(tlv->len) < payload_size)) in mlxfw_mfa2_tlv_payload_get() 72 if (!varsize && (be16_to_cpu(tlv->len) != payload_size)) in mlxfw_mfa2_tlv_payload_get()
|
/drivers/misc/sgi-xp/ |
D | xp_main.c | 133 xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, in xpc_connect() argument 139 DBUG_ON(payload_size == 0 || nentries == 0); in xpc_connect() 143 if (XPC_MSG_SIZE(payload_size) > XPC_MSG_MAX_SIZE) in xpc_connect() 158 registration->entry_size = XPC_MSG_SIZE(payload_size); in xpc_connect()
|
D | xp.h | 310 u16 payload_size) in xpc_send() argument 316 payload_size); in xpc_send() 321 u16 payload_size, xpc_notify_func func, void *key) in xpc_send_notify() argument 327 payload_size, func, key); in xpc_send_notify()
|
/drivers/hv/ |
D | hv.c | 69 void *payload, size_t payload_size) in hv_post_message() argument 75 if (payload_size > HV_MESSAGE_PAYLOAD_BYTE_COUNT) in hv_post_message() 83 aligned_msg->payload_size = payload_size; in hv_post_message() 84 memcpy((void *)aligned_msg->payload, payload, payload_size); in hv_post_message()
|
D | hyperv_vmbus.h | 178 u32 payload_size; member 246 void *payload, size_t payload_size);
|
/drivers/staging/gdm724x/ |
D | gdm_mux.c | 155 unsigned int payload_size; in up_to_host() local 167 payload_size = __le32_to_cpu(mux_header->payload_size); in up_to_host() 175 total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); in up_to_host() 180 payload_size, len, packet_type); in up_to_host() 191 payload_size, in up_to_host() 385 mux_header->payload_size = __cpu_to_le32((u32)len); in gdm_mux_send()
|
/drivers/misc/vmw_vmci/ |
D | vmci_datagram.c | 236 (size_t) dg->payload_size, GFP_ATOMIC); in dg_dispatch_as_host() 330 if (dg->payload_size > VMCI_MAX_DG_SIZE || in vmci_datagram_dispatch() 333 (unsigned long long)dg->payload_size); in vmci_datagram_dispatch() 379 dg_info = kmalloc(sizeof(*dg_info) + (size_t)dg->payload_size, in vmci_datagram_invoke_guest_handler()
|
D | vmci_doorbell.c | 244 link_msg.hdr.payload_size = sizeof(link_msg) - VMCI_DG_HEADERSIZE; in dbell_link() 262 unlink_msg.hdr.payload_size = sizeof(unlink_msg) - VMCI_DG_HEADERSIZE; in dbell_unlink() 279 notify_msg.hdr.payload_size = sizeof(notify_msg) - VMCI_DG_HEADERSIZE; in dbell_notify_as_guest() 342 bitmap_set_msg.hdr.payload_size = sizeof(bitmap_set_msg) - in vmci_dbell_register_notification_bitmap()
|
D | vmci_event.c | 115 if (msg->payload_size < sizeof(u32) || in vmci_event_dispatch() 116 msg->payload_size > sizeof(struct vmci_event_data_max)) in vmci_event_dispatch()
|
/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.c | 293 geo->payload_size = mtd->writesize; in set_geometry_by_ecc_info() 352 geo->payload_size = mtd->writesize; in legacy_set_geometry() 873 this->page_buffer_size = geo->payload_size + geo->auxiliary_size; in gpmi_alloc_dma_buffer() 886 this->auxiliary_virt = this->payload_virt + geo->payload_size; in gpmi_alloc_dma_buffer() 887 this->auxiliary_phys = this->payload_phys + geo->payload_size; in gpmi_alloc_dma_buffer() 1047 ret = read_page_prepare(this, buf, nfc_geo->payload_size, in gpmi_ecc_read_page() 1049 nfc_geo->payload_size, in gpmi_ecc_read_page() 1061 read_page_end(this, buf, nfc_geo->payload_size, in gpmi_ecc_read_page() 1063 nfc_geo->payload_size, in gpmi_ecc_read_page() 1073 read_page_swap_end(this, buf, nfc_geo->payload_size, in gpmi_ecc_read_page() [all …]
|
/drivers/nfc/fdp/ |
D | fdp.c | 195 int max_size, payload_size; in fdp_nci_send_patch() local 218 payload_size = min_t(unsigned long, max_size, len); in fdp_nci_send_patch() 220 skb = nci_skb_alloc(ndev, (NCI_CTRL_HDR_SIZE + payload_size), in fdp_nci_send_patch() 230 skb_put_data(skb, fw->data + (fw->size - len), payload_size); in fdp_nci_send_patch() 239 len -= payload_size; in fdp_nci_send_patch()
|
/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 77 u16 payload_size; /* payload size so far for header */ member 356 if ((pkt->payload_size + newlen) >= pkt->frag_size) { in qib_user_sdma_page_to_frags() 357 newlen = pkt->frag_size - pkt->payload_size; in qib_user_sdma_page_to_frags() 375 pkt->payload_size += newlen; in qib_user_sdma_page_to_frags() 496 pbc16[0] = cpu_to_le16(le16_to_cpu(pbc16[0])-(pkt->payload_size>>2)); in qib_user_sdma_page_to_frags() 509 hdr->uwords[2] += pkt->payload_size; in qib_user_sdma_page_to_frags() 535 pkt->payload_size = 0; in qib_user_sdma_page_to_frags() 972 pkt->payload_size = 0; in qib_user_sdma_queue_pkts()
|
/drivers/media/usb/uvc/ |
D | uvc_video.c | 1148 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data() 1236 stream->bulk.payload_size += len; in uvc_video_decode_bulk() 1274 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk() 1277 stream->bulk.payload_size); in uvc_video_decode_bulk() 1284 stream->bulk.payload_size = 0; in uvc_video_decode_bulk() 1303 stream->bulk.payload_size += ret; in uvc_video_encode_bulk() 1311 stream->bulk.payload_size += ret; in uvc_video_encode_bulk() 1315 stream->bulk.payload_size == stream->bulk.max_payload_size) { in uvc_video_encode_bulk() 1325 stream->bulk.payload_size = 0; in uvc_video_encode_bulk() 1624 stream->bulk.payload_size = 0; in uvc_init_video()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_tx.c | 435 txb->payload_size = frag_size * (nr_frags - 1) + in libipw_xmit() 438 txb->payload_size = bytes; in libipw_xmit() 516 dev->stats.tx_bytes += txb->payload_size; in libipw_xmit()
|
/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 626 txb->payload_size = cpu_to_le16(skb->len); in rtllib_xmit_inter() 789 txb->payload_size = cpu_to_le16(bytes); in rtllib_xmit_inter() 894 txb->payload_size = cpu_to_le16(skb->len); in rtllib_xmit_inter() 961 dev->stats.tx_bytes += le16_to_cpu(txb->payload_size); in rtllib_xmit_inter() 966 stats->tx_bytes += le16_to_cpu(txb->payload_size); in rtllib_xmit_inter()
|