Home
last modified time | relevance | path

Searched full:slice (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_tl.c62 /* Slice utilization counters. */
64 /* Compression slice utilization. */
66 /* Translator slice utilization. */
68 /* Decompression slice utilization. */
72 /* Wireless Authentication slice utilization. */
74 /* Wireless Cipher slice utilization. */
76 /* UCS slice utilization. */
78 /* Cipher slice utilization. */
80 /* Authentication slice utilization. */
84 /* Slice execution counters. */
[all …]
/linux/sound/pci/au88x0/
H A Dau88x0_a3d.c26 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts()
28 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts()
30 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts()
32 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts()
52 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget()
55 a3d_addrB(a->slice, a->source, A3D_B_B10Target), in a3dsrc_SetAtmosTarget()
58 a3d_addrB(a->slice, a->source, A3D_B_B2Target), c); in a3dsrc_SetAtmosTarget()
67 a3d_addrB(a->slice, a->source, A3D_B_A12Current), in a3dsrc_SetAtmosCurrent()
70 a3d_addrB(a->slice, a->source, A3D_B_B01Current), in a3dsrc_SetAtmosCurrent()
73 a3d_addrB(a->slice, a->source, A3D_B_B2Current), c); in a3dsrc_SetAtmosCurrent()
[all …]
H A Dau88x0_a3d.h38 unsigned int slice; /* this_08 */ member
102 // Slice size: 0x2000
106 #define a3d_addrA(slice,source,reg) (((slice)<<0xd)+((source)*0x3A4)+(reg)) argument
107 #define a3d_addrB(slice,source,reg) (((slice)<<0xd)+((source)*0x2C8)+(reg)) argument
108 #define a3d_addrS(slice,reg) (((slice)<<0xd)+(reg)) argument
109 //#define a3d_addr(slice,source,reg) (((reg)>=0x19000) ? a3d_addr2((slice),(source),(reg)) : a3d_ad…
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am65-iot2050-common-pg1.dtsi59 dmas = <&main_udmap 0xc100>, /* egress slice 0 */
60 <&main_udmap 0xc101>, /* egress slice 0 */
61 <&main_udmap 0xc102>, /* egress slice 0 */
62 <&main_udmap 0xc103>, /* egress slice 0 */
63 <&main_udmap 0xc104>, /* egress slice 1 */
64 <&main_udmap 0xc105>, /* egress slice 1 */
65 <&main_udmap 0xc106>, /* egress slice 1 */
66 <&main_udmap 0xc107>, /* egress slice 1 */
67 <&main_udmap 0x4100>, /* ingress slice 0 */
68 <&main_udmap 0x4101>, /* ingress slice 1 */
[all …]
H A Dk3-am654-idk.dtso53 dmas = <&main_udmap 0xc100>, /* egress slice 0 */
54 <&main_udmap 0xc101>, /* egress slice 0 */
55 <&main_udmap 0xc102>, /* egress slice 0 */
56 <&main_udmap 0xc103>, /* egress slice 0 */
57 <&main_udmap 0xc104>, /* egress slice 1 */
58 <&main_udmap 0xc105>, /* egress slice 1 */
59 <&main_udmap 0xc106>, /* egress slice 1 */
60 <&main_udmap 0xc107>, /* egress slice 1 */
62 <&main_udmap 0x4100>, /* ingress slice 0 */
63 <&main_udmap 0x4101>; /* ingress slice 1 */
[all …]
H A Dk3-am642-phyboard-electra-peb-c-010.dtso24 dmas = <&main_pktdma 0xc200 15>, /* egress slice 0 */
25 <&main_pktdma 0xc201 15>, /* egress slice 0 */
26 <&main_pktdma 0xc202 15>, /* egress slice 0 */
27 <&main_pktdma 0xc203 15>, /* egress slice 0 */
28 <&main_pktdma 0xc204 15>, /* egress slice 1 */
29 <&main_pktdma 0xc205 15>, /* egress slice 1 */
30 <&main_pktdma 0xc206 15>, /* egress slice 1 */
31 <&main_pktdma 0xc207 15>, /* egress slice 1 */
32 <&main_pktdma 0x4200 15>, /* ingress slice 0 */
33 <&main_pktdma 0x4201 15>; /* ingress slice 1 */
/linux/drivers/misc/eeprom/
H A Dmax6875.c54 static void max6875_update_slice(struct i2c_client *client, int slice) in max6875_update_slice() argument
60 if (slice >= USER_EEPROM_SLICES) in max6875_update_slice()
65 buf = &data->data[slice << SLICE_BITS]; in max6875_update_slice()
67 if (!(data->valid & (1 << slice)) || in max6875_update_slice()
68 time_after(jiffies, data->last_updated[slice])) { in max6875_update_slice()
70 dev_dbg(&client->dev, "Starting update of slice %u\n", slice); in max6875_update_slice()
72 data->valid &= ~(1 << slice); in max6875_update_slice()
74 addr = USER_EEPROM_BASE + (slice << SLICE_BITS); in max6875_update_slice()
99 data->last_updated[slice] = jiffies; in max6875_update_slice()
100 data->valid |= (1 << slice); in max6875_update_slice()
[all …]
/linux/arch/mips/sgi-ip27/
H A Dip27-nmi.c30 void install_cpu_nmi_handler(int slice) in install_cpu_nmi_handler() argument
34 nmi_addr = (nmi_t *)NMI_ADDR(get_nasid(), slice); in install_cpu_nmi_handler()
49 static void nmi_cpu_eframe_save(nasid_t nasid, int slice) in nmi_cpu_eframe_save() argument
57 slice * IP27_NMI_KREGS_CPU_SIZE); in nmi_cpu_eframe_save()
59 pr_emerg("NMI nasid %d: slice %d\n", nasid, slice); in nmi_cpu_eframe_save()
125 static void nmi_dump_hub_irq(nasid_t nasid, int slice) in nmi_dump_hub_irq() argument
129 if (slice == 0) { /* Slice A */ in nmi_dump_hub_irq()
132 } else { /* Slice B */ in nmi_dump_hub_irq()
151 int slice; in nmi_node_eframe_save() local
157 for (slice = 0; slice < NODE_NUM_CPUS(slice); slice++) { in nmi_node_eframe_save()
[all …]
/linux/rust/kernel/ptr/
H A Dprojection.rs12 /// Error raised when a projection is attempted on an array or slice out of bounds.
24 /// This is similar to [`core::slice::SliceIndex`], but operates on raw pointers safely and
29 /// For a given input pointer `slice` and return value `output`, the implementation of `index`,
31 /// - `output` has the same provenance as `slice`;
32 /// - `output.byte_offset_from(slice)` is between 0 to
33 /// `KnownSize::size(slice) - KnownSize::size(output)`.
43 fn get(self, slice: *mut T) -> Option<*mut Self::Output>; in get()
46 fn index(self, slice: *mut T) -> *mut Self::Output;
50 fn build_index(self, slice: *mut T) -> *mut Self::Output {
51 match Self::get(self, slice) {
[all...]
/linux/drivers/gpu/drm/omapdrm/
H A Dtcm.h213 * This method slices off the topmost 2D slice from the parent area, and stores
214 * it in the 'slice' parameter. The 'parent' parameter will get modified to
216 * fit in a 2D slice, its tcm pointer is set to NULL to mark that it is no
220 * @param slice Pointer to the slice area that will get modified
222 static inline void tcm_slice(struct tcm_area *parent, struct tcm_area *slice) in tcm_slice() argument
224 *slice = *parent; in tcm_slice()
226 /* check if we need to slice */ in tcm_slice()
227 if (slice->tcm && !slice->is2d && in tcm_slice()
228 slice->p0.y != slice->p1.y && in tcm_slice()
229 (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) { in tcm_slice()
[all …]
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h36 void scx_bpf_dsq_move_set_slice___new(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym __weak;
42 void scx_bpf_dispatch_from_dsq_set_slice___old(struct bpf_iter_scx_dsq *it__iter, u64 slice) __ksym…
54 #define scx_bpf_dsq_move_set_slice(it__iter, slice) \ argument
56 scx_bpf_dsq_move_set_slice___new((it__iter), (slice)) : \
58 scx_bpf_dispatch_from_dsq_set_slice___old((it__iter), (slice)) : \
255 void scx_bpf_dispatch_vtime___compat(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 e…
256 void scx_bpf_dsq_insert_vtime___compat(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64…
299 * @slice: duration @p can run for in nsecs, 0 to keep the current value
307 scx_bpf_dsq_insert_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, in scx_bpf_dsq_insert_vtime() argument
313 .slice = slice, in scx_bpf_dsq_insert_vtime()
[all …]
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_vp8.c526 const struct v4l2_ctrl_vp8_frame *slice) in cedrus_read_header() argument
530 if (V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) { in cedrus_read_header()
554 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) in cedrus_read_header()
559 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) in cedrus_read_header()
569 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) { in cedrus_read_header()
594 static void cedrus_vp8_update_probs(const struct v4l2_ctrl_vp8_frame *slice, in cedrus_vp8_update_probs() argument
599 memcpy(&prob_table[0x1008], slice->entropy.y_mode_probs, in cedrus_vp8_update_probs()
600 sizeof(slice->entropy.y_mode_probs)); in cedrus_vp8_update_probs()
601 memcpy(&prob_table[0x1010], slice->entropy.uv_mode_probs, in cedrus_vp8_update_probs()
602 sizeof(slice->entropy.uv_mode_probs)); in cedrus_vp8_update_probs()
[all …]
/linux/tools/testing/selftests/sched_ext/
H A Dnohz_tick.c5 * Validate that a finite-slice EXT task restarts the scheduler tick when it
6 * follows an infinite-slice EXT task and an idle interval on a NOHZ_FULL CPU.
237 * Establish SCX_RQ_CAN_STOP_TICK with an infinite-slice task. in run()
241 SCX_ERR("Failed to start infinite-slice worker (%d)", errno); in run()
246 SCX_ERR("Infinite-slice worker was not scheduled"); in run()
250 /* Block without exiting so the rq retains the infinite-slice state. */ in run()
253 SCX_ERR("Failed to stop infinite-slice worker (%d)", ret); in run()
261 * The next EXT task receives a finite slice and must restart the tick. in run()
266 SCX_ERR("Failed to start finite-slice worker (%d)", errno); in run()
271 SCX_ERR("Finite-slice worker was not scheduled"); in run()
[all …]
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_config.c143 int slice = prueth_emac_slice(emac); in icssg_config_mii_init() local
149 txcfg_reg = (slice == ICSS_MII0) ? PRUSS_MII_RT_TXCFG0 : in icssg_config_mii_init()
151 pcnt_reg = (slice == ICSS_MII0) ? PRUSS_MII_RT_RX_PCNT0 : in icssg_config_mii_init()
159 if (emac->phy_if == PHY_INTERFACE_MODE_MII && slice == ICSS_MII0) in icssg_config_mii_init()
161 else if (emac->phy_if != PHY_INTERFACE_MODE_MII && slice == ICSS_MII1) in icssg_config_mii_init()
168 static void icssg_miig_queues_init(struct prueth *prueth, int slice) in icssg_miig_queues_init() argument
177 if (slice) in icssg_miig_queues_init()
185 queue = slice ? RECYCLE_Q_SLICE1 : RECYCLE_Q_SLICE0; in icssg_miig_queues_init()
190 hwq_map[slice][i].queue); in icssg_miig_queues_init()
202 mp = &hwq_map[slice][j]; in icssg_miig_queues_init()
[all …]
H A Dicssg_stats.c15 static u32 stats_base[] = { 0x54c, /* Slice 0 stats start */
16 0xb18, /* Slice 1 stats start */
22 int slice = prueth_emac_slice(emac); in emac_update_hardware_stats() local
23 u32 base = stats_base[slice]; in emac_update_hardware_stats()
38 base = stats_base[slice ^ 1]; in emac_update_hardware_stats()
57 slice * sizeof(u32); in emac_update_hardware_stats()
/linux/arch/mips/include/asm/sn/
H A Daddrs.h278 #define EX_HANDLER_OFFSET(slice) ((slice) << 16) argument
279 #define EX_HANDLER_ADDR(nasid, slice) \ argument
280 PHYS_TO_K0(NODE_OFFSET(nasid) | EX_HANDLER_OFFSET(slice))
283 #define EX_FRAME_OFFSET(slice) ((slice) << 16 | 0x400) argument
284 #define EX_FRAME_ADDR(nasid, slice) \ argument
285 PHYS_TO_K0(NODE_OFFSET(nasid) | EX_FRAME_OFFSET(slice))
332 #define LAUNCH_OFFSET(nasid, slice) \ argument
334 KLD_LAUNCH(nasid)->stride * (slice))
335 #define LAUNCH_ADDR(nasid, slice) \ argument
336 TO_NODE_UNCAC((nasid), LAUNCH_OFFSET(nasid, slice))
[all …]
/linux/include/drm/display/
H A Ddrm_dsc.h93 * @slice_width: Width of each slice in pixels
97 * @slice_height: Slice height in pixels
163 * line of slice.
167 * @initial_offset: Value to use for RC model offset at slice start
199 * at beginning of a slice.
205 * used at the beginning of a slice.
213 * @slice_bpg_offset: BPG offset used to enforce slice bit
230 * The (max) size in bytes of the "chunks" that are used in slice
256 * Additional bits/grp for seconnd line of slice for native 4:2:0
262 * slice
[all …]
/linux/rust/zerocopy/src/
H A Dbyte_slice.rs31 /// A mutable or immutable reference to a byte slice.
33 /// `ByteSlice` abstracts over the mutability of a byte slice reference, and is
42 /// return a byte slice with the same address and length. This must hold even if
54 /// A mutable reference to a byte slice.
57 /// a byte slice, and is implemented for various special reference types such as
92 /// SplitByteSlice` and `b: B`, if `b.deref()` returns a byte slice with address
117 // dereference to a byte slice of the same address and length. Thus, in split_at()
126 /// Splits the slice at the midpoint, possibly omitting bounds checks.
150 /// byte slice.
153 /// ownership, and so they cannot soundly be moved by-value into a byte slice
[all …]
/linux/drivers/hid/surface-hid/
H A Dsurface_hid.c45 struct surface_hid_buffer_slice *slice; in ssam_hid_get_descriptor() local
70 slice = (struct surface_hid_buffer_slice *)buffer; in ssam_hid_get_descriptor()
71 slice->entry = entry; in ssam_hid_get_descriptor()
72 slice->end = 0; in ssam_hid_get_descriptor()
77 while (!slice->end && offset < len) { in ssam_hid_get_descriptor()
78 put_unaligned_le32(offset, &slice->offset); in ssam_hid_get_descriptor()
79 put_unaligned_le32(length, &slice->length); in ssam_hid_get_descriptor()
84 sizeof(*slice)); in ssam_hid_get_descriptor()
88 offset = get_unaligned_le32(&slice->offset); in ssam_hid_get_descriptor()
89 length = get_unaligned_le32(&slice->length); in ssam_hid_get_descriptor()
[all …]
/linux/rust/kernel/
H A Dslice.rs
/linux/include/linux/
H A Drseq_types.h85 * union rseq_slice_state - Status information for rseq time slice extension
87 * @enabled: Time slice extension is enabled for the task
88 * @granted: Time slice extension was granted to the task
99 * struct rseq_slice - Status information for rseq time slice extension
100 * @state: Time slice extension state
117 * @slice: Storage for time slice extension data
126 struct rseq_slice slice; member
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-h264.c154 * @frame_num: the parameter to be written in the slice header
160 * @slice_size_type: 0 = no constraint to close the slice
161 * 1= a slice is closed as soon as the slice_mb_size limit
163 * 2= a slice is closed as soon as the slice_byte_size limit
165 * 3= a slice is closed as soon as either the slice_byte_size
167 * @slice_mb_size: defines the slice size in number of macroblocks
178 * the slice are filtered.
180 * edges of the slice.
182 * the slice are filtered with exception of the block edges
183 * that coincide with slice boundaries
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.h26 * Maximum number of subslices that can exist within a HSW-style slice. This
81 /* For each slice, which subslice(s) has(have) 7 EUs (bitfield)? */
88 * so we just report the entire DSS pool under a fake "slice 0."
122 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, in intel_sseu_has_subslice() argument
125 if (slice >= sseu->max_slices || in intel_sseu_has_subslice()
132 return sseu->subslice_mask.hsw[slice] & BIT(subslice); in intel_sseu_has_subslice()
156 intel_sseu_get_hsw_subslices(const struct sseu_dev_info *sseu, u8 slice);
/linux/rust/syn/
H A Ddrops.rs7 use std::slice;
37 impl<T> TrivialDrop for slice::Iter<'_, T> {}
38 impl<T> TrivialDrop for slice::IterMut<'_, T> {}
56 assert!(!needs_drop::<slice::Iter<NeedsDrop>>()); in test_needs_drop()
57 assert!(!needs_drop::<slice::IterMut<NeedsDrop>>()); in test_needs_drop()
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_ccs_mode.c38 * slice 0, 1, 2, 3: ccs0 in __xe_gt_apply_ccs_mode()
41 * slice 0, 2: ccs0 in __xe_gt_apply_ccs_mode()
42 * slice 1, 3: ccs1 in __xe_gt_apply_ccs_mode()
45 * slice 0: ccs0 in __xe_gt_apply_ccs_mode()
46 * slice 1: ccs1 in __xe_gt_apply_ccs_mode()
47 * slice 2: ccs2 in __xe_gt_apply_ccs_mode()
48 * slice 3: ccs3 in __xe_gt_apply_ccs_mode()
63 /* If a slice is fused off, leave disabled */ in __xe_gt_apply_ccs_mode()

12345678910>>...12