Searched refs:db_idx (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/microchip/fdma/ |
H A D | fdma_api.h | 79 int (*dataptr_cb)(struct fdma *fdma, int dcb_idx, int db_idx, u64 *ptr); 160 int db_idx) in fdma_db_get() argument 162 return &fdma->dcbs[dcb_idx].db[db_idx]; in fdma_db_get() 201 int db_idx) in fdma_dataptr_get_contiguous() argument 204 (dcb_idx * fdma->n_dbs + db_idx) * fdma->db_size + in fdma_dataptr_get_contiguous() 213 int dcb_idx, int db_idx) in fdma_dataptr_virt_get_contiguous() argument 216 (dcb_idx * fdma->n_dbs + db_idx) * fdma->db_size + in fdma_dataptr_virt_get_contiguous() 227 int fdma_db_add(struct fdma *fdma, int dcb_idx, int db_idx, u64 status); 231 int (*db_cb)(struct fdma *fdma, int dcb_idx, int db_idx,
|
H A D | fdma_api.c | 10 static int __fdma_db_add(struct fdma *fdma, int dcb_idx, int db_idx, u64 status, in __fdma_db_add() argument 12 int db_idx, u64 *dataptr)) in __fdma_db_add() 14 struct fdma_db *db = fdma_db_get(fdma, dcb_idx, db_idx); in __fdma_db_add() 18 return cb(fdma, dcb_idx, db_idx, &db->dataptr); in __fdma_db_add() 22 int fdma_db_add(struct fdma *fdma, int dcb_idx, int db_idx, u64 status) in fdma_db_add() argument 26 db_idx, in fdma_db_add() 34 int (*db_cb)(struct fdma *fdma, int dcb_idx, int db_idx, in __fdma_dcb_add() argument
|
/linux/drivers/accel/ivpu/ |
H A D | vpu_jsm_api.h | 463 u32 db_idx; member 481 u32 db_idx; member 612 u32 db_idx; member 661 u32 db_idx; member 673 u32 db_idx; member
|
H A D | ivpu_jsm_msg.c | 99 req.payload.register_db.db_idx = db_id; in ivpu_jsm_register_db() 118 req.payload.unregister_db.db_idx = db_id; in ivpu_jsm_unregister_db()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_io.c | 50 free_db_area->db_idx[i] = i; in init_db_area_idx() 78 idx = free_db_area->db_idx[pos]; in get_db_area() 80 free_db_area->db_idx[pos] = -1; in get_db_area() 98 free_db_area->db_idx[pos] = idx; in return_db_area()
|
H A D | hinic_hw_io.h | 39 int db_idx[HINIC_DB_MAX_AREAS]; member
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_rx.c | 431 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell() local 433 iowrite32be(rx->fill_cnt, &priv->db_bar2[db_idx]); in gve_rx_write_doorbell()
|