Searched refs:cap_size (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/vfio/pci/ |
| H A D | vfio_pci_zdev.c | 73 int cap_size = sizeof(*cap) + CLP_UTIL_STR_LEN; in zpci_util_cap() local 76 cap = kmalloc(cap_size, GFP_KERNEL); in zpci_util_cap() 85 ret = vfio_info_add_capability(caps, &cap->header, cap_size); in zpci_util_cap() 99 int cap_size = sizeof(*cap) + CLP_PFIP_NR_SEGMENTS; in zpci_pfip_cap() local 102 cap = kmalloc(cap_size, GFP_KERNEL); in zpci_pfip_cap() 111 ret = vfio_info_add_capability(caps, &cap->header, cap_size); in zpci_pfip_cap()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| H A D | cmd.c | 95 unsigned int cap_size = MLX5_CAP_FPGA(dev, sandbox_extended_caps_len); in mlx5_fpga_sbu_caps() local 100 if (cap_size > size) { in mlx5_fpga_sbu_caps() 102 size, cap_size); in mlx5_fpga_sbu_caps() 106 while (cap_size > 0) { in mlx5_fpga_sbu_caps() 107 read = min_t(unsigned int, cap_size, in mlx5_fpga_sbu_caps() 117 cap_size -= read; in mlx5_fpga_sbu_caps()
|
| H A D | tls.c | 409 int err, cap_size = MLX5_ST_SZ_BYTES(tls_extended_cap); in mlx5_fpga_tls_get_caps() local 413 buf = kzalloc(cap_size, GFP_KERNEL); in mlx5_fpga_tls_get_caps() 417 err = mlx5_fpga_get_sbu_caps(fdev, cap_size, buf); in mlx5_fpga_tls_get_caps()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | tpm.c | 577 uint32_t cap_size; in tpm_get_capability() local 589 cap_size_offset, &cap_size)) in tpm_get_capability() 591 if (cap_size > response_length || cap_size > count) in tpm_get_capability() 594 cap_offset, cap, cap_size)) in tpm_get_capability()
|
| /OK3568_Linux_fs/u-boot/drivers/tpm/ |
| H A D | tpm_tis.h | 85 __be32 cap_size; member
|
| /OK3568_Linux_fs/kernel/fs/overlayfs/ |
| H A D | copy_up.c | 820 ssize_t cap_size; in ovl_copy_up_meta_inode_data() local 831 err = cap_size = ovl_getxattr(upperpath.dentry, XATTR_NAME_CAPS, in ovl_copy_up_meta_inode_data() 833 if (cap_size < 0) in ovl_copy_up_meta_inode_data() 847 capability, cap_size, 0); in ovl_copy_up_meta_inode_data()
|
| /OK3568_Linux_fs/kernel/sound/pci/ |
| H A D | fm801.c | 204 unsigned int cap_size; member 503 chip->cap_size = snd_pcm_lib_buffer_bytes(substream); in snd_fm801_capture_prepare() 520 chip->cap_buffer + (chip->cap_count % chip->cap_size)); in snd_fm801_capture_prepare() 553 ptr %= chip->cap_size; in snd_fm801_capture_pointer() 589 chip->cap_pos %= chip->cap_size; in snd_fm801_interrupt() 591 tmp %= chip->cap_size; in snd_fm801_interrupt()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | spl_pcie_ep_boot.c | 117 u32 cap_size; member 231 bh->cap_size = 0; in pcie_bar0_header_init()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/s5c73m3/ |
| H A D | s5c73m3-core.c | 376 const struct s5c73m3_frame_size *cap_size = in s5c73m3_set_frame_size() local 389 cap_size->width, cap_size->height, cap_size->reg_val); in s5c73m3_set_frame_size() 390 chg_mode |= cap_size->reg_val; in s5c73m3_set_frame_size()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_minidump.c | 48 u32 cap_size; member 896 if (size != entry->hdr.cap_size) { in qlcnic_valid_dump_entry() 900 entry->hdr.cap_size); in qlcnic_valid_dump_entry() 1383 buf_offset += entry->hdr.cap_size; in qlcnic_dump_fw()
|