Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/drivers/scsi/aic7xxx/
Dqueue.h112 #define SLIST_HEAD_INITIALIZER(head) \ argument
123 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
125 #define SLIST_FIRST(head) ((head)->slh_first) argument
127 #define SLIST_FOREACH(var, head, field) \ argument
132 #define SLIST_INIT(head) do { \ argument
141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
161 #define SLIST_REMOVE_HEAD(head, field) do { \ argument
174 #define STAILQ_HEAD_INITIALIZER(head) \ argument
185 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument
[all …]
/drivers/gpu/drm/radeon/
Dmkregtable.c84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
97 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
169 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
181 struct list_head *head) in list_move_tail()
193 const struct list_head *head) in list_is_last()
202 static inline int list_empty(const struct list_head *head) in list_empty()
220 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
230 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
236 struct list_head *head, in __list_cut_position()
263 struct list_head *head, in list_cut_position()
[all …]
/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h61 int head, uint32_t reg) in NVReadCRTC()
72 int head, uint32_t reg, uint32_t val) in NVWriteCRTC()
81 int head, uint32_t reg) in NVReadRAMDAC()
92 int head, uint32_t reg, uint32_t val) in NVWriteRAMDAC()
121 int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc()
129 int head, uint8_t index) in NVReadVgaCrtc()
153 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc5758()
159 static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) in NVReadVgaCrtc5758()
166 int head, uint32_t reg) in NVReadPRMVIO()
182 int head, uint32_t reg, uint8_t value) in NVWritePRMVIO()
[all …]
Dhw.c39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaSeq()
46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq()
53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaGr()
60 NVReadVgaGr(struct drm_device *dev, int head, uint8_t index) in NVReadVgaGr()
110 NVBlankScreen(struct drm_device *dev, int head, bool blank) in NVBlankScreen()
247 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) in nouveau_hw_fix_bad_vpll()
374 rd_cio_state(struct drm_device *dev, int head, in rd_cio_state()
381 wr_cio_state(struct drm_device *dev, int head, in wr_cio_state()
388 nv_save_state_ramdac(struct drm_device *dev, int head, in nv_save_state_ramdac()
463 nv_load_state_ramdac(struct drm_device *dev, int head, in nv_load_state_ramdac()
[all …]
Ddfp.c69 int head, bool dl) in nv04_dfp_bind_head()
93 void nv04_dfp_disable(struct drm_device *dev, int head) in nv04_dfp_disable()
204 struct nouveau_encoder *nv_encoder, int head) in nv04_dfp_prepare_sel_clk()
249 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dfp_prepare() local
452 int head = nouveau_crtc(encoder->crtc)->index; in nv04_dfp_commit() local
533 int head = crtc ? nouveau_crtc(crtc)->index : in nv04_lvds_dpms() local
589 int head = nv_encoder->restore.head; in nv04_dfp_restore() local
Dtvnv04.c89 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_dpms() local
106 static void nv04_tv_bind(struct drm_device *dev, int head, bool bind) in nv04_tv_bind()
128 int head = nouveau_crtc(encoder->crtc)->index; in nv04_tv_prepare() local
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dvga.c27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport()
49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport()
69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgas()
76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgas()
83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgag()
90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgag()
97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgac()
104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgac()
111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) in nvkm_rdvgai()
120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) in nvkm_wrvgai()
Dgf119.c34 gf119_disp_vblank_init(struct nv50_disp *disp, int head) in gf119_disp_vblank_init()
41 gf119_disp_vblank_fini(struct nv50_disp *disp, int head) in gf119_disp_vblank_fini()
48 exec_lookup(struct nv50_disp *disp, int head, int or, u32 ctrl, in exec_lookup()
95 exec_script(struct nv50_disp *disp, int head, int id) in exec_script()
133 exec_clkcmp(struct nv50_disp *disp, int head, int id, u32 pclk, u32 *conf) in exec_clkcmp()
197 gf119_disp_intr_unk1_0(struct nv50_disp *disp, int head) in gf119_disp_intr_unk1_0()
203 gf119_disp_intr_unk2_0(struct nv50_disp *disp, int head) in gf119_disp_intr_unk2_0()
226 gf119_disp_intr_unk2_1(struct nv50_disp *disp, int head) in gf119_disp_intr_unk2_1()
237 gf119_disp_intr_unk2_2_tu(struct nv50_disp *disp, int head, in gf119_disp_intr_unk2_2_tu()
299 gf119_disp_intr_unk2_2(struct nv50_disp *disp, int head) in gf119_disp_intr_unk2_2()
[all …]
Dnv50.c100 nv50_disp_vblank_fini_(struct nvkm_disp *base, int head) in nv50_disp_vblank_fini_()
107 nv50_disp_vblank_init_(struct nvkm_disp *base, int head) in nv50_disp_vblank_init_()
164 nv50_disp_vblank_fini(struct nv50_disp *disp, int head) in nv50_disp_vblank_fini()
171 nv50_disp_vblank_init(struct nv50_disp *disp, int head) in nv50_disp_vblank_init()
227 exec_lookup(struct nv50_disp *disp, int head, int or, u32 ctrl, in exec_lookup()
285 exec_script(struct nv50_disp *disp, int head, int id) in exec_script()
344 exec_clkcmp(struct nv50_disp *disp, int head, int id, u32 pclk, u32 *conf) in exec_clkcmp()
434 nv50_disp_intr_unk10_0(struct nv50_disp *disp, int head) in nv50_disp_intr_unk10_0()
440 nv50_disp_intr_unk20_0(struct nv50_disp *disp, int head) in nv50_disp_intr_unk20_0()
475 nv50_disp_intr_unk20_1(struct nv50_disp *disp, int head) in nv50_disp_intr_unk20_1()
[all …]
Dnv04.c33 nv04_disp_vblank_init(struct nvkm_disp *disp, int head) in nv04_disp_vblank_init()
40 nv04_disp_vblank_fini(struct nvkm_disp *disp, int head) in nv04_disp_vblank_fini()
/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h159 list_add(struct list_head *entry, struct list_head *head) in list_add()
180 list_add_tail(struct list_head *entry, struct list_head *head) in list_add_tail()
220 struct list_head *head) in list_move_tail()
235 list_empty(struct list_head *head) in list_empty()
314 #define list_for_each_entry(pos, head, member) \ argument
326 #define list_for_each_entry_safe(pos, tmp, head, member) \ argument
333 #define list_for_each_entry_reverse(pos, head, member) \ argument
338 #define list_for_each_entry_continue(pos, head, member) \ argument
343 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument
348 #define list_for_each_entry_from(pos, head, member) \ argument
/drivers/scsi/sym53c8xx_2/
Dsym_misc.h55 static inline struct sym_quehead *sym_que_first(struct sym_quehead *head) in sym_que_first()
60 static inline struct sym_quehead *sym_que_last(struct sym_quehead *head) in sym_que_last()
82 static inline int sym_que_empty(struct sym_quehead *head) in sym_que_empty()
88 struct sym_quehead *head) in sym_que_splice()
130 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink) argument
132 static inline struct sym_quehead *sym_remque_head(struct sym_quehead *head) in sym_remque_head()
143 #define sym_insque_tail(new, head) __sym_que_add(new, (head)->blink, head) argument
145 static inline struct sym_quehead *sym_remque_tail(struct sym_quehead *head) in sym_remque_tail()
159 #define FOR_EACH_QUEUED_ELEMENT(head, qp) \ argument
/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c102 u32 *head = fifo->buffer + fm10k_fifo_head_offset(fifo, 0); in fm10k_fifo_head_len() local
149 static u16 fm10k_mbx_index_len(struct fm10k_mbx_info *mbx, u16 head, u16 tail) in fm10k_mbx_index_len()
202 u16 head = (mbx->head + offset + 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_head_add() local
218 u16 head = (mbx->head - offset - 1) & ((mbx->mbmem_len << 1) - 1); in fm10k_mbx_head_sub() local
350 u32 *head = fifo->buffer; in fm10k_mbx_write_copy() local
396 struct fm10k_mbx_info *mbx, u16 head) in fm10k_mbx_pull_head()
442 u16 end, len, head; in fm10k_mbx_read_copy() local
628 static void fm10k_mbx_update_local_crc(struct fm10k_mbx_info *mbx, u16 head) in fm10k_mbx_update_local_crc()
964 u16 type, rsvd0, head, tail, size; in fm10k_mbx_validate_msg_hdr() local
1029 struct fm10k_mbx_info *mbx, u16 head) in fm10k_mbx_create_reply()
[all …]
/drivers/misc/mic/scif/
Dscif_rma_list.c28 void scif_insert_tcw(struct scif_window *window, struct list_head *head) in scif_insert_tcw()
58 void scif_insert_window(struct scif_window *window, struct list_head *head) in scif_insert_window()
87 struct list_head *item, *temp, *head = req->head; in scif_query_tcw() local
207 struct list_head *head = &ep->rma_info.reg_list; in scif_rma_list_unregister() local
239 struct list_head *head = &ep->rma_info.reg_list; in scif_unmap_all_windows() local
261 struct list_head *head = &ep->rma_info.reg_list; in scif_unregister_all_windows() local
/drivers/net/wireless/ath/carl9170/
Dfwdesc.h119 struct carl9170fw_desc_head head; member
140 struct carl9170fw_desc_head head; member
157 struct carl9170fw_desc_head head; member
166 struct carl9170fw_desc_head head; member
182 struct carl9170fw_desc_head head; member
192 struct carl9170fw_desc_head head; member
202 struct carl9170fw_desc_head head; member
212 struct carl9170fw_desc_head head; member
227 static inline void carl9170fw_fill_desc(struct carl9170fw_desc_head *head, in carl9170fw_fill_desc()
248 #define CHECK_HDR_VERSION(head, _min_ver) \ argument
[all …]
/drivers/video/fbdev/core/
Dmodedb.c953 struct list_head *head) in fb_find_best_mode()
991 struct list_head *head) in fb_find_nearest_mode()
1031 struct list_head *head) in fb_match_mode()
1055 int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) in fb_add_videomode()
1091 struct list_head *head) in fb_delete_videomode()
1111 void fb_destroy_modelist(struct list_head *head) in fb_destroy_modelist()
1129 struct list_head *head) in fb_videomode_to_modelist()
1142 struct list_head *head) in fb_find_best_display()
/drivers/isdn/capi/
Dcapilib.c80 void capilib_new_ncci(struct list_head *head, u16 applid, u32 ncci, u32 winsize) in capilib_new_ncci()
104 void capilib_free_ncci(struct list_head *head, u16 applid, u32 ncci) in capilib_free_ncci()
125 void capilib_release_appl(struct list_head *head, u16 applid) in capilib_release_appl()
142 void capilib_release(struct list_head *head) in capilib_release()
157 u16 capilib_data_b3_req(struct list_head *head, u16 applid, u32 ncci, u16 msgid) in capilib_data_b3_req()
180 void capilib_data_b3_conf(struct list_head *head, u16 applid, u32 ncci, u16 msgid) in capilib_data_b3_conf()
/drivers/staging/lustre/lustre/ptlrpc/
Dnrs_fifo.c81 struct nrs_fifo_head *head; in nrs_fifo_start() local
105 struct nrs_fifo_head *head = policy->pol_private; in nrs_fifo_stop() local
165 struct nrs_fifo_head *head = policy->pol_private; in nrs_fifo_req_get() local
199 struct nrs_fifo_head *head; in nrs_fifo_req_add() local
/drivers/staging/rdma/amso1100/
Dc2_alloc.c40 struct sp_chunk **head) in c2_alloc_mqsp_chunk()
89 __be16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head, in c2_alloc_mqsp()
124 struct sp_chunk *head; in c2_free_mqsp() local
/drivers/staging/lustre/lustre/fld/
Dfld_cache.c142 struct list_head *head = &cache->fci_entries_head; in fld_fix_new_list() local
385 struct list_head *head; in fld_cache_insert_nolock() local
452 struct list_head *head; in fld_cache_delete_nolock() local
484 struct list_head *head; in fld_cache_entry_lookup_nolock() local
521 struct list_head *head; in fld_cache_lookup() local
/drivers/char/agp/
Disoch.c22 static void agp_3_5_dev_list_insert(struct list_head *head, struct list_head *new) in agp_3_5_dev_list_insert()
39 struct list_head *pos, *tmp, *head = &list->list, *start = head->next; in agp_3_5_dev_list_sort() local
80 struct list_head *head = &dev_list->list, *pos; in agp_3_5_isochronous_node_enable() local
290 struct list_head *head = &dev_list->list, *pos; in agp_3_5_nonisochronous_node_enable() local
325 struct list_head *head, *pos; in agp_3_5_enable() local
/drivers/mfd/
Dpcf50633-adc.c74 int head; in trigger_next_adc_job_if_any() local
88 int head, tail; in adc_enqueue_request() local
177 int head, res; in pcf50633_adc_irq() local
223 int i, head; in pcf50633_adc_remove() local
/drivers/target/tcm_fc/
Dtfc_sess.c166 struct hlist_head *head; in ft_sess_get() local
197 struct hlist_head *head; in ft_sess_create() local
250 struct hlist_head *head; in ft_sess_delete() local
269 struct hlist_head *head; in ft_sess_delete_all() local
/drivers/pci/
Dsetup-bus.c44 static void free_list(struct list_head *head) in free_list()
63 static int add_to_list(struct list_head *head, in add_to_list()
88 static void remove_from_list(struct list_head *head, in remove_from_list()
102 static struct pci_dev_resource *res_to_dev_res(struct list_head *head, in res_to_dev_res()
124 static resource_size_t get_res_add_size(struct list_head *head, in get_res_add_size()
133 static resource_size_t get_res_add_align(struct list_head *head, in get_res_add_align()
144 static void pdev_sort_resources(struct pci_dev *dev, struct list_head *head) in pdev_sort_resources()
194 struct list_head *head) in __dev_sort_resources()
233 struct list_head *head) in reassign_resources_sorted()
293 static void assign_requested_resources_sorted(struct list_head *head, in assign_requested_resources_sorted()
[all …]
/drivers/firmware/efi/
Dvars.c355 struct list_head *head) in variable_is_present()
445 struct list_head *head) in efivar_init()
532 void efivar_entry_add(struct efivar_entry *entry, struct list_head *head) in efivar_entry_add()
653 unsigned long size, void *data, struct list_head *head) in efivar_entry_set()
792 struct list_head *head, bool remove) in efivar_entry_find()
1045 struct list_head *head, void *data, in __efivar_entry_iter()
1090 struct list_head *head, void *data) in efivar_entry_iter()

12345678910>>...23