Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 568) 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()
94 exec_script(struct nv50_disp *disp, int head, int id) in exec_script()
132 exec_clkcmp(struct nv50_disp *disp, int head, int id, u32 pclk, u32 *conf) in exec_clkcmp()
192 gf119_disp_intr_unk1_0(struct nv50_disp *disp, int head) in gf119_disp_intr_unk1_0()
198 gf119_disp_intr_unk2_0(struct nv50_disp *disp, int head) in gf119_disp_intr_unk2_0()
221 gf119_disp_intr_unk2_1(struct nv50_disp *disp, int head) in gf119_disp_intr_unk2_1()
232 gf119_disp_intr_unk2_2_tu(struct nv50_disp *disp, int head, in gf119_disp_intr_unk2_2_tu()
294 gf119_disp_intr_unk2_2(struct nv50_disp *disp, int head) in gf119_disp_intr_unk2_2()
[all …]
Dnv50.c101 nv50_disp_vblank_fini_(struct nvkm_disp *base, int head) in nv50_disp_vblank_fini_()
108 nv50_disp_vblank_init_(struct nvkm_disp *base, int head) in nv50_disp_vblank_init_()
165 nv50_disp_vblank_fini(struct nv50_disp *disp, int head) in nv50_disp_vblank_fini()
172 nv50_disp_vblank_init(struct nv50_disp *disp, int head) in nv50_disp_vblank_init()
228 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()
556 nv50_disp_intr_unk10_0(struct nv50_disp *disp, int head) in nv50_disp_intr_unk10_0()
562 nv50_disp_intr_unk20_0(struct nv50_disp *disp, int head) in nv50_disp_intr_unk20_0()
597 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
351 u32 *head = fifo->buffer; in fm10k_mbx_write_copy() local
399 struct fm10k_mbx_info *mbx, u16 head) in fm10k_mbx_pull_head()
445 u16 end, len, head; in fm10k_mbx_read_copy() local
633 static void fm10k_mbx_update_local_crc(struct fm10k_mbx_info *mbx, u16 head) in fm10k_mbx_update_local_crc()
968 u16 type, rsvd0, head, tail, size; in fm10k_mbx_validate_msg_hdr() local
1034 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.h125 struct carl9170fw_desc_head head; member
146 struct carl9170fw_desc_head head; member
163 struct carl9170fw_desc_head head; member
172 struct carl9170fw_desc_head head; member
188 struct carl9170fw_desc_head head; member
198 struct carl9170fw_desc_head head; member
208 struct carl9170fw_desc_head head; member
218 struct carl9170fw_desc_head head; member
233 static inline void carl9170fw_fill_desc(struct carl9170fw_desc_head *head, in carl9170fw_fill_desc()
254 #define CHECK_HDR_VERSION(head, _min_ver) \ argument
[all …]
/drivers/video/fbdev/core/
Dmodedb.c988 struct list_head *head) in fb_find_best_mode()
1026 struct list_head *head) in fb_find_nearest_mode()
1066 struct list_head *head) in fb_match_mode()
1090 int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) in fb_add_videomode()
1126 struct list_head *head) in fb_delete_videomode()
1146 void fb_destroy_modelist(struct list_head *head) in fb_destroy_modelist()
1164 struct list_head *head) in fb_videomode_to_modelist()
1177 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.c77 struct nrs_fifo_head *head; in nrs_fifo_start() local
101 struct nrs_fifo_head *head = policy->pol_private; in nrs_fifo_stop() local
161 struct nrs_fifo_head *head = policy->pol_private; in nrs_fifo_req_get() local
195 struct nrs_fifo_head *head; in nrs_fifo_req_add() 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/target/tcm_fc/
Dtfc_sess.c173 struct hlist_head *head; in ft_sess_get() local
206 struct hlist_head *head = &tport->hash[ft_sess_hash(sess->port_id)]; in ft_sess_alloc_cb() local
224 struct hlist_head *head; in ft_sess_create() local
275 struct hlist_head *head; in ft_sess_delete() local
302 struct hlist_head *head; in ft_sess_delete_all() local
/drivers/staging/lustre/lustre/fld/
Dfld_cache.c138 struct list_head *head = &cache->fci_entries_head; in fld_fix_new_list() local
382 struct list_head *head; in fld_cache_insert_nolock() local
455 struct list_head *head; in fld_cache_entry_lookup_nolock() local
492 struct list_head *head; in fld_cache_lookup() 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/firmware/efi/
Dvars.c341 struct list_head *head) in variable_is_present()
430 void *data, bool duplicates, struct list_head *head) in efivar_init()
524 int efivar_entry_add(struct efivar_entry *entry, struct list_head *head) in efivar_entry_add()
651 unsigned long size, void *data, struct list_head *head) in efivar_entry_set()
790 struct list_head *head, bool remove) in efivar_entry_find()
1042 struct list_head *head, void *data, in __efivar_entry_iter()
1087 struct list_head *head, void *data) in efivar_entry_iter()
/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/pci/hotplug/
Dcpqphp_ctrl.c312 static int sort_by_size(struct pci_resource **head) in sort_by_size()
360 static int sort_by_max_size(struct pci_resource **head) in sort_by_max_size()
410 static struct pci_resource *do_pre_bridge_resource_split(struct pci_resource **head, in do_pre_bridge_resource_split()
487 static struct pci_resource *do_bridge_resource_split(struct pci_resource **head, u32 alignment) in do_bridge_resource_split()
540 static struct pci_resource *get_io_resource(struct pci_resource **head, u32 size) in get_io_resource()
637 static struct pci_resource *get_max_resource(struct pci_resource **head, u32 size) in get_max_resource()
734 static struct pci_resource *get_resource(struct pci_resource **head, u32 size) in get_resource()
827 int cpqhp_resource_sort_and_combine(struct pci_resource **head) in cpqhp_resource_sort_and_combine()

12345678910>>...23