Searched refs:head (Results 176 - 200 of 2525) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c27 #include "head.h"
96 /* GF119 moves this information to per-head methods, which is
99 if (state->head && state == &ior->asy) {
100 struct nvkm_head *head = nvkm_head_find(ior->disp, __ffs(state->head)); local
102 if (!WARN_ON(!head)) {
103 struct nvkm_head_state *state = &head->asy;
134 state->head = ctrl & 0x00000003;
248 state->head = ctrl & 0x00000003;
344 state->head
371 nv50_head_vblank_put(struct nvkm_head *head) argument
379 nv50_head_vblank_get(struct nvkm_head *head) argument
387 nv50_head_rgclk(struct nvkm_head *head, int div) argument
395 nv50_head_rgpos(struct nvkm_head *head, u16 *hline, u16 *vline) argument
406 nv50_head_state(struct nvkm_head *head, struct nvkm_head_state *state) argument
1014 nv50_disp_super_iedt(struct nvkm_head *head, struct nvkm_outp *outp, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_outp *iedt) argument
1029 nv50_disp_super_ied_on(struct nvkm_head *head, struct nvkm_ior *ior, int id, u32 khz) argument
1085 nv50_disp_super_ied_off(struct nvkm_head *head, struct nvkm_ior *ior, int id) argument
1110 nv50_disp_super_ior_asy(struct nvkm_head *head) argument
1124 nv50_disp_super_ior_arm(struct nvkm_head *head) argument
1138 nv50_disp_super_3_0(struct nvkm_disp *disp, struct nvkm_head *head) argument
1157 nv50_disp_super_2_2_dp(struct nvkm_head *head, struct nvkm_ior *ior) argument
1263 nv50_disp_super_2_2(struct nvkm_disp *disp, struct nvkm_head *head) argument
1308 nv50_disp_super_2_1(struct nvkm_disp *disp, struct nvkm_head *head) argument
1318 nv50_disp_super_2_0(struct nvkm_disp *disp, struct nvkm_head *head) argument
1333 nv50_disp_super_1_0(struct nvkm_disp *disp, struct nvkm_head *head) argument
1350 struct nvkm_head *head; local
1370 struct nvkm_head *head; local
1519 struct nvkm_head *head; local
[all...]
H A Dudisp.c24 #include "head.h"
86 struct nvkm_head *head; local
102 list_for_each_entry(conn, &disp->conns, head)
106 list_for_each_entry(outp, &disp->outps, head)
110 list_for_each_entry(head, &disp->heads, head)
111 args->v0.head_mask |= BIT(head->id);
/linux-master/drivers/net/wireless/ath/
H A Ddfs_pri_detector.c36 struct list_head head; member in struct:pulse_elem
104 list_for_each_entry_safe(p, p0, &pulse_pool, head) {
105 list_del(&p->head);
109 list_for_each_entry_safe(ps, ps0, &pseq_pool, head) {
110 list_del(&ps->head);
121 list_add(&pe->head, &pulse_pool);
129 list_add(&pse->head, &pseq_pool);
139 pse = list_first_entry(&pseq_pool, struct pri_sequence, head);
140 list_del(&pse->head);
152 pe = list_first_entry(&pulse_pool, struct pulse_elem, head);
[all...]
/linux-master/fs/hfsplus/
H A Dbtree.c136 struct hfs_btree_header_rec *head; local
166 head = (struct hfs_btree_header_rec *)(kmap_local_page(page) +
168 tree->root = be32_to_cpu(head->root);
169 tree->leaf_count = be32_to_cpu(head->leaf_count);
170 tree->leaf_head = be32_to_cpu(head->leaf_head);
171 tree->leaf_tail = be32_to_cpu(head->leaf_tail);
172 tree->node_count = be32_to_cpu(head->node_count);
173 tree->free_nodes = be32_to_cpu(head->free_nodes);
174 tree->attributes = be32_to_cpu(head->attributes);
175 tree->node_size = be16_to_cpu(head
285 struct hfs_btree_header_rec *head; local
[all...]
/linux-master/net/sunrpc/
H A Dxprtmultipath.c242 struct rpc_xprt *xprt_switch_find_first_entry(struct list_head *head) argument
246 list_for_each_entry_rcu(pos, head, xprt_switch) {
254 struct rpc_xprt *xprt_switch_find_first_entry_offline(struct list_head *head) argument
258 list_for_each_entry_rcu(pos, head, xprt_switch) {
276 struct rpc_xprt *_xprt_switch_find_current_entry(struct list_head *head, argument
283 list_for_each_entry_rcu(pos, head, xprt_switch) {
294 struct rpc_xprt *xprt_switch_find_current_entry(struct list_head *head, argument
297 return _xprt_switch_find_current_entry(head, cur, true);
302 struct rpc_xprt *first_entry(struct list_head *head),
303 struct rpc_xprt *current_entry(struct list_head *head,
301 _xprt_iter_current_entry(struct rpc_xprt_iter *xpi, struct rpc_xprt *first_entry(struct list_head *head), struct rpc_xprt *current_entry(struct list_head *head, const struct rpc_xprt *cur)) argument
307 struct list_head *head; local
325 xprt_switch_find_current_entry_offline(struct list_head *head, const struct rpc_xprt *cur) argument
343 struct list_head *head; local
373 xprt_switch_find_next_entry(struct list_head *head, const struct rpc_xprt *cur, bool check_active) argument
419 __xprt_switch_find_next_entry_roundrobin(struct list_head *head, const struct rpc_xprt *cur) argument
434 struct list_head *head = &xps->xps_xprt_list; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dheadc57d.c22 #include "head.h"
31 headc57d_display_id(struct nv50_head *head, u32 display_id) argument
33 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push;
39 PUSH_NVSQ(push, NVC57D, 0x2020 + (head->base.index * 0x400), display_id);
44 headc57d_or(struct nv50_head *head, struct nv50_head_atom *asyh) argument
46 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push;
47 const int i = head->base.index;
79 headc57d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) argument
81 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push;
82 const int i = head
97 headc57d_olut_clr(struct nv50_head *head) argument
111 headc57d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) argument
186 headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) argument
202 headc57d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) argument
[all...]
H A Dcrc.h78 void nv50_crc_handle_vblank(struct nv50_head *head);
109 nv50_head_crc_late_register(struct nv50_head *head) { return 0; } argument
110 static inline void nv50_crc_handle_vblank(struct nv50_head *head) {} argument
113 nv50_crc_atomic_check_head(struct nv50_head *head, argument
126 nv50_crc_atomic_set(struct nv50_head *head, struct nv50_head_atom *state) {} argument
128 nv50_crc_atomic_clr(struct nv50_head *head) {} argument
H A Dovly.c28 nv50_ovly_new(struct nouveau_drm *drm, int head, struct nv50_wndw **pwndw) argument
52 ret = ovlys[cid].new(drm, head, ovlys[cid].oclass, pwndw);
H A Dcurs.c27 nv50_curs_new(struct nouveau_drm *drm, int head, struct nv50_wndw **pwndw) argument
53 return curses[cid].new(drm, head, curses[cid].oclass, pwndw);
/linux-master/drivers/media/test-drivers/vidtv/
H A Dvidtv_channel.c54 *vidtv_channel_s302m_init(struct vidtv_channel *head, u16 transport_stream_id) argument
131 if (head) {
132 while (head->next)
133 head = head->next;
135 head->next = s302m;
164 struct vidtv_psi_table_eit_event *head = NULL; local
184 vidtv_psi_eit_event_destroy(head);
191 if (!head)
192 head
210 struct vidtv_psi_table_sdt_service *head = NULL; local
265 struct vidtv_psi_table_pat_program *head = NULL; local
316 struct vidtv_psi_table_pmt_stream *head = NULL; local
[all...]
/linux-master/fs/hfs/
H A Dbtree.c22 struct hfs_btree_header_rec *head; local
83 head = (struct hfs_btree_header_rec *)(kmap_local_page(page) +
85 tree->root = be32_to_cpu(head->root);
86 tree->leaf_count = be32_to_cpu(head->leaf_count);
87 tree->leaf_head = be32_to_cpu(head->leaf_head);
88 tree->leaf_tail = be32_to_cpu(head->leaf_tail);
89 tree->node_count = be32_to_cpu(head->node_count);
90 tree->free_nodes = be32_to_cpu(head->free_nodes);
91 tree->attributes = be32_to_cpu(head->attributes);
92 tree->node_size = be16_to_cpu(head
164 struct hfs_btree_header_rec *head; local
[all...]
/linux-master/lib/
H A Dobjpool.c160 uint32_t head, tail; local
162 /* loading tail and head as a local snapshot, tail first */
166 head = READ_ONCE(slot->head);
168 WARN_ON_ONCE(tail - head > pool->nr_objs);
198 /* load head snapshot, other cpus may change it */
199 uint32_t head = smp_load_acquire(&slot->head); local
201 while (head != READ_ONCE(slot->last)) {
205 * data visibility of 'last' and 'head' coul
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_ring.h93 unsigned int head = READ_ONCE(ring->head); local
106 * We use ring->head as the last known location of the actual RING_HEAD,
108 * as ring->head and so we should never program RING_TAIL to advance
109 * into the same cacheline as ring->head.
112 GEM_BUG_ON(cacheline(tail) == cacheline(head) && tail < head);
131 __intel_ring_space(unsigned int head, unsigned int tail, unsigned int size) argument
139 return (head - tail - CACHELINE_BYTES) & (size - 1);
/linux-master/include/uapi/linux/
H A Dvirtio_iommu.h75 struct virtio_iommu_req_head head; member in struct:virtio_iommu_req_attach
84 struct virtio_iommu_req_head head; member in struct:virtio_iommu_req_detach
100 struct virtio_iommu_req_head head; member in struct:virtio_iommu_req_map
110 struct virtio_iommu_req_head head; member in struct:virtio_iommu_req_unmap
132 struct virtio_iommu_probe_property head; member in struct:virtio_iommu_probe_resv_mem
140 struct virtio_iommu_req_head head; member in struct:virtio_iommu_req_probe
/linux-master/tools/testing/selftests/timers/
H A Dclocksource-switch.c45 char *head, *tmp; local
56 head = buf;
58 while (head - buf < size) {
60 for (tmp = head; *tmp != ' '; tmp++) {
67 strcpy(list[i], head);
68 head = tmp + 1;
/linux-master/drivers/input/joystick/iforce/
H A Diforce-packets.c33 int head, tail; local
37 * Update head and tail of xmit buffer
41 head = iforce->xmit.head;
45 if (CIRC_SPACE(head, tail, XMIT_SIZE) < n+2) {
52 empty = head == tail;
53 XMIT_INC(iforce->xmit.head, n+2);
58 iforce->xmit.buf[head] = HI(cmd);
59 XMIT_INC(head, 1);
60 iforce->xmit.buf[head]
[all...]
/linux-master/drivers/scsi/arm/
H A Dqueue.c65 INIT_LIST_HEAD(&queue->head);
70 * host-available list head, and we wouldn't
93 if (!list_empty(&queue->head))
100 * Function: int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
101 * Purpose : Add a new command onto a queue, adding REQUEST_SENSE to head.
104 * head - add command to head of queue
107 int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head) argument
127 if (head)
128 list_add(l, &queue->head);
[all...]
H A Dqueue.h11 struct list_head head; member in struct:__anon612
54 * Function: int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head)
58 * head - add command to head of queue
61 extern int __queue_add(Queue_t *queue, struct scsi_cmnd *SCpnt, int head);
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv04.c88 int head = nouveau_crtc(encoder->crtc)->index; local
89 crtc1A = NVReadVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX);
91 state->pllsel |= head ? PLLSEL_TV_CRTC2_MASK :
97 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_RPC1_INDEX, crtc1A);
105 static void nv04_tv_bind(struct drm_device *dev, int head, bool bind) argument
107 struct nv04_crtc_reg *state = &nv04_display(dev)->mode_reg.crtc_reg[head];
116 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_LCD__INDEX,
118 NVWriteVgaCrtc(dev, head, NV_CIO_CRE_49,
120 NVWriteRAMDAC(dev, head, NV_PRAMDAC_TV_SETUP,
127 int head local
[all...]
/linux-master/fs/9p/
H A Dvfs_dir.c28 * @head: start offset of current dirread buffer
37 int head; member in struct:p9_rdir
106 if (rdir->tail == rdir->head) {
118 rdir->head = 0;
121 while (rdir->head < rdir->tail) {
122 err = p9stat_read(fid->clnt, rdir->buf + rdir->head,
123 rdir->tail - rdir->head, &st);
135 rdir->head += err;
165 if (rdir->tail == rdir->head) {
171 rdir->head
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dgf100.c28 #define pack_for_each_init(init, pack, head) \
29 for (pack = head; pack && pack->init; pack++) \
/linux-master/sound/isa/msnd/
H A Dmsnd_midi.c108 u16 head, tail, size; local
111 head = readw(mpu->dev->MIDQ + JQS_wHead);
114 if (head > size || tail > size)
116 while (head != tail) {
117 unsigned char val = readw(pwMIDQData + 2 * head);
121 if (++head > size)
122 head = 0;
123 writew(head, mpu->dev->MIDQ + JQS_wHead);
/linux-master/sound/soc/intel/boards/
H A Dskl_hda_dsp_common.h24 struct list_head head; member in struct:skl_hda_hdmi_pcm
58 head);
/linux-master/drivers/staging/rtl8712/
H A Drtl871x_event.h86 /*volatile*/ int head; member in struct:c2hevent_queue
95 /*volatile*/ int head; member in struct:network_queue
/linux-master/fs/ecryptfs/
H A Ddentry.c54 static void ecryptfs_dentry_free_rcu(struct rcu_head *head) argument
57 container_of(head, struct ecryptfs_dentry_info, rcu));

Completed in 481 milliseconds

1234567891011>>