Home
last modified time | relevance | path

Searched +full:compute +full:- +full:cb (Results 1 – 25 of 78) sorted by relevance

1234

/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vsp1-hgo.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-meta-fmt-vsp1-hgo:
9 Renesas R-Car VSP1 1-D Histogram Data
15 This format describes histogram data generated by the Renesas R-Car VSP1 1-D
20 computes the minimum, maximum and sum of all pixels as well as per-channel
23 The HGO can compute histograms independently per channel, on the maximum of the
28 - In *64 bins normal mode*, the HGO operates on the three channels independently
29 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
31 - In *64 bins maximum mode*, the HGO operates on the maximum of the (R, G, B)
32 channels to compute a single 64-bins histogram. Only the RGB image format is
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-utils.c1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2024-2025 Intel Corporation
9 #include "iwl-drv.h"
10 #include "iwl-utils.h"
18 struct ieee80211_hdr *hdr = (void *)skb->data; in iwl_tx_tso_segment()
19 char cb[sizeof(skb->cb)]; in iwl_tx_tso_segment() local
22 unsigned int mss = skb_shinfo(skb)->gso_size; in iwl_tx_tso_segment()
23 bool ipv4 = (skb->protocol == htons(ETH_P_IP)); in iwl_tx_tso_segment()
24 bool qos = ieee80211_is_data_qos(hdr->frame_control); in iwl_tx_tso_segment()
25 u16 ip_base_id = ipv4 ? ntohs(ip_hdr(skb)->id) : 0; in iwl_tx_tso_segment()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsm6115.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
7 #include <dt-bindings/clock/qcom,gcc-sm6115.h>
8 #include <dt-bindings/clock/qcom,sm6115-dispcc.h>
9 #include <dt-bindings/clock/qcom,sm6115-gpucc.h>
10 #include <dt-bindings/clock/qcom,rpmcc.h>
11 #include <dt-bindings/dma/qcom-gpi.h>
12 #include <dt-bindings/firmware/qcom,scm.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interconnect/qcom,rpm-icc.h>
[all …]
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c1 // SPDX-License-Identifier: GPL-2.0-only
54 * struct sst_header - SST main header
65 * This register allows SW to discover SST capability and the offsets to SST-CP
66 * and SST-PP register banks.
77 * struct cp_header - SST-CP (core-power) header
78 * @feature_id: 0=SST-CP, 1=SST-PP, 2=SST-BF, 3=SST-TF
83 * This structure is used store SST-CP header. This is packed to the same
94 * struct pp_header - SST-PP (Perf profile) header
95 * @feature_id: 0=SST-CP, 1=SST-PP, 2=SST-BF, 3=SST-TF
97 * @level_en_mask: SST-PP level enable/disable fuse mask
[all …]
/linux/include/net/
H A Dgso.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 /* Keeps track of mac header offset relative to skb->head.
10 * For non-tunnel skb it points to skb_mac_header() and for
24 #define SKB_GSO_CB(skb) ((struct skb_gso_cb *)((skb)->cb + SKB_GSO_CB_OFFSET))
28 return (skb_mac_header(inner_skb) - inner_skb->head) - in skb_tnl_header_len()
29 SKB_GSO_CB(inner_skb)->mac_offset; in skb_tnl_header_len()
43 SKB_GSO_CB(skb)->mac_offset += (new_headroom - headroom); in gso_pskb_expand_head()
50 if (skb->remcsum_offload) in gso_reset_checksum()
53 SKB_GSO_CB(skb)->csum = res; in gso_reset_checksum()
54 SKB_GSO_CB(skb)->csum_start = skb_checksum_start(skb) - skb->head; in gso_reset_checksum()
[all …]
H A Dudp.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
34 * struct udp_skb_cb - UDP(-Lite) private variables
37 * @cscov: checksum coverage length (UDP-Lite only)
50 #define UDP_SKB_CB(__skb) ((struct udp_skb_cb *)((__skb)->cb))
[all...]
/linux/drivers/nfc/
H A Dnfcsim.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \
19 #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \
46 nfc_digital_cmd_complete_t cb; member
73 mutex_init(&link->lock); in nfcsim_link_new()
74 init_waitqueue_head(&link->recv_wait); in nfcsim_link_new()
81 dev_kfree_skb(link->skb); in nfcsim_link_free()
87 link->cond = 1; in nfcsim_link_recv_wake()
88 wake_up_interruptible(&link->recv_wait); in nfcsim_link_recv_wake()
94 mutex_lock(&link->lock); in nfcsim_link_set_skb()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c29 #include <linux/dma-fence-array.h>
32 #include <linux/dma-buf.h>
69 * Each GPUVM is represented by a 1-2 or 1-5 level page table, depending
90 #define START(node) ((node)->start)
91 #define LAST(node) ((node)->last)
100 * struct amdgpu_prt_cb - Helper to disable partial resident texture feature from a fence callback
110 * @cb: callback
112 struct dma_fence_cb cb; member
116 * struct amdgpu_vm_tlb_seq_struct - Helper to increment the TLB flush sequence
125 * @cb: callback
[all …]
H A Damdgpu_vm.h55 #define AMDGPU_VM_PTE_COUNT(adev) (1 << (adev)->vm_manager.block_size)
89 /* Flag combination to set no-retry with TF disabled */
93 /* Flag combination to set no-retry with TF enabled */
169 #define AMDGPU_VA_RESERVED_CSA_START(adev) (((adev)->vm_manager.max_pfn \
171 - AMDGPU_VA_RESERVED_CSA_SIZE)
174 - AMDGPU_VA_RESERVED_SEQ64_SIZE)
177 - AMDGPU_VA_RESERVED_TRAP_SIZE)
188 * PDB2->PDB1->PDB0->PTB
356 * evicted -> relocated (PDs, PTs) or moved (per VM BOs) -> idle
359 /* Per-VM and PT BOs who needs a validation */
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn32/
H A Ddcn32_dpp.c33 /* Compute the maximum number of lines that we can fit in the line buffer */
43 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
44 scl_data->viewport.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
45 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
46 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
67 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
68 scl_data->viewport.height == scl_data->v_active) { in dscl32_calc_lb_num_partitions()
69 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_calc_lb_num_partitions()
75 /* 420 mode: luma using all 3 mem from Y, plus 3rd mem from Cr and Cb */ in dscl32_calc_lb_num_partitions()
81 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn20/
H A Ddcn20_dpp.c42 dpp->tf_regs->reg
45 dpp->base.ctx
49 dpp->tf_shift->field_name, dpp->tf_mask->field_name
57 DPP_CLOCK_ENABLE, &s->is_enabled); in dpp20_read_state()
61 CM_DGAM_LUT_MODE, &s->dgam_lut_mode); in dpp20_read_state()
63 // Shaper LUT (RAM), 3D LUT (mode, bit-depth, size) in dpp20_read_state()
65 CM_SHAPER_LUT_MODE, &s->shaper_lut_mode); in dpp20_read_state()
67 CM_3DLUT_CONFIG_STATUS, &s->lut3d_mode, in dpp20_read_state()
68 CM_3DLUT_30BIT_EN, &s->lut3d_bit_depth); in dpp20_read_state()
70 CM_3DLUT_SIZE, &s->lut3d_size); in dpp20_read_state()
[all …]
/linux/include/uapi/drm/
H A Dhabanalabs_accel.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
3 * Copyright 2016-2023 HabanaLabs, Ltd.
14 * Defines that are asic-specific but constitutes as ABI between kernel driver
195 * stream id is a running number from 0 up to (N-1), where N is the number
656 * enum hl_goya_dma_direction - Direction of DMA operation inside a LIN_DMA packet that is
683 * enum hl_device_status - Device status information.
715 * Notifier event values - for the notification mechanism and the HL_INFO_GET_EVENTS command
717 * HL_NOTIFIER_EVENT_TPC_ASSERT - Indicates TPC assert event
718 * HL_NOTIFIER_EVENT_UNDEFINED_OPCODE - Indicates undefined operation code
719 * HL_NOTIFIER_EVENT_DEVICE_RESET - Indicates device requires a reset
[all …]
/linux/net/batman-adv/
H A Dtranslation-table.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "translation-table.h"
47 #include "hard-interface.h"
50 #include "mesh-interface.h"
79 * batadv_compare_tt() - check if two TT entries are the same
94 return (tt1->vid == tt2->vid) && batadv_compare_eth(data1, data2); in batadv_compare_tt()
98 * batadv_choose_tt() - retur
1035 batadv_tt_local_dump_entry(struct sk_buff * msg,u32 portid,struct netlink_callback * cb,struct batadv_priv * bat_priv,struct batadv_tt_common_entry * common) batadv_tt_local_dump_entry() argument
1096 batadv_tt_local_dump_bucket(struct sk_buff * msg,u32 portid,struct netlink_callback * cb,struct batadv_priv * bat_priv,struct batadv_hashtable * hash,unsigned int bucket,int * idx_s) batadv_tt_local_dump_bucket() argument
1131 batadv_tt_local_dump(struct sk_buff * msg,struct netlink_callback * cb) batadv_tt_local_dump() argument
1898 batadv_tt_global_dump(struct sk_buff * msg,struct netlink_callback * cb) batadv_tt_global_dump() argument
[all...]
H A Ddistributed-arp-table.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "distributed-arp-table.h"
43 #include "hard-interface.h"
49 #include "translation-table.h"
92 #define BATADV_DHCP_YIADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->yiaddr)
93 #define BATADV_DHCP_CHADDR_LEN sizeof(((struct batadv_dhcp_packet *)0)->chaddr)
98 * batadv_dat_start_timer() - initialise the DAT periodic worker
103 queue_delayed_work(batadv_event_workqueue, &bat_priv->dat.work, in batadv_dat_start_timer()
108 * batadv_dat_entry_release() - release dat_entry from lists and queue for free
122 * batadv_dat_entry_put() - decrement the dat_entry refcounter and possibly
[all …]
H A Dbat_iv_ogm.c1 // SPDX-License-Identifier: GPL-2.0
51 #include "hard-interface.h"
58 #include "translation-table.h"
64 * enum batadv_dup_status - duplicate status
86 * batadv_ring_buffer_set() - update the ring buffer with the given value
98 * batadv_ring_buffer_avg() - compute the average of all non-zer
1975 batadv_iv_ogm_orig_dump(struct sk_buff * msg,struct netlink_callback * cb,struct batadv_priv * bat_priv,struct batadv_hard_iface * if_outgoing) batadv_iv_ogm_orig_dump() argument
2134 batadv_iv_ogm_neigh_dump(struct sk_buff * msg,struct netlink_callback * cb,struct batadv_priv * bat_priv,struct batadv_hard_iface * single_hardif) batadv_iv_ogm_neigh_dump() argument
2399 batadv_iv_gw_dump_entry(struct sk_buff * msg,u32 portid,struct netlink_callback * cb,struct batadv_priv * bat_priv,struct batadv_gw_node * gw_node) batadv_iv_gw_dump_entry() argument
2470 batadv_iv_gw_dump(struct sk_buff * msg,struct netlink_callback * cb,struct batadv_priv * bat_priv) batadv_iv_gw_dump() argument
[all...]
/linux/kernel/power/
H A Denergy_model.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2018-2021, Arm ltd.
34 return (dev->bus == &cpu_subsys); in _is_cpu_device()
48 struct em_dbg_info *em_dbg = s->private; \
53 table = em_perf_state_from_pd(em_dbg->pd); \
54 val = table[em_dbg->ps_id].name; \
87 /* Create per-ps directory */ in em_debug_create_ps()
103 seq_printf(s, "%*pbl\n", cpumask_pr_args(to_cpumask(s->private))); in em_debug_cpus_show()
111 struct em_perf_domain *pd = s->private; in em_debug_flags_show()
113 seq_printf(s, "%#lx\n", pd->flags); in em_debug_flags_show()
[all …]
/linux/include/linux/platform_data/
H A Dcros_ec_sensorhub.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 * struct cros_ec_sensor_platform - ChromeOS EC sensor platform information.
27 * typedef cros_ec_sensorhub_push_data_cb_t - Callback function to send datum
67 * struct cros_ec_sensors_ts_filter_state - Timestamp filetr state.
94 /* struct cros_ec_sensors_ts_batch_state - State of batch of a single sensor.
115 * struct cros_ec_sensorhub - Sensor Hub device data.
137 * @future_timestamp_count: Statistics used to compute shaved time.
183 cros_ec_sensorhub_push_data_cb_t cb);
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2016-2017 Hisilicon Limited.
4 #include <linux/dma-mapping.h>
55 static int debug = -1;
80 /* hns3_pci_tbl - PCI Device ID Table
388 napi_schedule_irqoff(&tqp_vector->napi); in hns3_irq_handle()
389 tqp_vector->event_cnt++; in hns3_irq_handle()
399 for (i = 0; i < priv->vector_num; i++) { in hns3_nic_uninit_irq()
400 tqp_vectors = &priv->tqp_vector[i]; in hns3_nic_uninit_irq()
402 if (tqp_vectors->irq_init_flag != HNS3_VECTOR_INITED) in hns3_nic_uninit_irq()
[all …]
/linux/arch/m68k/fpsp040/
H A Dsetox.S6 | number. setoxm1 computes exp(X)-1, and setoxm1d computes
7 | exp(X)-1 for denormalized X.
10 | -----
11 | Double-extended value in memory location pointed to by address
15 | ------
16 | exp(X) or exp(X)-1 returned in floating-point register fp0.
19 | -------------------------
26 | -----
27 | Two timings are measured, both in the copy-back mode. The
36 | depending on their values, the program may run faster or slower --
[all …]
/linux/net/netfilter/ipset/
H A Dip_set_hash_gen.h1 /* SPDX-License-Identifier: GPL-2.0-only */
22 lockdep_is_held(&(set)->lock))
36 * read-locked, so the only possible concurrent operations are
46 #define AHASH_MAX(h) ((h)->bucketsize)
63 : jhash_size((htable_bits) - HTABLE_REGION_BITS))
91 #define hbucket(h, i) ((h)->bucket[i])
99 /* Book-keepin
1329 mtype_uref(struct ip_set * set,struct netlink_callback * cb,bool start) mtype_uref() argument
1354 mtype_list(const struct ip_set * set,struct sk_buff * skb,struct netlink_callback * cb) mtype_list() argument
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c1 // SPDX-License-Identifier: GPL-2.0
25 * - One that uses BPF_LDX_MEM to read the context field.
26 * - One that uses BPF_STX_MEM to write to the context field.
27 * - One that uses BPF_ST_MEM to write to the context field.
65 .field_sz = sizeof(typeof(((type *)NULL)->field))
83 "w11 &= -4;"
99 N(SCHED_CLS, struct __sk_buff, cb[0]),
100 .read = "$dst = *(u32 *)($ctx + $(sk_buff::cb + qdisc_skb_cb::data));",
101 .write = "*(u32 *)($ctx + $(sk_buff::cb + qdisc_skb_cb::data)) = $src;",
105 .read = "$dst = *(u16 *)($ctx + $(sk_buff::cb + qdisc_skb_cb::tc_classid));",
[all …]
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-h264.c1 // SPDX-License-Identifier: GPL-2.0
9 #include "hva-hw.h"
32 /* source buffer copy in YUV 420 MB-tiled format with size=16*256*3/2 */
200 * @brc_type: selects the bit-rate control algorithm
205 * @non_VCL_NALU_Size: size of non-VCL NALUs (SPS, PPS, filler),
213 * @delay: End-to-End Initial Delay
251 * Bit 0-6 used for qp offset (value -64 to 63).
271 * YUV for the U (Cb) component.
437 u32 frame_order = frame_num % ctrls->gop_size; in hva_h264_fill_slice_header()
439 if (!(frame_num % ctrls->gop_size)) in hva_h264_fill_slice_header()
[all …]
/linux/net/sched/
H A Dsch_dualpi2.c1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 * Author: Koen De Schepper <koen.de_schepper@nokia-bell-labs.com>
8 * Author: Chia-Yu Chang <chia-yu.chang@nokia-bell-labs.com>
11 * - Supports congestion controls that comply with the Prague requirements
12 * in RFC9331 (e.g. TCP-Prague)
13 * - Supports coupled dual-queue with PI2 as defined in RFC9332
14 * - Supports ECN L4S-identifier (IP.ECN==0b*1)
16 * note: Although DCTCP and BBRv3 can use shallow-threshold ECN marks,
22 * - RFC9332: https://datatracker.ietf.org/doc/html/rfc9332
23 * - De Schepper, Koen, et al. "PI 2: A linearized AQM for both classic and
[all …]
/linux/tools/perf/
H A Dbuiltin-diff.c1 // SPDX-License-Identifier: GPL-2.0
3 * builtin-diff.c
23 #include "util/time-utils.h"
27 #include "util/block-info.h"
33 #include <subcmd/parse-options.h>
113 COMPUTE_STREAM, /* After COMPUTE_MAX to avoid use current compute arrays */
118 [COMPUTE_DELTA_ABS] = "delta-abs",
124 static int compute = COMPUTE_DELTA_ABS; variable
186 int ret = -EINVAL; in setup_compute_opt_wdiff()
205 pr_debug("compute wdiff w1(%" PRId64 ") w2(%" PRId64 ")\n", in setup_compute_opt_wdiff()
[all …]
/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c1 // SPDX-License-Identifier: GPL-2.0-only
35 if (priv->is_lite && off >= RDMA_STATUS) in rdma_readl()
37 return readl_relaxed(priv->base + SYS_PORT_RDMA_OFFSET + off); in rdma_readl()
42 if (priv->is_lite && off >= RDMA_STATUS) in rdma_writel()
44 writel_relaxed(val, priv->base + SYS_PORT_RDMA_OFFSET + off); in rdma_writel()
49 if (!priv->is_lite) { in tdma_control_bit()
59 /* L2-interrupt masking/unmasking helpers, does automatic saving of the applied
60 * mask in a software copy to avoid CPU_MASK_STATUS reads in hot-paths.
66 priv->irq##which##_mask &= ~(mask); \
73 priv->irq##which##_mask |= (mask); \
[all …]

1234