Home
last modified time | relevance | path

Searched refs:position (Results 1 - 25 of 381) sorted by relevance

12345678910>>...16

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_vblank.c205 int position, vtotal; in __intel_get_crtc_scanline() local
220 position = intel_de_read_fw(dev_priv, PIPEDSL(pipe)) & PIPEDSL_LINE_MASK; in __intel_get_crtc_scanline()
234 if (HAS_DDI(dev_priv) && !position) { in __intel_get_crtc_scanline()
240 if (temp != position) { in __intel_get_crtc_scanline()
241 position = temp; in __intel_get_crtc_scanline()
251 return (position + crtc->scanline_offset) % vtotal; in __intel_get_crtc_scanline()
264 int position; in i915_get_crtc_scanoutpos() local
306 position = __intel_get_crtc_scanline(crtc); in i915_get_crtc_scanoutpos()
309 * Already exiting vblank? If so, shift our position in i915_get_crtc_scanoutpos()
314 if (position > in i915_get_crtc_scanoutpos()
399 int position; intel_get_crtc_scanline() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-devlink.c72 int position; in dpaa2_eth_dl_get_trap() member
75 { .position = 5, .trap_id = DEVLINK_TRAP_GENERIC_ID_VXLAN_PARSING }, in dpaa2_eth_dl_get_trap()
76 { .position = 20, .trap_id = DEVLINK_TRAP_GENERIC_ID_LLC_SNAP_PARSING }, in dpaa2_eth_dl_get_trap()
77 { .position = 24, .trap_id = DEVLINK_TRAP_GENERIC_ID_VLAN_PARSING }, in dpaa2_eth_dl_get_trap()
78 { .position = 26, .trap_id = DEVLINK_TRAP_GENERIC_ID_PPPOE_PPP_PARSING }, in dpaa2_eth_dl_get_trap()
79 { .position = 29, .trap_id = DEVLINK_TRAP_GENERIC_ID_MPLS_PARSING }, in dpaa2_eth_dl_get_trap()
80 { .position = 31, .trap_id = DEVLINK_TRAP_GENERIC_ID_ARP_PARSING }, in dpaa2_eth_dl_get_trap()
81 { .position = 52, .trap_id = DEVLINK_TRAP_GENERIC_ID_IP_1_PARSING }, in dpaa2_eth_dl_get_trap()
82 { .position = 61, .trap_id = DEVLINK_TRAP_GENERIC_ID_IP_N_PARSING }, in dpaa2_eth_dl_get_trap()
83 { .position in dpaa2_eth_dl_get_trap()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-devlink.c63 int position; in dpaa2_eth_dl_get_trap() member
66 { .position = 5, .trap_id = DEVLINK_TRAP_GENERIC_ID_VXLAN_PARSING }, in dpaa2_eth_dl_get_trap()
67 { .position = 20, .trap_id = DEVLINK_TRAP_GENERIC_ID_LLC_SNAP_PARSING }, in dpaa2_eth_dl_get_trap()
68 { .position = 24, .trap_id = DEVLINK_TRAP_GENERIC_ID_VLAN_PARSING }, in dpaa2_eth_dl_get_trap()
69 { .position = 26, .trap_id = DEVLINK_TRAP_GENERIC_ID_PPPOE_PPP_PARSING }, in dpaa2_eth_dl_get_trap()
70 { .position = 29, .trap_id = DEVLINK_TRAP_GENERIC_ID_MPLS_PARSING }, in dpaa2_eth_dl_get_trap()
71 { .position = 31, .trap_id = DEVLINK_TRAP_GENERIC_ID_ARP_PARSING }, in dpaa2_eth_dl_get_trap()
72 { .position = 52, .trap_id = DEVLINK_TRAP_GENERIC_ID_IP_1_PARSING }, in dpaa2_eth_dl_get_trap()
73 { .position = 61, .trap_id = DEVLINK_TRAP_GENERIC_ID_IP_N_PARSING }, in dpaa2_eth_dl_get_trap()
74 { .position in dpaa2_eth_dl_get_trap()
[all...]
/kernel/linux/linux-6.6/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c28 static struct svc_rdma_chunk *pcl_alloc_chunk(u32 segcount, u32 position) in pcl_alloc_chunk() argument
36 chunk->ch_position = position; in pcl_alloc_chunk()
44 pcl_lookup_position(struct svc_rdma_pcl *pcl, u32 position) in pcl_lookup_position() argument
49 if (pos->ch_position == position) in pcl_lookup_position()
94 * - The list might not be in order by position.
110 u32 position, handle, length; in pcl_alloc_call() local
114 p = xdr_decode_read_segment(p, &position, &handle, in pcl_alloc_call()
116 if (position != 0) in pcl_alloc_call()
120 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_call()
145 * - The list might not be in order by position
164 u32 position, handle, length; pcl_alloc_read() local
[all...]
/kernel/linux/linux-5.10/drivers/firmware/tegra/
H A Divc.c149 if (ivc->tx.position == ivc->num_frames - 1) in tegra_ivc_advance_tx()
150 ivc->tx.position = 0; in tegra_ivc_advance_tx()
152 ivc->tx.position++; in tegra_ivc_advance_tx()
160 if (ivc->rx.position == ivc->num_frames - 1) in tegra_ivc_advance_rx()
161 ivc->rx.position = 0; in tegra_ivc_advance_rx()
163 ivc->rx.position++; in tegra_ivc_advance_rx()
279 * Order observation of ivc->rx.position potentially indicating new in tegra_ivc_read_get_next_frame()
284 tegra_ivc_invalidate_frame(ivc, ivc->rx.phys, ivc->rx.position, 0, in tegra_ivc_read_get_next_frame()
287 return tegra_ivc_frame_virt(ivc, ivc->rx.channel, ivc->rx.position); in tegra_ivc_read_get_next_frame()
311 * Ensure our write to ivc->rx.position occur in tegra_ivc_read_advance()
[all...]
/kernel/linux/linux-6.6/drivers/firmware/tegra/
H A Divc.c153 if (ivc->tx.position == ivc->num_frames - 1) in tegra_ivc_advance_tx()
154 ivc->tx.position = 0; in tegra_ivc_advance_tx()
156 ivc->tx.position++; in tegra_ivc_advance_tx()
165 if (ivc->rx.position == ivc->num_frames - 1) in tegra_ivc_advance_rx()
166 ivc->rx.position = 0; in tegra_ivc_advance_rx()
168 ivc->rx.position++; in tegra_ivc_advance_rx()
291 * Order observation of ivc->rx.position potentially indicating new in tegra_ivc_read_get_next_frame()
296 tegra_ivc_invalidate_frame(ivc, ivc->rx.phys, ivc->rx.position, 0, in tegra_ivc_read_get_next_frame()
299 return tegra_ivc_frame_virt(ivc, &ivc->rx.map, ivc->rx.position, map); in tegra_ivc_read_get_next_frame()
323 * Ensure our write to ivc->rx.position occur in tegra_ivc_read_advance()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue_access.c128 u8 position, in ia_css_queue_item_load()
137 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_load()
142 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_load()
155 u8 position, in ia_css_queue_item_store()
164 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_store()
169 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_store()
126 ia_css_queue_item_load( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_load() argument
153 ia_css_queue_item_store( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_store() argument
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue_access.c128 u8 position, in ia_css_queue_item_load()
137 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_load()
142 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_load()
155 u8 position, in ia_css_queue_item_store()
164 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_store()
169 + position * sizeof(ia_css_circbuf_elem_t), in ia_css_queue_item_store()
126 ia_css_queue_item_load( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_load() argument
153 ia_css_queue_item_store( struct ia_css_queue *rdesc, u8 position, ia_css_circbuf_elem_t *item) ia_css_queue_item_store() argument
/kernel/linux/linux-5.10/sound/pci/ctxfi/
H A Dctpcm.c247 unsigned long position; in ct_pcm_playback_pointer() local
252 /* Read out playback position */ in ct_pcm_playback_pointer()
253 position = atc->pcm_playback_position(atc, apcm); in ct_pcm_playback_pointer()
254 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer()
255 if (position >= runtime->buffer_size) in ct_pcm_playback_pointer()
256 position = 0; in ct_pcm_playback_pointer()
257 return position; in ct_pcm_playback_pointer()
353 unsigned long position; in ct_pcm_capture_pointer() local
358 /* Read out playback position */ in ct_pcm_capture_pointer()
[all...]
H A Dcttimer.c38 unsigned int position; member
72 unsigned int position, dist, interval; in ct_systimer_callback() local
74 position = substream->ops->pointer(substream); in ct_systimer_callback()
75 dist = (position + buffer_size - ti->position) % buffer_size; in ct_systimer_callback()
77 position / period_size != ti->position / period_size) { in ct_systimer_callback()
79 ti->position = position; in ct_systimer_callback()
83 interval = ((period_size - (position in ct_systimer_callback()
[all...]
/kernel/linux/linux-6.6/sound/pci/ctxfi/
H A Dctpcm.c247 unsigned long position; in ct_pcm_playback_pointer() local
252 /* Read out playback position */ in ct_pcm_playback_pointer()
253 position = atc->pcm_playback_position(atc, apcm); in ct_pcm_playback_pointer()
254 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer()
255 if (position >= runtime->buffer_size) in ct_pcm_playback_pointer()
256 position = 0; in ct_pcm_playback_pointer()
257 return position; in ct_pcm_playback_pointer()
353 unsigned long position; in ct_pcm_capture_pointer() local
358 /* Read out playback position */ in ct_pcm_capture_pointer()
[all...]
H A Dcttimer.c38 unsigned int position; member
72 unsigned int position, dist, interval; in ct_systimer_callback() local
74 position = substream->ops->pointer(substream); in ct_systimer_callback()
75 dist = (position + buffer_size - ti->position) % buffer_size; in ct_systimer_callback()
77 position / period_size != ti->position / period_size) { in ct_systimer_callback()
79 ti->position = position; in ct_systimer_callback()
83 interval = ((period_size - (position in ct_systimer_callback()
[all...]
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
H A Dosnoise_hist.c209 char *content, *position; in osnoise_read_trace_hist() local
219 position = content; in osnoise_read_trace_hist()
221 position = strstr(position, "duration: ~"); in osnoise_read_trace_hist()
222 if (!position) in osnoise_read_trace_hist()
224 position += strlen("duration: ~"); in osnoise_read_trace_hist()
225 duration = get_llong_from_str(position); in osnoise_read_trace_hist()
229 position = strstr(position, "cpu:"); in osnoise_read_trace_hist()
230 if (!position) in osnoise_read_trace_hist()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c58 unsigned int position, in cedrus_h264_mv_col_buf_addr()
63 /* Adjust for the position */ in cedrus_h264_mv_col_buf_addr()
64 addr += position * ctx->codec.h264.mv_col_buf_field_size * 2; in cedrus_h264_mv_col_buf_addr()
79 unsigned int position = buf->codec.h264.position; in cedrus_fill_ref_pic() local
88 cpu_to_le32(cedrus_h264_mv_col_buf_addr(ctx, position, 0)); in cedrus_fill_ref_pic()
90 cpu_to_le32(cedrus_h264_mv_col_buf_addr(ctx, position, 1)); in cedrus_fill_ref_pic()
103 unsigned int position; in cedrus_write_frame_list() local
124 position = cedrus_buf->codec.h264.position; in cedrus_write_frame_list()
57 cedrus_h264_mv_col_buf_addr(struct cedrus_ctx *ctx, unsigned int position, unsigned int field) cedrus_h264_mv_col_buf_addr() argument
188 unsigned int position; _cedrus_write_ref_list() local
[all...]
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse_decompress.c136 size_t position = 0; in FSE_buildDTable_internal() local
143 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal()
146 position = (position + (unroll * step)) & tableMask; in FSE_buildDTable_internal()
148 assert(position == 0); in FSE_buildDTable_internal()
153 U32 s, position = 0; in FSE_buildDTable_internal() local
157 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal()
158 position = (position + step) & tableMask; in FSE_buildDTable_internal()
159 while (position > highThreshol in FSE_buildDTable_internal()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dacmacros.h299 * MASK_BITS_ABOVE creates a mask starting AT the position and above
300 * MASK_BITS_BELOW creates a mask starting one bit BELOW the position
306 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_UINT64_MAX) << ((u32) (position))))
307 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_UINT64_MAX) << ((u32) (position)))
330 #define ACPI_GET_BITS(source_ptr, position, mask) \
331 ((*(source_ptr) >> (position)) & (mask))
333 #define ACPI_SET_BITS(target_ptr, position, mask, value) \
334 (*(target_ptr) |= (((value) & (mask)) << (position)))
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dacmacros.h299 * MASK_BITS_ABOVE creates a mask starting AT the position and above
300 * MASK_BITS_BELOW creates a mask starting one bit BELOW the position
306 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_UINT64_MAX) << ((u32) (position))))
307 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_UINT64_MAX) << ((u32) (position)))
330 #define ACPI_GET_BITS(source_ptr, position, mask) \
331 ((*(source_ptr) >> (position)) & (mask))
333 #define ACPI_SET_BITS(target_ptr, position, mask, value) \
334 (*(target_ptr) |= (((value) & (mask)) << (position)))
[all...]
/kernel/linux/linux-5.10/include/linux/sunrpc/
H A Drpc_rdma.h135 * Pointer to the XDR position that follows the encoded RDMA segment
148 * @position: The position to encode
154 * Pointer to the XDR position that follows the encoded Read segment
156 static inline __be32 *xdr_encode_read_segment(__be32 *p, u32 position, in xdr_encode_read_segment() argument
160 *p++ = cpu_to_be32(position); in xdr_encode_read_segment()
185 * @position: Upon return, the segment's position
193 static inline __be32 *xdr_decode_read_segment(__be32 *p, u32 *position, in xdr_decode_read_segment() argument
197 *position in xdr_decode_read_segment()
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dmem-phys-addr.py64 position = bisect.bisect(system_ram, phys_addr)
65 if position % 2 == 0:
70 position = bisect.bisect(pmem, phys_addr)
71 if position % 2 == 0:
/kernel/linux/linux-6.6/include/linux/sunrpc/
H A Drpc_rdma.h135 * Pointer to the XDR position that follows the encoded RDMA segment
148 * @position: The position to encode
154 * Pointer to the XDR position that follows the encoded Read segment
156 static inline __be32 *xdr_encode_read_segment(__be32 *p, u32 position, in xdr_encode_read_segment() argument
160 *p++ = cpu_to_be32(position); in xdr_encode_read_segment()
185 * @position: Upon return, the segment's position
193 static inline __be32 *xdr_decode_read_segment(__be32 *p, u32 *position, in xdr_decode_read_segment() argument
197 *position in xdr_decode_read_segment()
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dmem-phys-addr.py64 position = bisect.bisect(system_ram, phys_addr)
65 if position % 2 == 0:
70 position = bisect.bisect(pmem, phys_addr)
71 if position % 2 == 0:
/kernel/linux/linux-5.10/lib/zstd/
H A Dfse_decompress.c132 U32 s, position = 0; in FSE_buildDTable_wksp() local
136 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_wksp()
137 position = (position + step) & tableMask; in FSE_buildDTable_wksp()
138 while (position > highThreshold) in FSE_buildDTable_wksp()
139 position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable_wksp()
142 if (position != 0) in FSE_buildDTable_wksp()
143 return ERROR(GENERIC); /* position must reach all cells once, otherwise normalizedCounter is incorrect */ in FSE_buildDTable_wksp()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c45 const struct dc_cursor_position *position, in dce_ipp_cursor_set_position()
55 REG_UPDATE(CUR_CONTROL, CURSOR_EN, position->enable); in dce_ipp_cursor_set_position()
58 CURSOR_X_POSITION, position->x, in dce_ipp_cursor_set_position()
59 CURSOR_Y_POSITION, position->y); in dce_ipp_cursor_set_position()
62 CURSOR_HOT_SPOT_X, position->x_hotspot, in dce_ipp_cursor_set_position()
63 CURSOR_HOT_SPOT_Y, position->y_hotspot); in dce_ipp_cursor_set_position()
43 dce_ipp_cursor_set_position( struct input_pixel_processor *ipp, const struct dc_cursor_position *position, const struct dc_cursor_mi_param *param) dce_ipp_cursor_set_position() argument
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dmsgq.c29 msgq->position = nvkm_falcon_rd32(msgq->qmgr->falcon, msgq->tail_reg); in nvkm_falcon_msgq_open()
38 nvkm_falcon_wr32(falcon, msgq->tail_reg, msgq->position); in nvkm_falcon_msgq_close()
59 if (head < msgq->position) in nvkm_falcon_msgq_pop()
60 msgq->position = msgq->offset; in nvkm_falcon_msgq_pop()
62 tail = msgq->position; in nvkm_falcon_msgq_pop()
72 msgq->position += ALIGN(size, QUEUE_ALIGNMENT); in nvkm_falcon_msgq_pop()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c43 const struct dc_cursor_position *position, in dce_ipp_cursor_set_position()
53 REG_UPDATE(CUR_CONTROL, CURSOR_EN, position->enable); in dce_ipp_cursor_set_position()
56 CURSOR_X_POSITION, position->x, in dce_ipp_cursor_set_position()
57 CURSOR_Y_POSITION, position->y); in dce_ipp_cursor_set_position()
60 CURSOR_HOT_SPOT_X, position->x_hotspot, in dce_ipp_cursor_set_position()
61 CURSOR_HOT_SPOT_Y, position->y_hotspot); in dce_ipp_cursor_set_position()
41 dce_ipp_cursor_set_position( struct input_pixel_processor *ipp, const struct dc_cursor_position *position, const struct dc_cursor_mi_param *param) dce_ipp_cursor_set_position() argument

Completed in 13 milliseconds

12345678910>>...16