Home
last modified time | relevance | path

Searched refs:front (Results 1 – 25 of 236) sorted by relevance

12345678910

/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_object_frontbuffer.c9 struct i915_frontbuffer *front = in frontbuffer_active() local
10 container_of(ref, typeof(*front), write); in frontbuffer_active()
12 kref_get(&front->ref); in frontbuffer_active()
18 struct i915_frontbuffer *front = in frontbuffer_retire() local
19 container_of(ref, typeof(*front), write); in frontbuffer_retire()
21 intel_frontbuffer_flush(&front->base, ORIGIN_CS); in frontbuffer_retire()
22 i915_gem_object_frontbuffer_put(front); in frontbuffer_retire()
29 struct i915_frontbuffer *front, *cur; in i915_gem_object_frontbuffer_get() local
31 front = i915_gem_object_frontbuffer_lookup(obj); in i915_gem_object_frontbuffer_get()
32 if (front) in i915_gem_object_frontbuffer_get()
[all …]
H A Di915_gem_object_frontbuffer.h45 void i915_gem_object_frontbuffer_ref(struct i915_frontbuffer *front);
46 void i915_gem_object_frontbuffer_put(struct i915_frontbuffer *front);
60 struct i915_frontbuffer *front; in i915_gem_object_frontbuffer_lookup() local
67 front = rcu_dereference(obj->frontbuffer); in i915_gem_object_frontbuffer_lookup()
68 if (!front) in i915_gem_object_frontbuffer_lookup()
71 if (unlikely(!kref_get_unless_zero(&front->ref))) in i915_gem_object_frontbuffer_lookup()
74 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_frontbuffer_lookup()
77 i915_gem_object_frontbuffer_put(front); in i915_gem_object_frontbuffer_lookup()
81 return front; in i915_gem_object_frontbuffer_lookup()
H A Di915_gem_object.c480 struct i915_frontbuffer *front; in __i915_gem_object_flush_frontbuffer() local
482 front = i915_gem_object_frontbuffer_lookup(obj); in __i915_gem_object_flush_frontbuffer()
483 if (front) { in __i915_gem_object_flush_frontbuffer()
484 intel_frontbuffer_flush(&front->base, origin); in __i915_gem_object_flush_frontbuffer()
485 i915_gem_object_frontbuffer_put(front); in __i915_gem_object_flush_frontbuffer()
492 struct i915_frontbuffer *front; in __i915_gem_object_invalidate_frontbuffer() local
494 front = i915_gem_object_frontbuffer_lookup(obj); in __i915_gem_object_invalidate_frontbuffer()
495 if (front) { in __i915_gem_object_invalidate_frontbuffer()
496 intel_frontbuffer_invalidate(&front->base, origin); in __i915_gem_object_invalidate_frontbuffer()
497 i915_gem_object_frontbuffer_put(front); in __i915_gem_object_invalidate_frontbuffer()
/linux/drivers/gpu/drm/xe/display/
H A Dintel_bo.c58 struct xe_frontbuffer *front; in intel_bo_frontbuffer_get() local
60 front = kmalloc_obj(*front); in intel_bo_frontbuffer_get()
61 if (!front) in intel_bo_frontbuffer_get()
64 intel_frontbuffer_init(&front->base, obj->dev); in intel_bo_frontbuffer_get()
66 kref_init(&front->ref); in intel_bo_frontbuffer_get()
69 front->obj = obj; in intel_bo_frontbuffer_get()
71 return &front->base; in intel_bo_frontbuffer_get()
76 struct xe_frontbuffer *front = in intel_bo_frontbuffer_ref() local
77 container_of(_front, typeof(*front), base); in intel_bo_frontbuffer_ref()
79 kref_get(&front->ref); in intel_bo_frontbuffer_ref()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_frontbuffer.c126 void __intel_fb_invalidate(struct intel_frontbuffer *front, in __intel_fb_invalidate() argument
130 struct intel_display *display = front->display; in __intel_fb_invalidate()
146 void __intel_fb_flush(struct intel_frontbuffer *front, in __intel_fb_flush() argument
150 struct intel_display *display = front->display; in __intel_fb_flush()
153 intel_bo_frontbuffer_flush_for_display(front); in __intel_fb_flush()
167 static void intel_frontbuffer_ref(struct intel_frontbuffer *front) in intel_frontbuffer_ref() argument
169 intel_bo_frontbuffer_ref(front); in intel_frontbuffer_ref()
174 struct intel_frontbuffer *front = in intel_frontbuffer_flush_work() local
177 intel_frontbuffer_flush(front, ORIGIN_DIRTYFB); in intel_frontbuffer_flush_work()
178 intel_frontbuffer_put(front); in intel_frontbuffer_flush_work()
[all …]
H A Dintel_frontbuffer.h69 void intel_frontbuffer_put(struct intel_frontbuffer *front);
74 void __intel_fb_invalidate(struct intel_frontbuffer *front,
89 static inline bool intel_frontbuffer_invalidate(struct intel_frontbuffer *front, in intel_frontbuffer_invalidate() argument
94 if (!front) in intel_frontbuffer_invalidate()
97 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_invalidate()
101 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate()
105 void __intel_fb_flush(struct intel_frontbuffer *front,
117 static inline void intel_frontbuffer_flush(struct intel_frontbuffer *front, in intel_frontbuffer_flush() argument
122 if (!front) in intel_frontbuffer_flush()
125 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_flush()
[all …]
/linux/fs/netfs/
H A Dread_collect.c187 struct netfs_io_subrequest *front, *remove; in netfs_collect_read_results() local
208 front = list_first_entry_or_null(&stream->subrequests, in netfs_collect_read_results()
210 while (front) { in netfs_collect_read_results()
213 trace_netfs_collect_sreq(rreq, front); in netfs_collect_read_results()
215 front->debug_index, front->start, front->transferred, front->len); in netfs_collect_read_results()
217 if (stream->collected_to < front->start) { in netfs_collect_read_results()
218 trace_netfs_collect_gap(rreq, stream, front->start, 'F'); in netfs_collect_read_results()
219 stream->collected_to = front->start; in netfs_collect_read_results()
222 if (netfs_check_subreq_in_progress(front)) in netfs_collect_read_results()
225 transferred = READ_ONCE(front->transferred); in netfs_collect_read_results()
[all …]
H A Dwrite_collect.c199 struct netfs_io_subrequest *front, *remove; in netfs_collect_write_results() local
231 front = list_first_entry_or_null(&stream->subrequests, in netfs_collect_write_results()
233 while (front) { in netfs_collect_write_results()
234 trace_netfs_collect_sreq(wreq, front); in netfs_collect_write_results()
238 if (stream->collected_to < front->start) { in netfs_collect_write_results()
240 stream->collected_to = front->start; in netfs_collect_write_results()
244 if (netfs_check_subreq_in_progress(front)) { in netfs_collect_write_results()
251 stream->collected_to = front->start + front->len; in netfs_collect_write_results()
255 if (front->start + front->transferred > stream->collected_to) { in netfs_collect_write_results()
256 stream->collected_to = front->start + front->transferred; in netfs_collect_write_results()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dtls.c153 nfp_net_tls_set_ipver_vlan(struct nfp_crypto_req_add_front *front, u8 ipver) in nfp_net_tls_set_ipver_vlan() argument
155 front->ipver_vlan = cpu_to_be16(FIELD_PREP(NFP_NET_TLS_IPVER, ipver) | in nfp_net_tls_set_ipver_vlan()
162 struct nfp_crypto_req_add_front *front) in nfp_net_tls_assign_conn_id() argument
168 len = front->key_len - NFP_NET_TLS_NON_ADDR_KEY_LEN; in nfp_net_tls_assign_conn_id()
170 memcpy(front->l3_addrs, &id, sizeof(id)); in nfp_net_tls_assign_conn_id()
171 memset(front->l3_addrs + sizeof(id), 0, len - sizeof(id)); in nfp_net_tls_assign_conn_id()
180 req->front.key_len += sizeof(__be32) * 2; in nfp_net_tls_set_ipv4()
184 container_of(&req->front, in nfp_net_tls_set_ipv4()
201 req->front.key_len += sizeof(struct in6_addr) * 2; in nfp_net_tls_set_ipv6()
205 container_of(&req->front, in nfp_net_tls_set_ipv6()
[all …]
/linux/Documentation/sound/designs/
H A Dchannel-mapping-api.rst18 ``{ front left, front right, rear left, rear right }.``
89 SNDRV_CHMAP_FL, /* front left */
90 SNDRV_CHMAP_FR, /* front right */
93 SNDRV_CHMAP_FC, /* front center */
99 SNDRV_CHMAP_FLC, /* front left center */
100 SNDRV_CHMAP_FRC, /* front right center */
103 SNDRV_CHMAP_FLW, /* front left wide */
104 SNDRV_CHMAP_FRW, /* front right wide */
105 SNDRV_CHMAP_FLH, /* front left high */
106 SNDRV_CHMAP_FCH, /* front center high */
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-inspur-fp5280g2.dts162 front-memory {
163 label = "front-memory";
167 front-syshot {
168 label = "front-syshot";
172 front-syshealth {
173 label = "front-syshealth";
177 front-fan {
178 label = "front-fan";
182 front-psu {
183 label = "front-psu";
[all …]
H A Daspeed-bmc-inspur-nf5280m6.dts51 front-fan {
52 label = "front-fan";
56 front-psu {
57 label = "front-psu";
61 front-syshot {
62 label = "front-syshot";
66 front-memory {
67 label = "front-memory";
/linux/drivers/md/bcache/
H A Dutil.h115 size_t front, back, size, mask; \
120 for (iter = (fifo)->front; \
133 (fifo)->front = (fifo)->back = 0; \
159 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask)
165 #define fifo_front(fifo) ((fifo)->data[(fifo)->front])
185 (i) = (fifo)->data[(fifo)->front++]; \
186 (fifo)->front &= (fifo)->mask; \
195 --(fifo)->front; \
196 (fifo)->front &= (fifo)->mask; \
197 (fifo)->data[(fifo)->front] = (i); \
[all …]
/linux/Documentation/admin-guide/
H A Dpstore-blk.rst78 The chunk size in KB for oops/panic front-end. It **MUST** be a multiple of 4.
81 There are multiple chunks for oops/panic front-end depending on the remaining
82 space except other pstore front-ends.
90 The chunk size in KB for pmsg front-end. It **MUST** be a multiple of 4.
93 Unlike oops/panic front-end, there is only one chunk for pmsg front-end.
102 The chunk size in KB for console front-end. It **MUST** be a multiple of 4.
105 Similar to pmsg front-end, there is only one chunk for console front-end.
113 The chunk size in KB for ftrace front-end. It **MUST** be a multiple of 4.
116 Similar to oops front-end, there are multiple chunks for ftrace front-end
186 files is ``dmesg-pstore-blk-[N]`` for oops/panic front-end,
[all …]
/linux/net/ceph/
H A Dmon_client.c178 monc->m_auth->front.iov_len = len; in __send_prepared_auth_request()
273 monc->m_auth->front.iov_base, in __open_session()
335 void *p = msg->front.iov_base; in __send_subscribe()
376 msg->front.iov_len = p - msg->front.iov_base; in __send_subscribe()
377 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in __send_subscribe()
386 struct ceph_mon_subscribe_ack *h = msg->front.iov_base; in handle_subscribe_ack()
388 if (msg->front.iov_len < sizeof(*h)) in handle_subscribe_ack()
549 p = msg->front.iov_base; in ceph_monc_handle_map()
550 end = p + msg->front.iov_len; in ceph_monc_handle_map()
742 struct ceph_mon_statfs_reply *reply = msg->front.iov_base; in handle_statfs_reply()
[all …]
/linux/Documentation/block/
H A Ddeadline-iosched.rst62 request, or it fits at the front. That is called either a back merge candidate
63 or a front merge candidate. Due to the way files are typically laid out,
64 back merges are much more common than front merges. For some work loads, you
66 front merge requests. Setting front_merges to 0 disables this functionality.
69 rbtree front sector lookup when the io scheduler merge function is called.
/linux/Documentation/driver-api/media/
H A Ddtv-demux.rst20 Each demux receives its TS input from a DVB front-end or from memory, as
21 set via this demux kABI. In a system with more than one front-end, the kABI
22 can be used to select one of the DVB front-ends as a TS source for a demux,
25 The demux kABI only controls front-ends regarding to their connections with
26 demuxes; the kABI used to set the other front-end parameters, such as
/linux/drivers/firmware/samsung/
H A Dexynos-acpm.c98 void __iomem *front; member
230 rx_front = readl(achan->rx.front); in acpm_get_rx()
347 ret = readl_poll_timeout(achan->rx.front, val, next_tx_front != val, 0, in acpm_wait_for_queue_slots()
440 tx_front = readl(achan->tx.front); in acpm_do_xfer()
454 writel(idx, achan->tx.front); in acpm_do_xfer()
486 tx->front = base + readl(&chan_shmem->rx_front); in acpm_chan_shmem_get_params()
490 rx->front = base + readl(&chan_shmem->tx_front); in acpm_chan_shmem_get_params()
/linux/Documentation/userspace-api/media/dvb/
H A Dfrontend_f_open.rst57 In a system with multiple front-ends, it is usually the case that
59 long as a front-end device is opened in read/write mode, other open()
61 non-blocking or blocking mode was specified. A front-end device opened
67 powered up, and that other front-ends may have been powered down to make
H A Dfrontend_f_close.rst33 This system call closes a previously opened front-end device. After
34 closing a front-end device, its corresponding hardware might be powered
/linux/fs/ceph/
H A Dmds_client.c757 info->head = msg->front.iov_base; in parse_reply_info()
758 p = msg->front.iov_base + sizeof(struct ceph_mds_reply_head); in parse_reply_info()
759 end = p + msg->front.iov_len - sizeof(struct ceph_mds_reply_head); in parse_reply_info()
1455 h = msg->front.iov_base; in ceph_create_session_msg()
1594 p = msg->front.iov_base; in create_session_full_msg()
1595 end = p + msg->front.iov_len; in create_session_full_msg()
1652 msg->front.iov_len = p - msg->front.iov_base; in create_session_full_msg()
1653 msg->hdr.front_len = cpu_to_le32(msg->front.iov_len); in create_session_full_msg()
2339 head = msg->front.iov_base; in ceph_send_cap_releases()
2341 msg->front.iov_len = sizeof(*head); in ceph_send_cap_releases()
[all …]
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-clearfog-gtr.dtsi25 front panel and PSE controller
44 41 - CON1 front panel connector
45 42 - Front LED1, or front panel CON1
48 45 - TPM PIRQ signal, or front panel CON1
54 52 - Front LED2, or front panel
131 i2c@11000 { /* ROM, temp sensor and front panel */
149 cf_gtr_front_button_pins: cf-gtr-front-button-pins {
H A Dorion5x-lacie-d2-network.dts39 button-front {
187 * MPP6: Red front LED
188 * MPP16: Blue front LED blink control
218 * GPIO 23: Blue front LED off
/linux/Documentation/sound/cards/
H A Dsb-live-mixer.rst66 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
100 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
137 This control is used to attenuate samples from left and right front ADC PCM slots
138 of the AC97 codec. The result samples are forwarded to the front DAC PCM
148 This control is used to attenuate samples from left and right front ADC PCM slots
160 forwarded to the front DAC PCM slots of the AC97 codec.
172 forwarded to the front DAC PCM slots of the AC97 codec.
183 digital input. The result samples are forwarded to the front DAC PCM slots
195 digital inputs. The result samples are forwarded to the front DAC PCM slots
207 inputs (on the LiveDrive). The result samples are forwarded to the front
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-i2c-devices-turris-omnia-mcu29 Description: (RW) The front button on the Turris Omnia router can be
31 front panel, or to send the press event to the CPU as an
48 front button.
50 This file configures whether front button power on is enabled.

12345678910