/drivers/media/v4l2-core/ |
D | videobuf-core.c | 52 #define CALL(q, f, arg...) \ argument 54 #define CALLPTR(q, f, arg...) \ argument 57 struct videobuf_buffer *videobuf_alloc_vb(struct videobuf_queue *q) in videobuf_alloc_vb() 78 static int state_neither_active_nor_queued(struct videobuf_queue *q, in state_neither_active_nor_queued() 90 int videobuf_waiton(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_waiton() 123 int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_iolock() 133 void *videobuf_queue_to_vaddr(struct videobuf_queue *q, in videobuf_queue_to_vaddr() 145 void videobuf_queue_core_init(struct videobuf_queue *q, in videobuf_queue_core_init() 187 int videobuf_queue_is_busy(struct videobuf_queue *q) in videobuf_queue_is_busy() 232 static int __videobuf_free(struct videobuf_queue *q) in __videobuf_free() [all …]
|
D | videobuf2-core.c | 90 #define log_qop(q, op) \ argument 94 #define call_qop(q, op, args...) \ argument 105 #define call_void_qop(q, op, args...) \ argument 154 #define call_qop(q, op, args...) \ argument 157 #define call_void_qop(q, op, args...) \ argument 174 #define call_bufop(q, op, args...) \ argument 182 #define call_void_bufop(q, op, args...) \ argument 196 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local 300 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local 329 static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory, in __vb2_queue_alloc() [all …]
|
D | videobuf2-v4l2.c | 126 struct vb2_queue *q = vb->vb2_queue; in __copy_timestamp() local 158 static int vb2_queue_or_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b, in vb2_queue_or_prepare_buf() 193 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() local 298 struct vb2_queue *q = vb->vb2_queue; in __fill_vb2_buffer() local 464 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf() 486 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in vb2_reqbufs() 494 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_prepare_buf() 509 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in vb2_create_bufs() 560 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_qbuf() 574 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking) in vb2_dqbuf() [all …]
|
/drivers/s390/cio/ |
D | qdio_main.c | 99 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() 173 static int qdio_do_sqbs(struct qdio_q *q, unsigned char state, int start, in qdio_do_sqbs() 212 static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, in get_buf_states() 244 static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, in get_buf_state() 251 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states() 266 static inline int set_buf_state(struct qdio_q *q, int bufnr, in set_buf_state() 275 struct qdio_q *q; in qdio_init_buf_states() local 286 static inline int qdio_siga_sync(struct qdio_q *q, unsigned int output, in qdio_siga_sync() 307 static inline int qdio_siga_sync_q(struct qdio_q *q) in qdio_siga_sync_q() [all …]
|
D | qdio.h | 314 #define queue_type(q) q->irq_ptr->qib.qfmt argument 315 #define SCH_NO(q) (q->irq_ptr->schid.sch_no) argument 330 static inline void account_sbals_error(struct qdio_q *q, int count) in account_sbals_error() 337 static inline int multicast_outbound(struct qdio_q *q) in multicast_outbound() 343 #define pci_out_supported(q) \ argument 345 #define is_qebsm(q) (q->irq_ptr->sch_token != 0) argument 347 #define need_siga_in(q) (q->irq_ptr->siga_flag.input) argument 348 #define need_siga_out(q) (q->irq_ptr->siga_flag.output) argument 349 #define need_siga_sync(q) (unlikely(q->irq_ptr->siga_flag.sync)) argument 350 #define need_siga_sync_after_ai(q) \ argument [all …]
|
/drivers/infiniband/sw/rxe/ |
D | rxe_queue.h | 105 static inline int next_index(struct rxe_queue *q, int index) in next_index() 110 static inline int queue_empty(struct rxe_queue *q) in queue_empty() 116 static inline int queue_full(struct rxe_queue *q) in queue_full() 122 static inline void advance_producer(struct rxe_queue *q) in advance_producer() 128 static inline void advance_consumer(struct rxe_queue *q) in advance_consumer() 134 static inline void *producer_addr(struct rxe_queue *q) in producer_addr() 140 static inline void *consumer_addr(struct rxe_queue *q) in consumer_addr() 146 static inline unsigned int producer_index(struct rxe_queue *q) in producer_index() 151 static inline unsigned int consumer_index(struct rxe_queue *q) in consumer_index() 156 static inline void *addr_from_index(struct rxe_queue *q, unsigned int index) in addr_from_index() [all …]
|
D | rxe_queue.c | 87 inline void rxe_queue_reset(struct rxe_queue *q) in rxe_queue_reset() 100 struct rxe_queue *q; in rxe_queue_init() local 152 static int resize_finish(struct rxe_queue *q, struct rxe_queue *new_q, in resize_finish() 170 int rxe_queue_resize(struct rxe_queue *q, in rxe_queue_resize() 218 void rxe_queue_cleanup(struct rxe_queue *q) in rxe_queue_cleanup()
|
/drivers/isdn/hardware/eicon/ |
D | dqueue.c | 17 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/ |
D | macvtap.c | 56 static inline bool macvtap_legacy_is_little_endian(struct macvtap_queue *q) in macvtap_legacy_is_little_endian() 62 static long macvtap_get_vnet_be(struct macvtap_queue *q, int __user *sp) in macvtap_get_vnet_be() 72 static long macvtap_set_vnet_be(struct macvtap_queue *q, int __user *sp) in macvtap_set_vnet_be() 87 static inline bool macvtap_legacy_is_little_endian(struct macvtap_queue *q) in macvtap_legacy_is_little_endian() 92 static long macvtap_get_vnet_be(struct macvtap_queue *q, int __user *argp) in macvtap_get_vnet_be() 97 static long macvtap_set_vnet_be(struct macvtap_queue *q, int __user *argp) in macvtap_set_vnet_be() 103 static inline bool macvtap_is_little_endian(struct macvtap_queue *q) in macvtap_is_little_endian() 109 static inline u16 macvtap16_to_cpu(struct macvtap_queue *q, __virtio16 val) in macvtap16_to_cpu() 114 static inline __virtio16 cpu_to_macvtap16(struct macvtap_queue *q, u16 val) in cpu_to_macvtap16() 178 struct macvtap_queue *q) in macvtap_enable_queue() [all …]
|
/drivers/net/wireless/broadcom/b43/ |
D | pio.c | 37 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 …]
|
D | pio.h | 108 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/ |
D | queue.c | 42 #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 218 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag() local 244 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target() local [all …]
|
/drivers/mtd/spi-nor/ |
D | fsl-quadspi.c | 292 static inline int needs_swap_endian(struct fsl_qspi *q) in needs_swap_endian() 297 static inline int needs_4x_clock(struct fsl_qspi *q) in needs_4x_clock() 302 static inline int needs_fill_txfifo(struct fsl_qspi *q) in needs_fill_txfifo() 307 static inline int needs_wakeup_wait_mode(struct fsl_qspi *q) in needs_wakeup_wait_mode() 318 static void qspi_writel(struct fsl_qspi *q, u32 val, void __iomem *addr) in qspi_writel() 326 static u32 qspi_readl(struct fsl_qspi *q, void __iomem *addr) in qspi_readl() 338 static inline u32 fsl_qspi_endian_xchg(struct fsl_qspi *q, u32 a) in fsl_qspi_endian_xchg() 343 static inline void fsl_qspi_unlock_lut(struct fsl_qspi *q) in fsl_qspi_unlock_lut() 349 static inline void fsl_qspi_lock_lut(struct fsl_qspi *q) in fsl_qspi_lock_lut() 357 struct fsl_qspi *q = dev_id; in fsl_qspi_irq_handler() local [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 167 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/ethernet/chelsio/cxgb4/ |
D | sge.c | 217 static inline unsigned int txq_avail(const struct sge_txq *q) in txq_avail() 312 const struct ulptx_sgl *sgl, const struct sge_txq *q) in unmap_sgl() 380 static void free_tx_desc(struct adapter *adap, struct sge_txq *q, in free_tx_desc() 407 static inline int reclaimable(const struct sge_txq *q) in reclaimable() 424 static inline void reclaim_completed_tx(struct adapter *adap, struct sge_txq *q, in reclaim_completed_tx() 482 static void free_rx_bufs(struct adapter *adap, struct sge_fl *q, int n) in free_rx_bufs() 510 static void unmap_rx_buf(struct adapter *adap, struct sge_fl *q) in unmap_rx_buf() 523 static inline void ring_fl_db(struct adapter *adap, struct sge_fl *q) in ring_fl_db() 579 static unsigned int refill_fl(struct adapter *adap, struct sge_fl *q, int n, in refill_fl() 853 static void write_sgl(const struct sk_buff *skb, struct sge_txq *q, in write_sgl() [all …]
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci.c | 165 struct mlxsw_pci_queue *q; member 196 static void mlxsw_pci_queue_tasklet_schedule(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_tasklet_schedule() 201 static char *__mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_elem_get() 208 mlxsw_pci_queue_elem_info_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_info_get() 214 mlxsw_pci_queue_elem_info_producer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_producer_get() 224 mlxsw_pci_queue_elem_info_consumer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_consumer_get() 231 static char *mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_get() 236 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned() 241 static char *mlxsw_pci_queue_sw_elem_get(struct mlxsw_pci_queue *q, in mlxsw_pci_queue_sw_elem_get() 328 struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_doorbell_set() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | mac.c | 46 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 337 static void ath9k_hw_clear_queue_interrupts(struct ath_hw *ah, u32 q) in ath9k_hw_clear_queue_interrupts() [all …]
|
/drivers/firewire/ |
D | core-topology.c | 37 #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/gpu/drm/amd/amdkfd/ |
D | kfd_queue.c | 27 void print_queue_properties(struct queue_properties *q) in print_queue_properties() 45 void print_queue(struct queue *q) in print_queue() 66 int init_queue(struct queue **q, const struct queue_properties *properties) in init_queue() 82 void uninit_queue(struct queue *q) in uninit_queue()
|
D | kfd_device_queue_manager.c | 96 struct queue *q) in allocate_vmid() 120 struct queue *q) in deallocate_vmid() 133 struct queue *q, in create_queue_nocpsch() 196 static int allocate_hqd(struct device_queue_manager *dqm, struct queue *q) in allocate_hqd() 231 struct queue *q) in deallocate_hqd() 237 struct queue *q, in create_compute_queue_nocpsch() 277 struct queue *q) in destroy_queue_nocpsch() 341 static int update_queue(struct device_queue_manager *dqm, struct queue *q) in update_queue() 632 struct queue *q, in create_sdma_queue_nocpsch() 849 static void select_sdma_engine_id(struct queue *q) in select_sdma_engine_id() [all …]
|
/drivers/mmc/card/ |
D | queue.c | 32 static int mmc_prep_request(struct request_queue *q, struct request *req) in mmc_prep_request() 56 struct request_queue *q = mq->queue; in mmc_queue_thread() local 120 static void mmc_request_fn(struct request_queue *q) in mmc_request_fn() 167 static void mmc_queue_setup_discard(struct request_queue *q, in mmc_queue_setup_discard() 332 struct request_queue *q = mq->queue; in mmc_cleanup_queue() local 424 struct request_queue *q = mq->queue; in mmc_queue_suspend() local 444 struct request_queue *q = mq->queue; in mmc_queue_resume() local
|
/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 47 struct cx88_dmaqueue *q, in cx8800_start_vbi_dma() 94 struct cx88_dmaqueue *q) in cx8800_restart_vbi_queue() 110 static int queue_setup(struct vb2_queue *q, in queue_setup() 168 struct cx88_dmaqueue *q = &dev->vbiq; in buffer_queue() local 191 static int start_streaming(struct vb2_queue *q, unsigned int count) in start_streaming() 202 static void stop_streaming(struct vb2_queue *q) in stop_streaming()
|
/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
D | utils.c | 61 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/scsi/ |
D | scsi_lib.c | 89 struct request_queue *q = cmd->request->q; in scsi_mq_requeue_cmd() local 111 struct request_queue *q = device->request_queue; in __scsi_queue_insert() local 295 static void scsi_kick_queue(struct request_queue *q) in scsi_kick_queue() 452 static void scsi_run_queue(struct request_queue *q) in scsi_run_queue() 470 struct request_queue *q; in scsi_requeue_run_queue() local 495 static void scsi_requeue_command(struct request_queue *q, struct scsi_cmnd *cmd) in scsi_requeue_command() 604 struct request_queue *q = sdev->request_queue; in scsi_end_request() local 732 struct request_queue *q = cmd->device->request_queue; in scsi_io_completion() local 1256 scsi_prep_return(struct request_queue *q, struct request *req, int ret) in scsi_prep_return() 1289 static int scsi_prep_fn(struct request_queue *q, struct request *req) in scsi_prep_fn() [all …]
|
/drivers/md/ |
D | dm-rq.c | 66 static void dm_old_start_queue(struct request_queue *q) in dm_old_start_queue() 76 static void dm_mq_start_queue(struct request_queue *q) in dm_mq_start_queue() 88 void dm_start_queue(struct request_queue *q) in dm_start_queue() 96 static void dm_old_stop_queue(struct request_queue *q) in dm_old_stop_queue() 106 static void dm_mq_stop_queue(struct request_queue *q) in dm_mq_stop_queue() 124 void dm_stop_queue(struct request_queue *q) in dm_stop_queue() 229 struct request_queue *q = md->queue; in rq_completed() local 336 struct request_queue *q = rq->q; in dm_old_requeue_request() local 345 static void __dm_mq_kick_requeue_list(struct request_queue *q, unsigned long msecs) in __dm_mq_kick_requeue_list() 627 static int dm_old_prep_fn(struct request_queue *q, struct request *rq) in dm_old_prep_fn() [all …]
|