Home
last modified time | relevance | path

Searched refs:size (Results 19701 - 19725 of 23414) sorted by relevance

1...<<781782783784785786787788789790>>...937

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dpthreadndk1.cpp119 size_t size; in PThreadAttrGetGuardSize() local
122 int ret = pthread_attr_getguardsize(&attr, &size); in PThreadAttrGetGuardSize()
124 ret |= size != testSize; in PThreadAttrGetGuardSize()
268 size_t size; in PThreadAttrSetGuardSize_One() local
271 pthread_attr_getguardsize(&attr, &size); in PThreadAttrSetGuardSize_One()
273 ret |= size != testSize; in PThreadAttrSetGuardSize_One()
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-scsi.c2059 rbuf[2] = (0x238 >> 8); /* page size fixed at 238h */ in ata_scsiop_inq_89()
2087 rbuf[3] = 0x3c; /* required VPD size with unmap support */ in ata_scsiop_inq_b0()
2093 * logical than physical sector size we need to figure out what the in ata_scsiop_inq_b0()
2419 u32 sector_size; /* physical sector size in bytes */ in ata_scsiop_read_cap()
2439 /* sector size */ in ata_scsiop_read_cap()
2455 /* sector size */ in ata_scsiop_read_cap()
2496 rbuf[3] = 8; /* just one lun, LUN 0, size 8 bytes */ in ata_scsiop_report_luns()
2694 /* Most ATAPI devices which honor transfer chunk size don't in atapi_xlat()
2695 * behave according to the spec when odd chunk size which in atapi_xlat()
2998 /* commands using reported Logical Block size ( in ata_scsi_pass_thru()
3201 u32 size; ata_scsi_write_same_xlat() local
3409 u64 size, start, wp; ata_scsi_report_zones_complete() local
[all...]
/kernel/linux/linux-5.10/drivers/atm/
H A Dnicstar.c125 static scq_info *get_scq(ns_dev *card, int size, u32 scd);
485 /* Determine SRAM size */ in ns_init_card()
495 PRINTK("nicstar%d: %dK x 32bit SRAM size.\n", i, card->sram_size); in ns_init_card()
859 static scq_info *get_scq(ns_dev *card, int size, u32 scd) in get_scq() argument
864 if (size != VBR_SCQSIZE && size != CBR_SCQSIZE) in get_scq()
871 2 * size, &scq->dma, GFP_KERNEL); in get_scq()
876 scq->skb = kmalloc_array(size / NS_SCQE_SIZE, in get_scq()
881 2 * size, scq->org, scq->dma); in get_scq()
885 scq->num_entries = size / NS_SCQE_SIZ in get_scq()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c724 * Return error on packet header greater than maximum supported LSO header size.
1312 memset(tx_ring->txds, 0, tx_ring->size); in nfp_net_tx_ring_reset()
1486 memset(rx_ring->rxds, 0, rx_ring->size); in nfp_net_rx_ring_reset()
2360 dma_free_coherent(dp->dev, tx_ring->size, in nfp_net_tx_ring_free()
2367 tx_ring->size = 0; in nfp_net_tx_ring_free()
2384 tx_ring->size = array_size(tx_ring->cnt, sizeof(*tx_ring->txds)); in nfp_net_tx_ring_alloc()
2385 tx_ring->txds = dma_alloc_coherent(dp->dev, tx_ring->size, in nfp_net_tx_ring_alloc()
2512 dma_free_coherent(dp->dev, rx_ring->size, in nfp_net_rx_ring_free()
2519 rx_ring->size = 0; in nfp_net_rx_ring_free()
2542 rx_ring->size in nfp_net_rx_ring_alloc()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
H A D3945-mac.c1669 D_INFO("ucode inst image size is %u\n", len); in il3945_verify_inst_full()
1709 D_INFO("ucode inst image size is %u\n", len); in il3945_verify_inst_sparse()
1852 "(%zd bytes) from disk\n", buf, ucode_raw->size); in il3945_read_ucode()
1861 if (ucode_raw->size < il3945_ucode_get_header_size(1)) { in il3945_read_ucode()
1862 IL_ERR("File size way too small!\n"); in il3945_read_ucode()
1907 D_INFO("f/w package hdr runtime inst size = %u\n", inst_size); in il3945_read_ucode()
1908 D_INFO("f/w package hdr runtime data size = %u\n", data_size); in il3945_read_ucode()
1909 D_INFO("f/w package hdr init inst size = %u\n", init_size); in il3945_read_ucode()
1910 D_INFO("f/w package hdr init data size = %u\n", init_data_size); in il3945_read_ucode()
1911 D_INFO("f/w package hdr boot inst size in il3945_read_ucode()
3216 u32 size = sizeof(measure_report), len = 0, ofs = 0; il3945_show_measurement() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c895 netdev_warn(dev, "RSS table size change required, RSS table entries must be default to proceed\n"); in bnxt_set_channels()
2271 netdev_err(dev, "Invalid firmware file size: %u\n", in bnxt_flash_firmware()
2319 netdev_err(dev, "Invalid microcode file size: %u\n", in bnxt_flash_microcode()
2415 rc = bnxt_flash_firmware(dev, dir_type, fw->data, fw->size); in bnxt_flash_firmware_from_file()
2417 rc = bnxt_flash_microcode(dev, dir_type, fw->data, fw->size); in bnxt_flash_firmware_from_file()
2420 0, 0, fw->data, fw->size); in bnxt_flash_firmware_from_file()
2453 if (fw->size > item_len) { in bnxt_flash_package_from_file()
2455 (unsigned long)fw->size); in bnxt_flash_package_from_file()
2465 modify.len = cpu_to_le32(fw->size); in bnxt_flash_package_from_file()
2467 kmem = dma_alloc_coherent(&bp->pdev->dev, fw->size, in bnxt_flash_package_from_file()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Dgianfar.c1926 unsigned int size; in gfar_start_xmit() local
1931 size = skb_frag_size(frag); in gfar_start_xmit()
1933 lstatus = be32_to_cpu(txbdp->lstatus) | size | in gfar_start_xmit()
1941 size, DMA_TO_DEVICE); in gfar_start_xmit()
2388 int size = lstatus & BD_LENGTH_MASK; in gfar_add_rx_frag() local
2392 skb_put(skb, size); in gfar_add_rx_frag()
2396 size -= skb->len; in gfar_add_rx_frag()
2398 WARN(size < 0, "gianfar: rx fragment size underflow"); in gfar_add_rx_frag()
2399 if (size < in gfar_add_rx_frag()
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd.c1239 int size = 0; in dasd_smalloc_request() local
1242 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1244 size += datasize; in dasd_smalloc_request()
1246 size += (sizeof(*cqr) + 7L) & -8L; in dasd_smalloc_request()
1249 data = chunk = dasd_alloc_chunk(&device->ccw_chunks, size); in dasd_smalloc_request()
1281 int size, cqr_size; in dasd_fmalloc_request() local
1285 size = cqr_size; in dasd_fmalloc_request()
1287 size += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1289 size += datasize; in dasd_fmalloc_request()
1292 cqr = dasd_alloc_chunk(&device->ese_chunks, size); in dasd_fmalloc_request()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfbcon.c452 pr_warn("Ignoring scrollback size option\n"); in fb_console_setup()
1720 if (count > vc->vc_rows) /* Maximum realistic size */ in fbcon_scroll()
1808 if (count > vc->vc_rows) /* Maximum realistic size */ in fbcon_scroll()
2024 #define CALC_FONTSZ(h, p, c) ((h) * (p) * (c)) /* size = height * pitch * charcount */
2036 int size; in fbcon_resize() local
2044 * font data allocated size. in fbcon_resize()
2048 size = CALC_FONTSZ(vc->vc_font.height, pitch, FNTCHARCNT(vc->vc_font.data)); in fbcon_resize()
2049 if (size > FNTSIZE(vc->vc_font.data)) in fbcon_resize()
2501 int size; in fbcon_set_font() local
2528 size in fbcon_set_font()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Dgianfar.c1893 unsigned int size; in gfar_start_xmit() local
1898 size = skb_frag_size(frag); in gfar_start_xmit()
1900 lstatus = be32_to_cpu(txbdp->lstatus) | size | in gfar_start_xmit()
1908 size, DMA_TO_DEVICE); in gfar_start_xmit()
2352 int size = lstatus & BD_LENGTH_MASK; in gfar_add_rx_frag() local
2356 skb_put(skb, size); in gfar_add_rx_frag()
2360 size -= skb->len; in gfar_add_rx_frag()
2362 WARN(size < 0, "gianfar: rx fragment size underflow"); in gfar_add_rx_frag()
2363 if (size < in gfar_add_rx_frag()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/nfit/
H A Dcore.c237 size_t size = 0; in pkg_to_buf() local
250 size += 4; in pkg_to_buf()
252 size += obj->buffer.length; in pkg_to_buf()
260 buf = ACPI_ALLOCATE(sizeof(*buf) + size); in pkg_to_buf()
266 buf->buffer.length = size; in pkg_to_buf()
588 * Need to support FW function w/o known size in advance. in acpi_nfit_ctl()
589 * Caller can determine required size based upon nd_fw_size. in acpi_nfit_ctl()
1223 struct device_attribute *attr, const char *buf, size_t size) in hw_error_scrub_store()
1253 return size; in hw_error_scrub_store()
1295 struct device_attribute *attr, const char *buf, size_t size) in scrub_store()
1222 hw_error_scrub_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) hw_error_scrub_store() argument
1294 scrub_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) scrub_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/ata/
H A Dlibata-scsi.c2034 rbuf[2] = (0x238 >> 8); /* page size fixed at 238h */ in ata_scsiop_inq_89()
2062 rbuf[3] = 0x3c; /* required VPD size with unmap support */ in ata_scsiop_inq_b0()
2068 * logical than physical sector size we need to figure out what the in ata_scsiop_inq_b0()
2257 * are a header. The PAGE LENGTH field is the size of the page in ata_msense_control_spgt2()
2311 * The PAGE LENGTH field is the size of the page excluding the header. in ata_msense_control_ata_feature()
2518 u32 sector_size; /* physical sector size in bytes */ in ata_scsiop_read_cap()
2536 /* sector size */ in ata_scsiop_read_cap()
2552 /* sector size */ in ata_scsiop_read_cap()
2592 rbuf[3] = 8; /* just one lun, LUN 0, size 8 bytes */ in ata_scsiop_report_luns()
2704 /* Most ATAPI devices which honor transfer chunk size do in atapi_xlat()
3215 u32 size; ata_scsi_write_same_xlat() local
3446 u64 size, start, wp; ata_scsi_report_zones_complete() local
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dbackref.c2122 * "size" bytes in "dest". the dest buffer will be filled backwards. finally,
2134 char *dest, u32 size) in btrfs_ref_to_path()
2139 s64 bytes_left = ((s64)size) - 1; in btrfs_ref_to_path()
2209 u64 size = 0; in extent_from_logical() local
2234 size = fs_info->nodesize; in extent_from_logical()
2236 size = found_key->offset; in extent_from_logical()
2239 found_key->objectid + size <= logical) { in extent_from_logical()
2253 "logical %llu is at position %llu within the extent (%llu EXTENT_ITEM %llu) flags %#llx size %u", in extent_from_logical()
2955 u32 size; in btrfs_backref_iter_next() local
2963 size in btrfs_backref_iter_next()
2131 btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, u32 name_len, unsigned long name_off, struct extent_buffer *eb_in, u64 parent, char *dest, u32 size) btrfs_ref_to_path() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd.c1173 int size = 0; in dasd_smalloc_request() local
1176 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1178 size += datasize; in dasd_smalloc_request()
1180 size += (sizeof(*cqr) + 7L) & -8L; in dasd_smalloc_request()
1183 data = chunk = dasd_alloc_chunk(&device->ccw_chunks, size); in dasd_smalloc_request()
1215 int size, cqr_size; in dasd_fmalloc_request() local
1219 size = cqr_size; in dasd_fmalloc_request()
1221 size += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1223 size += datasize; in dasd_fmalloc_request()
1226 cqr = dasd_alloc_chunk(&device->ese_chunks, size); in dasd_fmalloc_request()
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbcon.c420 pr_warn("Ignoring scrollback size option\n"); in fb_console_setup()
1755 if (count > vc->vc_rows) /* Maximum realistic size */ in fbcon_scroll()
1843 if (count > vc->vc_rows) /* Maximum realistic size */ in fbcon_scroll()
1994 #define CALC_FONTSZ(h, p, c) ((h) * (p) * (c)) /* size = height * pitch * charcount */
2006 int size; in fbcon_resize() local
2014 * font data allocated size. in fbcon_resize()
2018 size = CALC_FONTSZ(vc->vc_font.height, pitch, vc->vc_font.charcount); in fbcon_resize()
2019 if (size > FNTSIZE(vc->vc_font.data)) in fbcon_resize()
2470 int size; in fbcon_set_font() local
2497 size in fbcon_set_font()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.c368 if (db_dir.entry_list[i].size < sizeof(struct psp_runtime_boot_cfg_entry)) { in psp_get_runtime_db_entry()
369 /* invalid db entry size */ in psp_get_runtime_db_entry()
370 dev_warn(adev->dev, "Invalid PSP runtime database boot cfg entry size\n"); in psp_get_runtime_db_entry()
379 if (db_dir.entry_list[i].size < sizeof(struct psp_runtime_scpm_entry)) { in psp_get_runtime_db_entry()
380 /* invalid db entry size */ in psp_get_runtime_db_entry()
381 dev_warn(adev->dev, "Invalid PSP runtime database scpm entry size\n"); in psp_get_runtime_db_entry()
723 uint32_t size = 0; in psp_prep_tmr_cmd_buf() local
727 size = amdgpu_bo_size(tmr_bo); in psp_prep_tmr_cmd_buf()
737 cmd->cmd.cmd_setup_tmr.buf_size = size; in psp_prep_tmr_cmd_buf()
744 uint64_t pri_buf_mc, uint32_t size) in psp_prep_load_toc_cmd_buf()
743 psp_prep_load_toc_cmd_buf(struct psp_gfx_cmd_resp *cmd, uint64_t pri_buf_mc, uint32_t size) psp_prep_load_toc_cmd_buf() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c1363 u64 *size) in npc_fwdb_prfl_img_map()
1380 *size = prfl_sz; in npc_fwdb_prfl_img_map()
1578 dev_warn(rvu->dev, "Invalid KPU profile size\n"); in npc_apply_custom_kpu()
1633 "Profile size mismatch on KPU%i parsing.\n", in npc_apply_custom_kpu()
1696 /* Calculating offset of profile image based on profile size.*/ in npc_fwdb_detect_load_prfl_img()
1752 rvu->kpu_fwdata = kzalloc(fw->size, GFP_KERNEL); in npc_load_kpu_profile()
1754 memcpy(rvu->kpu_fwdata, fw->data, fw->size); in npc_load_kpu_profile()
1755 rvu->kpu_fwdata_sz = fw->size; in npc_load_kpu_profile()
1852 /* Actual number of MCAM entries vary by entry size */ in npc_mcam_rsrcs_init()
1877 "Insufficient NPC MCAM size in npc_mcam_rsrcs_init()
1362 npc_fwdb_prfl_img_map(struct rvu *rvu, void __iomem **prfl_img_addr, u64 *size) npc_fwdb_prfl_img_map() argument
2360 npc_mcam_find_zero_area(unsigned long *map, u16 size, u16 start, u16 nr, u16 *max_area) npc_mcam_find_zero_area() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/
H A D3945-mac.c1661 D_INFO("ucode inst image size is %u\n", len); in il3945_verify_inst_full()
1701 D_INFO("ucode inst image size is %u\n", len); in il3945_verify_inst_sparse()
1844 "(%zd bytes) from disk\n", buf, ucode_raw->size); in il3945_read_ucode()
1853 if (ucode_raw->size < il3945_ucode_get_header_size(1)) { in il3945_read_ucode()
1854 IL_ERR("File size way too small!\n"); in il3945_read_ucode()
1899 D_INFO("f/w package hdr runtime inst size = %u\n", inst_size); in il3945_read_ucode()
1900 D_INFO("f/w package hdr runtime data size = %u\n", data_size); in il3945_read_ucode()
1901 D_INFO("f/w package hdr init inst size = %u\n", init_size); in il3945_read_ucode()
1902 D_INFO("f/w package hdr init data size = %u\n", init_data_size); in il3945_read_ucode()
1903 D_INFO("f/w package hdr boot inst size in il3945_read_ucode()
3208 u32 size = sizeof(measure_report), len = 0, ofs = 0; il3945_show_measurement() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aacraid/
H A Daachba.c296 " size. Valid values are 512, 2048, 4096 and 8192. Default is to use"
676 fsa_dev_ptr->size in _aac_probe_container2()
2291 * Worst case size that could cause sg overflow when in aac_get_adapter_info()
2294 * the maximum SG element size can be. Worst case is in aac_get_adapter_info()
2471 if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) { in aac_read()
2562 if ((lba + count) > (dev->fsa_dev[scmd_id(scsicmd)].size)) { in aac_write()
2978 capacity = fsa_dev_ptr[cid].size - 1; in aac_scsi_cmd()
3016 if (fsa_dev_ptr[cid].size <= 0x100000000ULL) in aac_scsi_cmd()
3017 capacity = fsa_dev_ptr[cid].size - 1; in aac_scsi_cmd()
3042 if (fsa_dev_ptr[cid].size < in aac_scsi_cmd()
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifssmb.c1903 /* Can increase buffer size if buffer is big enough in some cases ie we in CIFSSMBWrite()
1924 } /* else setting file size with write of zero bytes */ in CIFSSMBWrite()
3437 int size = 0; in cifs_copy_posix_acl() local
3450 size = sizeof(struct cifs_posix_acl); in cifs_copy_posix_acl()
3451 size += sizeof(struct cifs_posix_ace) * count; in cifs_copy_posix_acl()
3453 if (size_of_data_area < size) { in cifs_copy_posix_acl()
3454 cifs_dbg(FYI, "bad CIFS POSIX ACL size %d vs. %d\n", in cifs_copy_posix_acl()
3455 size_of_data_area, size); in cifs_copy_posix_acl()
3460 size = sizeof(struct cifs_posix_acl); in cifs_copy_posix_acl()
3461 size in cifs_copy_posix_acl()
4253 int size; CIFSSMBQPathInfo() local
5517 CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon, const char *file_name, __u64 size, struct cifs_sb_info *cifs_sb, bool set_allocation) CIFSSMBSetEOF() argument
5606 CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon, struct cifsFileInfo *cfile, __u64 size, bool set_allocation) CIFSSMBSetFileSize() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
H A Dnested.c2947 * the host address-space size VM-exit control. in nested_vmx_check_host_state()
4704 * based on the address size of the instruction. Note that this is in get_vmx_mem_address()
4718 * mode, e.g. a 32-bit address size can yield a 64-bit virtual in get_vmx_mem_address()
4735 * address size. in get_vmx_mem_address()
5648 * Return true if an IO instruction with the specified port and size should cause
5652 int size) in nested_vmx_check_io_bitmaps()
5661 while (size > 0) { in nested_vmx_check_io_bitmaps()
5677 size--; in nested_vmx_check_io_bitmaps()
5689 int size; in nested_vmx_exit_handled_io() local
5697 size in nested_vmx_exit_handled_io()
5651 nested_vmx_check_io_bitmaps(struct kvm_vcpu *vcpu, unsigned int port, int size) nested_vmx_check_io_bitmaps() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dlan78xx.c391 size_t rx_urb_size; /* size for rx urbs */
2168 static int lan78xx_set_rx_max_frame_length(struct lan78xx_net *dev, int size) in lan78xx_set_rx_max_frame_length() argument
2182 /* add 4 to size for FCS */ in lan78xx_set_rx_max_frame_length()
2184 buf |= (((size + 4) << MAC_RX_MAX_SIZE_SHIFT_) & MAC_RX_MAX_SIZE_MASK_); in lan78xx_set_rx_max_frame_length()
2997 u32 rx_cmd_a, rx_cmd_b, align_count, size; in lan78xx_rx() local
3014 size = (rx_cmd_a & RX_CMD_A_LEN_MASK_); in lan78xx_rx()
3015 align_count = (4 - ((size + RXW_PADDING) % 4)) % 4; in lan78xx_rx()
3022 if (skb->len == size) { in lan78xx_rx()
3029 skb->truesize = size + sizeof(struct sk_buff); in lan78xx_rx()
3040 skb2->len = size; in lan78xx_rx()
3088 size_t size = dev->rx_urb_size; rx_submit() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c443 num_entries = rx_ring->refill_buf_ring.size / in ath11k_dp_rxdma_ring_buf_setup()
634 cmd->data.size, DMA_BIDIRECTIONAL); in ath11k_dp_reo_cmd_list_cleanup()
644 cmd_cache->data.size, DMA_BIDIRECTIONAL); in ath11k_dp_reo_cmd_list_cleanup()
660 dma_unmap_single(dp->ab->dev, rx_tid->paddr, rx_tid->size, in ath11k_dp_reo_cmd_free()
672 tot_desc_sz = rx_tid->size; in ath11k_dp_reo_cache_flush()
698 dma_unmap_single(ab->dev, rx_tid->paddr, rx_tid->size, in ath11k_dp_reo_cache_flush()
750 dma_unmap_single(ab->dev, rx_tid->paddr, rx_tid->size, in ath11k_dp_rx_tid_del_func()
775 dma_unmap_single(ar->ab->dev, rx_tid->paddr, rx_tid->size, in ath11k_peer_rx_tid_delete()
924 dma_unmap_single(ab->dev, rx_tid->paddr, rx_tid->size, in ath11k_dp_rx_tid_mem_free()
982 * the actual BA window size i in ath11k_peer_rx_tid_setup()
2340 ath11k_print_get_tid(struct ieee80211_hdr *hdr, char *out, size_t size) ath11k_print_get_tid() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c93 MODULE_PARM_DESC(buf_sz, "DMA buffer size");
1672 size_t size; in free_dma_tx_desc_resources() local
1679 size = sizeof(struct dma_extended_desc); in free_dma_tx_desc_resources()
1682 size = sizeof(struct dma_edesc); in free_dma_tx_desc_resources()
1685 size = sizeof(struct dma_desc); in free_dma_tx_desc_resources()
1689 size *= priv->dma_tx_size; in free_dma_tx_desc_resources()
1691 dma_free_coherent(priv->device, size, addr, tx_q->dma_tx_phy); in free_dma_tx_desc_resources()
1787 size_t size; in alloc_dma_tx_desc_resources() local
1806 size = sizeof(struct dma_extended_desc); in alloc_dma_tx_desc_resources()
1808 size in alloc_dma_tx_desc_resources()
4405 sysfs_display_ring(void *head, int size, int extend_desc, struct seq_file *seq, dma_addr_t dma_phy_addr) sysfs_display_ring() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A Dintel_lrc.c179 /* Typical size of the average request (2 pipecontrols and a MI_BB) */
337 u32 size) in lrc_ring_setup_indirect_ctx()
339 GEM_BUG_ON(!size); in lrc_ring_setup_indirect_ctx()
340 GEM_BUG_ON(!IS_ALIGNED(size, CACHELINE_BYTES)); in lrc_ring_setup_indirect_ctx()
343 ctx_bb_ggtt_addr | (size / CACHELINE_BYTES); in lrc_ring_setup_indirect_ctx()
1142 /* Check in case we rollback so far we wrap [size/2] */ in __unwind_incomplete_requests()
1236 (RING_CTL_SIZE(ring->size) | RING_VALID)) { in execlists_check_context()
1240 (u32)(RING_CTL_SIZE(ring->size) | RING_VALID)); in execlists_check_context()
1241 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALID; in execlists_check_context()
3467 regs[CTX_RING_CTL] = RING_CTL_SIZE(ring->size) | RING_VALI in __execlists_update_reg_state()
334 lrc_ring_setup_indirect_ctx(u32 *regs, const struct intel_engine_cs *engine, u32 ctx_bb_ggtt_addr, u32 size) lrc_ring_setup_indirect_ctx() argument
[all...]

Completed in 102 milliseconds

1...<<781782783784785786787788789790>>...937