/drivers/media/v4l2-core/ |
D | videobuf-core.c | 50 #define CALL(q, f, arg...) \ argument 52 #define CALLPTR(q, f, arg...) \ argument 55 struct videobuf_buffer *videobuf_alloc_vb(struct videobuf_queue *q) in videobuf_alloc_vb() 76 static int state_neither_active_nor_queued(struct videobuf_queue *q, in state_neither_active_nor_queued() 88 int videobuf_waiton(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_waiton() 121 int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_iolock() 131 void *videobuf_queue_to_vaddr(struct videobuf_queue *q, in videobuf_queue_to_vaddr() 143 void videobuf_queue_core_init(struct videobuf_queue *q, in videobuf_queue_core_init() 185 int videobuf_queue_is_busy(struct videobuf_queue *q) in videobuf_queue_is_busy() 230 static int __videobuf_free(struct videobuf_queue *q) in __videobuf_free() [all …]
|
/drivers/s390/cio/ |
D | qdio_main.c | 116 static int qdio_do_eqbs(struct qdio_q *q, unsigned char *state, in qdio_do_eqbs() 166 static int qdio_do_sqbs(struct qdio_q *q, unsigned char state, int start, in qdio_do_sqbs() 207 static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, in get_buf_states() 246 static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, in get_buf_state() 253 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states() 275 static inline int set_buf_state(struct qdio_q *q, int bufnr, in set_buf_state() 284 struct qdio_q *q; in qdio_init_buf_states() local 295 static inline int qdio_siga_sync(struct qdio_q *q, unsigned int output, in qdio_siga_sync() 316 static inline int qdio_siga_sync_q(struct qdio_q *q) in qdio_siga_sync_q() 324 static int qdio_siga_output(struct qdio_q *q, unsigned int count, in qdio_siga_output() [all …]
|
/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 37 #define dprintk(q, level, fmt, arg...) \ argument 93 #define log_qop(q, op) \ argument 97 #define call_qop(q, op, args...) \ argument 108 #define call_void_qop(q, op, args...) \ argument 157 #define call_qop(q, op, args...) \ argument 160 #define call_void_qop(q, op, args...) \ argument 177 #define call_bufop(q, op, args...) \ argument 185 #define call_void_bufop(q, op, args...) \ argument 216 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local 362 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local [all …]
|
D | videobuf2-v4l2.c | 39 #define dprintk(q, level, fmt, arg...) \ argument 145 struct vb2_queue *q = vb->vb2_queue; in __copy_timestamp() local 178 struct vb2_queue *q = vb->vb2_queue; in vb2_fill_vb2_v4l2_buffer() local 344 static void set_buffer_cache_hints(struct vb2_queue *q, in set_buffer_cache_hints() 391 static int vb2_queue_or_prepare_buf(struct vb2_queue *q, struct media_device *mdev, in vb2_queue_or_prepare_buf() 526 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() local 658 int vb2_find_timestamp(const struct vb2_queue *q, u64 timestamp, in vb2_find_timestamp() 684 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf() 706 static void fill_buf_caps(struct vb2_queue *q, u32 *caps) in fill_buf_caps() 725 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in vb2_reqbufs() [all …]
|
/drivers/infiniband/sw/rxe/ |
D | rxe_queue.h | 72 static inline int next_index(struct rxe_queue *q, int index) in next_index() 77 static inline int queue_empty(struct rxe_queue *q) in queue_empty() 83 static inline int queue_full(struct rxe_queue *q) in queue_full() 89 static inline void advance_producer(struct rxe_queue *q) in advance_producer() 95 static inline void advance_consumer(struct rxe_queue *q) in advance_consumer() 101 static inline void *producer_addr(struct rxe_queue *q) in producer_addr() 107 static inline void *consumer_addr(struct rxe_queue *q) in consumer_addr() 113 static inline unsigned int producer_index(struct rxe_queue *q) in producer_index() 118 static inline unsigned int consumer_index(struct rxe_queue *q) in consumer_index() 123 static inline void *addr_from_index(struct rxe_queue *q, unsigned int index) in addr_from_index() [all …]
|
/drivers/net/ |
D | tap.c | 33 static inline bool tap_legacy_is_little_endian(struct tap_queue *q) in tap_legacy_is_little_endian() 39 static long tap_get_vnet_be(struct tap_queue *q, int __user *sp) in tap_get_vnet_be() 49 static long tap_set_vnet_be(struct tap_queue *q, int __user *sp) in tap_set_vnet_be() 64 static inline bool tap_legacy_is_little_endian(struct tap_queue *q) in tap_legacy_is_little_endian() 69 static long tap_get_vnet_be(struct tap_queue *q, int __user *argp) in tap_get_vnet_be() 74 static long tap_set_vnet_be(struct tap_queue *q, int __user *argp) in tap_set_vnet_be() 80 static inline bool tap_is_little_endian(struct tap_queue *q) in tap_is_little_endian() 86 static inline u16 tap16_to_cpu(struct tap_queue *q, __virtio16 val) in tap16_to_cpu() 91 static inline __virtio16 cpu_to_tap16(struct tap_queue *q, u16 val) in cpu_to_tap16() 145 struct tap_queue *q) in tap_enable_queue() [all …]
|
/drivers/misc/habanalabs/common/ |
D | hw_queue.c | 31 static inline int queue_free_slots(struct hl_hw_queue *q, u32 queue_len) in queue_free_slots() 44 struct hl_hw_queue *q; in hl_int_hw_queue_update_ci() local 74 struct hl_hw_queue *q, u32 ctl, u32 len, u64 ptr) in ext_and_hw_queue_submit_bd() 107 struct hl_hw_queue *q, int num_of_entries, in ext_queue_sanity_checks() 156 struct hl_hw_queue *q, in int_queue_sanity_checks() 190 static int hw_queue_sanity_checks(struct hl_device *hdev, struct hl_hw_queue *q, in hw_queue_sanity_checks() 221 struct hl_hw_queue *q = &hdev->kernel_queues[hw_queue_id]; in hl_hw_queue_send_cb_no_cmpl() local 271 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in ext_queue_schedule_job() local 330 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in int_queue_schedule_job() local 359 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in hw_queue_schedule_job() local [all …]
|
/drivers/net/wireless/broadcom/b43/ |
D | pio.c | 24 static u16 generate_cookie(struct b43_pio_txqueue *q, in generate_cookie() 49 struct b43_pio_txqueue *q = NULL; in parse_cookie() local 126 struct b43_pio_txqueue *q; in b43_setup_pioqueue_tx() local 162 struct b43_pio_rxqueue *q; in b43_setup_pioqueue_rx() local 178 static void b43_pio_cancel_tx_packets(struct b43_pio_txqueue *q) in b43_pio_cancel_tx_packets() 192 static void b43_destroy_pioqueue_tx(struct b43_pio_txqueue *q, in b43_destroy_pioqueue_tx() 201 static void b43_destroy_pioqueue_rx(struct b43_pio_rxqueue *q, in b43_destroy_pioqueue_rx() 290 struct b43_pio_txqueue *q; in select_queue_by_priority() local 317 static u16 tx_write_2byte_queue(struct b43_pio_txqueue *q, in tx_write_2byte_queue() 352 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_2byte_queue() local [all …]
|
D | pio.h | 109 static inline u16 b43_piotx_read16(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read16() 114 static inline u32 b43_piotx_read32(struct b43_pio_txqueue *q, u16 offset) in b43_piotx_read32() 119 static inline void b43_piotx_write16(struct b43_pio_txqueue *q, in b43_piotx_write16() 125 static inline void b43_piotx_write32(struct b43_pio_txqueue *q, in b43_piotx_write32() 132 static inline u16 b43_piorx_read16(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read16() 137 static inline u32 b43_piorx_read32(struct b43_pio_rxqueue *q, u16 offset) in b43_piorx_read32() 142 static inline void b43_piorx_write16(struct b43_pio_rxqueue *q, in b43_piorx_write16() 148 static inline void b43_piorx_write32(struct b43_pio_rxqueue *q, in b43_piorx_write32()
|
/drivers/spi/ |
D | spi-fsl-qspi.c | 278 static inline int needs_swap_endian(struct fsl_qspi *q) in needs_swap_endian() 283 static inline int needs_4x_clock(struct fsl_qspi *q) in needs_4x_clock() 288 static inline int needs_fill_txfifo(struct fsl_qspi *q) in needs_fill_txfifo() 293 static inline int needs_wakeup_wait_mode(struct fsl_qspi *q) in needs_wakeup_wait_mode() 298 static inline int needs_amba_base_offset(struct fsl_qspi *q) in needs_amba_base_offset() 303 static inline int needs_tdh_setting(struct fsl_qspi *q) in needs_tdh_setting() 312 static inline u32 fsl_qspi_endian_xchg(struct fsl_qspi *q, u32 a) in fsl_qspi_endian_xchg() 324 static void qspi_writel(struct fsl_qspi *q, u32 val, void __iomem *addr) in qspi_writel() 332 static u32 qspi_readl(struct fsl_qspi *q, void __iomem *addr) in qspi_readl() 342 struct fsl_qspi *q = dev_id; in fsl_qspi_irq_handler() local [all …]
|
/drivers/scsi/arm/ |
D | queue.c | 39 #define SET_MAGIC(q,m) ((q)->magic = (m)) argument 40 #define BAD_MAGIC(q,m) ((q)->magic != (m)) argument 42 #define SET_MAGIC(q,m) do { } while (0) argument 43 #define BAD_MAGIC(q,m) (0) argument 58 QE_t *q; in queue_initialise() local 107 QE_t *q; in __queue_add() local 136 QE_t *q; in __queue_remove() local 166 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude() local 215 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag() local 241 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target() local [all …]
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 22 static inline void ionic_txq_post(struct ionic_queue *q, bool ring_dbell, in ionic_txq_post() 30 static inline void ionic_rxq_post(struct ionic_queue *q, bool ring_dbell, in ionic_rxq_post() 38 static inline struct netdev_queue *q_to_ndq(struct ionic_queue *q) in q_to_ndq() 43 static struct sk_buff *ionic_rx_skb_alloc(struct ionic_queue *q, in ionic_rx_skb_alloc() 69 static struct sk_buff *ionic_rx_frags(struct ionic_queue *q, in ionic_rx_frags() 115 static struct sk_buff *ionic_rx_copybreak(struct ionic_queue *q, in ionic_rx_copybreak() 149 static void ionic_rx_clean(struct ionic_queue *q, in ionic_rx_clean() 230 struct ionic_queue *q = cq->bound_q; in ionic_rx_service() local 255 static int ionic_rx_page_alloc(struct ionic_queue *q, in ionic_rx_page_alloc() 296 static void ionic_rx_page_free(struct ionic_queue *q, in ionic_rx_page_free() [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/wireless/mediatek/mt76/ |
D | dma.c | 83 mt76_dma_alloc_queue(struct mt76_dev *dev, struct mt76_queue *q, in mt76_dma_alloc_queue() 120 mt76_dma_add_buf(struct mt76_dev *dev, struct mt76_queue *q, in mt76_dma_add_buf() 180 mt76_dma_tx_cleanup_idx(struct mt76_dev *dev, struct mt76_queue *q, int idx, in mt76_dma_tx_cleanup_idx() 204 mt76_dma_sync_idx(struct mt76_dev *dev, struct mt76_queue *q) in mt76_dma_sync_idx() 213 mt76_dma_kick_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76_dma_kick_queue() 222 struct mt76_queue *q = dev->q_tx[qid]; in mt76_dma_tx_cleanup() local 270 mt76_dma_get_buf(struct mt76_dev *dev, struct mt76_queue *q, int idx, in mt76_dma_get_buf() 296 mt76_dma_dequeue(struct mt76_dev *dev, struct mt76_queue *q, bool flush, in mt76_dma_dequeue() 320 struct mt76_queue *q = dev->q_tx[qid]; in mt76_dma_tx_queue_skb_raw() local 352 struct mt76_queue *q = dev->q_tx[qid]; in mt76_dma_tx_queue_skb() local [all …]
|
D | sdio.c | 23 struct mt76_queue *q = &dev->q_rx[qid]; in mt76s_alloc_rx_queue() local 41 struct mt76_queue *q; in mt76s_alloc_tx() local 93 mt76s_get_next_rx_entry(struct mt76_queue *q) in mt76s_get_next_rx_entry() 109 mt76s_process_rx_queue(struct mt76_dev *dev, struct mt76_queue *q) in mt76s_process_rx_queue() 136 struct mt76_queue *q = dev->q_tx[qid]; in mt76s_process_tx_queue() local 201 struct mt76_queue *q = dev->q_tx[qid]; in mt76s_tx_queue_skb() local 231 struct mt76_queue *q = dev->q_tx[qid]; in mt76s_tx_queue_skb_raw() local 259 static void mt76s_tx_kick(struct mt76_dev *dev, struct mt76_queue *q) in mt76s_tx_kick() 321 struct mt76_queue *q = &dev->q_rx[i]; in mt76s_deinit() local
|
/drivers/misc/uacce/ |
D | uacce.c | 18 static bool uacce_queue_is_valid(struct uacce_queue *q) in uacce_queue_is_valid() 23 static int uacce_start_queue(struct uacce_queue *q) in uacce_start_queue() 40 static int uacce_put_queue(struct uacce_queue *q) in uacce_put_queue() 59 struct uacce_queue *q = filep->private_data; in uacce_fops_unl_ioctl() local 103 static int uacce_bind_queue(struct uacce_device *uacce, struct uacce_queue *q) in uacce_bind_queue() 126 static void uacce_unbind_queue(struct uacce_queue *q) in uacce_unbind_queue() 137 struct uacce_queue *q; in uacce_fops_open() local 187 struct uacce_queue *q = filep->private_data; in uacce_fops_release() local 202 struct uacce_queue *q = vma->vm_private_data; in uacce_vma_close() local 217 struct uacce_queue *q = filep->private_data; in uacce_fops_mmap() local [all …]
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device_queue_manager.c | 142 struct queue *q) in increment_queue_count() 157 struct queue *q) in decrement_queue_count() 170 static int allocate_doorbell(struct qcm_process_device *qpd, struct queue *q) in allocate_doorbell() 214 struct queue *q) in deallocate_doorbell() 230 struct queue *q) in allocate_vmid() 294 struct queue *q) in deallocate_vmid() 312 struct queue *q, in create_queue_nocpsch() 423 static int allocate_hqd(struct device_queue_manager *dqm, struct queue *q) in allocate_hqd() 458 struct queue *q) in deallocate_hqd() 468 struct queue *q) in destroy_queue_nocpsch_locked() [all …]
|
D | kfd_mqd_manager_cik.c | 45 struct queue_properties *q) in update_cu_mask() 69 static void set_priority(struct cik_mqd *m, struct queue_properties *q) in set_priority() 76 struct queue_properties *q) in allocate_mqd() 89 struct queue_properties *q) in init_mqd() 143 struct queue_properties *q) in init_mqd_sdma() 188 struct queue_properties *q, unsigned int atc_bit) in __update_mqd() 224 struct queue_properties *q) in update_mqd() 230 struct queue_properties *q) in update_mqd_hawaii() 236 struct queue_properties *q) in update_mqd_sdma() 308 struct queue_properties *q) in init_mqd_hiq() [all …]
|
D | kfd_mqd_manager_vi.c | 48 struct queue_properties *q) in update_cu_mask() 72 static void set_priority(struct vi_mqd *m, struct queue_properties *q) in set_priority() 79 struct queue_properties *q) in allocate_mqd() 92 struct queue_properties *q) in init_mqd() 170 struct queue_properties *q, unsigned int mtype, in __update_mqd() 241 struct queue_properties *q) in update_mqd() 247 struct queue_properties *q) in update_mqd_tonga() 301 struct queue_properties *q) in init_mqd_hiq() 313 struct queue_properties *q) in update_mqd_hiq() 320 struct queue_properties *q) in init_mqd_sdma() [all …]
|
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() 80 void uninit_queue(struct queue *q) in uninit_queue()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | pci.c | 98 struct mlxsw_pci_queue *q; member 131 static void mlxsw_pci_queue_tasklet_schedule(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_tasklet_schedule() 136 static char *__mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_elem_get() 143 mlxsw_pci_queue_elem_info_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_info_get() 149 mlxsw_pci_queue_elem_info_producer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_producer_get() 159 mlxsw_pci_queue_elem_info_consumer_get(struct mlxsw_pci_queue *q) in mlxsw_pci_queue_elem_info_consumer_get() 166 static char *mlxsw_pci_queue_elem_get(struct mlxsw_pci_queue *q, int elem_index) in mlxsw_pci_queue_elem_get() 171 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned() 236 struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_doorbell_set() 246 struct mlxsw_pci_queue *q, in __mlxsw_pci_queue_doorbell_arm_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 | 24 #define SELF_ID_PHY_ID(q) (((q) >> 24) & 0x3f) argument 25 #define SELF_ID_EXTENDED(q) (((q) >> 23) & 0x01) argument 26 #define SELF_ID_LINK_ON(q) (((q) >> 22) & 0x01) argument 27 #define SELF_ID_GAP_COUNT(q) (((q) >> 16) & 0x3f) argument 28 #define SELF_ID_PHY_SPEED(q) (((q) >> 14) & 0x03) argument 29 #define SELF_ID_CONTENDER(q) (((q) >> 11) & 0x01) argument 30 #define SELF_ID_PHY_INITIATOR(q) (((q) >> 1) & 0x01) argument 31 #define SELF_ID_MORE_PACKETS(q) (((q) >> 0) & 0x01) argument 33 #define SELF_ID_EXT_SEQUENCE(q) (((q) >> 20) & 0x07) argument 42 u32 q; in count_ports() local [all …]
|
/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 213 static int cio2_fbpt_init(struct cio2_device *cio2, struct cio2_queue *q) in cio2_fbpt_init() 225 static void cio2_fbpt_exit(struct cio2_queue *q, struct device *dev) in cio2_fbpt_exit() 290 static int cio2_csi2_calc_timing(struct cio2_device *cio2, struct cio2_queue *q, in cio2_csi2_calc_timing() 346 static int cio2_hw_init(struct cio2_device *cio2, struct cio2_queue *q) in cio2_hw_init() 508 static void cio2_hw_exit(struct cio2_device *cio2, struct cio2_queue *q) in cio2_hw_exit() 541 struct cio2_queue *q = cio2->cur_queue; in cio2_buffer_done() local 587 static void cio2_queue_event_sof(struct cio2_device *cio2, struct cio2_queue *q) in cio2_queue_event_sof() 784 static void cio2_vb2_return_all_buffers(struct cio2_queue *q, in cio2_vb2_return_all_buffers() 806 struct cio2_queue *q = vb2q_to_cio2_queue(vq); in cio2_vb2_queue_setup() local 890 struct cio2_queue *q = in cio2_vb2_buf_queue() local [all …]
|
/drivers/staging/media/atomisp/pci/runtime/bufq/src/ |
D | bufq.c | 212 ia_css_queue_t *q = NULL; in bufq_get_qhandle() local 331 ia_css_queue_t *q; in ia_css_bufq_enqueue_buffer() local 359 ia_css_queue_t *q; in ia_css_bufq_dequeue_buffer() local 389 ia_css_queue_t *q; in ia_css_bufq_enqueue_psys_event() local 409 ia_css_queue_t *q; in ia_css_bufq_dequeue_psys_event() local 431 ia_css_queue_t *q; in ia_css_bufq_dequeue_isys_event() local 451 ia_css_queue_t *q; in ia_css_bufq_enqueue_isys_event() local 470 ia_css_queue_t *q; in ia_css_bufq_enqueue_tag_cmd() local
|