Home
last modified time | relevance | path

Searched refs:icm (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dicm.c79 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent) in mlx4_free_icm() argument
83 if (!icm) in mlx4_free_icm()
86 list_for_each_entry_safe(chunk, tmp, &icm->chunk_list, list) { in mlx4_free_icm()
95 kfree(icm); in mlx4_free_icm()
135 struct mlx4_icm *icm; in mlx4_alloc_icm() local
144 icm = kmalloc_node(sizeof(*icm), in mlx4_alloc_icm()
147 if (!icm) { in mlx4_alloc_icm()
148 icm = kmalloc(sizeof(*icm), in mlx4_alloc_icm()
150 if (!icm) in mlx4_alloc_icm()
154 icm->refcount = 0; in mlx4_alloc_icm()
[all …]
Dicm.h73 struct mlx4_icm *icm; member
82 void mlx4_free_icm(struct mlx4_dev *dev, struct mlx4_icm *icm, int coherent);
96 static inline void mlx4_icm_first(struct mlx4_icm *icm, in mlx4_icm_first() argument
99 iter->icm = icm; in mlx4_icm_first()
100 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first()
101 NULL : list_entry(icm->chunk_list.next, in mlx4_icm_first()
114 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mlx4_icm_next()
141 int mlx4_MAP_ICM_AUX(struct mlx4_dev *dev, struct mlx4_icm *icm);
Dfw.h241 int mlx4_MAP_FA(struct mlx4_dev *dev, struct mlx4_icm *icm);
249 int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt);
251 int mlx4_MAP_ICM_AUX(struct mlx4_dev *dev, struct mlx4_icm *icm);
DMakefile4 mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o fw_qos.o icm.o intf.o \
Dfw.c1519 int mlx4_map_cmd(struct mlx4_dev *dev, u16 op, struct mlx4_icm *icm, u64 virt) in mlx4_map_cmd() argument
1535 for (mlx4_icm_first(icm, &iter); in mlx4_map_cmd()
1600 int mlx4_MAP_FA(struct mlx4_dev *dev, struct mlx4_icm *icm) in mlx4_MAP_FA() argument
1602 return mlx4_map_cmd(dev, MLX4_CMD_MAP_FA, icm, -1); in mlx4_MAP_FA()
Dmlx4.h268 struct mlx4_icm **icm; member
/kernel/linux/linux-5.10/drivers/thunderbolt/
Dicm.c78 struct icm { struct
166 static inline struct tb *icm_to_tb(struct icm *icm) in icm_to_tb() argument
168 return ((void *)icm - sizeof(struct tb)); in icm_to_tb()
195 static int pci2cio_wait_completion(struct icm *icm, unsigned long timeout_msec) in pci2cio_wait_completion() argument
201 pci_read_config_dword(icm->upstream_port, in pci2cio_wait_completion()
202 icm->vnd_cap + PCIE2CIO_CMD, &cmd); in pci2cio_wait_completion()
215 static int pcie2cio_read(struct icm *icm, enum tb_cfg_space cs, in pcie2cio_read() argument
218 struct pci_dev *pdev = icm->upstream_port; in pcie2cio_read()
219 int ret, vnd_cap = icm->vnd_cap; in pcie2cio_read()
228 ret = pci2cio_wait_completion(icm, 5000); in pcie2cio_read()
[all …]
DMakefile4 thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_memfree.c88 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) in mthca_free_icm() argument
92 if (!icm) in mthca_free_icm()
95 list_for_each_entry_safe(chunk, tmp, &icm->chunk_list, list) { in mthca_free_icm()
104 kfree(icm); in mthca_free_icm()
140 struct mthca_icm *icm; in mthca_alloc_icm() local
148 icm = kmalloc(sizeof *icm, gfp_mask & ~(__GFP_HIGHMEM | __GFP_NOWARN)); in mthca_alloc_icm()
149 if (!icm) in mthca_alloc_icm()
150 return icm; in mthca_alloc_icm()
152 icm->refcount = 0; in mthca_alloc_icm()
153 INIT_LIST_HEAD(&icm->chunk_list); in mthca_alloc_icm()
[all …]
Dmthca_memfree.h71 struct mthca_icm *icm[]; member
75 struct mthca_icm *icm; member
84 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent);
99 static inline void mthca_icm_first(struct mthca_icm *icm, in mthca_icm_first() argument
102 iter->icm = icm; in mthca_icm_first()
103 iter->chunk = list_empty(&icm->chunk_list) ? in mthca_icm_first()
104 NULL : list_entry(icm->chunk_list.next, in mthca_icm_first()
117 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mthca_icm_next()
Dmthca_cmd.h257 int mthca_MAP_FA(struct mthca_dev *dev, struct mthca_icm *icm);
277 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt);
280 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm);
Dmthca_cmd.c657 static int mthca_map_cmd(struct mthca_dev *dev, u16 op, struct mthca_icm *icm, in mthca_map_cmd() argument
675 for (mthca_icm_first(icm, &iter); in mthca_map_cmd()
736 int mthca_MAP_FA(struct mthca_dev *dev, struct mthca_icm *icm) in mthca_MAP_FA() argument
738 return mthca_map_cmd(dev, CMD_MAP_FA, icm, -1); in mthca_MAP_FA()
1534 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt) in mthca_MAP_ICM() argument
1536 return mthca_map_cmd(dev, CMD_MAP_ICM, icm, virt); in mthca_MAP_ICM()
1574 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm) in mthca_MAP_ICM_AUX() argument
1576 return mthca_map_cmd(dev, CMD_MAP_ICM_AUX, icm, -1); in mthca_MAP_ICM_AUX()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dentry.S830 icm %r0,15,__LC_PREEMPT_COUNT
/kernel/linux/linux-5.10/arch/s390/tools/
Dopcodes.txt648 bf icm RS_RURD
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0009_linux_sound.patch6927 + dev_err(dev, "icm ack timeout! %x\n", msg);
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch1688 + /*icm-20948*/
27319 + /*icm-20948*/