Searched refs:cmd_map (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dvmw_pvscsi.c57 * The index of the context in cmd_map serves as the context ID for a
103 struct pvscsi_ctx *cmd_map; member in struct:pvscsi_adapter
164 end = &adapter->cmd_map[adapter->req_depth]; pvscsi_find_context()
165 for (ctx = adapter->cmd_map; ctx < end; ctx++) pvscsi_find_context()
197 * non-zero integer. ctx always points to an entry in cmd_map array, hence
203 return ctx - adapter->cmd_map + 1; pvscsi_map_context()
209 return &adapter->cmd_map[context - 1]; pvscsi_get_context()
832 struct pvscsi_ctx *ctx = &adapter->cmd_map[i]; pvscsi_reset_all()
1158 struct pvscsi_ctx *ctx = adapter->cmd_map; pvscsi_free_sgls()
1207 if (adapter->cmd_map) { pvscsi_release_resources()
1209 kfree(adapter->cmd_map); pvscsi_release_resources()
1250 ctx = adapter->cmd_map; pvscsi_allocate_sg()
1461 adapter->cmd_map = kcalloc(adapter->req_depth, pvscsi_probe()
1463 if (!adapter->cmd_map) { pvscsi_probe()
1471 struct pvscsi_ctx *ctx = adapter->cmd_map + i; pvscsi_probe()
/linux-4.1.27/drivers/mtd/onenand/
H A Dsamsung.c139 unsigned int (*cmd_map)(unsigned int type, unsigned int val); member in struct:s3c_onenand
146 #define CMD_MAP_00(dev, addr) (dev->cmd_map(MAP_00, ((addr) << 1)))
147 #define CMD_MAP_01(dev, mem_addr) (dev->cmd_map(MAP_01, (mem_addr)))
148 #define CMD_MAP_10(dev, mem_addr) (dev->cmd_map(MAP_10, (mem_addr)))
149 #define CMD_MAP_11(dev, addr) (dev->cmd_map(MAP_11, ((addr) << 2)))
817 onenand->cmd_map = s3c64xx_cmd_map; s3c_onenand_setup()
820 onenand->cmd_map = s3c64xx_cmd_map; s3c_onenand_setup()

Completed in 110 milliseconds