Home
last modified time | relevance | path

Searched refs:size (Results 26251 - 26275 of 52582) sorted by relevance

1...<<1051105210531054105510561057105810591060>>...2104

/kernel/linux/linux-6.6/drivers/dma/
H A Dep93xx_dma.c116 * @size: size of the transaction (in bytes)
125 size_t size; member
380 writel(desc->size, edmac->regs + M2P_MAXCNT0); in m2p_fill_desc()
383 writel(desc->size, edmac->regs + M2P_MAXCNT1); in m2p_fill_desc()
431 desc->size); in m2p_hw_interrupt()
539 writel(desc->size, edmac->regs + M2M_BCR0); in m2m_fill_desc()
543 writel(desc->size, edmac->regs + M2M_BCR1); in m2m_fill_desc()
691 desc->size = 0; in ep93xx_dma_desc_get()
981 * @len: size o
[all...]
/kernel/linux/linux-6.6/drivers/crypto/ccree/
H A Dcc_cipher.c71 static int validate_keys_sizes(struct cc_cipher_ctx *ctx_p, u32 size) in validate_keys_sizes() argument
75 switch (size) { in validate_keys_sizes()
94 if (size == DES3_EDE_KEY_SIZE || size == DES_KEY_SIZE) in validate_keys_sizes()
98 if (size == SM4_KEY_SIZE) in validate_keys_sizes()
108 unsigned int size) in validate_data_size()
115 if (size >= AES_BLOCK_SIZE) in validate_data_size()
124 if (IS_ALIGNED(size, AES_BLOCK_SIZE)) in validate_data_size()
132 if (IS_ALIGNED(size, DES_BLOCK_SIZE)) in validate_data_size()
141 if (IS_ALIGNED(size, SM4_BLOCK_SIZ in validate_data_size()
107 validate_data_size(struct cc_cipher_ctx *ctx_p, unsigned int size) validate_data_size() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/
H A Ddebugfs.c223 size_t size; in qm_eqc_aeqc_dump() local
235 size = sizeof(struct qm_eqc); in qm_eqc_aeqc_dump()
238 size = sizeof(struct qm_aeqc); in qm_eqc_aeqc_dump()
241 xeqc = hisi_qm_ctx_alloc(qm, size, &xeqc_dma); in qm_eqc_aeqc_dump()
249 dump_show(qm, xeqc, size, name); in qm_eqc_aeqc_dump()
252 hisi_qm_ctx_free(qm, size, xeqc, &xeqc_dma); in qm_eqc_aeqc_dump()
347 size_t size; in qm_eq_aeq_dump() local
361 size = sizeof(struct qm_eqe); in qm_eq_aeq_dump()
364 size = sizeof(struct qm_aeqe); in qm_eq_aeq_dump()
383 dump_show(qm, xeqe, size, nam in qm_eq_aeq_dump()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/ccp/
H A Dccp-dev-v5.c94 u16 size:7; member
100 u16 size:7; member
106 u16 size:7; member
118 u16 size:12; member
130 u16 size:10; member
137 #define CCP_AES_SIZE(p) ((p)->aes.size)
141 #define CCP_XTS_SIZE(p) ((p)->aes_xts.size)
144 #define CCP_DES3_SIZE(p) ((p)->des3.size)
149 #define CCP_RSA_SIZE(p) ((p)->rsa.size)
300 CCP_AES_SIZE(&function) = op->u.aes.size; in ccp5_perform_aes()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Domap-aes.c733 .size = ARRAY_SIZE(algs_ecb_cbc),
788 .size = ARRAY_SIZE(algs_aead_gcm),
814 .size = ARRAY_SIZE(algs_ecb_cbc),
818 .size = ARRAY_SIZE(algs_ctr),
1026 const char *buf, size_t size) in fallback_store()
1037 dev_err(dev, "minimum fallback size 9\n"); in fallback_store()
1043 return size; in fallback_store()
1056 size_t size) in queue_len_store()
1071 * Changing the queue size in fly is safe, if size become in queue_len_store()
1025 fallback_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) fallback_store() argument
1054 queue_len_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) queue_len_store() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/events/amd/
H A Dibs.c1028 int offset, size, check_rip, offset_max, throttle = 0; in perf_ibs_handle_irq() local
1063 size = 1; in perf_ibs_handle_irq()
1071 size++; in perf_ibs_handle_irq()
1085 size++; in perf_ibs_handle_irq()
1089 size++; in perf_ibs_handle_irq()
1094 size++; in perf_ibs_handle_irq()
1097 ibs_data.size = sizeof(u64) * size; in perf_ibs_handle_irq()
1114 .size = sizeof(u32) + ibs_data.size, in perf_ibs_handle_irq()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.h67 /* Send skid of 2000 packets required for CQ size of 4K CQEs. */
373 int size, int qidx);
449 u16 rbsize; /* Receive buffer size */
730 u64 size = 0, count_eot = 0; in __cn10k_aura_freeptr() local
744 * tar_addr[6:4] is LMTST size-1 in units of 128b. in __cn10k_aura_freeptr()
747 size = (sizeof(u64) * num_ptrs) / 16; in __cn10k_aura_freeptr()
749 size++; in __cn10k_aura_freeptr()
750 tar_addr |= ((size - 1) & 0x7) << 4; in __cn10k_aura_freeptr()
893 size_t offset, size_t size, in otx2_dma_map_page()
899 offset, size, di in otx2_dma_map_page()
891 otx2_dma_map_page(struct otx2_nic *pfvf, struct page *page, size_t offset, size_t size, enum dma_data_direction dir) otx2_dma_map_page() argument
905 otx2_dma_unmap_page(struct otx2_nic *pfvf, dma_addr_t addr, size_t size, enum dma_data_direction dir) otx2_dma_unmap_page() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wan/
H A Dhdlc_fr.c371 if (ifs->size < sizeof(info)) { in pvc_ioctl()
372 /* data size wanted */ in pvc_ioctl()
373 ifs->size = sizeof(info); in pvc_ioctl()
1187 const size_t size = sizeof(fr_proto); in fr_ioctl() local
1198 if (ifs->size < size) { in fr_ioctl()
1199 ifs->size = size; /* data size wanted */ in fr_ioctl()
1202 if (copy_to_user(fr_s, &state(hdlc)->settings, size)) in fr_ioctl()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/atmel/
H A Datmel-isi.c165 /* No down sampling, preview size equal to sensor output size */ in configure_geometry()
276 unsigned long size; in queue_setup() local
278 size = isi->fmt.fmt.pix.sizeimage; in queue_setup()
280 /* Make sure the image size is large enough. */ in queue_setup()
282 return sizes[0] < size ? -EINVAL : 0; in queue_setup()
285 sizes[0] = size; in queue_setup()
289 dev_dbg(isi->dev, "%s, count=%d, size=%ld\n", __func__, in queue_setup()
290 *nbuffers, size); in queue_setup()
311 unsigned long size; in buffer_prepare() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-video.c471 * concatenate the size of all planes and clear all planes but the in mxc_isi_format_try()
664 dma_free_coherent(video->pipe->isi->dev, buf->size, buf->addr, in mxc_isi_video_free_discard_buffers()
678 buf->size = PAGE_ALIGN(video->pix.plane_fmt[i].sizeimage); in mxc_isi_video_alloc_discard_buffers()
679 buf->addr = dma_alloc_coherent(video->pipe->isi->dev, buf->size, in mxc_isi_video_alloc_discard_buffers()
688 i, buf->size, &buf->dma, buf->addr); in mxc_isi_video_alloc_discard_buffers()
850 unsigned int size = pix->plane_fmt[0].bytesperline * pix->height; in mxc_isi_video_buffer_init() local
855 dma_addrs[i] = dma_addrs[i - 1] + size / vsub; in mxc_isi_video_buffer_init()
867 unsigned long size = pix->plane_fmt[i].sizeimage; in mxc_isi_video_buffer_prepare() local
869 if (vb2_plane_size(vb2, i) < size) { in mxc_isi_video_buffer_prepare()
871 vb2_plane_size(vb2, i), size); in mxc_isi_video_buffer_prepare()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/
H A Dsaa7134-core.c178 /* nr of (saa7134-)pages for the given buffer size */
179 static int saa7134_buffer_pages(int size) in saa7134_buffer_pages() argument
181 size = PAGE_ALIGN(size); in saa7134_buffer_pages()
182 size += PAGE_SIZE; /* for non-page-aligned buffers */ in saa7134_buffer_pages()
183 size /= 4096; in saa7134_buffer_pages()
184 return size; in saa7134_buffer_pages()
187 /* calc max # of buffers from size (must not exceed the 4MB virtual
189 int saa7134_buffer_count(unsigned int size, unsigned int count) in saa7134_buffer_count() argument
193 maxcount = 1024 / saa7134_buffer_pages(size); in saa7134_buffer_count()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/
H A Dwil6210.h78 #define WIL_BCAST_MCS0_LIMIT (1024) /* limit for MCS0 frame size */
79 /* limit ring size in range [32..32k] */
118 /* Calculate MAC buffer size for the firmware. It includes all overhead,
424 /* array size should be in sync with actual definition in the wmi.c */
458 u16 entry_size; /* max. size of mbox entry, incl. all headers */
459 u16 size; member
525 u16 size; /* number of wil_ring_desc elements */ member
529 struct wil_ctx *ctx; /* ctx[size] - software context */
552 u16 size; /* number of status elements */ member
553 size_t elem_size; /* status element size i
904 size_t size; /* number of items in buff_arr */ global() member
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Deeprom_def.c135 static u32 ath9k_def_dump_modal_eeprom(char *buf, u32 len, u32 size, in ath9k_def_dump_modal_eeprom() argument
152 PR_EEP("ADC Desired size", modal_hdr->adcDesiredSize); in ath9k_def_dump_modal_eeprom()
153 PR_EEP("PGA Desired size", modal_hdr->pgaDesiredSize); in ath9k_def_dump_modal_eeprom()
205 u8 *buf, u32 len, u32 size) in ath9k_hw_def_dump_eeprom()
212 len += scnprintf(buf + len, size - len, in ath9k_hw_def_dump_eeprom()
214 len = ath9k_def_dump_modal_eeprom(buf, len, size, in ath9k_hw_def_dump_eeprom()
216 len += scnprintf(buf + len, size - len, in ath9k_hw_def_dump_eeprom()
218 len = ath9k_def_dump_modal_eeprom(buf, len, size, in ath9k_hw_def_dump_eeprom()
247 len += scnprintf(buf + len, size - len, "%20s : %pM\n", "MacAddress", in ath9k_hw_def_dump_eeprom()
251 if (len > size) in ath9k_hw_def_dump_eeprom()
204 ath9k_hw_def_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) ath9k_hw_def_dump_eeprom() argument
257 ath9k_hw_def_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) ath9k_hw_def_dump_eeprom() argument
[all...]
/kernel/linux/linux-6.6/drivers/nfc/
H A Dport100.c966 static struct sk_buff *port100_alloc_skb(const struct port100 *dev, unsigned int size) in port100_alloc_skb() argument
970 skb = alloc_skb(dev->skb_headroom + dev->skb_tailroom + size, in port100_alloc_skb()
1108 size_t size; in port100_in_set_framing() local
1123 size = sizeof(struct port100_protocol) * num_protocols; in port100_in_set_framing()
1125 skb = port100_alloc_skb(dev, size); in port100_in_set_framing()
1129 skb_put_data(skb, protocols, size); in port100_in_set_framing()
1266 size_t size; in port100_tg_set_framing() local
1280 size = sizeof(struct port100_protocol) * num_protocols; in port100_tg_set_framing()
1282 skb = port100_alloc_skb(dev, size); in port100_tg_set_framing()
1286 skb_put_data(skb, protocols, size); in port100_tg_set_framing()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/
H A Dsdio.c463 static u32 rtw_sdio_get_tx_addr(struct rtw_dev *rtwdev, size_t size, in rtw_sdio_get_tx_addr() argument
495 txaddr += DIV_ROUND_UP(size, 4); in rtw_sdio_get_tx_addr()
678 u8 size, timeout; in rtw_sdio_enable_rx_aggregation() local
681 size = 0x6; in rtw_sdio_enable_rx_aggregation()
684 size = 0xff; in rtw_sdio_enable_rx_aggregation()
688 /* Make the firmware honor the size limit configured below */ in rtw_sdio_enable_rx_aggregation()
694 FIELD_PREP(BIT_RXDMA_AGG_PG_TH, size) | in rtw_sdio_enable_rx_aggregation()
887 u32 size) in rtw_sdio_write_data_rsvd_page()
892 skb = rtw_tx_write_data_rsvd_page_get(rtwdev, &pkt_info, buf, size); in rtw_sdio_write_data_rsvd_page()
899 static int rtw_sdio_write_data_h2c(struct rtw_dev *rtwdev, u8 *buf, u32 size) in rtw_sdio_write_data_h2c() argument
886 rtw_sdio_write_data_rsvd_page(struct rtw_dev *rtwdev, u8 *buf, u32 size) rtw_sdio_write_data_rsvd_page() argument
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Dbase.c115 if (!of_property_read_u32(np, "#size-cells", &cells)) in of_bus_n_size_cells()
118 /* No #size-cells property for the root node */ in of_bus_n_size_cells()
1113 int size; in of_phandle_iterator_init() local
1124 list = of_get_property(np, list_name, &size); in of_phandle_iterator_init()
1131 it->list_end = list + size / sizeof(*list); in of_phandle_iterator_init()
1226 int size) in of_phandle_iterator_args()
1232 if (WARN_ON(size < count)) in of_phandle_iterator_args()
1233 count = size; in of_phandle_iterator_args()
1511 int size; in of_count_phandle_with_args() local
1513 list = of_get_property(np, list_name, &size); in of_count_phandle_with_args()
1224 of_phandle_iterator_args(struct of_phandle_iterator *it, uint32_t *args, int size) of_phandle_iterator_args() argument
1736 of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)) of_alias_scan() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/xen/
H A Denlighten_pv.c507 unsigned int size = dtr->size + 1; in xen_load_gdt() local
513 /* @size should be at most GDT_SIZE which is smaller than PAGE_SIZE. */ in xen_load_gdt()
514 BUG_ON(size > PAGE_SIZE); in xen_load_gdt()
534 if (HYPERVISOR_set_gdt(&mfn, size / sizeof(struct desc_struct))) in xen_load_gdt()
544 unsigned int size = dtr->size + 1; in xen_load_gdt_boot() local
548 /* @size should be at most GDT_SIZE which is smaller than PAGE_SIZE. */ in xen_load_gdt_boot()
549 BUG_ON(size > PAGE_SIZE); in xen_load_gdt_boot()
560 if (HYPERVISOR_set_gdt(&mfn, size / sizeo in xen_load_gdt_boot()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_gem.c234 nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain, in nouveau_gem_new() argument
254 nvbo = nouveau_bo_alloc(cli, &size, &align, domain, tile_mode, in nouveau_gem_new()
264 ret = drm_gem_object_init(drm->dev, &nvbo->bo.base, size); in nouveau_gem_new()
274 ret = nouveau_bo_init(nvbo, size, align, domain, NULL, resv); in nouveau_gem_new()
321 rep->size = nvbo->bo.base.size; in nouveau_gem_info()
349 ret = nouveau_gem_new(cli, req->info.size, req->align, in nouveau_gem_ioctl_new()
686 nvbo->bo.base.size)) { in nouveau_gem_pushbuf_reloc_apply()
693 ret = ttm_bo_kmap(&nvbo->bo, 0, PFN_UP(nvbo->bo.base.size), in nouveau_gem_pushbuf_reloc_apply()
897 PFN_UP(nvbo->bo.base.size), in nouveau_gem_ioctl_pushbuf()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/
H A Dipu-cpmem.c30 #define IPU_CPMEM_WORD(word, ofs, size) ((((word) * 160 + (ofs)) << 8) | (size))
104 u32 size = wbs & 0xff; in ipu_ch_param_write_field() local
108 u32 mask = (1 << size) - 1; in ipu_ch_param_write_field()
111 pr_debug("%s %d %d %d\n", __func__, word, bit , size); in ipu_ch_param_write_field()
118 if ((bit + size - 1) / 32 > i) { in ipu_ch_param_write_field()
130 u32 size = wbs & 0xff; in ipu_ch_param_read_field() local
134 u32 mask = (1 << size) - 1; in ipu_ch_param_read_field()
137 pr_debug("%s %d %d %d\n", __func__, word, bit , size); in ipu_ch_param_read_field()
141 if ((bit + size in ipu_ch_param_read_field()
[all...]
/kernel/linux/linux-6.6/drivers/iio/imu/bno055/
H A Dbno055.c301 dev_dbg(priv->dev, "Invalid calibration file size %d (expected %d)", in bno055_calibration_load()
846 int size, int *vals, int *val_len, in bno055_read_quaternion()
855 if (size < 4) in bno055_read_quaternion()
868 if (size < 2) in bno055_read_quaternion()
903 int size, int *vals, int *val_len, in _bno055_read_raw_multi()
914 if (size < 2) in _bno055_read_raw_multi()
930 size, vals, in _bno055_read_raw_multi()
932 if (size < 2) in _bno055_read_raw_multi()
945 int size, int *vals, int *val_len, in bno055_read_raw_multi()
952 ret = _bno055_read_raw_multi(indio_dev, chan, size, in bno055_read_raw_multi()
844 bno055_read_quaternion(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) bno055_read_quaternion() argument
901 _bno055_read_raw_multi(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) _bno055_read_raw_multi() argument
943 bno055_read_raw_multi(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int size, int *vals, int *val_len, long mask) bno055_read_raw_multi() argument
[all...]
/kernel/linux/linux-6.6/tools/mm/
H A Dslabinfo.c117 "-B|--Bytes Show size in bytes\n" in usage()
131 "-S|--Size Sort by size\n" in usage()
258 * Put a size string together
809 /* Object size */ in totals()
858 unsigned long long size; in totals() local
870 size = slab_size(s); in totals()
872 wasted = size - used; in totals()
891 if (size < min_size) in totals()
892 min_size = size; in totals()
916 if (size > max_siz in totals()
1352 _xtotals(char *heading, char *underline, int loss, int size, int partial) _xtotals() argument
[all...]
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/
H A Dverbs.c79 rpcrdma_regbuf_alloc(size_t size, enum dma_data_direction direction);
573 /* Fixed-size circular FIFO queue. This implementation is wait-free and
626 * the circular queue size stops Send Queue overflow by causing in rpcrdma_sendctxs_create()
649 /* The sendctx queue is not guaranteed to have a size that is a
804 * @size: initial size, in bytes, of send and receive buffers
809 size_t size) in rpcrdma_req_create()
818 req->rl_sendbuf = rpcrdma_regbuf_alloc(size, DMA_TO_DEVICE); in rpcrdma_req_create()
822 req->rl_recvbuf = rpcrdma_regbuf_alloc(size, DMA_NONE); in rpcrdma_req_create()
853 /* Compute maximum header buffer size i in rpcrdma_req_setup()
808 rpcrdma_req_create(struct rpcrdma_xprt *r_xprt, size_t size) rpcrdma_req_create() argument
1230 rpcrdma_regbuf_alloc(size_t size, enum dma_data_direction direction) rpcrdma_regbuf_alloc() argument
1258 rpcrdma_regbuf_realloc(struct rpcrdma_regbuf *rb, size_t size, gfp_t flags) rpcrdma_regbuf_realloc() argument
[all...]
/kernel/linux/linux-6.6/scripts/kconfig/
H A Dsymbol.c644 int size; in sym_set_string_value() local
671 size = strlen(newval) + 1; in sym_set_string_value()
673 size += 2; in sym_set_string_value()
674 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
678 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
911 int i, cnt, size; in sym_re_search() local
915 cnt = size = 0; in sym_re_search()
927 if (cnt >= size) { in sym_re_search()
929 size += 16; in sym_re_search()
930 tmp = realloc(sym_match_arr, size * sizeo in sym_re_search()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c220 seq->next_scb.size = sizeof(struct scb); in asd_init_scbs()
356 eb->size = cpu_to_le32(((u32) edb->size)); in asd_assign_edbs2escbs()
505 int size; in asd_extend_devctx() local
515 size = (max_devs - asd_ha->hw_prof.max_ddbs + 1) * ASD_DDB_SIZE; in asd_extend_devctx()
517 asd_ha->hw_prof.ddb_ext = asd_alloc_coherent(asd_ha, size, GFP_KERNEL); in asd_extend_devctx()
543 int size; in asd_extend_cmdctx() local
551 size = (max_cmnds - asd_ha->hw_prof.max_scbs + 1) * ASD_SCB_SIZE; in asd_extend_cmdctx()
553 asd_ha->hw_prof.scb_ext = asd_alloc_coherent(asd_ha, size, GFP_KERNEL); in asd_extend_cmdctx()
1039 ascb->dma_scb.size in asd_ascb_alloc()
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_functions_graph.c1188 int size = 0; in print_lat_header() local
1191 size += 16; in print_lat_header()
1193 size += 16; in print_lat_header()
1195 size += 4; in print_lat_header()
1197 size += 17; in print_lat_header()
1199 seq_printf(s, "#%.*s _-----=> irqs-off \n", size, spaces); in print_lat_header()
1200 seq_printf(s, "#%.*s / _----=> need-resched \n", size, spaces); in print_lat_header()
1201 seq_printf(s, "#%.*s| / _---=> hardirq/softirq \n", size, spaces); in print_lat_header()
1202 seq_printf(s, "#%.*s|| / _--=> preempt-depth \n", size, spaces); in print_lat_header()
1203 seq_printf(s, "#%.*s||| / \n", size, space in print_lat_header()
[all...]

Completed in 57 milliseconds

1...<<1051105210531054105510561057105810591060>>...2104