Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/acpica/
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 …]
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 …]
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()
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()
Dacnamesp.h187 void acpi_ns_print_pathname(u32 num_segments, const char *pathname);
Daclocal.h222 u32 num_segments; member
/linux-6.1.9/drivers/dma/
Ddma-axi-dmac.c501 unsigned int num_segments, i; in axi_dmac_fill_linear_sg() local
506 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_fill_linear_sg()
507 segment_size = DIV_ROUND_UP(period_len, num_segments); in axi_dmac_fill_linear_sg()
587 unsigned int num_periods, num_segments; in axi_dmac_prep_dma_cyclic() local
600 num_segments = DIV_ROUND_UP(period_len, chan->max_length); in axi_dmac_prep_dma_cyclic()
602 desc = axi_dmac_alloc_desc(num_periods * num_segments); in axi_dmac_prep_dma_cyclic()
/linux-6.1.9/include/linux/
Dagpgart.h93 int num_segments; member
/linux-6.1.9/drivers/char/agp/
Dfrontend.c114 for (i = 0; i < client->num_segments; i++) { in agp_find_seg_in_client()
141 struct agp_segment_priv ** seg, int num_segments) in agp_add_seg_to_client() argument
150 DBG("Adding seg %p (%d segments) to client %p", seg, num_segments, client); in agp_add_seg_to_client()
151 client->num_segments = num_segments; in agp_add_seg_to_client()
/linux-6.1.9/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c722 u32 num_periods, num_segments; in dw_axi_dma_chan_prep_cyclic() local
737 num_segments = DIV_ROUND_UP(period_len, axi_block_len); in dw_axi_dma_chan_prep_cyclic()
738 segment_len = DIV_ROUND_UP(period_len, num_segments); in dw_axi_dma_chan_prep_cyclic()
740 total_segments = num_periods * num_segments; in dw_axi_dma_chan_prep_cyclic()
798 u32 num_segments, segment_len; in dw_axi_dma_chan_prep_slave_sg() local
833 num_segments = DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg()
834 segment_len = DIV_ROUND_UP(sg_dma_len(sg), num_segments); in dw_axi_dma_chan_prep_slave_sg()
/linux-6.1.9/drivers/comedi/drivers/
Dcb_pcidas64.c579 unsigned int num_segments; member
635 .num_segments = 2,
642 .num_segments = 4,
649 .num_segments = 4,
1401 fifo->num_segments); in set_ai_fifo_size()
1405 return retval * fifo->num_segments * fifo->sample_packing_ratio; in set_ai_fifo_size()
1415 board->ai_fifo->num_segments * in ai_fifo_size()
1907 fifo_size = requested_block_size * fifo->num_segments / in ai_config_block_size()
1915 block_size = ai_fifo_size(dev) / fifo->num_segments * bytes_in_sample; in ai_config_block_size()
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr.h389 u16 num_segments; member
418 u16 num_segments; member
Dmpi3mr_fw.c1580 for (j = 0; j < mrioc->req_qinfo[q_idx].num_segments; j++) { in mpi3mr_free_op_req_q_segments()
1624 for (j = 0; j < mrioc->op_reply_qinfo[q_idx].num_segments; j++) { in mpi3mr_free_op_reply_q_segments()
1752 op_reply_q->num_segments = DIV_ROUND_UP(op_reply_q->num_replies, in mpi3mr_alloc_op_reply_q_segments()
1755 op_reply_q->q_segments = kcalloc(op_reply_q->num_segments, in mpi3mr_alloc_op_reply_q_segments()
1761 for (i = 0; i < op_reply_q->num_segments; i++) { in mpi3mr_alloc_op_reply_q_segments()
1810 op_req_q->num_segments = DIV_ROUND_UP(op_req_q->num_requests, in mpi3mr_alloc_op_req_q_segments()
1813 op_req_q->q_segments = kcalloc(op_req_q->num_segments, in mpi3mr_alloc_op_req_q_segments()
1819 for (i = 0; i < op_req_q->num_segments; i++) { in mpi3mr_alloc_op_req_q_segments()
4125 for (i = 0; i < op_reply_q->num_segments; i++) in mpi3mr_memset_op_reply_q_buffers()
4148 for (i = 0; i < op_req_q->num_segments; i++) in mpi3mr_memset_op_req_q_buffers()
/linux-6.1.9/drivers/media/dvb-frontends/
Dmxl5xx_defs.h162 u8 num_segments; member
Dmxl5xx.c897 for (index = 0; index < mbin_ptr->header.num_segments; index++) { in do_firmware_download()