Home
last modified time | relevance | path

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

12

/drivers/ps3/
Dps3-sys-manager.c60 u32 payload_size; member
72 pr_debug("%s:%d: payload_size: %xh\n", func, line, h->payload_size); in _dump_sm_header()
248 BUG_ON(header->payload_size != 8 && header->payload_size != 16); in ps3_sys_manager_write()
255 result = ps3_vuart_write(dev, payload, header->payload_size); in ps3_sys_manager_write()
282 header.payload_size = 16; in ps3_sys_manager_send_attr()
319 header.payload_size = 16; in ps3_sys_manager_send_next_op()
361 header.payload_size = 16; in ps3_sys_manager_send_request_shutdown()
399 header.payload_size = 16; in ps3_sys_manager_send_response()
557 if (header.size != 16 || (header.payload_size != 8 in ps3_sys_manager_handle_msg()
558 && header.payload_size != 16)) { in ps3_sys_manager_handle_msg()
[all …]
/drivers/usb/gadget/function/
Duvc_video.c70 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()
Duvc.h130 __u32 payload_size; member
/drivers/misc/sgi-xp/
Dxp.h310 u16 payload_size) in xpc_send() argument
313 payload_size); in xpc_send()
318 u16 payload_size, xpc_notify_func func, void *key) in xpc_send_notify() argument
321 payload_size, func, key); in xpc_send_notify()
Dxp_main.c157 xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, in xpc_connect() argument
163 DBUG_ON(payload_size == 0 || nentries == 0); in xpc_connect()
167 if (XPC_MSG_SIZE(payload_size) > XPC_MSG_MAX_SIZE) in xpc_connect()
182 registration->entry_size = XPC_MSG_SIZE(payload_size); in xpc_connect()
Dxpc_channel.c876 u16 payload_size) in xpc_initiate_send() argument
890 flags, payload, payload_size, 0, NULL, NULL); in xpc_initiate_send()
927 u16 payload_size, xpc_notify_func func, void *key) in xpc_initiate_send_notify() argument
942 flags, payload, payload_size, XPC_N_CALL, func, key); in xpc_initiate_send_notify()
/drivers/clk/
Dclk-mb86s7x.c33 u32 payload_size; member
58 cmd.payload_size = sizeof(cmd); in crg_gate_control()
109 cmd.payload_size = sizeof(cmd); in crg_rate_control()
256 u32 payload_size; member
269 cmd.payload_size = sizeof(cmd); in mhu_cluster_rate()
/drivers/staging/gdm724x/
Dgdm_mux.c157 unsigned int payload_size; in up_to_host() local
169 payload_size = __le32_to_cpu(mux_header->payload_size); in up_to_host()
177 total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); in up_to_host()
182 payload_size, len, packet_type); in up_to_host()
193 payload_size, in up_to_host()
386 mux_header->payload_size = __cpu_to_le32((u32)len); in gdm_mux_send()
Dgdm_mux.h40 __le32 payload_size; member
/drivers/misc/vmw_vmci/
Dvmci_datagram.c236 (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()
Dvmci_doorbell.c244 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()
Dvmci_event.c114 if (msg->payload_size < sizeof(u32) || in vmci_event_dispatch()
115 msg->payload_size > sizeof(struct vmci_event_data_max)) in vmci_event_dispatch()
Dvmci_guest.c90 get_cid_msg.payload_size = 0; in vmci_get_vm_context_id()
184 check_msg->payload_size = msg_size - VMCI_DG_HEADERSIZE; in vmci_check_host_caps()
/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c238 geo->payload_size = mtd->writesize; in set_geometry_by_ecc_info()
295 geo->payload_size = mtd->writesize; in legacy_set_geometry()
835 this->page_buffer_size = geo->payload_size + geo->auxiliary_size; in gpmi_alloc_dma_buffer()
848 this->auxiliary_virt = this->payload_virt + geo->payload_size; in gpmi_alloc_dma_buffer()
849 this->auxiliary_phys = this->payload_phys + geo->payload_size; in gpmi_alloc_dma_buffer()
1009 ret = read_page_prepare(this, buf, nfc_geo->payload_size, in gpmi_ecc_read_page()
1011 nfc_geo->payload_size, in gpmi_ecc_read_page()
1023 read_page_end(this, buf, nfc_geo->payload_size, in gpmi_ecc_read_page()
1025 nfc_geo->payload_size, in gpmi_ecc_read_page()
1035 read_page_swap_end(this, buf, nfc_geo->payload_size, in gpmi_ecc_read_page()
[all …]
Dgpmi-nand.h62 unsigned int payload_size; member
/drivers/hv/
Dhv.c327 void *payload, size_t payload_size) in hv_post_message() argument
333 if (payload_size > HV_MESSAGE_PAYLOAD_BYTE_COUNT) in hv_post_message()
342 aligned_msg->payload_size = payload_size; in hv_post_message()
343 memcpy((void *)aligned_msg->payload, payload, payload_size); in hv_post_message()
Dhyperv_vmbus.h189 u8 payload_size; member
362 u32 payload_size; member
594 void *payload, size_t payload_size);
/drivers/nfc/fdp/
Dfdp.c194 int max_size, payload_size; in fdp_nci_send_patch() local
217 payload_size = min_t(unsigned long, max_size, len); in fdp_nci_send_patch()
219 skb = nci_skb_alloc(ndev, (NCI_CTRL_HDR_SIZE + payload_size), in fdp_nci_send_patch()
229 memcpy(skb_put(skb, payload_size), fw->data + (fw->size - len), in fdp_nci_send_patch()
230 payload_size); in fdp_nci_send_patch()
239 len -= payload_size; in fdp_nci_send_patch()
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c78 u16 payload_size; /* payload size so far for header */ member
357 if ((pkt->payload_size + newlen) >= pkt->frag_size) { in qib_user_sdma_page_to_frags()
358 newlen = pkt->frag_size - pkt->payload_size; in qib_user_sdma_page_to_frags()
376 pkt->payload_size += newlen; in qib_user_sdma_page_to_frags()
497 pbc16[0] = cpu_to_le16(le16_to_cpu(pbc16[0])-(pkt->payload_size>>2)); in qib_user_sdma_page_to_frags()
510 hdr->uwords[2] += pkt->payload_size; in qib_user_sdma_page_to_frags()
536 pkt->payload_size = 0; in qib_user_sdma_page_to_frags()
987 pkt->payload_size = 0; in qib_user_sdma_queue_pkts()
/drivers/media/usb/uvc/
Duvc_video.c1186 nbytes = min(stream->bulk.max_payload_size - stream->bulk.payload_size, in uvc_video_encode_data()
1274 stream->bulk.payload_size += len; in uvc_video_decode_bulk()
1312 stream->bulk.payload_size >= stream->bulk.max_payload_size) { in uvc_video_decode_bulk()
1315 stream->bulk.payload_size); in uvc_video_decode_bulk()
1323 stream->bulk.payload_size = 0; in uvc_video_decode_bulk()
1342 stream->bulk.payload_size += ret; in uvc_video_encode_bulk()
1350 stream->bulk.payload_size += ret; in uvc_video_encode_bulk()
1354 stream->bulk.payload_size == stream->bulk.max_payload_size) { in uvc_video_encode_bulk()
1364 stream->bulk.payload_size = 0; in uvc_video_encode_bulk()
1660 stream->bulk.payload_size = 0; in uvc_init_video()
/drivers/net/wireless/ipw2x00/
Dlibipw_tx.c435 txb->payload_size = frag_size * (nr_frags - 1) + in libipw_xmit()
438 txb->payload_size = bytes; in libipw_xmit()
519 dev->stats.tx_bytes += txb->payload_size; in libipw_xmit()
/drivers/staging/rtl8192e/
Drtllib_tx.c626 txb->payload_size = cpu_to_le16(skb->len); in rtllib_xmit_inter()
788 txb->payload_size = cpu_to_le16(bytes); in rtllib_xmit_inter()
895 txb->payload_size = cpu_to_le16(skb->len); in rtllib_xmit_inter()
963 dev->stats.tx_bytes += le16_to_cpu(txb->payload_size); in rtllib_xmit_inter()
968 stats->tx_bytes += le16_to_cpu(txb->payload_size); in rtllib_xmit_inter()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_tx.c755 txb->payload_size = bytes; in ieee80211_xmit()
862 txb->payload_size = skb->len; in ieee80211_xmit()
899 stats->tx_bytes += txb->payload_size; in ieee80211_xmit()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c2593 unsigned long payload_size = 0; in s5p_jpeg_irq() local
2623 payload_size = s5p_jpeg_compressed_size(jpeg->regs); in s5p_jpeg_irq()
2634 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, payload_size); in s5p_jpeg_irq()
2652 unsigned long payload_size = 0; in exynos4_jpeg_irq() local
2690 payload_size = exynos4_jpeg_get_stream_size(jpeg->regs); in exynos4_jpeg_irq()
2692 0, payload_size); in exynos4_jpeg_irq()
2714 unsigned long payload_size = 0; in exynos3250_jpeg_irq() local
2748 payload_size = exynos3250_jpeg_compressed_size(jpeg->regs); in exynos3250_jpeg_irq()
2762 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, payload_size); in exynos3250_jpeg_irq()
/drivers/media/common/siano/
Dsmscoreapi.c961 int payload_size = min_t(int, size, SMS_MAX_PAYLOAD_SIZE); in smscore_load_firmware_family2() local
965 sizeof(u32) + payload_size)); in smscore_load_firmware_family2()
968 memcpy(data_msg->payload, payload, payload_size); in smscore_load_firmware_family2()
974 payload += payload_size; in smscore_load_firmware_family2()
975 size -= payload_size; in smscore_load_firmware_family2()
976 mem_address += payload_size; in smscore_load_firmware_family2()

12