Home
last modified time | relevance | path

Searched refs:wrap (Results 1 – 25 of 161) sorted by relevance

1234567

/linux-6.1.9/drivers/usb/cdns3/
Dcdns3-pci-wrap.c70 struct cdns3_wrap *wrap; in cdns3_pci_probe() local
96 wrap = pci_get_drvdata(func); in cdns3_pci_probe()
98 wrap = kzalloc(sizeof(*wrap), GFP_KERNEL); in cdns3_pci_probe()
99 if (!wrap) { in cdns3_pci_probe()
105 res = wrap->dev_res; in cdns3_pci_probe()
125 wrap->dev_res[RES_IRQ_HOST_ID].start = pdev->irq; in cdns3_pci_probe()
126 wrap->dev_res[RES_IRQ_HOST_ID].name = "host"; in cdns3_pci_probe()
127 wrap->dev_res[RES_IRQ_HOST_ID].flags = IORESOURCE_IRQ; in cdns3_pci_probe()
130 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].start = pdev->irq; in cdns3_pci_probe()
131 wrap->dev_res[RES_IRQ_PERIPHERAL_ID].name = "peripheral"; in cdns3_pci_probe()
[all …]
/linux-6.1.9/drivers/scsi/aic7xxx/
Daic79xx_reg_print.c_shipped24 ahd_intstat_print(u_int regvalue, u_int *cur_col, u_int wrap)
27 0x01, regvalue, cur_col, wrap));
36 ahd_hs_mailbox_print(u_int regvalue, u_int *cur_col, u_int wrap)
39 0x0b, regvalue, cur_col, wrap));
51 ahd_seqintstat_print(u_int regvalue, u_int *cur_col, u_int wrap)
54 0x0c, regvalue, cur_col, wrap));
69 ahd_intctl_print(u_int regvalue, u_int *cur_col, u_int wrap)
72 0x18, regvalue, cur_col, wrap));
90 ahd_dfcntrl_print(u_int regvalue, u_int *cur_col, u_int wrap)
93 0x19, regvalue, cur_col, wrap));
[all …]
Daic7xxx_reg_print.c_shipped23 ahc_scsiseq_print(u_int regvalue, u_int *cur_col, u_int wrap)
26 0x00, regvalue, cur_col, wrap));
40 ahc_sxfrctl0_print(u_int regvalue, u_int *cur_col, u_int wrap)
43 0x01, regvalue, cur_col, wrap));
67 ahc_scsisigi_print(u_int regvalue, u_int *cur_col, u_int wrap)
70 0x03, regvalue, cur_col, wrap));
83 ahc_scsirate_print(u_int regvalue, u_int *cur_col, u_int wrap)
86 0x04, regvalue, cur_col, wrap));
102 ahc_sstat0_print(u_int regvalue, u_int *cur_col, u_int wrap)
105 0x0b, regvalue, cur_col, wrap));
[all …]
Daic79xx_reg.h_shipped18 #define ahd_intstat_print(regvalue, cur_col, wrap) \
19 ahd_print_register(NULL, 0, "INTSTAT", 0x01, regvalue, cur_col, wrap)
25 #define ahd_hs_mailbox_print(regvalue, cur_col, wrap) \
26 ahd_print_register(NULL, 0, "HS_MAILBOX", 0x0b, regvalue, cur_col, wrap)
32 #define ahd_seqintstat_print(regvalue, cur_col, wrap) \
33 ahd_print_register(NULL, 0, "SEQINTSTAT", 0x0c, regvalue, cur_col, wrap)
39 #define ahd_intctl_print(regvalue, cur_col, wrap) \
40 ahd_print_register(NULL, 0, "INTCTL", 0x18, regvalue, cur_col, wrap)
46 #define ahd_dfcntrl_print(regvalue, cur_col, wrap) \
47 ahd_print_register(NULL, 0, "DFCNTRL", 0x19, regvalue, cur_col, wrap)
[all …]
Daic7xxx_reg.h_shipped18 #define ahc_scsiseq_print(regvalue, cur_col, wrap) \
19 ahc_print_register(NULL, 0, "SCSISEQ", 0x00, regvalue, cur_col, wrap)
25 #define ahc_sxfrctl0_print(regvalue, cur_col, wrap) \
26 ahc_print_register(NULL, 0, "SXFRCTL0", 0x01, regvalue, cur_col, wrap)
32 #define ahc_scsisigi_print(regvalue, cur_col, wrap) \
33 ahc_print_register(NULL, 0, "SCSISIGI", 0x03, regvalue, cur_col, wrap)
39 #define ahc_scsirate_print(regvalue, cur_col, wrap) \
40 ahc_print_register(NULL, 0, "SCSIRATE", 0x04, regvalue, cur_col, wrap)
46 #define ahc_sstat0_print(regvalue, cur_col, wrap) \
47 ahc_print_register(NULL, 0, "SSTAT0", 0x0b, regvalue, cur_col, wrap)
[all …]
/linux-6.1.9/lib/
Dmemcpy_kunit.c281 } wrap; in strtomem_test() local
283 memset(&wrap, 0xFF, sizeof(wrap)); in strtomem_test()
284 KUNIT_EXPECT_EQ_MSG(test, wrap.canary1, ULONG_MAX, in strtomem_test()
286 KUNIT_EXPECT_EQ_MSG(test, wrap.canary2, ULONG_MAX, in strtomem_test()
290 strtomem(wrap.output, input); in strtomem_test()
291 KUNIT_EXPECT_EQ(test, wrap.canary1, ULONG_MAX); in strtomem_test()
292 KUNIT_EXPECT_EQ(test, wrap.output[0], input[0]); in strtomem_test()
293 KUNIT_EXPECT_EQ(test, wrap.output[1], input[1]); in strtomem_test()
294 for (size_t i = 2; i < sizeof(wrap.output); i++) in strtomem_test()
295 KUNIT_EXPECT_EQ(test, wrap.output[i], 0xFF); in strtomem_test()
[all …]
Dcpumask.c22 unsigned int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap) in cpumask_next_wrap() argument
29 if (wrap && n < start && next >= start) { in cpumask_next_wrap()
33 wrap = true; in cpumask_next_wrap()
Dtest_ubsan.c25 volatile int neg = -1, wrap = 4; in test_ubsan_shift_out_of_bounds() local
33 val2 <<= wrap; in test_ubsan_shift_out_of_bounds()
/linux-6.1.9/net/smc/
Dsmc_cdc.h30 __be16 wrap; member
56 u16 wrap; member
95 curs->wrap++; in smc_curs_add()
153 if (old->wrap != new->wrap) in smc_curs_diff()
167 if (old->wrap > new->wrap || in smc_curs_comp()
168 (old->wrap == new->wrap && old->count > new->count)) in smc_curs_comp()
180 if (old->wrap < new->wrap) in smc_curs_diff_large()
183 (new->wrap - old->wrap - 1) * size, in smc_curs_diff_large()
186 if (old->wrap > new->wrap) /* wrap has switched from 0xffff to 0x0000 */ in smc_curs_diff_large()
189 (new->wrap + 0xffff - old->wrap) * size, in smc_curs_diff_large()
[all …]
Dsmc_diag.c115 .rx_prod.wrap = conn->local_rx_ctrl.prod.wrap, in __smc_diag_dump()
117 .rx_cons.wrap = conn->local_rx_ctrl.cons.wrap, in __smc_diag_dump()
120 .tx_prod.wrap = conn->local_tx_ctrl.prod.wrap, in __smc_diag_dump()
122 .tx_cons.wrap = conn->local_tx_ctrl.cons.wrap, in __smc_diag_dump()
133 .tx_prep.wrap = conn->tx_curs_prep.wrap, in __smc_diag_dump()
135 .tx_sent.wrap = conn->tx_curs_sent.wrap, in __smc_diag_dump()
137 .tx_fin.wrap = conn->tx_curs_fin.wrap, in __smc_diag_dump()
/linux-6.1.9/tools/testing/nvdimm/
DKbuild2 ldflags-y += --wrap=ioremap_wc
3 ldflags-y += --wrap=memremap
4 ldflags-y += --wrap=devm_ioremap
5 ldflags-y += --wrap=devm_memremap
6 ldflags-y += --wrap=devm_memunmap
7 ldflags-y += --wrap=ioremap
8 ldflags-y += --wrap=iounmap
9 ldflags-y += --wrap=memunmap
10 ldflags-y += --wrap=__devm_request_region
11 ldflags-y += --wrap=__devm_release_region
[all …]
/linux-6.1.9/tools/testing/cxl/
DKbuild2 ldflags-y += --wrap=acpi_table_parse_cedt
3 ldflags-y += --wrap=is_acpi_device_node
4 ldflags-y += --wrap=acpi_evaluate_integer
5 ldflags-y += --wrap=acpi_pci_find_root
6 ldflags-y += --wrap=nvdimm_bus_register
7 ldflags-y += --wrap=devm_cxl_port_enumerate_dports
8 ldflags-y += --wrap=devm_cxl_setup_hdm
9 ldflags-y += --wrap=devm_cxl_add_passthrough_decoder
10 ldflags-y += --wrap=devm_cxl_enumerate_decoders
11 ldflags-y += --wrap=cxl_await_media_ready
[all …]
/linux-6.1.9/drivers/gpu/drm/savage/
Dsavage_bci.c253 unsigned int wrap; in savage_freelist_get() local
261 wrap = dev_priv->event_wrap; in savage_freelist_get()
263 wrap--; /* hardware hasn't passed the last wrap yet */ in savage_freelist_get()
265 DRM_DEBUG(" tail=0x%04x %d\n", tail->age.event, tail->age.wrap); in savage_freelist_get()
266 DRM_DEBUG(" head=0x%04x %d\n", event, wrap); in savage_freelist_get()
268 if (tail->buf && (TEST_AGE(&tail->age, event, wrap) || event == 0)) { in savage_freelist_get()
286 DRM_DEBUG("age=0x%04x wrap=%d\n", entry->age.event, entry->age.wrap); in savage_freelist_put()
332 unsigned int wrap, i; in savage_dma_reset() local
334 wrap = dev_priv->event_wrap; in savage_dma_reset()
336 SET_AGE(&dev_priv->dma_pages[i].age, event, wrap); in savage_dma_reset()
[all …]
Dsavage_drv.h60 unsigned int wrap; member
574 (age)->wrap = w; \
578 ( (age)->wrap < (w) || ( (age)->wrap == (w) && (age)->event <= (e) ) )
/linux-6.1.9/arch/arm64/kernel/
DMakefile81 obj-y += vdso-wrap.o
82 obj-$(CONFIG_COMPAT_VDSO) += vdso32-wrap.o
85 $(obj)/vdso-wrap.o: $(obj)/vdso/vdso.so
86 $(obj)/vdso32-wrap.o: $(obj)/vdso32/vdso.so
/linux-6.1.9/kernel/time/
Dsched_clock.c156 u64 res, wrap, new_mask, new_epoch, cyc, ns; in sched_clock_register() local
175 wrap = clocks_calc_max_nsecs(new_mult, new_shift, 0, new_mask, NULL); in sched_clock_register()
176 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
216 bits, r, r_unit, res, wrap); in sched_clock_register()
/linux-6.1.9/arch/powerpc/boot/
DMakefile395 $(call if_changed,wrap,$*,,,$(obj)/ramdisk.image.gz)
398 $(call if_changed,wrap,$(subst $(obj)/zImage.,,$@))
402 $(call if_changed,wrap,$*,,$(obj)/dts/$*.dtb,$(obj)/ramdisk.image.gz)
405 $(call if_changed,wrap,$*,,$(obj)/dts/$*.dtb)
413 $(call if_changed,wrap,uboot)
416 $(call if_changed,wrap,uboot-$*,,$(obj)/dts/$*.dtb,$(obj)/ramdisk.image.gz)
419 $(call if_changed,wrap,uboot-$*,,$(obj)/dts/$*.dtb)
422 $(call if_changed,wrap,cuboot-$*,,$(obj)/dts/$*.dtb,$(obj)/ramdisk.image.gz)
425 $(call if_changed,wrap,cuboot-$*,,$(obj)/dts/$*.dtb)
428 $(call if_changed,wrap,simpleboot-$*,,$(obj)/dts/$*.dtb,$(obj)/ramdisk.image.gz)
[all …]
/linux-6.1.9/drivers/s390/char/
Dtape_34xx.c36 unsigned int wrap : 1; member
914 if (!sbid_list || (bid.segment < 2 && bid.wrap == 0)) in tape_34xx_add_sbid()
930 (sbid->bid.wrap == bid.wrap) in tape_34xx_add_sbid()
952 sbid->bid.wrap, in tape_34xx_add_sbid()
979 sbid->bid.wrap, in tape_34xx_delete_sbid_from()
1003 bid->wrap = 0; in tape_34xx_merge_sbid()
1018 bid->wrap = sbid_to_use->bid.wrap; in tape_34xx_merge_sbid()
1021 sbid_to_use->bid.wrap, in tape_34xx_merge_sbid()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_kvdl.c63 bool wrap = false; in mlxsw_sp2_kvdl_part_find_zero_bits() local
71 if (!wrap && bit + bit_count >= part->usage_bit_count) { in mlxsw_sp2_kvdl_part_find_zero_bits()
72 wrap = true; in mlxsw_sp2_kvdl_part_find_zero_bits()
76 if (wrap && bit + bit_count >= start_bit) in mlxsw_sp2_kvdl_part_find_zero_bits()
/linux-6.1.9/fs/ecryptfs/
DKconfig18 bool "Enable notifications for userspace key wrap/unwrap"
22 for userspace to wrap/unwrap file encryption keys by other
/linux-6.1.9/arch/um/
DMakefile133 LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
/linux-6.1.9/Documentation/devicetree/bindings/media/
Dnxp,imx-mipi-csi2.yaml52 - const: wrap
67 description: The desired external clock ("wrap") frequency, in Hz
149 clock-names = "pclk", "wrap", "phy";
193 clock-names = "pclk", "wrap", "phy", "axi";
/linux-6.1.9/drivers/gpu/drm/mga/
Dmga_drv.h357 (age)->wrap = w; \
360 #define TEST_AGE(age, h, w) ((age)->wrap < w || \
361 ((age)->wrap == w && \
370 entry->age.wrap = dev_priv->sarea_priv->last_wrap; \
373 entry->age.wrap = 0; \
/linux-6.1.9/drivers/soc/amlogic/
Dmeson-canvas.c86 unsigned int wrap, in meson_canvas_config() argument
115 (wrap << CANVAS_WRAP_BIT) | in meson_canvas_config()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ring_types.h47 u32 wrap; member

1234567