/linux-6.6.21/drivers/acpi/acpica/ |
D | nsutils.c | 138 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 …]
|
D | nsaccess.c | 294 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 …]
|
D | exnames.c | 214 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()
|
D | nsdump.c | 50 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()
|
D | acnamesp.h | 187 void acpi_ns_print_pathname(u32 num_segments, const char *pathname);
|
D | aclocal.h | 222 u32 num_segments; member
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | testmode.c | 399 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-6.6.21/drivers/dma/ |
D | dma-axi-dmac.c | 501 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.6.21/include/linux/ |
D | agpgart.h | 93 int num_segments; member
|
/linux-6.6.21/drivers/char/agp/ |
D | frontend.c | 114 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.6.21/drivers/dma/dw-axi-dmac/ |
D | dw-axi-dmac-platform.c | 726 u32 num_periods, num_segments; in dw_axi_dma_chan_prep_cyclic() local 741 num_segments = DIV_ROUND_UP(period_len, axi_block_len); in dw_axi_dma_chan_prep_cyclic() 742 segment_len = DIV_ROUND_UP(period_len, num_segments); in dw_axi_dma_chan_prep_cyclic() 744 total_segments = num_periods * num_segments; in dw_axi_dma_chan_prep_cyclic() 802 u32 num_segments, segment_len; in dw_axi_dma_chan_prep_slave_sg() local 837 num_segments = DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); in dw_axi_dma_chan_prep_slave_sg() 838 segment_len = DIV_ROUND_UP(sg_dma_len(sg), num_segments); in dw_axi_dma_chan_prep_slave_sg()
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | cb_pcidas64.c | 579 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.6.21/drivers/scsi/mpi3mr/ |
D | mpi3mr.h | 394 u16 num_segments; member 423 u16 num_segments; member
|
D | mpi3mr_fw.c | 1611 for (j = 0; j < mrioc->req_qinfo[q_idx].num_segments; j++) { in mpi3mr_free_op_req_q_segments() 1655 for (j = 0; j < mrioc->op_reply_qinfo[q_idx].num_segments; j++) { in mpi3mr_free_op_reply_q_segments() 1783 op_reply_q->num_segments = DIV_ROUND_UP(op_reply_q->num_replies, in mpi3mr_alloc_op_reply_q_segments() 1786 op_reply_q->q_segments = kcalloc(op_reply_q->num_segments, in mpi3mr_alloc_op_reply_q_segments() 1792 for (i = 0; i < op_reply_q->num_segments; i++) { in mpi3mr_alloc_op_reply_q_segments() 1841 op_req_q->num_segments = DIV_ROUND_UP(op_req_q->num_requests, in mpi3mr_alloc_op_req_q_segments() 1844 op_req_q->q_segments = kcalloc(op_req_q->num_segments, in mpi3mr_alloc_op_req_q_segments() 1850 for (i = 0; i < op_req_q->num_segments; i++) { in mpi3mr_alloc_op_req_q_segments() 4168 for (i = 0; i < op_reply_q->num_segments; i++) in mpi3mr_memset_op_reply_q_buffers() 4191 for (i = 0; i < op_req_q->num_segments; i++) in mpi3mr_memset_op_req_q_buffers()
|
/linux-6.6.21/drivers/media/dvb-frontends/ |
D | mxl5xx_defs.h | 162 u8 num_segments; member
|
D | mxl5xx.c | 897 for (index = 0; index < mbin_ptr->header.num_segments; index++) { in do_firmware_download()
|