Home
last modified time | relevance | path

Searched refs:size (Results 36501 - 36525 of 40656) sorted by relevance

1...<<1461146214631464146514661467146814691470>>...1627

/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
H A Dniu.h1426 /* FCRAM hash table entries are up to 8 64-bit words in size.
3129 void *(*alloc_coherent)(struct device *dev, size_t size,
3131 void (*free_coherent)(struct device *dev, size_t size,
3134 unsigned long offset, size_t size,
3137 size_t size, enum dma_data_direction direction);
3139 size_t size,
3142 size_t size, enum dma_data_direction direction);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dpci.c1509 if ((i + 1) == mem_region->section_table.size) { in ath10k_pci_dump_memory_section()
1632 if (current_region->section_table.size > 0) in ath10k_pci_dump_memory_generic()
1682 for (i = 0; i < mem_layout->region_table.size; i++) { in ath10k_pci_dump_memory()
1686 ath10k_warn(ar, "memory region %s size %d is larger that remaining ramdump buffer size %zu\n", in ath10k_pci_dump_memory()
2934 static bool ath10k_pci_validate_cal(void *data, size_t size) in ath10k_pci_validate_cal() argument
2940 if (size % 2 != 0) in ath10k_pci_validate_cal()
2943 for (i = 0; i < size / 2; i++) in ath10k_pci_validate_cal()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dhw.c125 void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) in ath9k_hw_read_array() argument
130 tmp_reg_list = kmalloc_array(size, sizeof(u32), GFP_KERNEL); in ath9k_hw_read_array()
136 tmp_data = kmalloc_array(size, sizeof(u32), GFP_KERNEL); in ath9k_hw_read_array()
142 for (i = 0; i < size; i++) in ath9k_hw_read_array()
145 REG_READ_MULTI(ah, tmp_reg_list, tmp_data, size); in ath9k_hw_read_array()
147 for (i = 0; i < size; i++) in ath9k_hw_read_array()
1247 * So set the usable tx buf size also to half to in ath9k_hw_set_dma()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
H A Dlibcxgbi.c1789 frags[i - 1].offset + frags[i - 1].size) { in sgl_read_to_frags()
1790 frags[i - 1].size += copy; in sgl_read_to_frags()
1801 frags[i].size = copy; in sgl_read_to_frags()
1928 * ISO data size. in cxgbi_conn_alloc_pdu()
2205 * it can get updated to ISO data size. in cxgbi_conn_init_pdu()
2222 memcpy(dst, src + frag->offset, frag->size); in cxgbi_conn_init_pdu()
2223 dst += frag->size; in cxgbi_conn_init_pdu()
2236 frag->offset, frag->size); in cxgbi_conn_init_pdu()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_transport_fc.c2592 size_t size; in fc_remote_port_create() local
2594 size = (sizeof(struct fc_rport) + fci->f->dd_fcrport_size); in fc_remote_port_create()
2595 rport = kzalloc(size, GFP_KERNEL); in fc_remote_port_create()
3343 size_t size; in fc_vport_setup() local
3351 size = (sizeof(struct fc_vport) + fci->f->dd_fcvport_size); in fc_vport_setup()
3352 vport = kzalloc(size, GFP_KERNEL); in fc_vport_setup()
/kernel/linux/linux-5.10/sound/usb/
H A Dmixer.c343 int idx = 0, ret, val_size, size; in get_ctl_value_v2() local
350 size = val_size; in get_ctl_value_v2()
353 size = sizeof(__u16) + 3 * val_size; in get_ctl_value_v2()
365 validx, idx, buf, size); in get_ctl_value_v2()
543 unsigned int size, unsigned int __user *_tlv) in snd_usb_mixer_vol_tlv()
548 if (size < sizeof(scale)) in snd_usb_mixer_vol_tlv()
1818 * UAC3: The first byte specifies size of bitmap for the inserted controls. The in build_connector_control()
542 snd_usb_mixer_vol_tlv(struct snd_kcontrol *kcontrol, int op_flag, unsigned int size, unsigned int __user *_tlv) snd_usb_mixer_vol_tlv() argument
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi.c896 * Next scatterlist entry size is the minimum between in spi_map_buf()
2415 * @size: how much zeroed driver-private data to allocate; the pointer to this
2419 * round up @size using ALIGN(size, dma_get_cache_alignment()).
2438 unsigned int size, bool slave) in __spi_alloc_controller()
2446 ctlr = kzalloc(size + ctlr_size, GFP_KERNEL); in __spi_alloc_controller()
2474 * @size: how much zeroed driver-private data to allocate
2487 unsigned int size, in __devm_spi_alloc_controller()
2497 ctlr = __spi_alloc_controller(dev, size, slave); in __devm_spi_alloc_controller()
2984 * @size
2437 __spi_alloc_controller(struct device *dev, unsigned int size, bool slave) __spi_alloc_controller() argument
2486 __devm_spi_alloc_controller(struct device *dev, unsigned int size, bool slave) __devm_spi_alloc_controller() argument
2992 spi_res_alloc(struct spi_device *spi, spi_res_release_t release, size_t size, gfp_t gfp) spi_res_alloc() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
H A Dbnad.c3027 u32 size = skb_frag_size(frag); in bnad_start_xmit() local
3029 if (unlikely(size == 0)) { in bnad_start_xmit()
3038 len += size; in bnad_start_xmit()
3050 0, size, DMA_TO_DEVICE); in bnad_start_xmit()
3060 dma_unmap_len_set(&unmap->vectors[vect_id], dma_len, size); in bnad_start_xmit()
3062 txqent->vector[vect_id].length = htons(size); in bnad_start_xmit()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c1121 u8 *data, u16 size, u32 offset) in mlxsw_core_fw_fsm_block_download()
1128 mlxsw_reg_mcda_pack(mcda_pl, fwhandle, offset, size, data); in mlxsw_core_fw_fsm_block_download()
1387 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_devlink_sb_pool_set()
1397 pool_index, size, threshold_type, in mlxsw_devlink_sb_pool_set()
3279 const char *buf, size_t size) in mlxsw_core_buf_dump_dbg()
3283 int count = size / sizeof(__be32); in mlxsw_core_buf_dump_dbg()
1120 mlxsw_core_fw_fsm_block_download(struct mlxfw_dev *mlxfw_dev, u32 fwhandle, u8 *data, u16 size, u32 offset) mlxsw_core_fw_fsm_block_download() argument
1386 mlxsw_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) mlxsw_devlink_sb_pool_set() argument
3278 mlxsw_core_buf_dump_dbg(struct mlxsw_core *mlxsw_core, const char *buf, size_t size) mlxsw_core_buf_dump_dbg() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_common.c834 u16 size; in ice_get_fw_log_cfg() local
836 size = sizeof(*config) * ICE_AQC_FW_LOG_ID_MAX; in ice_get_fw_log_cfg()
837 config = kzalloc(size, GFP_KERNEL); in ice_get_fw_log_cfg()
843 status = ice_aq_send_cmd(hw, &desc, config, size, NULL); in ice_get_fw_log_cfg()
1177 /* Initialize max burst size */ in ice_init_hw()
1524 * @buf_size: size of buffer for indirect commands (0 for direct commands)
1608 * @buf_size: size of buffer for indirect commands (or 0 for direct commands)
1657 * @buf_size: size of buffer for indirect commands (0 for direct commands)
2004 * @buf_size: size of buffer for indirect commands
2722 * @buf_size: size o
3948 ice_lut_size_to_flag(enum ice_lut_size size) ice_lut_size_to_flag() argument
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dcore.c2385 const char *buf, size_t size) in device_store_ulong()
2395 /* Always return full write size even if we didn't consume all */ in device_store_ulong()
2396 return size; in device_store_ulong()
2411 const char *buf, size_t size) in device_store_int()
2424 /* Always return full write size even if we didn't consume all */ in device_store_int()
2425 return size; in device_store_int()
2440 const char *buf, size_t size) in device_store_bool()
2447 return size; in device_store_bool()
2383 device_store_ulong(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) device_store_ulong() argument
2409 device_store_int(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) device_store_int() argument
2439 device_store_bool(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) device_store_bool() argument
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi.c874 * @size: size to alloc and return
883 size_t size, gfp_t gfp) in spi_res_alloc()
887 sres = kzalloc(sizeof(*sres) + size, gfp); in spi_res_alloc()
1045 * Next scatterlist entry size is the minimum between in spi_map_buf_attrs()
2875 * @size: how much zeroed driver-private data to allocate; the pointer to this
2879 * round up @size using ALIGN(size, dma_get_cache_alignment()).
2898 unsigned int size, bool slave) in __spi_alloc_controller()
2906 ctlr = kzalloc(size in __spi_alloc_controller()
882 spi_res_alloc(struct spi_device *spi, spi_res_release_t release, size_t size, gfp_t gfp) spi_res_alloc() argument
2897 __spi_alloc_controller(struct device *dev, unsigned int size, bool slave) __spi_alloc_controller() argument
2952 __devm_spi_alloc_controller(struct device *dev, unsigned int size, bool slave) __devm_spi_alloc_controller() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_transport_fc.c3060 size_t size; in fc_remote_port_create() local
3062 size = (sizeof(struct fc_rport) + fci->f->dd_fcrport_size); in fc_remote_port_create()
3063 rport = kzalloc(size, GFP_KERNEL); in fc_remote_port_create()
3836 size_t size; in fc_vport_setup() local
3844 size = (sizeof(struct fc_vport) + fci->f->dd_fcvport_size); in fc_vport_setup()
3845 vport = kzalloc(size, GFP_KERNEL); in fc_vport_setup()
/kernel/linux/linux-6.6/drivers/edac/
H A Dsb_edac.c1321 * The DIMMMTR register in KNL doesn't tell us the size of the DIMMs, so we
1328 * When we know the real size of a SAD region and how many ways it's
1330 * TAD is size/ways.
1338 * case we will underreport the size of the DIMM.)
1355 u64 sad_actual_size[2]; /* sad size accounting for holes, per mc */ in knl_get_dimm_capacity()
1596 u64 size; in __populate_dimms() local
1659 size = ((u64)rows * cols * banks * ranks) >> (20 - 3); in __populate_dimms()
1660 npages = MiB_TO_PAGES(size); in __populate_dimms()
1664 size, npages, in __populate_dimms()
3357 layers[0].size in sbridge_register_mci()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dpci.c1509 if ((i + 1) == mem_region->section_table.size) { in ath10k_pci_dump_memory_section()
1632 if (current_region->section_table.size > 0) in ath10k_pci_dump_memory_generic()
1682 for (i = 0; i < mem_layout->region_table.size; i++) { in ath10k_pci_dump_memory()
1686 ath10k_warn(ar, "memory region %s size %d is larger that remaining ramdump buffer size %zu\n", in ath10k_pci_dump_memory()
2935 static bool ath10k_pci_validate_cal(void *data, size_t size) in ath10k_pci_validate_cal() argument
2941 if (size % 2 != 0) in ath10k_pci_validate_cal()
2944 for (i = 0; i < size / 2; i++) in ath10k_pci_validate_cal()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dhw.c124 void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) in ath9k_hw_read_array() argument
129 tmp_reg_list = kmalloc_array(size, sizeof(u32), GFP_KERNEL); in ath9k_hw_read_array()
135 tmp_data = kmalloc_array(size, sizeof(u32), GFP_KERNEL); in ath9k_hw_read_array()
141 for (i = 0; i < size; i++) in ath9k_hw_read_array()
144 REG_READ_MULTI(ah, tmp_reg_list, tmp_data, size); in ath9k_hw_read_array()
146 for (i = 0; i < size; i++) in ath9k_hw_read_array()
1246 * So set the usable tx buf size also to half to in ath9k_hw_set_dma()
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/
H A Dniu.h1426 /* FCRAM hash table entries are up to 8 64-bit words in size.
3129 void *(*alloc_coherent)(struct device *dev, size_t size,
3131 void (*free_coherent)(struct device *dev, size_t size,
3134 unsigned long offset, size_t size,
3137 size_t size, enum dma_data_direction direction);
3139 size_t size,
3142 size_t size, enum dma_data_direction direction);
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_cdclk.c1571 int size; in bxt_get_cdclk() local
1573 size = REG_FIELD_GET(CDCLK_SQUASH_WINDOW_SIZE_MASK, squash_ctl) + 1; in bxt_get_cdclk()
1574 waveform = REG_FIELD_GET(CDCLK_SQUASH_WAVEFORM_MASK, squash_ctl) >> (16 - size); in bxt_get_cdclk()
1577 cdclk_config->vco, size * div); in bxt_get_cdclk()
1788 int size = 16; in cdclk_compute_crawl_and_squash_midpoint() local
1827 mid_cdclk_config->vco, size * div); in cdclk_compute_crawl_and_squash_midpoint()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dmad.c569 size_t size = sizeof(struct ib_mad_private) + mad_size; in alloc_mad_private() local
570 struct ib_mad_private *ret = kzalloc(size, flags); in alloc_mad_private()
841 int pad, message_size, ret, size; in ib_create_send_mad() local
866 size = rmpp_active ? hdr_len : mad_size; in ib_create_send_mad()
867 buf = kzalloc(sizeof *mad_send_wr + size, gfp_mask); in ib_create_send_mad()
871 mad_send_wr = buf + size; in ib_create_send_mad()
/kernel/liteos_a/net/lwip-2.1/enhancement/src/
H A Dapi_shell.c118 void lwip_printsize(size_t size);
697 void lwip_printsize(size_t size) argument
703 while ((size >= 1024) && (divis < ((sizeof(SIZES) / sizeof(char *)) - 1))) {
704 rem = (size % 1024);
706 size /= 1024;
709 PRINTK("(%.1f %s) \r\n", (float)size + (float)rem / 1024.0, SIZES[divis]);
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/
H A Dlibcxgbi.c1789 frags[i - 1].offset + frags[i - 1].size) { in sgl_read_to_frags()
1790 frags[i - 1].size += copy; in sgl_read_to_frags()
1801 frags[i].size = copy; in sgl_read_to_frags()
1928 * ISO data size. in cxgbi_conn_alloc_pdu()
2205 * it can get updated to ISO data size. in cxgbi_conn_init_pdu()
2222 memcpy(dst, src + frag->offset, frag->size); in cxgbi_conn_init_pdu()
2223 dst += frag->size; in cxgbi_conn_init_pdu()
2236 frag->offset, frag->size); in cxgbi_conn_init_pdu()
/kernel/linux/linux-6.6/net/ipv4/
H A Dnexthop.c154 unsigned long size; in nh_notifier_res_table_info_init() local
158 size = struct_size(info->nh_res_table, nhs, num_nh_buckets); in nh_notifier_res_table_info_init()
159 info->nh_res_table = __vmalloc(size, GFP_KERNEL | __GFP_ZERO | in nh_notifier_res_table_info_init()
550 unsigned long size; in nexthop_res_table_alloc() local
552 size = struct_size(res_table, nh_buckets, num_nh_buckets); in nexthop_res_table_alloc()
553 res_table = __vmalloc(size, GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN); in nexthop_res_table_alloc()
/kernel/linux/linux-6.6/sound/usb/
H A Dmixer.c350 int idx = 0, ret, val_size, size; in get_ctl_value_v2() local
357 size = val_size; in get_ctl_value_v2()
360 size = sizeof(__u16) + 3 * val_size; in get_ctl_value_v2()
371 validx, idx, buf, size); in get_ctl_value_v2()
548 unsigned int size, unsigned int __user *_tlv) in snd_usb_mixer_vol_tlv()
553 if (size < sizeof(scale)) in snd_usb_mixer_vol_tlv()
1902 * UAC3: The first byte specifies size of bitmap for the inserted controls. The in build_connector_control()
547 snd_usb_mixer_vol_tlv(struct snd_kcontrol *kcontrol, int op_flag, unsigned int size, unsigned int __user *_tlv) snd_usb_mixer_vol_tlv() argument
/third_party/ffmpeg/libavfilter/
H A Dvf_xfade.c1326 const int size = 1 + (width / 2) * prog; \
1335 float cnt = size; \
1337 for (int x = 0; x < size; x++) { \
1345 if (x + size < width) { \
1346 sum0 += xf0[x + size] - xf0[x]; \
1347 sum1 += xf1[x + size] - xf1[x]; \
1785 "(size %dx%d) do not match the corresponding " in config_output()
1786 "second input link %s parameters (size %dx%d)\n", in config_output()
/third_party/mesa3d/include/GL/
H A Dgl.h761 GLAPI void GLAPIENTRY glPointSize( GLfloat size );
1117 GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type,
1123 GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type,
1129 GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type,
1424 GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
1428 GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer );

Completed in 141 milliseconds

1...<<1461146214631464146514661467146814691470>>...1627