/kernel/linux/linux-6.6/drivers/char/tpm/st33zp24/ |
H A D | spi.c | 99 int total_length = 0, ret = 0; in st33zp24_spi_send() local 108 phy->tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_send() 109 phy->tx_buf[total_length++] = tpm_register; in st33zp24_spi_send() 112 phy->tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send() 113 phy->tx_buf[total_length++] = tpm_size; in st33zp24_spi_send() 116 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send() 117 total_length += tpm_size; in st33zp24_spi_send() 119 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send() 121 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send() 125 ret = phy->rx_buf[total_length in st33zp24_spi_send() 142 int total_length = 0, ret; st33zp24_spi_read8_reg() local [all...] |
/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/ |
H A D | spi.c | 104 int total_length = 0, ret = 0; in st33zp24_spi_send() local 113 phy->tx_buf[total_length++] = TPM_WRITE_DIRECTION | LOCALITY0; in st33zp24_spi_send() 114 phy->tx_buf[total_length++] = tpm_register; in st33zp24_spi_send() 117 phy->tx_buf[total_length++] = tpm_size >> 8; in st33zp24_spi_send() 118 phy->tx_buf[total_length++] = tpm_size; in st33zp24_spi_send() 121 memcpy(&phy->tx_buf[total_length], tpm_data, tpm_size); in st33zp24_spi_send() 122 total_length += tpm_size; in st33zp24_spi_send() 124 memset(&phy->tx_buf[total_length], TPM_DUMMY_BYTE, phy->latency); in st33zp24_spi_send() 126 spi_xfer.len = total_length + phy->latency; in st33zp24_spi_send() 130 ret = phy->rx_buf[total_length in st33zp24_spi_send() 147 int total_length = 0, ret; st33zp24_spi_read8_reg() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | rsutils.c | 153 * PARAMETERS: total_length - Length of the AML descriptor, including 167 acpi_rs_set_resource_length(acpi_rsdesc_size total_length, in acpi_rs_set_resource_length() argument 177 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length() 204 * total_length - Length of the AML descriptor, including 218 acpi_rsdesc_size total_length, in acpi_rs_set_resource_header() 229 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header() 289 acpi_rsdesc_size total_length; in acpi_rs_get_resource_source() local 294 total_length = in acpi_rs_get_resource_source() 305 if (total_length > (acpi_rsdesc_size)(minimum_length + 1)) { in acpi_rs_get_resource_source() 329 total_length in acpi_rs_get_resource_source() 217 acpi_rs_set_resource_header(u8 descriptor_type, acpi_rsdesc_size total_length, union aml_resource *aml) acpi_rs_set_resource_header() argument [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | rsutils.c | 153 * PARAMETERS: total_length - Length of the AML descriptor, including 167 acpi_rs_set_resource_length(acpi_rsdesc_size total_length, in acpi_rs_set_resource_length() argument 177 (total_length - acpi_ut_get_resource_header_length(aml)); in acpi_rs_set_resource_length() 204 * total_length - Length of the AML descriptor, including 218 acpi_rsdesc_size total_length, in acpi_rs_set_resource_header() 229 acpi_rs_set_resource_length(total_length, aml); in acpi_rs_set_resource_header() 289 acpi_rsdesc_size total_length; in acpi_rs_get_resource_source() local 294 total_length = in acpi_rs_get_resource_source() 305 if (total_length > (acpi_rsdesc_size)(minimum_length + 1)) { in acpi_rs_get_resource_source() 329 total_length in acpi_rs_get_resource_source() 217 acpi_rs_set_resource_header(u8 descriptor_type, acpi_rsdesc_size total_length, union aml_resource *aml) acpi_rs_set_resource_header() argument [all...] |
/kernel/linux/linux-6.6/net/hsr/ |
H A D | hsr_forward.c | 41 u16 total_length = 0; in is_supervision_frame() local 58 total_length = sizeof(struct hsrv1_ethhdr_sp); in is_supervision_frame() 59 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame() 68 total_length = sizeof(struct hsrv0_ethhdr_sp); in is_supervision_frame() 69 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame() 86 total_length += hsr_sup_tag->tlv.HSR_TLV_length; in is_supervision_frame() 87 if (!pskb_may_pull(skb, total_length)) in is_supervision_frame() 89 skb_pull(skb, total_length); in is_supervision_frame() 91 skb_push(skb, total_length); in is_supervision_frame() 102 total_length in is_supervision_frame() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_query.c | 16 u32 total_length, in copy_query_item() 20 return total_length; in copy_query_item() 22 if (query_item->length < total_length) in copy_query_item() 37 u32 slice_length, subslice_length, eu_length, total_length; in fill_topology_info() local 50 total_length = sizeof(topo) + slice_length + subslice_length + in fill_topology_info() 53 ret = copy_query_item(&topo, sizeof(topo), total_length, query_item); in fill_topology_info() 87 return total_length; in fill_topology_info() 470 u32 total_length; in query_memregion_info() local 476 total_length = sizeof(query); in query_memregion_info() 481 total_length in query_memregion_info() 15 copy_query_item(void *query_hdr, size_t query_sz, u32 total_length, struct drm_i915_query_item *query_item) copy_query_item() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl8712_xmit.c | 363 u16 total_length = (u16) (ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe() local 367 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & in r8712_dump_aggr_xframe() 373 ((total_length + TXDESC_SIZE) << 16)); in r8712_dump_aggr_xframe() 378 if ((pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 0x200) == in r8712_dump_aggr_xframe() 379 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % in r8712_dump_aggr_xframe() 392 total_length + TXDESC_SIZE, (u8 *)pxmitframe); in r8712_dump_aggr_xframe() 641 u16 total_length; in r8712_xmitframe_complete() local 643 total_length = r8712_xmitframe_aggr_next( in r8712_xmitframe_complete() 649 total_length = in r8712_xmitframe_complete() 655 } while (total_length < in r8712_xmitframe_complete() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl8712_xmit.c | 362 u16 total_length = (u16)(ptxdesc->txdw0 & 0xffff); in r8712_dump_aggr_xframe() local 366 pcmd_hdr->cmd_dw0 = cpu_to_le32(((total_length - CMD_HDR_SZ) & in r8712_dump_aggr_xframe() 372 ((total_length + TXDESC_SIZE) << 16)); in r8712_dump_aggr_xframe() 377 if ((pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % 0x200) == in r8712_dump_aggr_xframe() 378 0) || ((!pdvobj->ishighspeed && ((total_length + TXDESC_SIZE) % in r8712_dump_aggr_xframe() 391 total_length + TXDESC_SIZE, (u8 *)pxmitframe); in r8712_dump_aggr_xframe() 640 u16 total_length; in r8712_xmitframe_complete() local 642 total_length = r8712_xmitframe_aggr_next( in r8712_xmitframe_complete() 648 total_length = in r8712_xmitframe_complete() 654 } while (total_length < in r8712_xmitframe_complete() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_edid_parser.c | 31 int total_length, in dc_edid_parser_send_cea() 42 total_length, in dc_edid_parser_send_cea() 29 dc_edid_parser_send_cea(struct dc *dc, int offset, int total_length, uint8_t *data, int length) dc_edid_parser_send_cea() argument
|
H A D | dc_edid_parser.h | 33 int total_length,
|
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 109 STR_NULL_TERMINATE(buf->total_length); in bcm963xx_parse_imagetag_partitions() 110 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm963xx_parse_imagetag_partitions() 112 (int)sizeof(buf->total_length), in bcm963xx_parse_imagetag_partitions() 113 buf->total_length); in bcm963xx_parse_imagetag_partitions()
|
/kernel/linux/linux-6.6/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 109 STR_NULL_TERMINATE(buf->total_length); in bcm963xx_parse_imagetag_partitions() 110 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm963xx_parse_imagetag_partitions() 112 (int)sizeof(buf->total_length), in bcm963xx_parse_imagetag_partitions() 113 buf->total_length); in bcm963xx_parse_imagetag_partitions()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_query.c | 15 u32 total_length, in copy_query_item() 19 return total_length; in copy_query_item() 21 if (query_item->length < total_length) in copy_query_item() 36 u32 slice_length, subslice_length, eu_length, total_length; in query_topology_info() local 50 total_length = sizeof(topo) + slice_length + subslice_length + in query_topology_info() 53 ret = copy_query_item(&topo, sizeof(topo), total_length, in query_topology_info() 90 return total_length; in query_topology_info() 14 copy_query_item(void *query_hdr, size_t query_sz, u32 total_length, struct drm_i915_query_item *query_item) copy_query_item() argument
|
/kernel/linux/linux-5.10/sound/usb/6fire/ |
H A D | pcm.c | 197 unsigned int total_length = 0; in usb6fire_pcm_capture() local 217 src = (u32 *) (urb->buffer + total_length); in usb6fire_pcm_capture() 219 src = (u32 *) (urb->buffer - 1 + total_length); in usb6fire_pcm_capture() 223 total_length += urb->packets[i].length; in usb6fire_pcm_capture() 293 int total_length = 0; in usb6fire_pcm_in_urb_handler() local 330 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler() 335 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler() 337 memset(out_urb->buffer, 0, total_length); in usb6fire_pcm_in_urb_handler()
|
/kernel/linux/linux-6.6/sound/usb/6fire/ |
H A D | pcm.c | 197 unsigned int total_length = 0; in usb6fire_pcm_capture() local 217 src = (u32 *) (urb->buffer + total_length); in usb6fire_pcm_capture() 219 src = (u32 *) (urb->buffer - 1 + total_length); in usb6fire_pcm_capture() 223 total_length += urb->packets[i].length; in usb6fire_pcm_capture() 293 int total_length = 0; in usb6fire_pcm_in_urb_handler() local 330 out_urb->packets[i].offset = total_length; in usb6fire_pcm_in_urb_handler() 335 total_length += out_urb->packets[i].length; in usb6fire_pcm_in_urb_handler() 337 memset(out_urb->buffer, 0, total_length); in usb6fire_pcm_in_urb_handler()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | genelf_debug.c | 104 uword total_length; member 136 uword total_length; member 146 .total_length = -1, 173 .total_length = -1, 426 dbg_header->total_length = (buffer_ext_size(be) - old_size) - in add_debug_line() 457 comp_unit_header->total_length = (buffer_ext_size(be) - old_size) - in add_compilation_unit()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | genelf_debug.c | 111 uword total_length; member 143 uword total_length; member 153 .total_length = -1, 180 .total_length = -1, 437 dbg_header->total_length = (buffer_ext_size(be) - old_size) - in add_debug_line() 468 comp_unit_header->total_length = (buffer_ext_size(be) - old_size) - in add_compilation_unit()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ |
H A D | r819xU_cmdpkt.c | 474 int total_length; in cmpk_message_handle_rx() local 486 total_length = pstats->Length; in cmpk_message_handle_rx() 501 while (total_length > 0 && exe_cnt++ < 100) { in cmpk_message_handle_rx() 545 total_length -= cmd_length; in cmpk_message_handle_rx()
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | acpi_memhotplug.c | 176 u64 total_length = 0; in acpi_memory_enable_device() local 187 total_length += info->length; in acpi_memory_enable_device() 190 if (!total_length) { in acpi_memory_enable_device() 195 mgid = memory_group_register_static(node, PFN_UP(total_length)); in acpi_memory_enable_device()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ |
H A D | r819xU_cmdpkt.c | 434 int total_length; in cmpk_message_handle_rx() local 446 total_length = pstats->Length; in cmpk_message_handle_rx() 461 while (total_length > 0 && exe_cnt++ < 100) { in cmpk_message_handle_rx() 504 total_length -= cmd_length; in cmpk_message_handle_rx()
|
/kernel/linux/linux-6.6/drivers/vfio/pci/hisilicon/ |
H A D | hisi_acc_vfio_pci.c | 363 if (migf->total_length < QM_MATCH_SIZE || hisi_acc_vdev->match_done) in vf_qm_check_match() 453 if (migf->total_length == QM_MATCH_SIZE) in vf_qm_load_data() 456 if (migf->total_length < sizeof(struct acc_vf_data)) in vf_qm_load_data() 501 migf->total_length = QM_MATCH_SIZE; in vf_qm_state_save() 539 migf->total_length = sizeof(struct acc_vf_data); in vf_qm_state_save() 613 migf->total_length = 0; in hisi_acc_vf_disable_fd() 726 migf->total_length += len; in hisi_acc_vf_resume_write() 800 if (*pos > migf->total_length) { in hisi_acc_vf_precopy_ioctl() 806 info.initial_bytes = migf->total_length - *pos; in hisi_acc_vf_precopy_ioctl() 827 if (*pos > migf->total_length) { in hisi_acc_vf_save_read() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/ |
H A D | m00473_freewheel_memmap_package.h | 18 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
|
/kernel/linux/linux-6.6/drivers/media/pci/cobalt/ |
H A D | m00473_freewheel_memmap_package.h | 18 uint32_t total_length; /* Reg 0x000c, Default=0x31151b */ member
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | miscdev.c | 218 size_t total_length; in ecryptfs_miscdev_read() local 273 total_length = (PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_length_size in ecryptfs_miscdev_read() 275 if (count < total_length) { in ecryptfs_miscdev_read() 279 "pending message\n", __func__, count, total_length); in ecryptfs_miscdev_read()
|
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | miscdev.c | 218 size_t total_length; in ecryptfs_miscdev_read() local 273 total_length = (PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_length_size in ecryptfs_miscdev_read() 275 if (count < total_length) { in ecryptfs_miscdev_read() 279 "pending message\n", __func__, count, total_length); in ecryptfs_miscdev_read()
|