Home
last modified time | relevance | path

Searched refs:threaded (Results 1 – 25 of 61) sorted by relevance

123

/linux/drivers/firmware/tegra/
H A Dbpmp.c224 clear_bit(index, bpmp->threaded.allocated); in tegra_bpmp_channel_read()
228 up(&bpmp->threaded.lock); in tegra_bpmp_channel_read()
257 err = down_timeout(&bpmp->threaded.lock, usecs_to_jiffies(timeout)); in tegra_bpmp_write_threaded()
263 index = find_first_zero_bit(bpmp->threaded.allocated, count); in tegra_bpmp_write_threaded()
276 set_bit(index, bpmp->threaded.allocated); in tegra_bpmp_write_threaded()
283 set_bit(index, bpmp->threaded.busy); in tegra_bpmp_write_threaded()
289 clear_bit(index, bpmp->threaded.allocated); in tegra_bpmp_write_threaded()
292 up(&bpmp->threaded.lock); in tegra_bpmp_write_threaded()
678 busy = bpmp->threaded.busy; in tegra_bpmp_handle_rx()
719 bpmp->threaded.count = bpmp->soc->channels.thread.count; in tegra_bpmp_probe()
[all …]
H A Dbpmp-tegra186.c176 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_teardown_channels()
296 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_setup_channels()
319 for (i = 0; i < bpmp->threaded.count; i++) in tegra186_bpmp_reset_channels()
H A Dbpmp-tegra210.c193 for (i = 0; i < bpmp->threaded.count; i++) { in tegra210_bpmp_init()
/linux/tools/testing/selftests/drivers/net/
H A Dnapi_threaded.py5 Test napi threaded states.
16 ksft_eq(napi['threaded'], 'enabled')
22 ksft_eq(napi['threaded'], 'disabled')
26 def _set_threaded_state(cfg, threaded) -> None: argument
27 with open(f"/sys/class/net/{cfg.ifname}/threaded", "wb") as fp:
28 fp.write(str(threaded).encode('utf-8'))
36 threaded = cmd(f"cat /sys/class/net/{cfg.ifname}/threaded").stdout
37 defer(_set_threaded_state, cfg, threaded)
44 Test that threaded stat
[all...]
/linux/tools/memory-model/Documentation/
H A Dsimple.txt22 Single-threaded code
25 In single-threaded code, there is no reordering, at least assuming
28 threaded context as the kernel can enter the same code path on multiple
38 this lock at a given time, your code will be executed single-threaded.
61 Despite the scalability limitations of single-threaded code, RCU
64 single-threaded grace-period processing is use of batching, where all
75 being completely single-threaded, it is often possible to use library
89 With code locking, we use single-threaded code execution to guarantee
93 in the code execution that will execute as though it is single threaded.
114 a single-threaded approach while providing excellent performance and
/linux/scripts/coccinelle/misc/
H A Dirqf_oneshot.cocci2 /// Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
3 /// threaded IRQs without a primary handler need to be requested with
/linux/Documentation/usb/
H A Ddwc3.rst34 - threaded handler of the device
45 - threaded handler of the EP-interrupt
/linux/drivers/pci/hotplug/
H A DTODO10 hardirq handler cpqhp_ctrl_intr(). Convert this to threaded IRQ handling.
51 simplified by converting it to threaded IRQ handling. Use pciehp as a
/linux/net/core/
H A Ddev_api.c372 enum netdev_napi_threaded threaded) in dev_set_threaded() argument
377 ret = netif_set_threaded(dev, threaded); in dev_set_threaded()
H A Ddev.c7147 bool threaded = threaded_mode != NETDEV_NAPI_THREADED_DISABLED; in napi_set_threaded_state() local
7150 assign_bit(NAPI_STATE_THREADED, &napi->state, threaded); in napi_set_threaded_state()
7155 enum netdev_napi_threaded threaded) in napi_set_threaded() argument
7157 if (threaded) { in napi_set_threaded()
7167 napi->config->threaded = threaded; in napi_set_threaded()
7175 if (!threaded && napi->thread) { in napi_set_threaded()
7180 napi_set_threaded_state(napi, threaded); in napi_set_threaded()
7187 enum netdev_napi_threaded threaded) in netif_set_threaded() argument
7194 if (threaded) { in netif_set_threaded()
7199 threaded = NETDEV_NAPI_THREADED_DISABLED; in netif_set_threaded()
[all …]
/linux/Documentation/PCI/
H A Dboot-interrupts.rst56 irq_default_primary_handler threaded usb_hcd_irq
63 The use of threaded interrupts is the most likely condition to trigger
65 handler wakes. These "one shot" conditions mean that the threaded interrupt
66 needs to keep the interrupt line masked until the threaded handler has run.
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net341 What: /sys/class/net/<iface>/threaded
346 Boolean value to control the threaded mode per device. User could
347 set this value to enable/disable threaded mode for all napi
352 0 threaded mode disabled for this dev
353 1 threaded mode enabled for this dev
/linux/include/soc/tegra/
H A Dbpmp.h90 } threaded; member
/linux/Documentation/devicetree/bindings/dma/
H A Dimg-mdc-dma.txt1 * IMG Multi-threaded DMA Controller (MDC)
/linux/fs/squashfs/
H A DKconfig91 If in doubt, select "Single threaded compression"
94 bool "Single threaded compression"
97 Traditionally Squashfs has used single-threaded decompression.
/linux/drivers/gpio/
H A Dgpio-siox.c250 girq->threaded = true; in gpio_siox_probe()
H A Dgpio-pmic-eic-sprd.c353 irq->threaded = true; in sprd_pmic_eic_probe()
H A Dgpio-crystalcove.c368 girq->threaded = true; in crystalcove_gpio_probe()
H A Dgpio-pcf857x.c418 girq->threaded = true; in pcf857x_probe()
/linux/kernel/cgroup/
H A Ddebug.c376 debug_cgrp_subsys.threaded = true; in enable_debug_cgroup()
H A Dpids.c459 .threaded = true,
/linux/include/linux/
H A Dcgroup-defs.h819 bool threaded:1; member
/linux/Documentation/driver-api/mei/
H A Dmei-client-bus.rst138 an rx handler which is as close as it can get to registering a threaded IRQ handler.
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst71 u8 threaded
/linux/Documentation/staging/
H A Dxz.rst88 file in single-threaded mode so setting that explicitly is recommended.

123