Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 89) sorted by relevance

1234

/kernel/linux/linux-5.10/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
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
/kernel/linux/linux-5.10/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.c42 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
84 for (slice = off >> 5; slice <= (off + count - 1) >> 5; slice++) in eeprom_read()
[all …]
/kernel/linux/linux-5.10/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()
158 int slice; in nmi_node_eframe_save() local
164 for (slice = 0; slice < NODE_NUM_CPUS(slice); slice++) { in nmi_node_eframe_save()
165 nmi_cpu_eframe_save(nasid, slice); in nmi_node_eframe_save()
[all …]
Dip27-timer.c33 int slice = cputoslice(cpu); in rt_next_event() local
38 LOCAL_HUB_S(PI_RT_COMPARE_A + PI_COUNT_OFFSET * slice, cnt); in rt_next_event()
50 int slice = cputoslice(cpu); in hub_rt_counter_handler() local
55 LOCAL_HUB_S(PI_RT_PEND_A + PI_COUNT_OFFSET * slice, 0); in hub_rt_counter_handler()
Dip27-irq.c257 int slice = LOCAL_HUB_L(PI_CPU_NUM); in install_ipi() local
260 resched = CPU_RESCHED_A_IRQ + slice; in install_ipi()
264 call = CPU_CALL_A_IRQ + slice; in install_ipi()
268 if (slice == 0) { in install_ipi()
/kernel/linux/linux-5.10/block/partitions/
Dsysv68.c43 struct slice { struct
56 struct slice *slice; in sysv68_partition() local
79 slice = (struct slice *)data; in sysv68_partition()
80 for (i = 0; i < slices; i++, slice++) { in sysv68_partition()
83 if (be32_to_cpu(slice->nblocks)) { in sysv68_partition()
85 be32_to_cpu(slice->blkoff), in sysv68_partition()
86 be32_to_cpu(slice->nblocks)); in sysv68_partition()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Dtcm.h222 static inline void tcm_slice(struct tcm_area *parent, struct tcm_area *slice) in tcm_slice() argument
224 *slice = *parent; 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()
231 slice->p1.x = slice->tcm->width - 1; in tcm_slice()
232 slice->p1.y = (slice->p0.x) ? slice->p0.y : slice->p1.y - 1; in tcm_slice()
235 parent->p0.y = slice->p1.y + 1; in tcm_slice()
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_sseu.h72 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, in intel_sseu_has_subslice() argument
80 mask = sseu->subslice_mask[slice * sseu->ss_stride + ss_idx]; in intel_sseu_has_subslice()
92 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice);
94 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice);
96 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice,
Dintel_sseu.c35 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_get_subslices() argument
37 int i, offset = slice * sseu->ss_stride; in intel_sseu_get_subslices()
40 GEM_BUG_ON(slice >= sseu->max_slices); in intel_sseu_get_subslices()
49 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice, in intel_sseu_set_subslices() argument
52 int offset = slice * sseu->ss_stride; in intel_sseu_set_subslices()
58 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_subslices_per_slice() argument
60 return hweight32(intel_sseu_get_subslices(sseu, slice)); in intel_sseu_subslices_per_slice()
63 static int sseu_eu_idx(const struct sseu_dev_info *sseu, int slice, in sseu_eu_idx() argument
68 return slice * slice_stride + subslice * sseu->eu_stride; in sseu_eu_idx()
71 static u16 sseu_get_eus(const struct sseu_dev_info *sseu, int slice, in sseu_get_eus() argument
[all …]
/kernel/linux/linux-5.10/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 …]
Dpci.c789 p1n_base = p1_base(dev) + 0x10000 + (afu->slice * p1n_size); in pci_map_slice_regs()
790 p2n_base = p2_base(dev) + (afu->slice * p2n_size); in pci_map_slice_regs()
791 afu->psn_phys = p2_base(dev) + (adapter->native->ps_off + (afu->slice * adapter->ps_size)); in pci_map_slice_regs()
792 …afu_desc = p2_base(dev) + adapter->native->afu_desc_off + (afu->slice * adapter->native->afu_desc_… in pci_map_slice_regs()
1137 static int pci_init_afu(struct cxl *adapter, int slice, struct pci_dev *dev) in pci_init_afu() argument
1142 afu = cxl_alloc_afu(adapter, slice); in pci_init_afu()
1152 rc = dev_set_name(&afu->dev, "afu%i.%i", adapter->adapter_num, slice); in pci_init_afu()
1173 adapter->afu[afu->slice] = afu; in pci_init_afu()
1208 afu->adapter->afu[afu->slice] = NULL; in cxl_pci_remove_afu()
1562 int slice; in cxl_stop_trace_psl8() local
[all …]
Dguest.c385 pr_devel("Disabling AFU(%d) interrupts\n", ctx->afu->slice); in disable_afu_irqs()
401 pr_devel("Enabling AFU(%d) interrupts\n", ctx->afu->slice); in enable_afu_irqs()
733 dev_info(&afu->dev, "Activating AFU(%d) directed mode\n", afu->slice); in activate_afu_directed()
774 dev_info(&afu->dev, "Deactivating AFU(%d) directed mode\n", afu->slice); in deactivate_afu_directed()
801 pr_devel("AFU(%d) reset request\n", afu->slice); in guest_afu_reset()
809 afu->slice); in guest_map_slice_regs()
832 pr_devel("AFU(%d) update state to %#x\n", afu->slice, cur_state); in afu_update_state()
869 afu->slice, cur_state); in afu_update_state()
917 int cxl_guest_init_afu(struct cxl *adapter, int slice, struct device_node *afu_np) in cxl_guest_init_afu() argument
923 pr_devel("in %s - AFU(%d)\n", __func__, slice); in cxl_guest_init_afu()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/
Dia_css_sc.host.c85 u32 slice, rest, i; in ia_css_sc_config() local
92 slice = min(rest, ((uint32_t)ISP_SLICE_NELEMS)); in ia_css_sc_config()
93 rest = rest - slice; in ia_css_sc_config()
94 to->interped_gain_hor_slice_bqs[i] = slice; in ia_css_sc_config()
/kernel/linux/linux-5.10/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()
265 unsigned long slice; in slice_scan_available() local
267 slice = GET_LOW_SLICE_INDEX(addr); in slice_scan_available()
268 *boundary_addr = (slice + end) << SLICE_LOW_SHIFT; in slice_scan_available()
269 return !!(available->low_slices & (1u << slice)); in slice_scan_available()
271 slice = GET_HIGH_SLICE_INDEX(addr); in slice_scan_available()
272 *boundary_addr = (slice + end) ? in slice_scan_available()
[all …]
/kernel/linux/linux-5.10/include/media/
Dh264-ctrls.h130 #define V4L2_H264_CTRL_PRED_WEIGHTS_REQUIRED(pps, slice) \ argument
132 ((slice)->slice_type == V4L2_H264_SLICE_TYPE_P || \
133 (slice)->slice_type == V4L2_H264_SLICE_TYPE_SP)) || \
135 (slice)->slice_type == V4L2_H264_SLICE_TYPE_B))
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/Documentation/filesystems/
Dbfs.rst7 The BFS filesystem is used by SCO UnixWare OS for the /stand slice, which
39 slice contains it. The command prtvtoc(1M) is your friend::
44 look for the slice with tag "STAND", which is usually slice 10. With this
/kernel/linux/linux-5.10/fs/erofs/
Dxattr.c228 unsigned int value_sz, processed, slice; in xattr_foreach() local
276 slice = min_t(unsigned int, PAGE_SIZE - it->ofs, in xattr_foreach()
280 err = op->name(it, processed, it->kaddr + it->ofs, slice); in xattr_foreach()
286 it->ofs += slice; in xattr_foreach()
287 processed += slice; in xattr_foreach()
311 slice = min_t(unsigned int, PAGE_SIZE - it->ofs, in xattr_foreach()
313 op->value(it, processed, it->kaddr + it->ofs, slice); in xattr_foreach()
314 it->ofs += slice; in xattr_foreach()
315 processed += slice; in xattr_foreach()
/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-bwc.rst22 within each of these updates is tunable and described as the "slice".
59 is described as the "slice".
65 Larger slice values will reduce transfer overheads, while smaller values allow
103 Once a slice is assigned to a cpu it does not expire. However all but 1ms of
104 the slice may be returned to the global pool if all threads on that cpu become
114 quota as well as the entirety of each cpu-local slice in each period. As a
120 unused slice on each cpu that the task group is running on (typically at most
131 portion of a slice to remain valid across periods we have decreased the
133 full slice's amount of cpu time.
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_sysfs.c170 int slice = (int)(uintptr_t)attr->private; in i915_l3_read() local
182 if (i915->l3_parity.remap_info[slice]) in i915_l3_read()
184 i915->l3_parity.remap_info[slice] + offset / sizeof(u32), in i915_l3_read()
198 int slice = (int)(uintptr_t)attr->private; in i915_l3_write() local
216 if (i915->l3_parity.remap_info[slice]) { in i915_l3_write()
218 remap_info = i915->l3_parity.remap_info[slice]; in i915_l3_write()
220 i915->l3_parity.remap_info[slice] = remap_info; in i915_l3_write()
228 ctx->remap_slice |= BIT(slice); in i915_l3_write()

1234