Home
last modified time | relevance | path

Searched refs:cap_size (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.c96 unsigned int cap_size = MLX5_CAP_FPGA(dev, sandbox_extended_caps_len); in mlx5_fpga_sbu_caps() local
101 if (cap_size > size) { in mlx5_fpga_sbu_caps()
103 size, cap_size); in mlx5_fpga_sbu_caps()
107 while (cap_size > 0) { in mlx5_fpga_sbu_caps()
108 read = min_t(unsigned int, cap_size, in mlx5_fpga_sbu_caps()
118 cap_size -= read; in mlx5_fpga_sbu_caps()
Dtls.c409 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()
/drivers/staging/wusbcore/
Ddevconnect.c701 size_t cap_size; in wusb_dev_bos_grok() local
710 cap_size = cap_hdr->bLength; in wusb_dev_bos_grok()
712 if (cap_size == 0) in wusb_dev_bos_grok()
714 if (cap_size > top - itr) { in wusb_dev_bos_grok()
719 cap_type, cap_size, top - itr); in wusb_dev_bos_grok()
725 if (cap_size != sizeof(*wusb_dev->wusb_cap_descr)) in wusb_dev_bos_grok()
728 "needed\n", cap_size, in wusb_dev_bos_grok()
736 cap_size, (int)(itr - (void *)bos)); in wusb_dev_bos_grok()
738 itr += cap_size; in wusb_dev_bos_grok()
/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c376 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()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c49 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()