/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_frontbuffer.c | 231 if (!front) in intel_frontbuffer_queue_flush() 234 kref_get(&front->ref); in intel_frontbuffer_queue_flush() 244 kref_get(&front->ref); in frontbuffer_active() 273 kfree_rcu(front, rcu); in frontbuffer_release() 283 if (front) in intel_frontbuffer_get() 284 return front; in intel_frontbuffer_get() 286 front = kmalloc(sizeof(*front), GFP_KERNEL); in intel_frontbuffer_get() 287 if (!front) in intel_frontbuffer_get() 290 front->obj = obj; in intel_frontbuffer_get() 302 if (cur != front) in intel_frontbuffer_get() [all …]
|
H A D | intel_frontbuffer.h | 77 void intel_frontbuffer_put(struct intel_frontbuffer *front); 82 void __intel_fb_invalidate(struct intel_frontbuffer *front, 102 if (!front) in intel_frontbuffer_invalidate() 105 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_invalidate() 109 __intel_fb_invalidate(front, origin, frontbuffer_bits); in intel_frontbuffer_invalidate() 113 void __intel_fb_flush(struct intel_frontbuffer *front, 125 static inline void intel_frontbuffer_flush(struct intel_frontbuffer *front, in intel_frontbuffer_flush() argument 130 if (!front) in intel_frontbuffer_flush() 133 frontbuffer_bits = atomic_read(&front->bits); in intel_frontbuffer_flush() 137 __intel_fb_flush(front, origin, frontbuffer_bits); in intel_frontbuffer_flush() [all …]
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object_frontbuffer.h | 48 struct intel_frontbuffer *front; in i915_gem_object_get_frontbuffer() local 55 front = rcu_dereference(obj->frontbuffer); in i915_gem_object_get_frontbuffer() 56 if (!front) in i915_gem_object_get_frontbuffer() 59 if (unlikely(!kref_get_unless_zero(&front->ref))) in i915_gem_object_get_frontbuffer() 62 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_get_frontbuffer() 65 intel_frontbuffer_put(front); in i915_gem_object_get_frontbuffer() 69 return front; in i915_gem_object_get_frontbuffer() 86 struct intel_frontbuffer *front) in i915_gem_object_set_frontbuffer() argument 88 struct intel_frontbuffer *cur = front; in i915_gem_object_set_frontbuffer() 90 if (!front) { in i915_gem_object_set_frontbuffer() [all …]
|
H A D | i915_gem_object.c | 478 struct intel_frontbuffer *front; in __i915_gem_object_flush_frontbuffer() local 480 front = i915_gem_object_get_frontbuffer(obj); in __i915_gem_object_flush_frontbuffer() 481 if (front) { in __i915_gem_object_flush_frontbuffer() 482 intel_frontbuffer_flush(front, origin); in __i915_gem_object_flush_frontbuffer() 483 intel_frontbuffer_put(front); in __i915_gem_object_flush_frontbuffer() 490 struct intel_frontbuffer *front; in __i915_gem_object_invalidate_frontbuffer() local 492 front = i915_gem_object_get_frontbuffer(obj); in __i915_gem_object_invalidate_frontbuffer() 493 if (front) { in __i915_gem_object_invalidate_frontbuffer() 494 intel_frontbuffer_invalidate(front, origin); in __i915_gem_object_invalidate_frontbuffer() 495 intel_frontbuffer_put(front); in __i915_gem_object_invalidate_frontbuffer()
|
/linux/fs/bcachefs/ |
H A D | fifo.h | 9 size_t front, back, size, mask; \ 22 (fifo)->front = (fifo)->back = 0; \ 38 swap((l)->front, (r)->front); \ 53 #define fifo_used(fifo) (((fifo)->back - (fifo)->front)) 56 #define fifo_empty(fifo) ((fifo)->front == (fifo)->back) 64 ? (fifo)->front : (fifo)->back) & ~(fifo)->mask) + \ 96 (i) = (fifo)->data[(fifo)->front++ & (fifo)->mask]; \ 114 for (typecheck(typeof((_fifo)->front), _iter), \ 115 (_iter) = (_fifo)->front; \ 121 for (typecheck(typeof((_fifo)->front), _iter), \ [all …]
|
/linux/fs/netfs/ |
H A D | write_collect.c | 409 front = stream->front; in netfs_collect_write_results() 410 while (front) { in netfs_collect_write_results() 417 stream->collected_to = front->start; in netfs_collect_write_results() 428 stream->collected_to = front->start + front->len; in netfs_collect_write_results() 432 if (front->start + front->transferred > stream->collected_to) { in netfs_collect_write_results() 433 stream->collected_to = front->start + front->transferred; in netfs_collect_write_results() 439 stream->error = front->error; in netfs_collect_write_results() 445 if (front->transferred < front->len) { in netfs_collect_write_results() 455 remove = front; in netfs_collect_write_results() 456 list_del_init(&front->rreq_link); in netfs_collect_write_results() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 162 struct nfp_crypto_req_add_front *front) in nfp_net_tls_assign_conn_id() argument 170 memcpy(front->l3_addrs, &id, sizeof(id)); in nfp_net_tls_assign_conn_id() 180 req->front.key_len += sizeof(__be32) * 2; in nfp_net_tls_set_ipv4() 183 nfp_net_tls_assign_conn_id(nn, &req->front); in nfp_net_tls_set_ipv4() 202 nfp_net_tls_assign_conn_id(nn, &req->front); in nfp_net_tls_set_ipv6() 219 front->l4_proto = IPPROTO_TCP; in nfp_net_tls_set_l4() 271 struct nfp_crypto_req_add_front *front; in nfp_net_tls_add() local 318 front = (void *)skb->data; in nfp_net_tls_add() 319 front->ep_id = 0; in nfp_net_tls_add() 320 front->key_len = NFP_NET_TLS_NON_ADDR_KEY_LEN; in nfp_net_tls_add() [all …]
|
H A D | fw.h | 58 struct nfp_crypto_req_add_front front; member 65 struct nfp_crypto_req_add_front front; member
|
/linux/Documentation/sound/designs/ |
H A D | channel-mapping-api.rst | 18 ``{ 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 */ 103 SNDRV_CHMAP_FLW, /* front left wide */ 104 SNDRV_CHMAP_FRW, /* front right wide */ 105 SNDRV_CHMAP_FLH, /* front left high */ 107 SNDRV_CHMAP_FRH, /* front right high */ 109 SNDRV_CHMAP_TFL, /* top front left */ 110 SNDRV_CHMAP_TFR, /* top front right */ [all …]
|
/linux/drivers/md/bcache/ |
H A D | util.h | 52 size_t front, back, size, mask; \ 57 for (iter = (fifo)->front; \ 70 (fifo)->front = (fifo)->back = 0; \ 96 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask) 102 #define fifo_front(fifo) ((fifo)->data[(fifo)->front]) 122 (i) = (fifo)->data[(fifo)->front++]; \ 123 (fifo)->front &= (fifo)->mask; \ 132 --(fifo)->front; \ 133 (fifo)->front &= (fifo)->mask; \ 134 (fifo)->data[(fifo)->front] = (i); \ [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-inspur-fp5280g2.dts | 163 front-memory { 164 label = "front-memory"; 168 front-syshot { 169 label = "front-syshot"; 173 front-syshealth { 174 label = "front-syshealth"; 178 front-fan { 179 label = "front-fan"; 183 front-psu { 184 label = "front-psu"; [all …]
|
H A D | aspeed-bmc-inspur-nf5280m6.dts | 51 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/Documentation/admin-guide/ |
H A D | pstore-blk.rst | 78 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/drivers/gpu/drm/xe/compat-i915-headers/gem/ |
H A D | i915_gem_object_frontbuffer.h | 10 #define i915_gem_object_set_frontbuffer(obj, front) (front) argument
|
/linux/Documentation/block/ |
H A D | deadline-iosched.rst | 62 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/net/ceph/ |
H A D | mon_client.c | 178 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() 549 p = msg->front.iov_base; in ceph_monc_handle_map() 550 end = p + msg->front.iov_len; in ceph_monc_handle_map() 799 h = req->request->front.iov_base; in ceph_monc_do_statfs() 821 void *p = msg->front.iov_base; in handle_get_version_reply() 943 void *p = msg->front.iov_base; in handle_command_ack() 996 h = req->request->front.iov_base; in do_mon_command_vargs() [all …]
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | frontend_f_close.rst | 33 This system call closes a previously opened front-end device. After 34 closing a front-end device, its corresponding hardware might be powered
|
H A D | frontend_f_open.rst | 57 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
|
/linux/Documentation/driver-api/media/ |
H A D | dtv-demux.rst | 20 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/arch/arm64/boot/dts/apple/ |
H A D | t6002-j375d.dts | 22 /* front-right */ 31 /* front-left */
|
/linux/drivers/media/platform/st/sti/c8sectpfe/ |
H A D | Kconfig | 17 This adds support for DVB front-end cards connected 23 Supported DVB front-end cards are:
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-clearfog-gtr.dtsi | 25 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 D | orion5x-lacie-d2-network.dts | 39 button-front { 187 * MPP6: Red front LED 188 * MPP16: Blue front LED blink control 218 * GPIO 23: Blue front LED off
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-i2c-devices-turris-omnia-mcu | 29 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.
|
/linux/fs/ceph/ |
H A D | mds_client.c | 1453 h = msg->front.iov_base; in ceph_create_session_msg() 1592 p = msg->front.iov_base; in create_session_full_msg() 1593 end = p + msg->front.iov_len; in create_session_full_msg() 1650 msg->front.iov_len = p - msg->front.iov_base; in create_session_full_msg() 2358 head = msg->front.iov_base; in ceph_send_cap_releases() 2361 item = msg->front.iov_base + msg->front.iov_len; in ceph_send_cap_releases() 2372 cap_barrier = msg->front.iov_base + msg->front.iov_len; in ceph_send_cap_releases() 2392 cap_barrier = msg->front.iov_base + msg->front.iov_len; in ceph_send_cap_releases() 3152 end = msg->front.iov_base + msg->front.iov_len; in create_request_message() 3213 msg->front.iov_len = p - msg->front.iov_base; in create_request_message() [all …]
|