Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dvmw_pvscsi.c98 struct pvscsi_ctx *cmd_map; member
159 end = &adapter->cmd_map[adapter->req_depth]; in pvscsi_find_context()
160 for (ctx = adapter->cmd_map; ctx < end; ctx++) in pvscsi_find_context()
198 return ctx - adapter->cmd_map + 1; in pvscsi_map_context()
204 return &adapter->cmd_map[context - 1]; in pvscsi_get_context()
1205 struct pvscsi_ctx *ctx = adapter->cmd_map; in pvscsi_free_sgls()
1228 if (adapter->cmd_map) { in pvscsi_release_resources()
1230 kfree(adapter->cmd_map); in pvscsi_release_resources()
1271 ctx = adapter->cmd_map; in pvscsi_allocate_sg()
1480 adapter->cmd_map = kcalloc(adapter->req_depth, in pvscsi_probe()
[all …]
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_samsung.c132 unsigned int (*cmd_map)(unsigned int type, unsigned int val); member
138 #define CMD_MAP_00(dev, addr) (dev->cmd_map(MAP_00, ((addr) << 1)))
139 #define CMD_MAP_01(dev, mem_addr) (dev->cmd_map(MAP_01, (mem_addr)))
140 #define CMD_MAP_10(dev, mem_addr) (dev->cmd_map(MAP_10, (mem_addr)))
141 #define CMD_MAP_11(dev, addr) (dev->cmd_map(MAP_11, ((addr) << 2)))
809 onenand->cmd_map = s3c64xx_cmd_map; in s3c_onenand_setup()
812 onenand->cmd_map = s3c64xx_cmd_map; in s3c_onenand_setup()