Home
last modified time | relevance | path

Searched defs:q (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/drivers/media/v4l2-core/
Dvideobuf-core.c52 #define CALL(q, f, arg...) \ argument
55 struct videobuf_buffer *videobuf_alloc_vb(struct videobuf_queue *q) in videobuf_alloc_vb()
76 static int is_state_active_or_queued(struct videobuf_queue *q, struct videobuf_buffer *vb) in is_state_active_or_queued()
87 int videobuf_waiton(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_waiton()
119 int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_iolock()
129 void *videobuf_queue_to_vaddr(struct videobuf_queue *q, in videobuf_queue_to_vaddr()
141 void videobuf_queue_core_init(struct videobuf_queue *q, in videobuf_queue_core_init()
183 int videobuf_queue_is_busy(struct videobuf_queue *q) in videobuf_queue_is_busy()
228 static int __videobuf_free(struct videobuf_queue *q) in __videobuf_free()
261 void videobuf_queue_cancel(struct videobuf_queue *q) in videobuf_queue_cancel()
[all …]
Dvideobuf2-core.c36 #define call_memop(q, op, args...) \ argument
40 #define call_qop(q, op, args...) \ argument
53 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local
90 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_free() local
107 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_userptr_put() local
121 static void __vb2_plane_dmabuf_put(struct vb2_queue *q, struct vb2_plane *p) in __vb2_plane_dmabuf_put()
140 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_dmabuf_put() local
151 static void __setup_offsets(struct vb2_queue *q, unsigned int n) in __setup_offsets()
191 static int __vb2_queue_alloc(struct vb2_queue *q, enum v4l2_memory memory, in __vb2_queue_alloc()
255 static void __vb2_free_mem(struct vb2_queue *q, unsigned int buffers) in __vb2_free_mem()
[all …]
/drivers/s390/cio/
Dqdio_main.c99 static inline int qdio_check_ccq(struct qdio_q *q, unsigned int ccq) in qdio_check_ccq()
126 static int qdio_do_eqbs(struct qdio_q *q, unsigned char *state, in qdio_do_eqbs()
180 static int qdio_do_sqbs(struct qdio_q *q, unsigned char state, int start, in qdio_do_sqbs()
216 static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, in get_buf_states()
242 static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, in get_buf_state()
249 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states()
264 static inline int set_buf_state(struct qdio_q *q, int bufnr, in set_buf_state()
273 struct qdio_q *q; in qdio_init_buf_states() local
284 static inline int qdio_siga_sync(struct qdio_q *q, unsigned int output, in qdio_siga_sync()
305 static inline int qdio_siga_sync_q(struct qdio_q *q) in qdio_siga_sync_q()
[all …]
Dqdio_setup.c57 struct qdio_q *q; in set_impl_params() local
89 struct qdio_q *q; in __qdio_allocate_qs() local
118 static void setup_queues_misc(struct qdio_q *q, struct qdio_irq *irq_ptr, in setup_queues_misc()
133 static void setup_storage_lists(struct qdio_q *q, struct qdio_irq *irq_ptr, in setup_storage_lists()
164 struct qdio_q *q; in setup_queues() local
316 struct qdio_q *q; in qdio_release_memory() local
512 void qdio_disable_async_operation(struct qdio_output_q *q) in qdio_disable_async_operation()
Dqdio_debug.c51 struct qdio_q *q = m->private; in qstat_show() local
194 struct qdio_q *q; in qperf_seq_write() local
236 static void setup_debugfs_entry(struct qdio_q *q) in setup_debugfs_entry()
251 struct qdio_q *q; in qdio_setup_debug_entries() local
274 struct qdio_q *q; in qdio_shutdown_debug_entries() local
/drivers/isdn/hardware/eicon/
Ddqueue.c17 diva_data_q_init(diva_um_idi_data_queue_t *q, in diva_data_q_init()
41 int diva_data_q_finit(diva_um_idi_data_queue_t *q) in diva_data_q_finit()
57 int diva_data_q_get_max_length(const diva_um_idi_data_queue_t *q) in diva_data_q_get_max_length()
62 void *diva_data_q_get_segment4write(diva_um_idi_data_queue_t *q) in diva_data_q_get_segment4write()
73 diva_data_q_ack_segment4write(diva_um_idi_data_queue_t *q, int length) in diva_data_q_ack_segment4write()
86 const void *diva_data_q_get_segment4read(const diva_um_idi_data_queue_t * in diva_data_q_get_segment4read()
95 int diva_data_q_get_segment_length(const diva_um_idi_data_queue_t *q) in diva_data_q_get_segment_length()
100 void diva_data_q_ack_segment4read(diva_um_idi_data_queue_t *q) in diva_data_q_ack_segment4read()
/drivers/net/wireless/b43/
Dpio.c37 static u16 generate_cookie(struct b43_pio_txqueue *q, in generate_cookie()
62 struct b43_pio_txqueue *q = NULL; in parse_cookie() local
139 struct b43_pio_txqueue *q; in b43_setup_pioqueue_tx() local
175 struct b43_pio_rxqueue *q; in b43_setup_pioqueue_rx() local
191 static void b43_pio_cancel_tx_packets(struct b43_pio_txqueue *q) in b43_pio_cancel_tx_packets()
205 static void b43_destroy_pioqueue_tx(struct b43_pio_txqueue *q, in b43_destroy_pioqueue_tx()
214 static void b43_destroy_pioqueue_rx(struct b43_pio_rxqueue *q, in b43_destroy_pioqueue_rx()
303 struct b43_pio_txqueue *q; in select_queue_by_priority() local
330 static u16 tx_write_2byte_queue(struct b43_pio_txqueue *q, in tx_write_2byte_queue()
365 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_2byte_queue() local
[all …]
Dpio.h108 static inline u16 b43_piotx_read16(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read16()
113 static inline u32 b43_piotx_read32(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read32()
118 static inline void b43_piotx_write16(struct b43_pio_txqueue *q, in b43_piotx_write16()
124 static inline void b43_piotx_write32(struct b43_pio_txqueue *q, in b43_piotx_write32()
131 static inline u16 b43_piorx_read16(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read16()
136 static inline u32 b43_piorx_read32(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read32()
141 static inline void b43_piorx_write16(struct b43_pio_rxqueue *q, in b43_piorx_write16()
147 static inline void b43_piorx_write32(struct b43_pio_rxqueue *q, in b43_piorx_write32()
/drivers/scsi/arm/
Dqueue.c42 #define SET_MAGIC(q,m) ((q)->magic = (m)) argument
43 #define BAD_MAGIC(q,m) ((q)->magic != (m)) argument
45 #define SET_MAGIC(q,m) do { } while (0) argument
46 #define BAD_MAGIC(q,m) (0) argument
61 QE_t *q; in queue_initialise() local
110 QE_t *q; in __queue_add() local
139 QE_t *q; in __queue_remove() local
169 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude() local
217 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag() local
243 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target() local
[all …]
/drivers/infiniband/hw/amso1100/
Dc2_mq.c36 void *c2_mq_alloc(struct c2_mq *q) in c2_mq_alloc()
58 void c2_mq_produce(struct c2_mq *q) in c2_mq_produce()
71 void *c2_mq_consume(struct c2_mq *q) in c2_mq_consume()
92 void c2_mq_free(struct c2_mq *q) in c2_mq_free()
113 void c2_mq_lconsume(struct c2_mq *q, u32 wqe_count) in c2_mq_lconsume()
141 void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, in c2_mq_req_init()
158 void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, in c2_mq_rep_init()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c213 static inline unsigned int txq_avail(const struct sge_txq *q) in txq_avail()
296 const struct ulptx_sgl *sgl, const struct sge_txq *q) in unmap_sgl()
364 static void free_tx_desc(struct adapter *adap, struct sge_txq *q, in free_tx_desc()
391 static inline int reclaimable(const struct sge_txq *q) in reclaimable()
408 static inline void reclaim_completed_tx(struct adapter *adap, struct sge_txq *q, in reclaim_completed_tx()
466 static void free_rx_bufs(struct adapter *adap, struct sge_fl *q, int n) in free_rx_bufs()
494 static void unmap_rx_buf(struct adapter *adap, struct sge_fl *q) in unmap_rx_buf()
507 static inline void ring_fl_db(struct adapter *adap, struct sge_fl *q) in ring_fl_db()
542 static unsigned int refill_fl(struct adapter *adap, struct sge_fl *q, int n, in refill_fl()
765 static void write_sgl(const struct sk_buff *skb, struct sge_txq *q, in write_sgl()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c167 static inline struct sge_qset *fl_to_qset(const struct sge_fl *q, int qidx) in fl_to_qset()
172 static inline struct sge_qset *rspq_to_qset(const struct sge_rspq *q) in rspq_to_qset()
177 static inline struct sge_qset *txq_to_qset(const struct sge_txq *q, int qidx) in txq_to_qset()
192 const struct sge_rspq *q, unsigned int credits) in refill_rspq()
236 static inline void unmap_skb(struct sk_buff *skb, struct sge_txq *q, in unmap_skb()
285 static void free_tx_desc(struct adapter *adapter, struct sge_txq *q, in free_tx_desc()
325 struct sge_txq *q, in reclaim_completed_tx()
345 static inline int should_restart_tx(const struct sge_txq *q) in should_restart_tx()
352 static void clear_rx_desc(struct pci_dev *pdev, const struct sge_fl *q, in clear_rx_desc()
380 static void free_rx_bufs(struct pci_dev *pdev, struct sge_fl *q) in free_rx_bufs()
[all …]
/drivers/net/wireless/ath/ath9k/
Dmac.c46 u32 ath9k_hw_gettxbuf(struct ath_hw *ah, u32 q) in ath9k_hw_gettxbuf()
52 void ath9k_hw_puttxbuf(struct ath_hw *ah, u32 q, u32 txdp) in ath9k_hw_puttxbuf()
58 void ath9k_hw_txstart(struct ath_hw *ah, u32 q) in ath9k_hw_txstart()
65 u32 ath9k_hw_numtxpending(struct ath_hw *ah, u32 q) in ath9k_hw_numtxpending()
137 int i, q; in ath9k_hw_abort_tx_dma() local
170 bool ath9k_hw_stop_dma_queue(struct ath_hw *ah, u32 q) in ath9k_hw_stop_dma_queue()
196 bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q, in ath9k_hw_set_txq_props()
261 bool ath9k_hw_get_txq_props(struct ath_hw *ah, int q, in ath9k_hw_get_txq_props()
298 int q; in ath9k_hw_setuptxqueue() local
344 static void ath9k_hw_clear_queue_interrupts(struct ath_hw *ah, u32 q) in ath9k_hw_clear_queue_interrupts()
[all …]
/drivers/media/pci/cx88/
Dcx88-vbi.c50 struct cx88_dmaqueue *q, in cx8800_start_vbi_dma()
98 struct cx88_dmaqueue *q) in cx8800_restart_vbi_queue()
119 struct cx88_dmaqueue *q = &dev->vbiq; in cx8800_vbi_timeout() local
144 vbi_setup(struct videobuf_queue *q, unsigned int *count, unsigned int *size) in vbi_setup()
157 vbi_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, in vbi_prepare()
200 struct cx88_dmaqueue *q = &dev->vbiq; in vbi_queue() local
226 static void vbi_release(struct videobuf_queue *q, struct videobuf_buffer *vb) in vbi_release()
/drivers/firewire/
Dcore-topology.c37 #define SELF_ID_PHY_ID(q) (((q) >> 24) & 0x3f) argument
38 #define SELF_ID_EXTENDED(q) (((q) >> 23) & 0x01) argument
39 #define SELF_ID_LINK_ON(q) (((q) >> 22) & 0x01) argument
40 #define SELF_ID_GAP_COUNT(q) (((q) >> 16) & 0x3f) argument
41 #define SELF_ID_PHY_SPEED(q) (((q) >> 14) & 0x03) argument
42 #define SELF_ID_CONTENDER(q) (((q) >> 11) & 0x01) argument
43 #define SELF_ID_PHY_INITIATOR(q) (((q) >> 1) & 0x01) argument
44 #define SELF_ID_MORE_PACKETS(q) (((q) >> 0) & 0x01) argument
46 #define SELF_ID_EXT_SEQUENCE(q) (((q) >> 20) & 0x07) argument
55 u32 q; in count_ports() local
[all …]
/drivers/media/pci/cx23885/
Dcx23885-vbi.c110 struct cx23885_dmaqueue *q, in cx23885_start_vbi_dma()
138 struct cx23885_dmaqueue *q) in cx23885_restart_vbi_queue()
161 struct cx23885_dmaqueue *q = &dev->vbiq; in cx23885_vbi_timeout() local
187 vbi_setup(struct videobuf_queue *q, unsigned int *count, unsigned int *size) in vbi_setup()
200 vbi_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, in vbi_prepare()
246 struct cx23885_dmaqueue *q = &dev->vbiq; in vbi_queue() local
275 static void vbi_release(struct videobuf_queue *q, struct videobuf_buffer *vb) in vbi_release()
/drivers/net/
Dmacvtap.c92 static int get_slot(struct macvlan_dev *vlan, struct macvtap_queue *q) in get_slot()
107 struct macvtap_queue *q) in macvtap_set_queue()
141 static void macvtap_put_queue(struct macvtap_queue *q) in macvtap_put_queue()
219 struct macvtap_queue *q, *qlist[MAX_MACVTAP_QUEUES]; in macvtap_del_queues() local
252 struct macvtap_queue *q = macvtap_get_queue(dev, skb); in macvtap_forward() local
375 struct macvtap_queue *q; in macvtap_open() local
423 struct macvtap_queue *q = file->private_data; in macvtap_release() local
430 struct macvtap_queue *q = file->private_data; in macvtap_poll() local
638 static ssize_t macvtap_get_user(struct macvtap_queue *q, struct msghdr *m, in macvtap_get_user()
766 struct macvtap_queue *q = file->private_data; in macvtap_aio_write() local
[all …]
/drivers/media/parport/
Dbw-qcam.c145 static inline int read_lpstatus(struct qcam *q) in read_lpstatus()
150 static inline int read_lpdata(struct qcam *q) in read_lpdata()
155 static inline void write_lpdata(struct qcam *q, int d) in write_lpdata()
160 static void write_lpcontrol(struct qcam *q, int d) in write_lpcontrol()
180 static int qc_waithand(struct qcam *q, int val) in qc_waithand()
223 static unsigned int qc_waithand2(struct qcam *q, int val) in qc_waithand2()
251 static int qc_command(struct qcam *q, int command) in qc_command()
268 static int qc_readparam(struct qcam *q) in qc_readparam()
291 static int qc_detect(struct qcam *q) in qc_detect()
341 static int qc_setscanmode(struct qcam *q) in qc_setscanmode()
[all …]
/drivers/net/wireless/brcm80211/brcmutil/
Dutils.c61 struct sk_buff_head *q; in brcmu_pktq_penq() local
80 struct sk_buff_head *q; in brcmu_pktq_penq_head() local
98 struct sk_buff_head *q; in brcmu_pktq_pdeq() local
121 struct sk_buff_head *q; in brcmu_pktq_pdeq_match() local
138 struct sk_buff_head *q; in brcmu_pktq_pdeq_tail() local
155 struct sk_buff_head *q; in brcmu_pktq_pflush() local
234 struct sk_buff_head *q; in brcmu_pktq_mdeq() local
/drivers/mmc/card/
Dqueue.c29 static int mmc_prep_request(struct request_queue *q, struct request *req) in mmc_prep_request()
52 struct request_queue *q = mq->queue; in mmc_queue_thread() local
118 static void mmc_request_fn(struct request_queue *q) in mmc_request_fn()
165 static void mmc_queue_setup_discard(struct request_queue *q, in mmc_queue_setup_discard()
330 struct request_queue *q = mq->queue; in mmc_cleanup_queue() local
422 struct request_queue *q = mq->queue; in mmc_queue_suspend() local
442 struct request_queue *q = mq->queue; in mmc_queue_resume() local
/drivers/media/common/saa7146/
Dsaa7146_fops.c51 void saa7146_dma_free(struct saa7146_dev *dev,struct videobuf_queue *q, in saa7146_dma_free()
70 struct saa7146_dmaqueue *q, in saa7146_buffer_queue()
92 struct saa7146_dmaqueue *q, in saa7146_buffer_finish()
115 struct saa7146_dmaqueue *q, int vbi) in saa7146_buffer_next()
168 struct saa7146_dmaqueue *q = (struct saa7146_dmaqueue*)data; in saa7146_buffer_timeout() local
294 struct videobuf_queue *q; in fops_mmap() local
329 struct videobuf_queue *q; in __fops_poll() local
/drivers/media/pci/cx18/
Dcx18-streams.c100 static void cx18_dma_free(struct videobuf_queue *q, in cx18_dma_free()
108 static int cx18_prepare_buffer(struct videobuf_queue *q, in cx18_prepare_buffer()
186 static int buffer_setup(struct videobuf_queue *q, in buffer_setup()
205 static int buffer_prepare(struct videobuf_queue *q, in buffer_prepare()
218 static void buffer_release(struct videobuf_queue *q, in buffer_release()
228 static void buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) in buffer_queue()
697 struct cx18_queue *q; in _cx18_stream_put_mdl_fw() local
719 struct cx18_queue *q; in _cx18_stream_load_fw_queue() local
/drivers/pcmcia/
Dcistpl.c663 u_char *p, *q; in parse_device() local
761 static int parse_strings(u_char *p, u_char *q, int max, in parse_strings()
795 u_char *p, *q; in parse_vers_1() local
812 u_char *p, *q; in parse_altstr() local
824 u_char *p, *q; in parse_jedec() local
906 static u_char *parse_power(u_char *p, u_char *q, cistpl_power_t *pwr) in parse_power()
943 static u_char *parse_timing(u_char *p, u_char *q, cistpl_timing_t *timing) in parse_timing()
978 static u_char *parse_io(u_char *p, u_char *q, cistpl_io_t *io) in parse_io()
1022 static u_char *parse_mem(u_char *p, u_char *q, cistpl_mem_t *mem) in parse_mem()
1063 static u_char *parse_irq(u_char *p, u_char *q, cistpl_irq_t *irq) in parse_irq()
[all …]
/drivers/scsi/
Dscsi_lib.c139 struct request_queue *q = device->request_queue; in __scsi_queue_insert() local
422 static void scsi_run_queue(struct request_queue *q) in scsi_run_queue()
475 struct request_queue *q; in scsi_requeue_run_queue() local
500 static void scsi_requeue_command(struct request_queue *q, struct scsi_cmnd *cmd) in scsi_requeue_command()
527 struct request_queue *q = sdev->request_queue; in scsi_next_command() local
574 struct request_queue *q = cmd->device->request_queue; in scsi_end_request() local
766 struct request_queue *q = cmd->device->request_queue; in scsi_io_completion() local
1261 int scsi_prep_return(struct request_queue *q, struct request *req, int ret) in scsi_prep_return()
1293 int scsi_prep_fn(struct request_queue *q, struct request *req) in scsi_prep_fn()
1310 static inline int scsi_dev_queue_ready(struct request_queue *q, in scsi_dev_queue_ready()
[all …]
/drivers/media/pci/saa7134/
Dsaa7134-ts.c75 static int buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb, in buffer_prepare()
129 buffer_setup(struct videobuf_queue *q, unsigned int *count, unsigned int *size) in buffer_setup()
141 static void buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) in buffer_queue()
149 static void buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb) in buffer_release()

12345678910>>...17