HomeSort by: relevance | last modified time | path
    Searched refs:head (Results 1 - 25 of 766) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/libexec/httpd/
netbsd_queue.h 55 #define SIMPLEQ_INIT(head) do { \
56 (head)->sqh_first = NULL; \
57 (head)->sqh_last = &(head)->sqh_first; \
60 #define SIMPLEQ_INSERT_TAIL(head, elm, field) do { \
62 *(head)->sqh_last = (elm); \
63 (head)->sqh_last = &(elm)->field.sqe_next; \
66 #define SIMPLEQ_FOREACH(var, head, field) \
67 for ((var) = ((head)->sqh_first); \
71 #define SIMPLEQ_FOREACH_SAFE(var, head, field, next)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
nouveau_dispnv50_curs907a.c 30 curs907a_new(struct nouveau_drm *drm, int head, s32 oclass,
33 return curs507a_new_(&curs507a, drm, head, oclass,
34 0x00000001 << (head * 4), pwndw);
nouveau_dispnv50_ovly917e.c 42 ovly917e_new(struct nouveau_drm *drm, int head, s32 oclass,
45 return ovly507e_new_(&ovly907e, ovly917e_format, drm, head, oclass,
46 0x00000004 << (head * 4), pwndw);
nouveau_dispnv50_base917c.c 50 base917c_new(struct nouveau_drm *drm, int head, s32 oclass,
53 return base507c_new_(&base907c, base917c_format, drm, head, oclass,
54 0x00000002 << (head * 4), pwndw);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
nouveau_nvkm_engine_disp_head.c 29 #include "head.h"
39 struct nvkm_head *head; local in function:nvkm_head_find
40 list_for_each_entry(head, &disp->head, head) {
41 if (head->id == id)
42 return head;
49 struct nvkm_head *head, void *data, u32 size)
56 nvif_ioctl(object, "head scanoutpos size %d\n", size);
58 nvif_ioctl(object, "head scanoutpos vers %d\n"
88 struct nvkm_head *head = *phead; local in function:nvkm_head_del
101 struct nvkm_head *head; local in function:nvkm_head_new_
    [all...]
nouveau_nvkm_engine_disp_gf119.c 30 #include "head.h"
45 struct nvkm_head *head; local in function:gf119_disp_super
49 list_for_each_entry(head, &disp->base.head, head) {
50 mask[head->id] = nvkm_rd32(device, 0x6101d4 + (head->id * 0x800));
51 HEAD_DBG(head, "%08x", mask[head->id]);
57 list_for_each_entry(head, &disp->base.head, head)
131 struct nvkm_head *head; local in function:gf119_disp_intr
194 struct nvkm_head *head; local in function:gf119_disp_init
    [all...]
nouveau_nvkm_engine_disp_headnv50.c 29 #include "head.h"
32 nv50_head_vblank_put(struct nvkm_head *head)
34 struct nvkm_device *device = head->disp->engine.subdev.device;
35 nvkm_mask(device, 0x61002c, (4 << head->id), 0);
39 nv50_head_vblank_get(struct nvkm_head *head)
41 struct nvkm_device *device = head->disp->engine.subdev.device;
42 nvkm_mask(device, 0x61002c, (4 << head->id), (4 << head->id));
46 nv50_head_rgclk(struct nvkm_head *head, int div)
48 struct nvkm_device *device = head->disp->engine.subdev.device
    [all...]
nouveau_nvkm_engine_disp_headnv04.c 29 #include "head.h"
32 nv04_head_vblank_put(struct nvkm_head *head)
34 struct nvkm_device *device = head->disp->engine.subdev.device;
35 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000000);
39 nv04_head_vblank_get(struct nvkm_head *head)
41 struct nvkm_device *device = head->disp->engine.subdev.device;
42 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000001);
46 nv04_head_rgpos(struct nvkm_head *head, u16 *hline, u16 *vline)
48 struct nvkm_device *device = head->disp->engine.subdev.device;
49 u32 data = nvkm_rd32(device, 0x600868 + (head->id * 0x2000))
    [all...]
  /src/sys/dev/dm/
dm_table.c 67 dm_table_busy(dm_table_head_t *head, uint8_t table_id)
71 mutex_enter(&head->table_mtx);
74 id = head->cur_active_table;
76 id = 1 - head->cur_active_table;
78 head->io_cnt++;
80 mutex_exit(&head->table_mtx);
88 dm_table_unbusy(dm_table_head_t *head)
91 KASSERT(head->io_cnt != 0);
93 mutex_enter(&head->table_mtx);
95 if (--head->io_cnt == 0
340 dm_table_head_t *head; local in function:dm_table_add_deps
    [all...]
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_linux_list.h 43 INIT_LIST_HEAD(struct list_head *head) {
44 (head)->next = head;
45 (head)->prev = head;
49 list_empty(struct list_head *head) {
50 return (head)->next == head;
54 list_add(struct list_head *new, struct list_head *head) {
55 (head)->next->prev = new
    [all...]
  /src/usr.bin/head/
Makefile 4 PROG= head
  /src/sys/sys/
queue.h 45 * head of the list. Elements being removed from the head of the list
55 * or after an existing element or at the head of the list. A list
58 * A simple queue is headed by a pair of pointers, one the head of the
61 * head of the list. New elements can be added to the list after
62 * an existing element, at the head of the list, or at the end of the
65 * A tail queue is headed by a pair of pointers, one to the head of the
69 * after an existing element, at the head of the list, or at the end of
107 #define SLIST_HEAD_INITIALIZER(head) \
118 #define SLIST_FIRST(head) ((head)->slh_first
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/
cgrp.h 9 struct list_head head; member in struct:nvkm_fifo_cgrp
  /src/tests/usr.bin/nbperf/
h_nbperf.sh 30 head -n $4 $1 | nbperf -m hash.map -o hash.c -a $2 2> /dev/null
32 head -n $4 $1 | ./testprog | $3
  /src/lib/libpthread/
pthread_queue.h 64 #define PTQ_INIT(head) do { \
65 (head)->ptqh_first = NULL; \
66 (head)->ptqh_last = &(head)->ptqh_first; \
69 #define PTQ_INSERT_HEAD(head, elm, field) do { \
70 if (((elm)->field.ptqe_next = (head)->ptqh_first) != NULL) \
71 (head)->ptqh_first->field.ptqe_prev = \
74 (head)->ptqh_last = &(elm)->field.ptqe_next; \
75 (head)->ptqh_first = (elm); \
76 (elm)->field.ptqe_prev = &(head)->ptqh_first;
    [all...]
  /src/sys/ufs/chfs/
ebh_misc.h 46 #define EBH_TREE_DESTROY(name, head, type) \
49 for (var = RB_MIN(name, head); var != NULL; var = nxt) { \
50 nxt = RB_NEXT(name, head, var); \
51 RB_REMOVE(name, head, var); \
57 #define EBH_TREE_DESTROY_MUTEX(name, head, type) \
60 for (var = RB_MIN(name, head); var != NULL; var = nxt) { \
61 nxt = RB_NEXT(name, head, var); \
62 RB_REMOVE(name, head, var); \
71 #define EBH_QUEUE_DESTROY(head, type, entry) \
74 while ((var = TAILQ_FIRST(head))) { \
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
hw.h 39 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value);
40 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index);
41 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value);
42 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index);
44 void NVBlankScreen(struct drm_device *, int head, bool blank);
50 void nouveau_hw_save_state(struct drm_device *, int head,
52 void nouveau_hw_load_state(struct drm_device *, int head,
54 void nouveau_hw_load_state_palette(struct drm_device *, int head,
62 int head, uint32_t reg)
66 if (head)
    [all...]
nouveau_dispnv04_hw.c 43 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value)
45 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
46 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value);
50 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index)
52 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index);
53 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR);
57 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value)
59 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index);
60 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value);
64 NVReadVgaGr(struct drm_device *dev, int head, uint8_t index
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
list.h 47 * We need one list head in bar and a list element in all list_of_foos (both are of
62 * Now we initialize the list head:
104 * to-be-linked struct. struct list_head is required for both the head of the
109 * There are no requirements for a list head, any struct list_head can be a list
110 * head.
146 * Insert a new element after the given list head. The new element does not
149 * head → some element → ...
151 * head → new element → older element → ...
158 * @param head The existing list.
161 list_add(struct list_head *entry, struct list_head *head)
    [all...]
cl507a.h 9 __u8 head; member in struct:nv50_disp_cursor_v0
cl507b.h 9 __u8 head; member in struct:nv50_disp_overlay_v0
cl507c.h 9 __u8 head; member in struct:nv50_disp_base_channel_dma_v0
cl507e.h 9 __u8 head; member in struct:nv50_disp_overlay_channel_dma_v0
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
vga.h 9 u8 nvkm_rdport(struct nvkm_device *, int head, u16 port);
10 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
13 u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index);
14 void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value);
17 u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index);
18 void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value);
21 u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index);
22 void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value);
25 u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index);
26 void nvkm_wrvgai(struct nvkm_device *, int head, u16 port, u8 index, u8 value)
    [all...]
  /src/lib/libc/citrus/
citrus_hash.h 37 #define _CITRUS_HASH_INIT(head, hashsize) \
41 LIST_INIT(&(head)->chh_table[_ch_loop]); \
44 #define _CITRUS_HASH_INSERT(head, elm, field, hashval) \
45 LIST_INSERT_HEAD(&(head)->chh_table[hashval], elm, field)
46 #define _CITRUS_HASH_SEARCH(head, elm, field, matchfunc, key, hashval) \
48 LIST_FOREACH((elm), &(head)->chh_table[hashval], field) { \

Completed in 180 milliseconds

1 2 3 4 5 6 7 8 91011>>