| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ | 
| D | core.c | 61 	struct mlx5_fpga_device *fdev = NULL;  in mlx5_fpga_device_alloc()  local 63 	fdev = kzalloc(sizeof(*fdev), GFP_KERNEL);  in mlx5_fpga_device_alloc() 64 	if (!fdev)  in mlx5_fpga_device_alloc() 67 	spin_lock_init(&fdev->state_lock);  in mlx5_fpga_device_alloc() 68 	fdev->state = MLX5_FPGA_STATUS_NONE;  in mlx5_fpga_device_alloc() 69 	return fdev;  in mlx5_fpga_device_alloc() 108 static int mlx5_fpga_device_load_check(struct mlx5_fpga_device *fdev)  in mlx5_fpga_device_load_check()  argument 113 	err = mlx5_fpga_query(fdev->mdev, &query);  in mlx5_fpga_device_load_check() 115 		mlx5_fpga_err(fdev, "Failed to query status: %d\n", err);  in mlx5_fpga_device_load_check() 119 	fdev->last_admin_image = query.admin_image;  in mlx5_fpga_device_load_check() [all …] 
 | 
| D | conn.c | 57 	dma_device = mlx5_core_dma_dev(conn->fdev->mdev);  in mlx5_fpga_conn_map_buf() 62 		mlx5_fpga_warn(conn->fdev, "DMA error on sg 0: %d\n", err);  in mlx5_fpga_conn_map_buf() 74 		mlx5_fpga_warn(conn->fdev, "DMA error on sg 1: %d\n", err);  in mlx5_fpga_conn_map_buf() 89 	dma_device = mlx5_core_dma_dev(conn->fdev->mdev);  in mlx5_fpga_conn_unmap_buf() 118 	data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key);  in mlx5_fpga_conn_post_recv() 138 	mlx5_write64(wqe, conn->fdev->conn_res.uar->map + MLX5_BF_OFFSET);  in mlx5_fpga_conn_notify_hw() 158 		data->lkey = cpu_to_be32(conn->fdev->conn_res.mkey.key);  in mlx5_fpga_conn_post_send() 262 		mlx5_fpga_warn(conn->fdev, "RQ buf %p on FPGA QP %u completion status %d\n",  in mlx5_fpga_conn_rq_cqe() 265 		mlx5_fpga_dbg(conn->fdev, "RQ buf %p on FPGA QP %u completion status %d\n",  in mlx5_fpga_conn_rq_cqe() 277 	mlx5_fpga_dbg(conn->fdev, "Message with %u bytes received successfully\n",  in mlx5_fpga_conn_rq_cqe() [all …] 
 | 
| D | sdk.c | 41 mlx5_fpga_sbu_conn_create(struct mlx5_fpga_device *fdev,  in mlx5_fpga_sbu_conn_create()  argument 44 	return mlx5_fpga_conn_create(fdev, attr, MLX5_FPGA_QPC_QP_TYPE_SANDBOX_QP);  in mlx5_fpga_sbu_conn_create() 61 static int mlx5_fpga_mem_read_i2c(struct mlx5_fpga_device *fdev, size_t size,  in mlx5_fpga_mem_read_i2c()  argument 72 	if (!fdev->mdev)  in mlx5_fpga_mem_read_i2c() 78 		err = mlx5_fpga_access_reg(fdev->mdev, actual_size,  in mlx5_fpga_mem_read_i2c() 82 			mlx5_fpga_err(fdev, "Failed to read over I2C: %d\n",  in mlx5_fpga_mem_read_i2c() 93 static int mlx5_fpga_mem_write_i2c(struct mlx5_fpga_device *fdev, size_t size,  in mlx5_fpga_mem_write_i2c()  argument 104 	if (!fdev->mdev)  in mlx5_fpga_mem_write_i2c() 110 		err = mlx5_fpga_access_reg(fdev->mdev, actual_size,  in mlx5_fpga_mem_write_i2c() 114 			mlx5_fpga_err(fdev, "Failed to write FPGA crspace\n");  in mlx5_fpga_mem_write_i2c() [all …] 
 | 
| D | ipsec.c | 101 	struct mlx5_fpga_device *fdev;  member 144 					  struct mlx5_fpga_device *fdev,  in mlx5_fpga_ipsec_send_complete()  argument 153 		mlx5_fpga_warn(fdev, "IPSec command send failed with status %u\n",  in mlx5_fpga_ipsec_send_complete() 181 	struct mlx5_fpga_device *fdev = cb_arg;  in mlx5_fpga_ipsec_recv()  local 185 		mlx5_fpga_warn(fdev, "Short receive from FPGA IPSec: %u < %zu bytes\n",  in mlx5_fpga_ipsec_recv() 190 	mlx5_fpga_dbg(fdev, "mlx5_ipsec recv_cb syndrome %08x\n",  in mlx5_fpga_ipsec_recv() 193 	spin_lock_irqsave(&fdev->ipsec->pending_cmds_lock, flags);  in mlx5_fpga_ipsec_recv() 194 	context = list_first_entry_or_null(&fdev->ipsec->pending_cmds,  in mlx5_fpga_ipsec_recv() 199 	spin_unlock_irqrestore(&fdev->ipsec->pending_cmds_lock, flags);  in mlx5_fpga_ipsec_recv() 202 		mlx5_fpga_warn(fdev, "Received IPSec offload response without pending command request\n");  in mlx5_fpga_ipsec_recv() [all …] 
 | 
| D | tls.c | 44 	(struct mlx5_fpga_conn *conn, struct mlx5_fpga_device *fdev, 69 static void mlx5_fpga_tls_cmd_complete(struct mlx5_fpga_device *fdev,  in mlx5_fpga_tls_cmd_complete()  argument 72 	struct mlx5_fpga_conn *conn = fdev->tls->conn;  in mlx5_fpga_tls_cmd_complete() 74 	struct mlx5_fpga_tls *tls = fdev->tls;  in mlx5_fpga_tls_cmd_complete() 82 	ctx->complete(conn, fdev, ctx, resp);  in mlx5_fpga_tls_cmd_complete() 86 					struct mlx5_fpga_device *fdev,  in mlx5_fpga_cmd_send_complete()  argument 96 		mlx5_fpga_tls_cmd_complete(fdev, NULL);  in mlx5_fpga_cmd_send_complete() 99 static void mlx5_fpga_tls_cmd_send(struct mlx5_fpga_device *fdev,  in mlx5_fpga_tls_cmd_send()  argument 103 	struct mlx5_fpga_tls *tls = fdev->tls;  in mlx5_fpga_tls_cmd_send() 120 		complete(tls->conn, fdev, cmd, NULL);  in mlx5_fpga_tls_cmd_send() [all …] 
 | 
| D | sdk.h | 92 			 struct mlx5_fpga_device *fdev, 134 mlx5_fpga_sbu_conn_create(struct mlx5_fpga_device *fdev, 176 int mlx5_fpga_mem_read(struct mlx5_fpga_device *fdev, size_t size, u64 addr, 194 int mlx5_fpga_mem_write(struct mlx5_fpga_device *fdev, size_t size, u64 addr, 210 int mlx5_fpga_get_sbu_caps(struct mlx5_fpga_device *fdev, int size, void *buf);
  | 
| D | conn.h | 45 	struct mlx5_fpga_device *fdev;  member 86 int mlx5_fpga_conn_device_init(struct mlx5_fpga_device *fdev); 87 void mlx5_fpga_conn_device_cleanup(struct mlx5_fpga_device *fdev); 89 mlx5_fpga_conn_create(struct mlx5_fpga_device *fdev,
  | 
| /Linux-v5.10/drivers/dma/ | 
| D | st_fdma.c | 34 	struct st_fdma_dev *fdev = fchan->fdev;  in st_fdma_dreq_get()  local 45 		if (fdev->dreq_mask == ~0L) {  in st_fdma_dreq_get() 46 			dev_err(fdev->dev, "No req lines available\n");  in st_fdma_dreq_get() 51 			dev_err(fdev->dev, "Invalid or used req line\n");  in st_fdma_dreq_get() 58 	} while (test_and_set_bit(dreq_line, &fdev->dreq_mask));  in st_fdma_dreq_get() 60 	dev_dbg(fdev->dev, "get dreq_line:%d mask:%#lx\n",  in st_fdma_dreq_get() 61 		dreq_line, fdev->dreq_mask);  in st_fdma_dreq_get() 68 	struct st_fdma_dev *fdev = fchan->fdev;  in st_fdma_dreq_put()  local 70 	dev_dbg(fdev->dev, "put dreq_line:%#x\n", fchan->dreq_line);  in st_fdma_dreq_put() 71 	clear_bit(fchan->dreq_line, &fdev->dreq_mask);  in st_fdma_dreq_put() [all …] 
 | 
| D | fsldma.c | 1000 	struct fsldma_device *fdev = data;  in fsldma_ctrl_irq()  local 1006 	gsr = (fdev->feature & FSL_DMA_BIG_ENDIAN) ? in_be32(fdev->regs)  in fsldma_ctrl_irq() 1007 						   : in_le32(fdev->regs);  in fsldma_ctrl_irq() 1009 	dev_dbg(fdev->dev, "IRQ: gsr 0x%.8x\n", gsr);  in fsldma_ctrl_irq() 1012 		chan = fdev->chan[i];  in fsldma_ctrl_irq() 1017 			dev_dbg(fdev->dev, "IRQ: chan %d\n", chan->id);  in fsldma_ctrl_irq() 1029 static void fsldma_free_irqs(struct fsldma_device *fdev)  in fsldma_free_irqs()  argument 1034 	if (fdev->irq) {  in fsldma_free_irqs() 1035 		dev_dbg(fdev->dev, "free per-controller IRQ\n");  in fsldma_free_irqs() 1036 		free_irq(fdev->irq, fdev);  in fsldma_free_irqs() [all …] 
 | 
| D | st_fdma.h | 118 	struct st_fdma_dev *fdev;  member 166 #define fdma_read(fdev, name) \  argument 167 	readl((fdev)->slim_rproc->peri + name) 169 #define fdma_write(fdev, val, name) \  argument 170 	writel((val), (fdev)->slim_rproc->peri + name) 185 	readl((fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 190 	writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 197 	writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 207 	readl((fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \ 212 	writel((val), (fchan)->fdev->slim_rproc->mem[ST_SLIM_DMEM].cpu_addr \
  | 
| /Linux-v5.10/drivers/fpga/ | 
| D | dfl.c | 745 	struct platform_device *fdev = binfo->feature_dev;  in build_info_commit_dev()  local 751 	type = feature_dev_id_type(fdev);  in build_info_commit_dev() 765 	pdata->dev = fdev;  in build_info_commit_dev() 781 	fdev->dev.platform_data = pdata;  in build_info_commit_dev() 784 	fdev->num_resources = binfo->feature_num;  in build_info_commit_dev() 785 	fdev->resource = kcalloc(binfo->feature_num, sizeof(*fdev->resource),  in build_info_commit_dev() 787 	if (!fdev->resource)  in build_info_commit_dev() 797 		feature->dev = fdev;  in build_info_commit_dev() 816 			fdev->resource[res_idx++] = finfo->mmio_res;  in build_info_commit_dev() 862 	struct platform_device *fdev;  in build_info_create_dev()  local [all …] 
 | 
| D | dfl-afu-main.c | 585 	struct platform_device *fdev = dfl_fpga_inode_to_feature_dev(inode);  in afu_open()  local 589 	pdata = dev_get_platdata(&fdev->dev);  in afu_open() 596 		dev_dbg(&fdev->dev, "Device File Opened %d Times\n",  in afu_open() 598 		filp->private_data = fdev;  in afu_open()
  | 
| D | dfl-fme-main.c | 600 	struct platform_device *fdev = dfl_fpga_inode_to_feature_dev(inode);  in fme_open()  local 601 	struct dfl_feature_platform_data *pdata = dev_get_platdata(&fdev->dev);  in fme_open() 610 		dev_dbg(&fdev->dev, "Device File Opened %d Times\n",  in fme_open()
  | 
| /Linux-v5.10/include/linux/ | 
| D | fsi.h | 81 extern int fsi_get_new_minor(struct fsi_device *fdev, enum fsi_dev_type type,
  | 
| /Linux-v5.10/drivers/fsi/ | 
| D | fsi-core.c | 972 int fsi_get_new_minor(struct fsi_device *fdev, enum fsi_dev_type type,  in fsi_get_new_minor()  argument 975 	return __fsi_get_new_minor(fdev->slave, type, out_dev, out_index);  in fsi_get_new_minor()
  | 
| /Linux-v5.10/fs/f2fs/ | 
| D | segment.c | 4644 				    struct f2fs_dev_info *fdev,  in check_zone_write_pointer()  argument 4656 	wp_block = fdev->start_blk + (zone->wp >> log_sectors_per_block);  in check_zone_write_pointer() 4659 	zone_block = fdev->start_blk + (zone->start >> log_sectors_per_block);  in check_zone_write_pointer() 4715 		ret = __f2fs_issue_discard_zone(sbi, fdev->bdev, zone_block,  in check_zone_write_pointer() 4719 				 fdev->path, ret);  in check_zone_write_pointer() 4856 	struct f2fs_dev_info *fdev;  member 4864 	return check_zone_write_pointer(args->sbi, args->fdev, zone);  in check_zone_write_pointer_cb() 4877 		args.fdev = &FDEV(i);  in f2fs_check_write_pointer()
  | 
| /Linux-v5.10/drivers/md/ | 
| D | raid5.c | 3732 	struct r5dev *fdev[2] = { &sh->dev[s->failed_num[0]],  in need_this_block()  local 3757 	if ((s->failed >= 1 && fdev[0]->toread) ||  in need_this_block() 3758 	    (s->failed >= 2 && fdev[1]->toread))  in need_this_block() 3785 		if (fdev[i]->towrite &&  in need_this_block() 3786 		    !test_bit(R5_UPTODATE, &fdev[i]->flags) &&  in need_this_block() 3787 		    !test_bit(R5_OVERWRITE, &fdev[i]->flags))  in need_this_block() 3796 		    (fdev[i]->towrite ||  in need_this_block() 3799 		    !test_bit(R5_UPTODATE, &fdev[i]->flags))  in need_this_block() 3821 		    !test_bit(R5_UPTODATE, &fdev[i]->flags) &&  in need_this_block() 3822 		    !test_bit(R5_OVERWRITE, &fdev[i]->flags))  in need_this_block()
  | 
| /Linux-v5.10/net/bridge/ | 
| D | br_private.h | 704 		struct net_device *dev, struct net_device *fdev, int *idx);
  |