Home
last modified time | relevance | path

Searched refs:num_segments (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/acpi/acpica/
H A Dnsutils.c138 info->num_segments = 0; in acpi_ns_get_internal_name_length()
173 info->num_segments = 1; in acpi_ns_get_internal_name_length()
176 info->num_segments++; in acpi_ns_get_internal_name_length()
181 info->length = (ACPI_NAMESEG_SIZE * info->num_segments) + in acpi_ns_get_internal_name_length()
202 u32 num_segments = info->num_segments; in acpi_ns_build_internal_name() local
215 if (num_segments <= 1) { in acpi_ns_build_internal_name()
217 } else if (num_segments == 2) { in acpi_ns_build_internal_name()
222 internal_name[2] = (char)num_segments; in acpi_ns_build_internal_name()
237 if (num_segments <= 1) { in acpi_ns_build_internal_name()
239 } else if (num_segments == 2) { in acpi_ns_build_internal_name()
[all …]
H A Dnsaccess.c294 u32 num_segments; in acpi_ns_lookup() local
361 num_segments = 0; in acpi_ns_lookup()
474 num_segments = 0; in acpi_ns_lookup()
490 num_segments = 2; in acpi_ns_lookup()
507 num_segments = (u32) (u8) * path; in acpi_ns_lookup()
512 num_segments, flags)); in acpi_ns_lookup()
520 num_segments = 1; in acpi_ns_lookup()
528 ACPI_DEBUG_EXEC(acpi_ns_print_pathname(num_segments, path)); in acpi_ns_lookup()
542 while (num_segments && current_node) { in acpi_ns_lookup()
543 num_segments--; in acpi_ns_lookup()
[all …]
H A Dexnames.c214 u32 num_segments; in acpi_ex_get_name_string() local
317 num_segments = *aml_address; in acpi_ex_get_name_string()
321 num_segments); in acpi_ex_get_name_string()
332 while (num_segments && in acpi_ex_get_name_string()
336 num_segments--; in acpi_ex_get_name_string()
H A Dnsdump.c50 void acpi_ns_print_pathname(u32 num_segments, const char *pathname) in acpi_ns_print_pathname() argument
66 while (num_segments) { in acpi_ns_print_pathname()
74 num_segments--; in acpi_ns_print_pathname()
75 if (num_segments) { in acpi_ns_print_pathname()
H A Dacnamesp.h187 void acpi_ns_print_pathname(u32 num_segments, const char *pathname);
H A Daclocal.h222 u32 num_segments; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dtestmode.c399 u16 chunk_len, total_bytes, num_segments; in ath11k_tm_cmd_wmi_ftm() local
428 num_segments = total_bytes / MAX_WMI_UTF_LEN; in ath11k_tm_cmd_wmi_ftm()
430 if (buf_len - (num_segments * MAX_WMI_UTF_LEN)) in ath11k_tm_cmd_wmi_ftm()
431 num_segments++; in ath11k_tm_cmd_wmi_ftm()
450 seginfo = FIELD_PREP(ATH11K_FTM_SEGHDR_TOTAL_SEGMENTS, num_segments) | in ath11k_tm_cmd_wmi_ftm()
/linux/include/linux/
H A Dagpgart.h93 int num_segments; member
/linux/drivers/dma/
H A Ddma-axi-dmac.c587 unsigned int num_segments, i; in axi_dmac_fill_linear_sg() local
592 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_fill_linear_sg()
593 segment_size = DIV_ROUND_UP(period_len, num_segments); in axi_dmac_fill_linear_sg()
710 unsigned int num_periods, num_segments, num_sgs; in axi_dmac_prep_dma_cyclic() local
723 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_prep_dma_cyclic()
724 num_sgs = num_periods * num_segments; in axi_dmac_prep_dma_cyclic()
/linux/drivers/media/dvb-frontends/
H A Dmxl5xx_defs.h162 u8 num_segments; member
H A Dmxl5xx.c897 for (index = 0; index < mbin_ptr->header.num_segments; index++) { in do_firmware_download()
/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr.h436 u16 num_segments; member
465 u16 num_segments; member
H A Dmpi3mr_fw.c1824 for (j = 0; j < mrioc->req_qinfo[q_idx].num_segments; j++) { in mpi3mr_free_op_req_q_segments()
1868 for (j = 0; j < mrioc->op_reply_qinfo[q_idx].num_segments; j++) { in mpi3mr_free_op_reply_q_segments()
1996 op_reply_q->num_segments = DIV_ROUND_UP(op_reply_q->num_replies, in mpi3mr_alloc_op_reply_q_segments()
1999 op_reply_q->q_segments = kcalloc(op_reply_q->num_segments, in mpi3mr_alloc_op_reply_q_segments()
2005 for (i = 0; i < op_reply_q->num_segments; i++) { in mpi3mr_alloc_op_reply_q_segments()
2054 op_req_q->num_segments = DIV_ROUND_UP(op_req_q->num_requests, in mpi3mr_alloc_op_req_q_segments()
2057 op_req_q->q_segments = kcalloc(op_req_q->num_segments, in mpi3mr_alloc_op_req_q_segments()
2063 for (i = 0; i < op_req_q->num_segments; i++) { in mpi3mr_alloc_op_req_q_segments()
4553 for (i = 0; i < op_reply_q->num_segments; i++) in mpi3mr_memset_op_reply_q_buffers()
4576 for (i = 0; i < op_req_q->num_segments; i++) in mpi3mr_memset_op_req_q_buffers()
/linux/include/ufs/
H A Dufshcd.h381 void *prdt, unsigned int num_segments);
/linux/drivers/ufs/host/
H A Dufs-exynos.c1366 void *prdt, unsigned int num_segments) in exynos_ufs_fmp_fill_prdt() argument
1380 for (i = 0; i < num_segments; i++) { in exynos_ufs_fmp_fill_prdt()