Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.15/block/partitions/
Dsysv68.c25 __be32 ios_slcblk; /* Slice table block number */
26 __be16 ios_slccnt; /* Number of entries in slice table */
40 * Slice Table Structure
43 struct slice { struct
44 __be32 nblocks; /* slice size (in blocks) */ argument
45 __be32 blkoff; /* block offset of slice */ argument
56 struct slice *slice; in sysv68_partition() local
76 slices -= 1; /* last slice is the whole disk */ in sysv68_partition()
79 slice = (struct slice *)data; in sysv68_partition()
80 for (i = 0; i < slices; i++, slice++) { in sysv68_partition()
[all …]
/Linux-v5.15/include/linux/soc/qcom/
Dllcc-qcom.h38 * struct llcc_slice_desc - Cache slice descriptor
39 * @slice_id: llcc slice id
40 * @slice_size: Size allocated for the llcc slice
75 * @cfg: pointer to the data structure for slice configuration
76 * @lock: mutex associated with each slice
80 * @bitmap: Bit map to track the active slice ids
101 * llcc_slice_getd - get llcc slice descriptor
107 * llcc_slice_putd - llcc slice descritpor
108 * @desc: Pointer to llcc slice descriptor
113 * llcc_get_slice_id - get slice id
[all …]
/Linux-v5.15/sound/pci/au88x0/
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 …]
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-v5.15/drivers/misc/eeprom/
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 …]
Deeprom.c35 u8 valid; /* bitfield, bit!=0 if slice is valid */
42 static void eeprom_update_client(struct i2c_client *client, u8 slice) in eeprom_update_client() argument
49 if (!(data->valid & (1 << slice)) || in eeprom_update_client()
50 time_after(jiffies, data->last_updated[slice] + 300 * HZ)) { in eeprom_update_client()
51 dev_dbg(&client->dev, "Starting eeprom update, slice %u\n", slice); in eeprom_update_client()
54 for (i = slice << 5; i < (slice + 1) << 5; i += 32) in eeprom_update_client()
60 for (i = slice << 5; i < (slice + 1) << 5; i += 2) { in eeprom_update_client()
68 data->last_updated[slice] = jiffies; in eeprom_update_client()
69 data->valid |= (1 << slice); in eeprom_update_client()
81 u8 slice; in eeprom_read() local
[all …]
/Linux-v5.15/arch/mips/sgi-ip27/
Dip27-nmi.c37 void install_cpu_nmi_handler(int slice) in install_cpu_nmi_handler() argument
41 nmi_addr = (nmi_t *)NMI_ADDR(get_nasid(), slice); in install_cpu_nmi_handler()
56 void nmi_cpu_eframe_save(nasid_t nasid, int slice) in nmi_cpu_eframe_save() argument
64 slice * IP27_NMI_KREGS_CPU_SIZE); in nmi_cpu_eframe_save()
66 pr_emerg("NMI nasid %d: slice %d\n", nasid, slice); in nmi_cpu_eframe_save()
132 void nmi_dump_hub_irq(nasid_t nasid, int slice) in nmi_dump_hub_irq() argument
136 if (slice == 0) { /* Slice A */ in nmi_dump_hub_irq()
139 } else { /* Slice B */ in nmi_dump_hub_irq()
158 int slice; in nmi_node_eframe_save() local
164 for (slice = 0; slice < NODE_NUM_CPUS(slice); slice++) { in nmi_node_eframe_save()
[all …]
/Linux-v5.15/drivers/gpu/drm/omapdrm/
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-v5.15/drivers/gpu/drm/i915/gt/
Dintel_sseu.c34 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_get_subslices() argument
36 int i, offset = slice * sseu->ss_stride; in intel_sseu_get_subslices()
39 GEM_BUG_ON(slice >= sseu->max_slices); in intel_sseu_get_subslices()
48 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice, in intel_sseu_set_subslices() argument
51 int offset = slice * sseu->ss_stride; in intel_sseu_set_subslices()
57 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_subslices_per_slice() argument
59 return hweight32(intel_sseu_get_subslices(sseu, slice)); in intel_sseu_subslices_per_slice()
62 static int sseu_eu_idx(const struct sseu_dev_info *sseu, int slice, in sseu_eu_idx() argument
67 return slice * slice_stride + subslice * sseu->eu_stride; in sseu_eu_idx()
70 static u16 sseu_get_eus(const struct sseu_dev_info *sseu, int slice, in sseu_get_eus() argument
[all …]
Dintel_sseu.h36 /* For each slice, which subslice(s) has(have) 7 EUs (bitfield)? */
75 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, in intel_sseu_has_subslice() argument
83 mask = sseu->subslice_mask[slice * sseu->ss_stride + ss_idx]; in intel_sseu_has_subslice()
95 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice);
97 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice);
99 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice,
Dintel_sseu_debugfs.c12 int slice, u8 *to_mask) in sseu_copy_subslices() argument
14 int offset = slice * sseu->ss_stride; in sseu_copy_subslices()
88 /* skip disabled slice */ in gen11_sseu_device_status()
141 /* skip disabled slice */ in gen9_sseu_device_status()
193 /* subtract fused off EU(s) from enabled slice(s) */ in bdw_sseu_device_status()
210 seq_printf(m, " %s Slice Mask: %04x\n", type, in i915_print_sseu_info()
212 seq_printf(m, " %s Slice Total: %u\n", type, in i915_print_sseu_info()
217 seq_printf(m, " %s Slice%i subslices: %u\n", type, in i915_print_sseu_info()
232 seq_printf(m, " Has Slice Power Gating: %s\n", in i915_print_sseu_info()
/Linux-v5.15/drivers/staging/media/sunxi/cedrus/
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 …]
Dcedrus_h264.c217 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; in cedrus_write_ref_list0() local
220 slice->ref_pic_list0, in cedrus_write_ref_list0()
221 slice->num_ref_idx_l0_active_minus1 + 1, in cedrus_write_ref_list0()
228 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; in cedrus_write_ref_list1() local
231 slice->ref_pic_list1, in cedrus_write_ref_list1()
232 slice->num_ref_idx_l1_active_minus1 + 1, in cedrus_write_ref_list1()
325 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; in cedrus_set_params() local
369 cedrus_skip_bits(dev, slice->header_bit_size); in cedrus_set_params()
371 if (V4L2_H264_CTRL_PRED_WEIGHTS_REQUIRED(pps, slice)) in cedrus_set_params()
374 if ((slice->slice_type == V4L2_H264_SLICE_TYPE_P) || in cedrus_set_params()
[all …]
/Linux-v5.15/arch/mips/include/asm/sn/
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-v5.15/include/drm/
Ddrm_dsc.h96 * @slice_width: Width of each slice in pixels
100 * @slice_height: Slice height in pixels
166 * line of slice.
170 * @initial_offset: Value to use for RC model offset at slice start
202 * at beginning of a slice.
208 * used at the beginning of a slice.
216 * @slice_bpg_offset: BPG offset used to enforce slice bit
233 * The (max) size in bytes of the "chunks" that are used in slice
259 * Additional bits/grp for seconnd line of slice for native 4:2:0
265 * slice
[all …]
/Linux-v5.15/arch/powerpc/mm/
Dslice.c97 static int slice_low_has_vma(struct mm_struct *mm, unsigned long slice) in slice_low_has_vma() argument
99 return !slice_area_is_free(mm, slice << SLICE_LOW_SHIFT, in slice_low_has_vma()
103 static int slice_high_has_vma(struct mm_struct *mm, unsigned long slice) in slice_high_has_vma() argument
105 unsigned long start = slice << SLICE_HIGH_SHIFT; in slice_high_has_vma()
191 /* Write the new slice psize bits */ in slice_convert()
255 * Compute which slice addr is part of;
256 * set *boundary_addr to the start or end boundary of that slice
258 * return boolean indicating if the slice is marked as available in the
265 unsigned long slice; in slice_scan_available() local
267 slice = GET_LOW_SLICE_INDEX(addr); in slice_scan_available()
[all …]
/Linux-v5.15/drivers/hid/surface-hid/
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-v5.15/arch/m68k/coldfire/
Dsltimers.c5 * sltimers.c -- generic ColdFire slice timer support.
34 * By default use Slice Timer 1 as the profiler clock timer.
46 /* Reset Slice Timer 1 */ in mcfslt_profile_tick()
79 * By default use Slice Timer 0 as the system clock timer.
88 /* Reset Slice Timer 0 */ in mcfslt_tick()
109 /* subtract because slice timers count down */ in mcfslt_read_clk()
127 * The coldfire slice timer (SLT) runs from STCNT to 0 included, in hw_timer_init()
135 /* initialize mcfslt_cnt knowing that slice timers count down */ in hw_timer_init()
/Linux-v5.15/drivers/media/platform/sti/hva/
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-v5.15/drivers/soc/qcom/
Dllcc-qcom.c59 * struct llcc_slice_config - Data associated with the llcc slice
61 * @slice_id: llcc slice id for each client
62 * @max_cap: The maximum capacity of the cache slice provided in KB
64 * @fixed_size: Boolean indicating if the slice has a fixed capacity
65 * @bonus_ways: Bonus ways are additional ways to be used for any slice,
69 * @res_ways: Reserved ways for the cache slice, the reserved ways cannot
71 * @cache_mode: Each slice operates as a cache, this controls the mode of the
72 * slice: normal or TCM(Tightly Coupled Memory)
80 * @activate_on_init: Activate the slice immediately after it is programmed
219 * llcc_slice_getd - get llcc slice descriptor
[all …]
/Linux-v5.15/Documentation/scheduler/
Dsched-bwc.rst23 within each of these updates is tunable and described as the "slice".
66 is described as the "slice".
72 Larger slice values will reduce transfer overheads, while smaller values allow
110 Once a slice is assigned to a cpu it does not expire. However all but 1ms of
111 the slice may be returned to the global pool if all threads on that cpu become
121 quota as well as the entirety of each cpu-local slice in each period. As a
127 unused slice on each cpu that the task group is running on (typically at most
138 portion of a slice to remain valid across periods we have decreased the
140 full slice's amount of cpu time.
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dpixfmt-compressed.rst59 * .. _V4L2-PIX-FMT-H264-SLICE:
63 - H264 parsed slice data, including slice headers, either with or
83 7.3.2.8 "Slice layer without partitioning RBSP syntax" and the following
109 * .. _V4L2-PIX-FMT-MPEG2-SLICE:
113 - MPEG-2 parsed slice data, as extracted from the MPEG-2 bitstream.
185 * .. _V4L2-PIX-FMT-HEVC-SLICE:
189 - HEVC parsed slice data, as extracted from the HEVC bitstream.
/Linux-v5.15/drivers/misc/cxl/
Dmain.c65 ctx->afu->adapter->adapter_num, ctx->afu->slice, ctx->pe); in _cxl_slbia()
80 int card, slice, id; in cxl_slbia_core() local
88 for (slice = 0; slice < adapter->slices; slice++) { in cxl_slbia_core()
89 afu = adapter->afu[slice]; in cxl_slbia_core()
243 struct cxl_afu *cxl_alloc_afu(struct cxl *adapter, int slice) in cxl_alloc_afu() argument
253 afu->slice = slice; in cxl_alloc_afu()
Dtrace.h76 __entry->afu = ctx->afu->slice;
105 __entry->afu = ctx->afu->slice;
145 __entry->afu = ctx->afu->slice;
178 __entry->afu = ctx->afu->slice;
212 __entry->afu = ctx->afu->slice;
243 __entry->afu = ctx->afu->slice;
270 __entry->afu = ctx->afu->slice;
299 __entry->afu = ctx->afu->slice;
331 __entry->afu = ctx->afu->slice;
360 __entry->afu = ctx->afu->slice;
[all …]
/Linux-v5.15/tools/perf/scripts/python/
Dsched-migration.py234 slice = TimeSlice(ts, TimeSlice(-1, None))
236 slice = self.data[-1].next(ts)
237 return slice
282 def update_rectangle_cpu(self, slice, cpu): argument
283 rq = slice.rqs[cpu]
285 if slice.total_load != 0:
286 load_rate = rq.load() / float(slice.total_load)
295 if cpu in slice.event_cpus:
298 self.root_win.paint_rectangle_zone(cpu, color, top_color, slice.start, slice.end)

1234567891011