/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | bmi.c | 26 u32 cid = BMI_DONE; ath6kl_bmi_done() local 35 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); ath6kl_bmi_done() 48 u32 cid = BMI_GET_TARGET_INFO; ath6kl_bmi_get_target_info() local 51 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_get_target_info() 55 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); ath6kl_bmi_get_target_info() 116 u32 cid = BMI_READ_MEMORY; ath6kl_bmi_read() local 123 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_read() 127 size = ar->bmi.max_data_size + sizeof(cid) + sizeof(addr) + sizeof(len); ath6kl_bmi_read() 144 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_read() 145 offset += sizeof(cid); ath6kl_bmi_read() 172 u32 cid = BMI_WRITE_MEMORY; ath6kl_bmi_write() local 176 const u32 header = sizeof(cid) + sizeof(addr) + sizeof(len); ath6kl_bmi_write() 181 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_write() 216 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_write() 217 offset += sizeof(cid); ath6kl_bmi_write() 239 u32 cid = BMI_EXECUTE; ath6kl_bmi_execute() local 245 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_execute() 249 size = sizeof(cid) + sizeof(addr) + sizeof(param); ath6kl_bmi_execute() 260 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_execute() 261 offset += sizeof(cid); ath6kl_bmi_execute() 286 u32 cid = BMI_SET_APP_START; ath6kl_bmi_set_app_start() local 292 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_set_app_start() 296 size = sizeof(cid) + sizeof(addr); ath6kl_bmi_set_app_start() 306 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_set_app_start() 307 offset += sizeof(cid); ath6kl_bmi_set_app_start() 322 u32 cid = BMI_READ_SOC_REGISTER; ath6kl_bmi_reg_read() local 328 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_reg_read() 332 size = sizeof(cid) + sizeof(addr); ath6kl_bmi_reg_read() 342 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_reg_read() 343 offset += sizeof(cid); ath6kl_bmi_reg_read() 365 u32 cid = BMI_WRITE_SOC_REGISTER; ath6kl_bmi_reg_write() local 371 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_reg_write() 375 size = sizeof(cid) + sizeof(addr) + sizeof(param); ath6kl_bmi_reg_write() 387 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_reg_write() 388 offset += sizeof(cid); ath6kl_bmi_reg_write() 405 u32 cid = BMI_LZ_DATA; ath6kl_bmi_lz_data() local 409 const u32 header = sizeof(cid) + sizeof(len); ath6kl_bmi_lz_data() 413 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_lz_data() 433 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_lz_data() 434 offset += sizeof(cid); ath6kl_bmi_lz_data() 456 u32 cid = BMI_LZ_STREAM_START; ath6kl_bmi_lz_stream_start() local 462 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); ath6kl_bmi_lz_stream_start() 466 size = sizeof(cid) + sizeof(addr); ath6kl_bmi_lz_stream_start() 478 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); ath6kl_bmi_lz_stream_start() 479 offset += sizeof(cid); ath6kl_bmi_lz_stream_start()
|
/linux-4.1.27/fs/fat/ |
H A D | cache.c | 80 struct fat_cache_id *cid, fat_cache_lookup() 104 cid->id = MSDOS_I(inode)->cache_valid_id; fat_cache_lookup() 105 cid->nr_contig = hit->nr_contig; fat_cache_lookup() 106 cid->fcluster = hit->fcluster; fat_cache_lookup() 107 cid->dcluster = hit->dcluster; fat_cache_lookup() 108 *cached_fclus = cid->fcluster + offset; fat_cache_lookup() 109 *cached_dclus = cid->dcluster + offset; fat_cache_lookup() 210 static inline int cache_contiguous(struct fat_cache_id *cid, int dclus) cache_contiguous() argument 212 cid->nr_contig++; cache_contiguous() 213 return ((cid->dcluster + cid->nr_contig) == dclus); cache_contiguous() 216 static inline void cache_init(struct fat_cache_id *cid, int fclus, int dclus) cache_init() argument 218 cid->id = FAT_CACHE_VALID; cache_init() 219 cid->fcluster = fclus; cache_init() 220 cid->dcluster = dclus; cache_init() 221 cid->nr_contig = 0; cache_init() 229 struct fat_cache_id cid; fat_get_cluster() local 239 if (fat_cache_lookup(inode, cluster, &cid, fclus, dclus) < 0) { fat_get_cluster() 244 cache_init(&cid, -1, -1); fat_get_cluster() 270 fat_cache_add(inode, &cid); fat_get_cluster() 275 if (!cache_contiguous(&cid, *dclus)) fat_get_cluster() 276 cache_init(&cid, *fclus, *dclus); fat_get_cluster() 279 fat_cache_add(inode, &cid); fat_get_cluster() 79 fat_cache_lookup(struct inode *inode, int fclus, struct fat_cache_id *cid, int *cached_fclus, int *cached_dclus) fat_cache_lookup() argument
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | quirks.c | 83 f->manfid == card->cid.manfid) && mmc_fixup_device() 85 f->oemid == card->cid.oemid) && mmc_fixup_device() 87 !strncmp(f->name, card->cid.prod_name, mmc_fixup_device() 88 sizeof(card->cid.prod_name))) && mmc_fixup_device()
|
H A D | sd.h | 8 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
|
H A D | mmc_ops.h | 20 int mmc_all_send_cid(struct mmc_host *host, u32 *cid); 24 int mmc_send_cid(struct mmc_host *host, u32 *cid);
|
H A D | mmc.c | 75 card->cid.manfid = UNSTUFF_BITS(resp, 104, 24); mmc_decode_cid() 76 card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); mmc_decode_cid() 77 card->cid.prod_name[1] = UNSTUFF_BITS(resp, 88, 8); mmc_decode_cid() 78 card->cid.prod_name[2] = UNSTUFF_BITS(resp, 80, 8); mmc_decode_cid() 79 card->cid.prod_name[3] = UNSTUFF_BITS(resp, 72, 8); mmc_decode_cid() 80 card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8); mmc_decode_cid() 81 card->cid.prod_name[5] = UNSTUFF_BITS(resp, 56, 8); mmc_decode_cid() 82 card->cid.prod_name[6] = UNSTUFF_BITS(resp, 48, 8); mmc_decode_cid() 83 card->cid.hwrev = UNSTUFF_BITS(resp, 44, 4); mmc_decode_cid() 84 card->cid.fwrev = UNSTUFF_BITS(resp, 40, 4); mmc_decode_cid() 85 card->cid.serial = UNSTUFF_BITS(resp, 16, 24); mmc_decode_cid() 86 card->cid.month = UNSTUFF_BITS(resp, 12, 4); mmc_decode_cid() 87 card->cid.year = UNSTUFF_BITS(resp, 8, 4) + 1997; mmc_decode_cid() 93 card->cid.manfid = UNSTUFF_BITS(resp, 120, 8); mmc_decode_cid() 94 card->cid.oemid = UNSTUFF_BITS(resp, 104, 16); mmc_decode_cid() 95 card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); mmc_decode_cid() 96 card->cid.prod_name[1] = UNSTUFF_BITS(resp, 88, 8); mmc_decode_cid() 97 card->cid.prod_name[2] = UNSTUFF_BITS(resp, 80, 8); mmc_decode_cid() 98 card->cid.prod_name[3] = UNSTUFF_BITS(resp, 72, 8); mmc_decode_cid() 99 card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8); mmc_decode_cid() 100 card->cid.prod_name[5] = UNSTUFF_BITS(resp, 56, 8); mmc_decode_cid() 101 card->cid.prv = UNSTUFF_BITS(resp, 48, 8); mmc_decode_cid() 102 card->cid.serial = UNSTUFF_BITS(resp, 16, 32); mmc_decode_cid() 103 card->cid.month = UNSTUFF_BITS(resp, 12, 4); mmc_decode_cid() 104 card->cid.year = UNSTUFF_BITS(resp, 8, 4) + 1997; mmc_decode_cid() 495 if (card->cid.year < 2010) mmc_decode_ext_csd() 496 card->cid.year += 16; mmc_decode_ext_csd() 707 MMC_DEV_ATTR(cid, "%08x%08x%08x%08x\n", card->raw_cid[0], card->raw_cid[1], 711 MMC_DEV_ATTR(date, "%02d/%04d\n", card->cid.month, card->cid.year); 715 MMC_DEV_ATTR(hwrev, "0x%x\n", card->cid.hwrev); 716 MMC_DEV_ATTR(manfid, "0x%06x\n", card->cid.manfid); 717 MMC_DEV_ATTR(name, "%s\n", card->cid.prod_name); 718 MMC_DEV_ATTR(oemid, "0x%04x\n", card->cid.oemid); 719 MMC_DEV_ATTR(prv, "0x%x\n", card->cid.prv); 720 MMC_DEV_ATTR(serial, "0x%08x\n", card->cid.serial); 734 return sprintf(buf, "0x%x\n", card->cid.fwrev); mmc_fwrev_show() 1206 u32 cid[4]; mmc_init_card() local 1243 err = mmc_send_cid(host, cid); mmc_init_card() 1245 err = mmc_all_send_cid(host, cid); mmc_init_card() 1250 if (memcmp(cid, oldcard->raw_cid, sizeof(cid)) != 0) { mmc_init_card() 1269 memcpy(card->raw_cid, cid, sizeof(card->raw_cid)); mmc_init_card()
|
H A D | sd.c | 77 memset(&card->cid, 0, sizeof(struct mmc_cid)); mmc_decode_cid() 83 card->cid.manfid = UNSTUFF_BITS(resp, 120, 8); mmc_decode_cid() 84 card->cid.oemid = UNSTUFF_BITS(resp, 104, 16); mmc_decode_cid() 85 card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); mmc_decode_cid() 86 card->cid.prod_name[1] = UNSTUFF_BITS(resp, 88, 8); mmc_decode_cid() 87 card->cid.prod_name[2] = UNSTUFF_BITS(resp, 80, 8); mmc_decode_cid() 88 card->cid.prod_name[3] = UNSTUFF_BITS(resp, 72, 8); mmc_decode_cid() 89 card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8); mmc_decode_cid() 90 card->cid.hwrev = UNSTUFF_BITS(resp, 60, 4); mmc_decode_cid() 91 card->cid.fwrev = UNSTUFF_BITS(resp, 56, 4); mmc_decode_cid() 92 card->cid.serial = UNSTUFF_BITS(resp, 24, 32); mmc_decode_cid() 93 card->cid.year = UNSTUFF_BITS(resp, 12, 8); mmc_decode_cid() 94 card->cid.month = UNSTUFF_BITS(resp, 8, 4); mmc_decode_cid() 96 card->cid.year += 2000; /* SD cards year offset */ mmc_decode_cid() 689 MMC_DEV_ATTR(cid, "%08x%08x%08x%08x\n", card->raw_cid[0], card->raw_cid[1], 694 MMC_DEV_ATTR(date, "%02d/%04d\n", card->cid.month, card->cid.year); 697 MMC_DEV_ATTR(fwrev, "0x%x\n", card->cid.fwrev); 698 MMC_DEV_ATTR(hwrev, "0x%x\n", card->cid.hwrev); 699 MMC_DEV_ATTR(manfid, "0x%06x\n", card->cid.manfid); 700 MMC_DEV_ATTR(name, "%s\n", card->cid.prod_name); 701 MMC_DEV_ATTR(oemid, "0x%04x\n", card->cid.oemid); 702 MMC_DEV_ATTR(serial, "0x%08x\n", card->cid.serial); 729 int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr) mmc_sd_get_cid() argument 798 err = mmc_send_cid(host, cid); mmc_sd_get_cid() 800 err = mmc_all_send_cid(host, cid); mmc_sd_get_cid() 918 u32 cid[4]; mmc_sd_init_card() local 924 err = mmc_sd_get_cid(host, ocr, cid, &rocr); mmc_sd_init_card() 929 if (memcmp(cid, oldcard->raw_cid, sizeof(cid)) != 0) mmc_sd_init_card() 943 memcpy(card->raw_cid, cid, sizeof(card->raw_cid)); mmc_sd_init_card()
|
H A D | mmc_ops.c | 223 int mmc_all_send_cid(struct mmc_host *host, u32 *cid) mmc_all_send_cid() argument 229 BUG_ON(!cid); mmc_all_send_cid() 239 memcpy(cid, cmd.resp, sizeof(u32) * 4); mmc_all_send_cid() 364 int mmc_send_cid(struct mmc_host *host, u32 *cid) mmc_send_cid() argument 373 cid, MMC_SEND_CID); mmc_send_cid() 385 cid[i] = be32_to_cpu(cid_tmp[i]); mmc_send_cid()
|
/linux-4.1.27/drivers/atm/ |
H A D | he.c | 224 #define he_writel_tsr0(dev, val, cid) \ 225 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 0) 226 #define he_readl_tsr0(dev, cid) \ 227 he_readl_tcm(dev, CONFIG_TSRA | (cid << 3) | 0) 229 #define he_writel_tsr1(dev, val, cid) \ 230 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 1) 232 #define he_writel_tsr2(dev, val, cid) \ 233 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 2) 235 #define he_writel_tsr3(dev, val, cid) \ 236 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 3) 238 #define he_writel_tsr4(dev, val, cid) \ 239 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 4) 249 #define he_writel_tsr4_upper(dev, val, cid) \ 250 he_writel_internal(dev, val, CONFIG_TSRA | (cid << 3) | 4, \ 256 #define he_readl_tsr4(dev, cid) \ 257 he_readl_tcm(dev, CONFIG_TSRA | (cid << 3) | 4) 259 #define he_writel_tsr5(dev, val, cid) \ 260 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 5) 262 #define he_writel_tsr6(dev, val, cid) \ 263 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 6) 265 #define he_writel_tsr7(dev, val, cid) \ 266 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 7) 269 #define he_writel_tsr8(dev, val, cid) \ 270 he_writel_tcm(dev, val, CONFIG_TSRB | (cid << 2) | 0) 272 #define he_writel_tsr9(dev, val, cid) \ 273 he_writel_tcm(dev, val, CONFIG_TSRB | (cid << 2) | 1) 275 #define he_writel_tsr10(dev, val, cid) \ 276 he_writel_tcm(dev, val, CONFIG_TSRB | (cid << 2) | 2) 278 #define he_writel_tsr11(dev, val, cid) \ 279 he_writel_tcm(dev, val, CONFIG_TSRB | (cid << 2) | 3) 282 #define he_writel_tsr12(dev, val, cid) \ 283 he_writel_tcm(dev, val, CONFIG_TSRC | (cid << 1) | 0) 285 #define he_writel_tsr13(dev, val, cid) \ 286 he_writel_tcm(dev, val, CONFIG_TSRC | (cid << 1) | 1) 289 #define he_writel_tsr14(dev, val, cid) \ 290 he_writel_tcm(dev, val, CONFIG_TSRD | cid) 292 #define he_writel_tsr14_upper(dev, val, cid) \ 293 he_writel_internal(dev, val, CONFIG_TSRD | cid, \ 301 #define he_writel_rsr0(dev, val, cid) \ 302 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 0) 303 #define he_readl_rsr0(dev, cid) \ 304 he_readl_rcm(dev, 0x00000 | (cid << 3) | 0) 306 #define he_writel_rsr1(dev, val, cid) \ 307 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 1) 309 #define he_writel_rsr2(dev, val, cid) \ 310 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 2) 312 #define he_writel_rsr3(dev, val, cid) \ 313 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 3) 315 #define he_writel_rsr4(dev, val, cid) \ 316 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 4) 318 #define he_writel_rsr5(dev, val, cid) \ 319 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 5) 321 #define he_writel_rsr6(dev, val, cid) \ 322 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 6) 324 #define he_writel_rsr7(dev, val, cid) \ 325 he_writel_rcm(dev, val, 0x00000 | (cid << 3) | 7) 328 __find_vcc(struct he_dev *he_dev, unsigned cid) __find_vcc() argument 336 vpi = cid >> he_dev->vcibits; __find_vcc() 337 vci = cid & ((1 << he_dev->vcibits) - 1); __find_vcc() 1649 unsigned cid, lastcid = -1; he_service_rbrq() local 1662 HPRINTK("%p rbrq%d 0x%x len=%d cid=0x%x %s%s%s%s%s%s\n", he_service_rbrq() 1677 cid = RBRQ_CID(he_dev->rbrq_head); he_service_rbrq() 1678 if (cid != lastcid) he_service_rbrq() 1679 vcc = __find_vcc(he_dev, cid); he_service_rbrq() 1680 lastcid = cid; he_service_rbrq() 1683 hprintk("vcc/he_vcc == NULL (cid 0x%x)\n", cid); he_service_rbrq() 1694 hprintk("HBUF_ERR! (cid 0x%x)\n", cid); he_service_rbrq() 1706 HPRINTK("wake_up rx_waitq (cid 0x%x)\n", cid); he_service_rbrq() 1764 hprintk("pdu_len (%d) > vcc->qos.rxtp.max_sdu (%d)! cid 0x%x\n", skb->len, vcc->qos.rxtp.max_sdu, cid); he_service_rbrq() 1839 HPRINTK("wake_up(tx_waitq) cid 0x%x\n", he_service_tbrq() 2055 __enqueue_tpd(struct he_dev *he_dev, struct he_tpd *tpd, unsigned cid) __enqueue_tpd() argument 2059 HPRINTK("tpdrq %p cid 0x%x -> tpdrq_tail %p\n", __enqueue_tpd() 2060 tpd, cid, he_dev->tpdrq_tail); __enqueue_tpd() 2081 hprintk("tpdrq full (cid 0x%x)\n", cid); __enqueue_tpd() 2110 he_dev->tpdrq_tail->cid = cid; __enqueue_tpd() 2126 unsigned cid, rsr0, rsr1, rsr4, tsr0, tsr0_aal, tsr4, period, reg, clock; he_open() local 2137 cid = he_mkcid(he_dev, vpi, vci); he_open() 2163 HPRINTK("open tx cid 0x%x pcr_goal %d\n", cid, pcr_goal); he_open() 2180 tsr0 = he_readl_tsr0(he_dev, cid); he_open() 2184 hprintk("cid 0x%x not idle (tsr0 = 0x%x)\n", cid, tsr0); he_open() 2249 he_writel_tsr0(he_dev, tsr0, cid); he_open() 2250 he_writel_tsr4(he_dev, tsr4 | 1, cid); he_open() 2252 TSR1_PCR(rate_to_atmf(pcr_goal)), cid); he_open() 2253 he_writel_tsr2(he_dev, TSR2_ACR(rate_to_atmf(pcr_goal)), cid); he_open() 2254 he_writel_tsr9(he_dev, TSR9_OPEN_CONN, cid); he_open() 2256 he_writel_tsr3(he_dev, 0x0, cid); he_open() 2257 he_writel_tsr5(he_dev, 0x0, cid); he_open() 2258 he_writel_tsr6(he_dev, 0x0, cid); he_open() 2259 he_writel_tsr7(he_dev, 0x0, cid); he_open() 2260 he_writel_tsr8(he_dev, 0x0, cid); he_open() 2261 he_writel_tsr10(he_dev, 0x0, cid); he_open() 2262 he_writel_tsr11(he_dev, 0x0, cid); he_open() 2263 he_writel_tsr12(he_dev, 0x0, cid); he_open() 2264 he_writel_tsr13(he_dev, 0x0, cid); he_open() 2265 he_writel_tsr14(he_dev, 0x0, cid); he_open() 2266 (void) he_readl_tsr0(he_dev, cid); /* flush posted writes */ he_open() 2273 HPRINTK("open rx cid 0x%x (rx_waitq %p)\n", cid, he_open() 2290 rsr0 = he_readl_rsr0(he_dev, cid); he_open() 2294 hprintk("cid 0x%x not idle (rsr0 = 0x%x)\n", cid, rsr0); he_open() 2309 he_writel_rsr4(he_dev, rsr4, cid); he_open() 2310 he_writel_rsr1(he_dev, rsr1, cid); he_open() 2314 rsr0 | RSR0_START_PDU | RSR0_OPEN_CONN | aal, cid); he_open() 2315 (void) he_readl_rsr0(he_dev, cid); /* flush posted writes */ he_open() 2339 unsigned cid; he_close() local 2347 cid = he_mkcid(he_dev, vcc->vpi, vcc->vci); he_close() 2352 HPRINTK("close rx cid 0x%x\n", cid); he_close() 2360 HPRINTK("close cid 0x%x RCC_BUSY\n", cid); he_close() 2367 he_writel_rsr0(he_dev, RSR0_CLOSE_CONN, cid); he_close() 2368 (void) he_readl_rsr0(he_dev, cid); /* flush posted writes */ he_close() 2369 he_writel_mbox(he_dev, cid, RXCON_CLOSE); he_close() 2378 hprintk("close rx timeout cid 0x%x\n", cid); he_close() 2380 HPRINTK("close rx cid 0x%x complete\n", cid); he_close() 2388 HPRINTK("close tx cid 0x%x\n", cid); he_close() 2409 hprintk("close tx cid 0x%x tx_inuse = %d\n", cid, tx_inuse); he_close() 2414 he_writel_tsr4_upper(he_dev, TSR4_FLUSH_CONN, cid); he_close() 2421 | TSR1_PCR(0), cid); he_close() 2424 he_writel_tsr14_upper(he_dev, TSR14_DELETE, cid); he_close() 2427 (void) he_readl_tsr4(he_dev, cid); /* flush posted writes */ he_close() 2431 hprintk("close tx he_alloc_tpd failed cid 0x%x\n", cid); he_close() 2441 __enqueue_tpd(he_dev, tpd, cid); he_close() 2452 hprintk("close tx timeout cid 0x%x\n", cid); he_close() 2456 while (!((tsr4 = he_readl_tsr4(he_dev, cid)) & TSR4_SESSION_ENDED)) { he_close() 2457 HPRINTK("close tx cid 0x%x !TSR4_SESSION_ENDED (tsr4 = 0x%x)\n", cid, tsr4); he_close() 2461 while (TSR0_CONN_STATE(tsr0 = he_readl_tsr0(he_dev, cid)) != 0) { he_close() 2462 HPRINTK("close tx cid 0x%x TSR0_CONN_STATE != 0 (tsr0 = 0x%x)\n", cid, tsr0); he_close() 2482 HPRINTK("close tx cid 0x%x complete\n", cid); he_close() 2495 unsigned cid = he_mkcid(he_dev, vcc->vpi, vcc->vci); he_send() local 2570 __enqueue_tpd(he_dev, tpd, cid); he_send() 2605 __enqueue_tpd(he_dev, tpd, cid); he_send()
|
H A D | he.h | 183 volatile u32 cid; member in struct:he_tpdrq 237 #define HE_LOOKUP_VCC(dev, cid) ((dev)->he_vcc_table[(cid)].vcc)
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_conntrack_pptp.c | 276 __be16 cid = 0, pcid = 0; pptp_inbound_pkt() local 311 cid = pptpReq->ocack.callID; pptp_inbound_pkt() 316 ntohs(cid), ntohs(pcid)); pptp_inbound_pkt() 320 info->pac_call_id = cid; pptp_inbound_pkt() 321 exp_gre(ct, cid, pcid); pptp_inbound_pkt() 331 cid = pptpReq->icreq.callID; pptp_inbound_pkt() 332 pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid)); pptp_inbound_pkt() 334 info->pac_call_id = cid; pptp_inbound_pkt() 346 cid = info->pac_call_id; pptp_inbound_pkt() 355 exp_gre(ct, cid, pcid); pptp_inbound_pkt() 360 cid = pptpReq->disc.callID; pptp_inbound_pkt() 361 pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid)); pptp_inbound_pkt() 386 pr_debug("invalid %s: type=%d cid=%u pcid=%u " pptp_inbound_pkt() 389 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, pptp_inbound_pkt() 404 __be16 cid = 0, pcid = 0; pptp_outbound_pkt() local 429 cid = pptpReq->ocreq.callID; pptp_outbound_pkt() 430 pr_debug("%s, CID=%X\n", pptp_msg_name[msg], ntohs(cid)); pptp_outbound_pkt() 431 info->pns_call_id = cid; pptp_outbound_pkt() 440 cid = pptpReq->icack.callID; pptp_outbound_pkt() 445 ntohs(cid), ntohs(pcid)); pptp_outbound_pkt() 450 info->pns_call_id = cid; pptp_outbound_pkt() 482 pr_debug("invalid %s: type=%d cid=%u pcid=%u " pptp_outbound_pkt() 485 msg, ntohs(cid), ntohs(pcid), info->cstate, info->sstate, pptp_outbound_pkt()
|
/linux-4.1.27/drivers/isdn/gigaset/ |
H A D | ev-layer.c | 63 #define RSP_WRONG_CID -2 /* unknown cid in cmd */ 148 /* 100: init, 200: dle0, 250:dle1, 300: get cid (dial), 350: "hup" (no cid), 155 /* initialize device, set cid mode if possible */ 213 /* get cid */ 220 /* enter cid mode */ 226 /* leave cid mode */ 232 /* abort getting cid */ 407 static void add_cid_event(struct cardstate *cs, int cid, int type, add_cid_event() argument 414 gig_dbg(DEBUG_EVENT, "queueing event %d for cid %d", type, cid); add_cid_event() 426 event->cid = cid; add_cid_event() 450 int cid, parameter; gigaset_handle_modem_response() local 485 !kstrtoint(psep + 1, 10, &cid) && gigaset_handle_modem_response() 486 cid >= 1 && cid <= 65535) { gigaset_handle_modem_response() 491 cid = 0; gigaset_handle_modem_response() 495 if (cid) gigaset_handle_modem_response() 496 gig_dbg(DEBUG_EVENT, "CID: %d", cid); gigaset_handle_modem_response() 504 add_cid_event(cs, cid, rt->resp_code, NULL, 0); gigaset_handle_modem_response() 514 add_cid_event(cs, 0, rt->resp_code, NULL, cid); gigaset_handle_modem_response() 547 add_cid_event(cs, cid, rt->resp_code, ptr, 0); gigaset_handle_modem_response() 555 add_cid_event(cs, cid, rt->resp_code, NULL, ZSAU_NONE); gigaset_handle_modem_response() 568 add_cid_event(cs, cid, rt->resp_code, NULL, zr->code); gigaset_handle_modem_response() 580 add_cid_event(cs, cid, rt->resp_code, ptr, 0); gigaset_handle_modem_response() 599 add_cid_event(cs, cid, rt->resp_code, NULL, parameter); gigaset_handle_modem_response() 615 add_cid_event(cs, cid, rt->resp_code, NULL, parameter); gigaset_handle_modem_response() 622 add_cid_event(cs, cid, rt->resp_code, NULL, -1); gigaset_handle_modem_response() 698 int cid) get_free_channel() 699 /* cids: >0: siemens-cid get_free_channel() 700 * 0: without cid get_free_channel() 701 * -1: no cid assigned yet get_free_channel() 711 ret->cid = cid; get_free_channel() 718 gigaset_at_init(ret, NULL, cs, cid); get_free_channel() 759 * adding the "AT" prefix, cid and DLE encapsulation as appropriate 764 int cid = at_state->cid; send_command() local 774 if (cid > 0 && cid <= 65535) send_command() 777 cid, cmd); send_command() 788 static struct at_state_t *at_state_from_cid(struct cardstate *cs, int cid) at_state_from_cid() argument 794 if (cid == 0) at_state_from_cid() 798 if (cid == cs->bcs[i].at_state.cid) at_state_from_cid() 804 if (cid == at_state->cid) { at_state_from_cid() 970 /* Entering cid mode or getting a cid failed: 973 * channel >= 0: getting cid for the channel failed 974 * channel < 0: entering cid mode failed 986 if (cs->bcs[i].at_state.cid > 0) reinit_and_retry() 991 "Could not enter cid mode. Reinit device and try again.\n"); reinit_and_retry() 1261 at_state->cid = -1; do_action() 1286 at_state->cid = -1; do_action() 1312 case ACT_CID: /* got cid; start dialing */ do_action() 1316 cs->bcs[channel].at_state.cid = ev->parameter; do_action() 1322 /* bad cid: fall through */ do_action() 1541 if (ev->cid >= 0) { process_event() 1542 at_state = at_state_from_cid(cs, ev->cid); process_event() 1544 gig_dbg(DEBUG_EVENT, "event %d for invalid cid %d", process_event() 1545 ev->type, ev->cid); process_event() 1697 if (at_state->cid > 0) process_command_flags() 1714 if (at_state->cid > 0) process_command_flags() 1737 bcs->at_state.cid > 0) { process_command_flags() 697 get_free_channel(struct cardstate *cs, int cid) get_free_channel() argument
|
H A D | common.c | 352 event->cid = -1; gigaset_add_event() 521 struct cardstate *cs, int cid) gigaset_at_init() 541 at_state->cid = cid; gigaset_at_init() 542 if (!cid) gigaset_at_init() 800 bcs->at_state.cid = -1; /* No CID defined */ gigaset_bcs_reinit() 520 gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs, struct cardstate *cs, int cid) gigaset_at_init() argument
|
H A D | gigaset.h | 342 int cid; member in struct:at_state_t 356 int cid; member in struct:event_t 429 struct at_state_t at_state; /* at_state_t for cid == 0 */ 714 struct cardstate *cs, int cid);
|
/linux-4.1.27/drivers/misc/vmw_vmci/ |
H A D | vmci_context.h | 50 u32 cid; member in struct:vmci_ctx 134 struct vmci_ctx *vmci_ctx_create(u32 cid, u32 flags, 140 int vmci_ctx_enqueue_datagram(u32 cid, struct vmci_datagram *dg); 143 int vmci_ctx_pending_datagrams(u32 cid, u32 *pending); 144 struct vmci_ctx *vmci_ctx_get(u32 cid); 146 bool vmci_ctx_exists(u32 cid); 165 int vmci_ctx_notify_dbell(u32 cid, struct vmci_handle handle, 179 return context->cid; vmci_ctx_get_id()
|
H A D | vmci_host.c | 63 u32 cid; member in struct:vmci_init_blk 322 vmci_host_dev->context = vmci_ctx_create(init_block.cid, vmci_host_do_init_context() 334 * Copy cid to userlevel, we do this to allow the VMX vmci_host_do_init_context() 335 * to enforce its policy on cid generation. vmci_host_do_init_context() 337 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_init_context() 362 u32 cid; vmci_host_do_send_datagram() local 410 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_send_datagram() 411 send_info.result = vmci_datagram_dispatch(cid, dg, true); vmci_host_do_send_datagram() 456 u32 cid; vmci_host_do_alloc_queuepair() local 463 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_alloc_queuepair() 673 u32 cid; vmci_host_do_ctx_add_notify() local 683 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_ctx_add_notify() 684 result = vmci_ctx_add_notification(cid, ar_info.remote_cid); vmci_host_do_ctx_add_notify() 695 u32 cid; vmci_host_do_ctx_remove_notify() local 706 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_ctx_remove_notify() 707 result = vmci_ctx_remove_notification(cid, vmci_host_do_ctx_remove_notify() 718 u32 cid; vmci_host_do_ctx_get_cpt_state() local 730 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_ctx_get_cpt_state() 731 get_info.result = vmci_ctx_get_chkpt_state(cid, get_info.cpt_type, vmci_host_do_ctx_get_cpt_state() 750 u32 cid; vmci_host_do_ctx_set_cpt_state() local 776 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_ctx_set_cpt_state() 777 set_info.result = vmci_ctx_set_chkpt_state(cid, set_info.cpt_type, vmci_host_do_ctx_set_cpt_state() 828 u32 cid; vmci_host_do_notify_resource() local 843 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_notify_resource() 849 info.result = vmci_ctx_notify_dbell(cid, info.handle, vmci_host_do_notify_resource() 857 info.result = vmci_ctx_dbell_create(cid, info.handle); vmci_host_do_notify_resource() 861 info.result = vmci_ctx_dbell_destroy(cid, info.handle); vmci_host_do_notify_resource() 881 u32 cid; vmci_host_do_recv_notifications() local 902 cid = vmci_ctx_get_id(vmci_host_dev->context); vmci_host_do_recv_notifications() 904 info.result = vmci_ctx_rcv_notifications_get(cid, vmci_host_do_recv_notifications() 922 vmci_ctx_rcv_notifications_release(cid, vmci_host_do_recv_notifications()
|
H A D | vmci_context.c | 84 struct vmci_ctx *vmci_ctx_create(u32 cid, u32 priv_flags, vmci_ctx_create() argument 92 if (cid == VMCI_INVALID_ID) { vmci_ctx_create() 163 while (vmci_ctx_exists(cid)) { vmci_ctx_create() 165 cid = max(cid, VMCI_RESERVED_CID_LIMIT - 1) + 1; vmci_ctx_create() 166 if (cid == VMCI_INVALID_ID) vmci_ctx_create() 167 cid = VMCI_RESERVED_CID_LIMIT; vmci_ctx_create() 169 context->cid = cid; vmci_ctx_create() 200 * Fire notification for all contexts interested in given cid. 239 vmci_make_handle(sub_ctx->cid, ctx_fire_notification() 277 int vmci_ctx_pending_datagrams(u32 cid, u32 *pending) vmci_ctx_pending_datagrams() argument 281 context = vmci_ctx_get(cid); vmci_ctx_pending_datagrams() 297 int vmci_ctx_enqueue_datagram(u32 cid, struct vmci_datagram *dg) vmci_ctx_enqueue_datagram() argument 311 context = vmci_ctx_get(cid); vmci_ctx_enqueue_datagram() 313 pr_devel("Invalid context (ID=0x%x)\n", cid); vmci_ctx_enqueue_datagram() 351 pr_devel("Context (ID=0x%x) receive queue is full\n", cid); vmci_ctx_enqueue_datagram() 371 bool vmci_ctx_exists(u32 cid) vmci_ctx_exists() argument 379 if (context->cid == cid) { vmci_ctx_exists() 390 * Retrieves VMCI context corresponding to the given cid. 392 struct vmci_ctx *vmci_ctx_get(u32 cid) vmci_ctx_get() argument 396 if (cid == VMCI_INVALID_ID) vmci_ctx_get() 401 if (c->cid == cid) { vmci_ctx_get() 436 ctx_fire_notification(context->cid, context->priv_flags); ctx_free_ctx()
|
H A D | vmci_resource.c | 54 u32 cid = r->handle.context; vmci_resource_lookup() local 59 (cid == handle.context || cid == VMCI_INVALID_ID)) { vmci_resource_lookup()
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
H A D | av7110_ipack.c | 10 p->cid = 0; av7110_ipack_reset() 57 p->buf[3] = p->cid; send_ipack() 60 if (p->repack_subids && p->cid == PRIVATE_STREAM1) { send_ipack() 86 if (p->repack_subids && p->cid == PRIVATE_STREAM1 send_ipack() 99 p->buf[3] = p->cid; send_ipack() 173 p->cid = 0; av7110_ipack_instant_repack() 189 p->cid = buf[c]; av7110_ipack_instant_repack() 260 switch (p->cid) { av7110_ipack_instant_repack()
|
/linux-4.1.27/drivers/dma/ |
H A D | sirf-dma.c | 116 int cid = schan->chan.chan_id; sirfsoc_dma_execute() local 131 cid * 4); sirfsoc_dma_execute() 132 writel_relaxed(cid | (schan->mode << SIRFSOC_DMA_MODE_CTRL_BIT) | sirfsoc_dma_execute() 134 sdma->base + cid * 0x10 + SIRFSOC_DMA_CH_CTRL); sirfsoc_dma_execute() 135 writel_relaxed(sdesc->xlen, sdma->base + cid * 0x10 + sirfsoc_dma_execute() 137 writel_relaxed(sdesc->ylen, sdma->base + cid * 0x10 + sirfsoc_dma_execute() 140 (1 << cid), sdma->base + SIRFSOC_DMA_INT_EN); sirfsoc_dma_execute() 146 writel(sdesc->addr >> 2, sdma->base + cid * 0x10 + SIRFSOC_DMA_CH_ADDR); sirfsoc_dma_execute() 149 writel((1 << cid) | 1 << (cid + 16) | sirfsoc_dma_execute() 305 int cid = schan->chan.chan_id; sirfsoc_dma_terminate_all() local 312 ~(1 << cid), sdma->base + SIRFSOC_DMA_INT_EN); sirfsoc_dma_terminate_all() 314 & ~((1 << cid) | 1 << (cid + 16)), sirfsoc_dma_terminate_all() 317 writel_relaxed(1 << cid, sdma->base + SIRFSOC_DMA_INT_EN_CLR); sirfsoc_dma_terminate_all() 318 writel_relaxed((1 << cid) | 1 << (cid + 16), sirfsoc_dma_terminate_all() 322 writel_relaxed(1 << cid, sdma->base + SIRFSOC_DMA_CH_VALID); sirfsoc_dma_terminate_all() 336 int cid = schan->chan.chan_id; sirfsoc_dma_pause_chan() local 343 & ~((1 << cid) | 1 << (cid + 16)), sirfsoc_dma_pause_chan() 346 writel_relaxed((1 << cid) | 1 << (cid + 16), sirfsoc_dma_pause_chan() 358 int cid = schan->chan.chan_id; sirfsoc_dma_resume_chan() local 365 | ((1 << cid) | 1 << (cid + 16)), sirfsoc_dma_resume_chan() 368 writel_relaxed((1 << cid) | 1 << (cid + 16), sirfsoc_dma_resume_chan() 469 int cid = schan->chan.chan_id; sirfsoc_dma_tx_status() local 482 dma_pos = readl_relaxed(sdma->base + cid * 0x10 + SIRFSOC_DMA_CH_ADDR) sirfsoc_dma_tx_status()
|
H A D | mpc512x_dma.c | 267 int cid = mchan->chan.chan_id; mpc_dma_execute() local 307 memcpy_toio(&mdma->tcd[cid], first->tcd, sizeof(struct mpc_dma_tcd)); mpc_dma_execute() 310 mdma->tcd[cid].e_sg = 1; mpc_dma_execute() 314 out_8(&mdma->regs->dmassrt, cid); mpc_dma_execute() 317 out_8(&mdma->regs->dmaserq, cid); mpc_dma_execute() 320 out_8(&mdma->regs->dmassrt, cid); mpc_dma_execute()
|
H A D | ste_dma40.c | 3157 u32 cid; d40_hw_detect_init() local 3189 for (cid = 0, i = 0; i < 4; i++) d40_hw_detect_init() 3190 cid |= (readl(virtbase + resource_size(res) - 0x10 + 4 * i) d40_hw_detect_init() 3193 if (cid != AMBA_CID) { d40_hw_detect_init()
|
/linux-4.1.27/drivers/target/iscsi/ |
H A D | iscsi_target_erl2.c | 111 u16 cid) iscsit_get_inactive_connection_recovery_entry() 117 if (cr->cid == cid) { iscsit_get_inactive_connection_recovery_entry() 244 cmd->stat_sn, cr->cid); iscsit_discard_cr_cmds_by_expstatsn() 256 dropped_count, cr->cid, exp_statsn); iscsit_discard_cr_cmds_by_expstatsn() 261 cr->cid, sess->sid); iscsit_discard_cr_cmds_by_expstatsn() 265 " %hu on SID: %u\n", cr->cid, sess->sid); iscsit_discard_cr_cmds_by_expstatsn() 284 if (ooo_cmdsn->cid != conn->cid) iscsit_discard_unacknowledged_ooo_cmdsns_for_conn() 290 ooo_cmdsn->cmdsn, conn->cid); iscsit_discard_unacknowledged_ooo_cmdsns_for_conn() 309 " %hu for ExpCmdSN: 0x%08x.\n", dropped_count, conn->cid, iscsit_discard_unacknowledged_ooo_cmdsns_for_conn() 352 cmd->init_task_tag, cmd->cmd_sn, conn->cid); iscsit_prepare_cmds_for_realligance() 386 conn->cid); iscsit_prepare_cmds_for_realligance() 417 cr->cid = conn->cid; iscsit_prepare_cmds_for_realligance() 109 iscsit_get_inactive_connection_recovery_entry( struct iscsi_session *sess, u16 cid) iscsit_get_inactive_connection_recovery_entry() argument
|
H A D | iscsi_target_login.c | 237 __be16 cid) iscsi_login_set_conn_values() 240 conn->cid = be16_to_cpu(cid); iscsi_login_set_conn_values() 294 iscsi_login_set_conn_values(sess, conn, pdu->cid); iscsi_login_zero_tsih_s1() 540 iscsi_login_set_conn_values(NULL, conn, pdu->cid); iscsi_login_non_zero_tsih_s1() 597 iscsi_login_set_conn_values(sess, conn, pdu->cid); iscsi_login_non_zero_tsih_s2() 625 u16 cid, iscsi_login_post_auth_non_zero_tsih() 639 conn_ptr = iscsit_get_conn_from_cid_rcfr(sess, cid); iscsi_login_post_auth_non_zero_tsih() 643 conn_ptr->cid, sess->sess_ops->InitiatorName); iscsi_login_post_auth_non_zero_tsih() 660 sess, cid); iscsi_login_post_auth_non_zero_tsih() 664 conn->cid); iscsi_login_post_auth_non_zero_tsih() 676 cid, sess->sess_ops->InitiatorName); iscsi_login_post_auth_non_zero_tsih() 789 " %s:%hu,%hu\n", conn->cid, conn->login_ip, iscsi_post_login_handler() 836 conn->cid, conn->login_ip, conn->local_ip, conn->local_port, iscsi_post_login_handler() 1132 login_req->exp_statsn, login_req->cid, payload_length); iscsit_get_login_rx() 1147 login->cid = be16_to_cpu(login_req->cid); iscsit_get_login_rx() 234 iscsi_login_set_conn_values( struct iscsi_session *sess, struct iscsi_conn *conn, __be16 cid) iscsi_login_set_conn_values() argument 623 iscsi_login_post_auth_non_zero_tsih( struct iscsi_conn *conn, u16 cid, u32 exp_statsn) iscsi_login_post_auth_non_zero_tsih() argument
|
H A D | iscsi_target_util.c | 389 init_task_tag, conn->cid); iscsit_find_cmd_from_itt() 413 " dumping payload\n", init_task_tag, conn->cid); iscsit_find_cmd_from_itt_or_dump() 436 targ_xfer_tag, conn->cid); iscsit_find_cmd_from_ttt() 860 struct iscsi_conn *iscsit_get_conn_from_cid(struct iscsi_session *sess, u16 cid) iscsit_get_conn_from_cid() argument 866 if ((conn->cid == cid) && iscsit_get_conn_from_cid() 878 struct iscsi_conn *iscsit_get_conn_from_cid_rcfr(struct iscsi_session *sess, u16 cid) iscsit_get_conn_from_cid_rcfr() argument 884 if (conn->cid == cid) { iscsit_get_conn_from_cid_rcfr() 969 " SID: %u, failing connection.\n", conn->cid, iscsit_handle_nopin_response_timeout() 1034 " seconds\n", conn->cid, na->nopin_response_timeout); iscsit_start_nopin_response_timer() 1099 " interval\n", conn->cid, na->nopin_timeout); __iscsit_start_nopin_timer() 1127 " interval\n", conn->cid, na->nopin_timeout); iscsit_start_nopin_timer()
|
H A D | iscsi_target.c | 999 conn->cid); iscsit_setup_scsi_cmd() 1294 payload_length, conn->cid); iscsit_check_dataout_hdr() 1764 hdr->rtt, hdr->refcmdsn, conn->cid); iscsit_handle_task_mgt_cmd() 2161 " for SID: %u.\n", conn->cid, conn->sess->sid); iscsit_logout_closesession() 2191 " %hu on CID: %hu.\n", cmd->logout_cid, conn->cid); iscsit_logout_closeconnection() 2197 if (conn->cid == cmd->logout_cid) { iscsit_logout_closeconnection() 2209 * Handle all different cid CLOSECONNECTION requests in iscsit_logout_closeconnection() 2238 " CID: %hu on CID: %hu.\n", cmd->logout_cid, conn->cid); iscsit_logout_removeconnforrecovery() 2248 if (conn->cid == cmd->logout_cid) { iscsit_logout_removeconnforrecovery() 2251 cmd->logout_cid, conn->cid); iscsit_logout_removeconnforrecovery() 2286 hdr->cid, conn->cid); iscsit_handle_logout_cmd() 2302 cmd->logout_cid = be16_to_cpu(hdr->cid); iscsit_handle_logout_cmd() 2312 be16_to_cpu(hdr->cid) == conn->cid)) iscsit_handle_logout_cmd() 2355 hdr->begrun, hdr->runlength, conn->cid); iscsit_handle_snack() 2524 cmd->logout_cid = conn->cid; iscsit_build_conn_drop_async_message() 2577 cmd->logout_cid, conn->cid); iscsit_send_conn_drop_async_message() 2633 ntohl(hdr->offset), datain->length, conn->cid); iscsit_build_datain_pdu() 2791 " successful.\n", cmd->logout_cid, conn->cid); iscsit_build_logout_rsp() 2823 cmd->logout_cid, conn->cid); iscsit_build_logout_rsp() 2846 cmd->logout_cid, conn->cid); iscsit_build_logout_rsp() 2943 " 0x%08x CID: %hu\n", hdr->ttt, cmd->stat_sn, conn->cid); iscsit_send_unsolicited_nopin() 3076 r2t->offset, r2t->xfer_len, conn->cid); iscsit_send_r2t() 3209 cmd->se_cmd.scsi_status, conn->cid); iscsit_build_rsp_pdu() 3327 cmd->init_task_tag, cmd->stat_sn, hdr->response, conn->cid); iscsit_build_task_mgt_rsp() 3584 cmd->targ_xfer_tag, cmd->stat_sn, text_length, conn->cid, iscsit_build_text_rsp() 3708 " CID: %hu\n", ntohl(hdr->statsn), hdr->reason, conn->cid); iscsit_send_reject() 3797 conn->cid); iscsit_immediate_queue() 3897 state, conn->cid); iscsit_response_queue() 3930 cmd->i_state, conn->cid); iscsit_response_queue() 4260 " %u\n", conn->cid, sess->sid); iscsit_close_connection() 4606 u16 cid) iscsit_logout_post_handler_diffcid() 4617 if (l_conn->cid == cid) { iscsit_logout_post_handler_diffcid() 4661 if (conn->cid == cmd->logout_cid) { iscsit_logout_post_handler() 4604 iscsit_logout_post_handler_diffcid( struct iscsi_conn *conn, u16 cid) iscsit_logout_post_handler_diffcid() argument
|
H A D | iscsi_target_tmr.c | 51 " %hu.\n", hdr->rtt, conn->cid); iscsit_tmr_abort_task() 127 hdr->itt, hdr->rtt, hdr->exp_datasn, conn->cid); iscsit_tmr_task_reassign() 138 " %hu\n", ref_cmd->init_task_tag, cr->cid); iscsit_tmr_task_reassign() 197 " %hu on SID: %u\n", cr->cid, sess->sid); iscsit_task_reassign_remove_cmd() 452 cmd->init_task_tag, conn->cid); iscsit_task_reassign_complete()
|
H A D | iscsi_target_erl1.c | 516 conn->cid); iscsit_handle_status_snack() 867 if (ooo_cmdsn->cid != conn->cid) iscsit_clear_ooo_cmdsns_for_conn() 1096 ooo_cmdsn->cid = cmd->conn->cid; iscsit_handle_ooo_cmdsn() 1265 " CID: %hu.\n", cmd->init_task_tag, conn->cid); iscsit_start_dataout_timer()
|
H A D | iscsi_target_erl0.c | 927 " Connection ID: %hu from %s\n", conn->cid, iscsit_handle_connection_cleanup()
|
H A D | iscsi_target_nego.c | 708 return iscsi_login_post_auth_non_zero_tsih(conn, login->cid, iscsi_target_check_for_existing_instances()
|
H A D | iscsi_target_configfs.c | 719 " State: ", conn->cid); lio_target_nacl_show_info()
|
/linux-4.1.27/arch/arm/mach-rpc/ |
H A D | ecard.c | 333 if (!ec->cid.cd) ecard_readchunk() 628 if (ec->cid.id == 0) { ecard_prints() 632 ec->cid.manufacturer, ec->cid.product); ecard_prints() 634 if (!ec->card_desc && ec->cid.cd && ecard_prints() 644 seq_printf(m, "Simple card %d\n", ec->cid.id); ecard_prints() 794 return sprintf(buf, "%u\n", ec->cid.manufacturer); ecard_show_vendor() 800 return sprintf(buf, "%u\n", ec->cid.product); ecard_show_device() 890 struct ex_ecid cid; ecard_probe() local 904 cid.r_zero = 1; ecard_probe() 905 ecard_readbytes(&cid, ec, 0, 16, 0); ecard_probe() 906 if (cid.r_zero) ecard_probe() 909 ec->cid.id = cid.r_id; ecard_probe() 910 ec->cid.cd = cid.r_cd; ecard_probe() 911 ec->cid.is = cid.r_is; ecard_probe() 912 ec->cid.w = cid.r_w; ecard_probe() 913 ec->cid.manufacturer = ecard_getu16(cid.r_manu); ecard_probe() 914 ec->cid.product = ecard_getu16(cid.r_prod); ecard_probe() 915 ec->cid.country = cid.r_country; ecard_probe() 916 ec->cid.irqmask = cid.r_irqmask; ecard_probe() 917 ec->cid.irqoff = ecard_gets24(cid.r_irqoff); ecard_probe() 918 ec->cid.fiqmask = cid.r_fiqmask; ecard_probe() 919 ec->cid.fiqoff = ecard_gets24(cid.r_fiqoff); ecard_probe() 923 if (ec->cid.is) { ecard_probe() 924 ec->irqmask = ec->cid.irqmask; ecard_probe() 925 ec->irqaddr += ec->cid.irqoff; ecard_probe() 926 ec->fiqmask = ec->cid.fiqmask; ecard_probe() 927 ec->fiqaddr += ec->cid.fiqoff; ecard_probe() 934 if (blacklist[i].manufacturer == ec->cid.manufacturer && ecard_probe() 935 blacklist[i].product == ec->cid.product) { ecard_probe() 1024 if (ec->cid.manufacturer == ids[i].manufacturer && ecard_match_device() 1025 ec->cid.product == ids[i].product) ecard_match_device() 1115 ret = ec->cid.id == drv->id; ecard_match()
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_smp.c | 112 u32 cid, int nblks) smp_request_block() 116 struct mdp5_client_smp_state *ps = &smp->client_state[cid]; smp_request_block() 122 reserved = hw_cfg->smp.reserved[cid]; smp_request_block() 234 u32 cid, mdp5_smp_state_t *assigned) update_smp_state() 249 val |= MDP5_MDP_SMP_ALLOC_W_REG_CLIENT0(cid); update_smp_state() 253 val |= MDP5_MDP_SMP_ALLOC_W_REG_CLIENT1(cid); update_smp_state() 257 val |= MDP5_MDP_SMP_ALLOC_W_REG_CLIENT2(cid); update_smp_state() 274 u32 cid = pipe2client(pipe, i); mdp5_smp_configure() local 275 struct mdp5_client_smp_state *ps = &smp->client_state[cid]; mdp5_smp_configure() 278 update_smp_state(smp, cid, &assigned); mdp5_smp_configure() 290 u32 cid = pipe2client(pipe, i); mdp5_smp_commit() local 291 struct mdp5_client_smp_state *ps = &smp->client_state[cid]; mdp5_smp_commit() 111 smp_request_block(struct mdp5_smp *smp, u32 cid, int nblks) smp_request_block() argument 233 update_smp_state(struct mdp5_smp *smp, u32 cid, mdp5_smp_state_t *assigned) update_smp_state() argument
|
/linux-4.1.27/drivers/scsi/aacraid/ |
H A D | aachba.c | 568 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); aac_get_container_name() 767 * @cid: container identifier 778 int aac_probe_container(struct aac_dev *dev, int cid) aac_probe_container() argument 794 scsidev->id = cid; aac_probe_container() 1051 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); aac_get_container_serial() 1086 static int setinqserial(struct aac_dev *dev, void *data, int cid) setinqserial() argument 1092 le32_to_cpu(dev->adapter_info.serial[0]), cid); setinqserial() 1125 int cid = scmd_id(cmd); aac_bounds_32() local 1129 set_sense(&dev->fsa_dev[cid].sense_data, aac_bounds_32() 1132 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, aac_bounds_32() 1133 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), aac_bounds_32() 1163 readcmd2->cid = cpu_to_le16(scmd_id(cmd)); aac_read_raw_io() 1179 readcmd->cid = cpu_to_le16(scmd_id(cmd)); aac_read_raw_io() 1213 readcmd->cid = cpu_to_le16(scmd_id(cmd)); aac_read_block64() 1249 readcmd->cid = cpu_to_le32(scmd_id(cmd)); aac_read_block() 1289 writecmd2->cid = cpu_to_le16(scmd_id(cmd)); aac_write_raw_io() 1308 writecmd->cid = cpu_to_le16(scmd_id(cmd)); aac_write_raw_io() 1345 writecmd->cid = cpu_to_le16(scmd_id(cmd)); aac_write_block64() 1381 writecmd->cid = cpu_to_le32(scmd_id(cmd)); aac_write_block() 1791 u32 cid; io_callback() local 1799 cid = scmd_id(scsicmd); io_callback() 1845 dev->fsa_dev[cid].sense_data.sense_key = NO_SENSE; io_callback() 1850 set_sense(&dev->fsa_dev[cid].sense_data, NOT_READY, io_callback() 1852 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, io_callback() 1853 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), io_callback() 1863 set_sense(&dev->fsa_dev[cid].sense_data, io_callback() 1866 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, io_callback() 1867 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), io_callback() 1884 int cid; aac_read() local 1936 cid = scmd_id(scsicmd); aac_read() 1940 set_sense(&dev->fsa_dev[cid].sense_data, aac_read() 1943 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, aac_read() 1944 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), aac_read() 1991 int cid; aac_write() local 2033 cid = scmd_id(scsicmd); aac_write() 2037 set_sense(&dev->fsa_dev[cid].sense_data, aac_write() 2040 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, aac_write() 2041 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), aac_write() 2109 u32 cid = sdev_id(sdev); synchronize_callback() local 2115 set_sense(&dev->fsa_dev[cid].sense_data, synchronize_callback() 2118 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, synchronize_callback() 2119 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), synchronize_callback() 2220 synchronizecmd->cid = cpu_to_le32(scmd_id(scsicmd)); aac_synchronize() 2300 pmcmd->cid = cpu_to_le32(sdev_id(sdev)); aac_start_stop() 2338 u32 cid; aac_scsi_cmd() local 2350 cid = scmd_id(scsicmd); aac_scsi_cmd() 2351 if (cid != host->this_id) { aac_scsi_cmd() 2353 if((cid >= dev->maximum_num_containers) || aac_scsi_cmd() 2364 if (((fsa_dev_ptr[cid].valid & 1) == 0) || aac_scsi_cmd() 2365 (fsa_dev_ptr[cid].sense_data.sense_key == aac_scsi_cmd() 2405 set_sense(&dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2408 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2409 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), aac_scsi_cmd() 2422 dprintk((KERN_DEBUG "INQUIRY command, ID: %d.\n", cid)); aac_scsi_cmd() 2469 set_sense(&dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2473 &dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2475 sizeof(dev->fsa_dev[cid].sense_data), aac_scsi_cmd() 2490 if (cid == host->this_id) { aac_scsi_cmd() 2501 setinqstr(dev, (void *) (inq_data.inqd_vid), fsa_dev_ptr[cid].type); aac_scsi_cmd() 2517 capacity = fsa_dev_ptr[cid].size - 1; aac_scsi_cmd() 2526 cp[8] = (fsa_dev_ptr[cid].block_size >> 24) & 0xff; aac_scsi_cmd() 2527 cp[9] = (fsa_dev_ptr[cid].block_size >> 16) & 0xff; aac_scsi_cmd() 2528 cp[10] = (fsa_dev_ptr[cid].block_size >> 8) & 0xff; aac_scsi_cmd() 2529 cp[11] = (fsa_dev_ptr[cid].block_size) & 0xff; aac_scsi_cmd() 2557 if (fsa_dev_ptr[cid].size <= 0x100000000ULL) aac_scsi_cmd() 2558 capacity = fsa_dev_ptr[cid].size - 1; aac_scsi_cmd() 2566 cp[4] = (fsa_dev_ptr[cid].block_size >> 24) & 0xff; aac_scsi_cmd() 2567 cp[5] = (fsa_dev_ptr[cid].block_size >> 16) & 0xff; aac_scsi_cmd() 2568 cp[6] = (fsa_dev_ptr[cid].block_size >> 8) & 0xff; aac_scsi_cmd() 2569 cp[7] = (fsa_dev_ptr[cid].block_size) & 0xff; aac_scsi_cmd() 2586 if (fsa_dev_ptr[cid].size <= 0x100000000ULL) aac_scsi_cmd() 2587 capacity = fsa_dev_ptr[cid].size - 1; aac_scsi_cmd() 2611 (fsa_dev_ptr[cid].block_size >> 16) & 0xff; aac_scsi_cmd() 2613 (fsa_dev_ptr[cid].block_size >> 8) & 0xff; aac_scsi_cmd() 2615 fsa_dev_ptr[cid].block_size & 0xff; aac_scsi_cmd() 2666 if (fsa_dev_ptr[cid].size <= 0x100000000ULL) aac_scsi_cmd() 2667 capacity = fsa_dev_ptr[cid].size - 1; aac_scsi_cmd() 2700 (fsa_dev_ptr[cid].block_size >> 16) & 0xff; aac_scsi_cmd() 2702 (fsa_dev_ptr[cid].block_size >> 8) & 0xff; aac_scsi_cmd() 2704 fsa_dev_ptr[cid].block_size & 0xff; aac_scsi_cmd() 2741 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sizeof (struct sense_data)); aac_scsi_cmd() 2742 memset(&dev->fsa_dev[cid].sense_data, 0, sizeof (struct sense_data)); aac_scsi_cmd() 2750 fsa_dev_ptr[cid].locked = 1; aac_scsi_cmd() 2752 fsa_dev_ptr[cid].locked = 0; aac_scsi_cmd() 2761 if (fsa_dev_ptr[cid].sense_data.sense_key == NOT_READY) { aac_scsi_cmd() 2764 set_sense(&dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2768 &dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2770 sizeof(dev->fsa_dev[cid].sense_data), aac_scsi_cmd() 2804 strlcpy(fsa_dev_ptr[cid].devname, aac_scsi_cmd() 2806 min(sizeof(fsa_dev_ptr[cid].devname), aac_scsi_cmd() 2836 set_sense(&dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2839 memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, aac_scsi_cmd() 2841 sizeof(dev->fsa_dev[cid].sense_data), aac_scsi_cmd()
|
H A D | aacraid.h | 1402 __le32 cid; member in struct:aac_read 1411 __le16 cid; member in struct:aac_read64 1428 __le32 cid; member in struct:aac_write 1438 __le16 cid; member in struct:aac_write64 1456 __le16 cid; member in struct:aac_raw_io 1467 __le16 cid; member in struct:aac_raw_io2 1483 __le32 cid; member in struct:aac_synchronize 1511 __le32 cid; member in struct:aac_power_management 1808 __le32 cid; member in struct:aac_get_name 1832 __le32 cid; member in struct:aac_get_serial 1848 __le32 cid; member in struct:aac_close 2146 int aac_probe_container(struct aac_dev *dev, int cid);
|
H A D | linit.c | 424 unsigned cid; aac_slave_configure() local 432 for (cid = 0; cid < aac->maximum_num_containers; ++cid) aac_slave_configure() 433 if (aac->fsa_dev[cid].valid) aac_slave_configure()
|
H A D | comminit.c | 235 cmd->cid = cpu_to_le32(0xfffffffe); aac_send_shutdown()
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
H A D | wmi.c | 328 wil_dbg_wmi(wil, "qid %d mid %d cid %d\n", wmi_evt_rx_mgmt() 329 data->info.qid, data->info.mid, data->info.cid); wmi_evt_rx_mgmt() 410 if (evt->cid >= WIL6210_MAX_CID) { wmi_evt_connect() 411 wil_err(wil, "Connect CID invalid : %d\n", evt->cid); wmi_evt_connect() 416 wil_dbg_wmi(wil, "Connect %pM channel [%d] cid %d\n", wmi_evt_connect() 417 evt->bssid, ch, evt->cid); wmi_evt_connect() 469 ether_addr_copy(wil->sta[evt->cid].addr, evt->bssid); wmi_evt_connect() 470 wil->sta[evt->cid].status = wil_sta_conn_pending; wmi_evt_connect() 472 wil->pending_connect_cid = evt->cid; wmi_evt_connect() 505 int cid; wmi_evt_eapol_rx() local 511 cid = wil_find_cid(wil, evt->src_mac); wmi_evt_eapol_rx() 512 if (cid >= 0) wmi_evt_eapol_rx() 513 stats = &wil->sta[cid].stats; wmi_evt_eapol_rx() 546 static void wil_addba_tx_cid(struct wil6210_priv *wil, u8 cid, u16 wsize) wil_addba_tx_cid() argument 552 if (cid != wil->vring2cid_tid[i][0]) wil_addba_tx_cid() 565 u8 cid = evt->cid; wmi_evt_linkup() local 567 wil_dbg_wmi(wil, "Link UP for CID %d\n", cid); wmi_evt_linkup() 569 if (cid >= ARRAY_SIZE(wil->sta)) { wmi_evt_linkup() 570 wil_err(wil, "Link UP for invalid CID %d\n", cid); wmi_evt_linkup() 574 wil->sta[cid].data_port_open = true; wmi_evt_linkup() 576 wil_addba_tx_cid(wil, cid, agg_wsize); wmi_evt_linkup() 583 u8 cid = evt->cid; wmi_evt_linkdown() local 586 cid, le32_to_cpu(evt->reason)); wmi_evt_linkdown() 588 if (cid >= ARRAY_SIZE(wil->sta)) { wmi_evt_linkdown() 589 wil_err(wil, "Link DOWN for invalid CID %d\n", cid); wmi_evt_linkdown() 593 wil->sta[cid].data_port_open = false; wmi_evt_linkdown() 642 u8 cid, tid; variable 648 parse_cidxtid(evt->cidxtid, &cid, &tid); 650 cid, tid, 657 if ((wil->vring2cid_tid[i][0] == cid) && 675 sta = &wil->sta[cid]; 1214 int wmi_addba_rx_resp(struct wil6210_priv *wil, u8 cid, u8 tid, u8 token, wmi_addba_rx_resp() argument 1219 .cidxtid = mk_cidxtid(cid, tid), wmi_addba_rx_resp() 1238 cid, tid, agg_wsize, timeout, status, amsdu ? "+" : "-"); wmi_addba_rx_resp()
|
H A D | cfg80211.c | 108 int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, wil_cid_fill_sinfo() argument 112 .cid = cid, wil_cid_fill_sinfo() 119 struct wil_net_stats *stats = &wil->sta[cid].stats; wil_cid_fill_sinfo() 132 cid, le16_to_cpu(reply.evt.bf_mcs), wil_cid_fill_sinfo() 181 int cid = wil_find_cid(wil, mac); wil_cfg80211_get_station() local 183 wil_dbg_misc(wil, "%s(%pM) CID %d\n", __func__, mac, cid); wil_cfg80211_get_station() 184 if (cid < 0) wil_cfg80211_get_station() 185 return cid; wil_cfg80211_get_station() 187 rc = wil_cid_fill_sinfo(wil, cid, sinfo); wil_cfg80211_get_station() 216 int cid = wil_find_cid_by_idx(wil, idx); wil_cfg80211_dump_station() local 218 if (cid < 0) wil_cfg80211_dump_station() 221 ether_addr_copy(mac, wil->sta[cid].addr); wil_cfg80211_dump_station() 222 wil_dbg_misc(wil, "%s(%pM) CID %d\n", __func__, mac, cid); wil_cfg80211_dump_station() 224 rc = wil_cid_fill_sinfo(wil, cid, sinfo); wil_cfg80211_dump_station() 845 struct wil_sta_info *sta = &wil->sta[req->cid]; wil_probe_client_handle() 907 int cid = wil_find_cid(wil, peer); wil_cfg80211_probe_client() local 909 wil_dbg_misc(wil, "%s(%pM => CID %d)\n", __func__, peer, cid); wil_cfg80211_probe_client() 911 if (cid < 0) wil_cfg80211_probe_client() 918 req->cid = cid; wil_cfg80211_probe_client() 919 req->cookie = cid; wil_cfg80211_probe_client()
|
H A D | rx_reorder.c | 99 int cid = wil_rxdesc_cid(d); variable 103 struct wil_sta_info *sta = &wil->sta[cid]; 109 mid, cid, tid, seq, mcast); 282 u8 cid, tid; variable 299 parse_cidxtid(req->cidxtid, &cid, &tid); 302 if (cid >= WIL6210_MAX_CID) { 303 wil_err(wil, "BACK: invalid CID %d\n", cid); 307 sta = &wil->sta[cid]; 309 wil_err(wil, "BACK: CID %d not connected\n", cid); 315 cid, sta->addr, tid, req_agg_wsize, req->ba_timeout, 326 rc = wmi_addba_rx_resp(wil, cid, tid, req->dialog_token, status,
|
H A D | main.c | 136 static void wil_disconnect_cid(struct wil6210_priv *wil, int cid, 143 struct wil_sta_info *sta = &wil->sta[cid]; 146 wil_dbg_misc(wil, "%s(CID %d, status %d)\n", __func__, cid, 178 if (wil->vring2cid_tid[i][0] == cid) 187 int cid = -ENOENT; _wil6210_disconnect() local 205 cid = wil_find_cid(wil, bssid); _wil6210_disconnect() 207 bssid, cid, reason_code); _wil6210_disconnect() 208 if (cid >= 0) /* disconnect 1 peer */ _wil6210_disconnect() 209 wil_disconnect_cid(wil, cid, reason_code, from_event); _wil6210_disconnect() 212 for (cid = 0; cid < WIL6210_MAX_CID; cid++) _wil6210_disconnect() 213 wil_disconnect_cid(wil, cid, reason_code, from_event); _wil6210_disconnect() 401 int cid = wil->pending_connect_cid; wil_connect_worker() local 404 if (cid < 0) { wil_connect_worker() 409 wil_dbg_wmi(wil, "Configure for connection CID %d\n", cid); wil_connect_worker() 411 rc = wil_vring_init_tx(wil, ringid, 1 << tx_ring_order, cid, 0); wil_connect_worker() 414 wil->sta[cid].status = wil_sta_connected; wil_connect_worker() 417 wil->sta[cid].status = wil_sta_unused; wil_connect_worker()
|
H A D | trace.h | 165 __field(u8, cid) 176 __entry->cid = wil_rxdesc_cid(d); 183 TP_printk("index %d len %d mid %d cid %d tid %d mcs %d seq 0x%03x" 185 __entry->mid, __entry->cid, __entry->tid, __entry->mcs,
|
H A D | txrx.c | 381 int cid; wil_vring_reap_rx() local 427 cid = wil_rxdesc_cid(d); wil_vring_reap_rx() 428 stats = &wil->sta[cid].stats; wil_vring_reap_rx() 526 int cid = wil_rxdesc_cid(d); /* always 0..7, no need to check */ wil_netif_rx_any() local 532 struct wil_net_stats *stats = &wil->sta[cid].stats; wil_netif_rx_any() 676 int cid, int tid) wil_vring_init_tx() 688 .cidxtid = mk_cidxtid(cid, tid), wil_vring_init_tx() 722 wil->vring2cid_tid[id][0] = cid; wil_vring_init_tx() 741 if (wil->sta[cid].data_port_open && (agg_wsize >= 0)) wil_vring_init_tx() 846 int cid = wil_find_cid(wil, eth->h_dest); wil_find_tx_ucast() local 848 if (cid < 0) wil_find_tx_ucast() 851 if (!wil->sta[cid].data_port_open && wil_find_tx_ucast() 857 if (wil->vring2cid_tid[i][0] == cid) { wil_find_tx_ucast() 882 u8 cid; wil_find_tx_vring_sta() local 893 cid = wil->vring2cid_tid[i][0]; wil_find_tx_vring_sta() 894 if (cid >= WIL6210_MAX_CID) /* skip BCAST */ wil_find_tx_vring_sta() 897 if (!wil->sta[cid].data_port_open && wil_find_tx_vring_sta() 942 int cid = wil->vring2cid_tid[vring_index][0]; wil_set_da_for_vring() local 944 ether_addr_copy(eth->h_dest, wil->sta[cid].addr); wil_set_da_for_vring() 953 u8 cid; wil_find_tx_bcast_2() local 963 cid = wil->vring2cid_tid[i][0]; wil_find_tx_bcast_2() 964 if (cid >= WIL6210_MAX_CID) /* skip BCAST */ wil_find_tx_bcast_2() 966 if (!wil->sta[cid].data_port_open) wil_find_tx_bcast_2() 970 if (0 == memcmp(wil->sta[cid].addr, src, ETH_ALEN)) wil_find_tx_bcast_2() 989 cid = wil->vring2cid_tid[i][0]; wil_find_tx_bcast_2() 990 if (cid >= WIL6210_MAX_CID) /* skip BCAST */ wil_find_tx_bcast_2() 992 if (!wil->sta[cid].data_port_open) wil_find_tx_bcast_2() 995 if (0 == memcmp(wil->sta[cid].addr, src, ETH_ALEN)) wil_find_tx_bcast_2() 1351 int cid = wil->vring2cid_tid[ringid][0]; wil_tx_complete() local 1371 if (cid < WIL6210_MAX_CID) wil_tx_complete() 1372 stats = &wil->sta[cid].stats; wil_tx_complete() 675 wil_vring_init_tx(struct wil6210_priv *wil, int id, int size, int cid, int tid) wil_vring_init_tx() argument
|
H A D | wil6210.h | 286 * @cid: CID value 291 static inline u8 mk_cidxtid(u8 cid, u8 tid) mk_cidxtid() argument 293 return ((tid & 0xf) << 4) | (cid & 0xf); mk_cidxtid() 298 * @cid: store CID value here 303 static inline void parse_cidxtid(u8 cidxtid, u8 *cid, u8 *tid) parse_cidxtid() argument 305 *cid = cidxtid & 0xf; parse_cidxtid() 526 u8 cid; member in struct:wil_probe_client_req 717 int wmi_addba_rx_resp(struct wil6210_priv *wil, u8 cid, u8 tid, u8 token, 742 int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, 761 int cid, int tid);
|
H A D | wmi.h | 638 u8 cid; member in struct:wmi_notify_req_cmd 961 u8 cid; member in struct:wmi_get_status_done_event 1059 u8 cid; member in struct:wmi_connect_event 1191 u8 cid; member in struct:wmi_wbe_link_down_event 1200 u8 cid; member in struct:wmi_data_port_open_event 1319 u8 cid; member in struct:wmi_rx_mgmt_info
|
H A D | debugfs.c | 98 int cid = wil->vring2cid_tid[i][0]; wil_vring_debugfs_show() local 124 if (cid < WIL6210_MAX_CID) wil_vring_debugfs_show() 127 wil->sta[cid].addr, cid, tid, wil_vring_debugfs_show() 936 cmd.cid = i; wil_bf_debugfs_show()
|
H A D | txrx.h | 297 * bit 4.. 6 : cid:3 The Source index that was found during parsing the TA.
|
/linux-4.1.27/net/sctp/ |
H A D | debug.c | 63 const char *sctp_cname(const sctp_subtype_t cid) sctp_cname() argument 65 if (cid.chunk <= SCTP_CID_BASE_MAX) sctp_cname() 66 return sctp_cid_tbl[cid.chunk]; sctp_cname() 68 switch (cid.chunk) { sctp_cname()
|
H A D | sm_statetable.c | 56 sctp_cid_t cid, 905 sctp_cid_t cid, sctp_chunk_event_lookup() 911 if (cid <= SCTP_CID_BASE_MAX) sctp_chunk_event_lookup() 912 return &chunk_event_table[cid][state]; sctp_chunk_event_lookup() 915 if (cid == SCTP_CID_FWD_TSN) sctp_chunk_event_lookup() 920 if (cid == SCTP_CID_ASCONF) sctp_chunk_event_lookup() 923 if (cid == SCTP_CID_ASCONF_ACK) sctp_chunk_event_lookup() 928 if (cid == SCTP_CID_AUTH) sctp_chunk_event_lookup() 904 sctp_chunk_event_lookup(struct net *net, sctp_cid_t cid, sctp_state_t state) sctp_chunk_event_lookup() argument
|
H A D | sm_make_chunk.c | 2109 sctp_cid_t cid, sctp_verify_param() 2216 __func__, ntohs(param.p->type), cid); sctp_verify_param() 2226 const struct sctp_association *asoc, sctp_cid_t cid, sctp_verify_init() 2262 if ((SCTP_CID_INIT_ACK == cid) && !has_cookie) 2268 result = sctp_verify_param(net, ep, asoc, param, cid, sctp_walk_params() 2481 * cid tells us if this is an INIT, INIT ACK or COOKIE ECHO. 2105 sctp_verify_param(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, union sctp_params param, sctp_cid_t cid, struct sctp_chunk *chunk, struct sctp_chunk **err_chunk) sctp_verify_param() argument 2225 sctp_verify_init(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, sctp_cid_t cid, sctp_init_chunk_t *peer_init, struct sctp_chunk *chunk, struct sctp_chunk **errp) sctp_verify_init() argument
|
/linux-4.1.27/drivers/ps3/ |
H A D | ps3av.c | 147 #define ps3av_event_get_port_id(cid) ((cid >> 16) & 0xff) 149 static u32 *ps3av_search_cmd_table(u32 cid, u32 mask) ps3av_search_cmd_table() argument 156 if ((*table & mask) == (cid & mask)) ps3av_search_cmd_table() 168 if (hdr->cid & PS3AV_EVENT_CMD_MASK) { ps3av_parse_event_packet() 169 table = ps3av_search_cmd_table(hdr->cid, PS3AV_EVENT_CMD_MASK); ps3av_parse_event_packet() 172 "recv event packet cid:%08x port:0x%x size:%d\n", ps3av_parse_event_packet() 173 hdr->cid, ps3av_event_get_port_id(hdr->cid), ps3av_parse_event_packet() 177 "%s: failed event packet, cid:%08x size:%d\n", ps3av_parse_event_packet() 178 __func__, hdr->cid, hdr->size); ps3av_parse_event_packet() 240 cmd = send_buf->cid; ps3av_send_cmd_pkt() 253 res = ps3av_vuart_read(ps3av->dev, &recv_buf->cid, ps3av_send_cmd_pkt() 266 if ((cmd | PS3AV_REPLY_BIT) != recv_buf->cid) { ps3av_send_cmd_pkt() 268 __func__, recv_buf->cid); ps3av_send_cmd_pkt() 293 void ps3av_set_hdr(u32 cid, u16 size, struct ps3av_send_hdr *hdr) ps3av_set_hdr() argument 297 hdr->cid = cid; ps3av_set_hdr() 300 int ps3av_do_pkt(u32 cid, u16 send_len, size_t usr_buf_size, ps3av_do_pkt() argument 310 table = ps3av_search_cmd_table(cid, PS3AV_CID_MASK); ps3av_do_pkt() 317 ps3av_set_hdr(cid, send_len, buf); ps3av_do_pkt() 343 printk(KERN_ERR "%s: failed cid:%x res:%d\n", __func__, cid, res); ps3av_do_pkt()
|
H A D | ps3av_cmd.c | 844 u32 cid; ps3av_cmd_audio_active() local 849 cid = active ? PS3AV_CID_AUDIO_ACTIVE : PS3AV_CID_AUDIO_INACTIVE; ps3av_cmd_audio_active() 851 res = ps3av_do_pkt(cid, sizeof(audio_active), sizeof(audio_active), ps3av_cmd_audio_active() 858 printk(KERN_ERR "PS3AV_CID_AUDIO_ACTIVE:%x failed %x\n", cid, ps3av_cmd_audio_active()
|
/linux-4.1.27/net/vmw_vsock/ |
H A D | vsock_addr.c | 22 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port) vsock_addr_init() argument 26 addr->svm_cid = cid; vsock_addr_init()
|
H A D | vmci_transport.c | 145 /* We register the stream control handler as an any cid handle so we vmci_transport_packet_init() 640 static bool vmci_transport_stream_allow(u32 cid, u32 port) vmci_transport_stream_allow() argument 647 BUILD_BUG_ON(sizeof(cid) != sizeof(*non_socket_contexts)); vmci_transport_stream_allow() 650 if (cid == non_socket_contexts[i]) vmci_transport_stream_allow() 1792 static bool vmci_transport_dgram_allow(u32 cid, u32 port) vmci_transport_dgram_allow() argument 1794 if (cid == VMADDR_CID_HYPERVISOR) { vmci_transport_dgram_allow()
|
H A D | af_vsock.c | 545 u32 cid; __vsock_bind() local 557 cid = transport->get_local_cid(); __vsock_bind() 558 if (addr->svm_cid != cid && addr->svm_cid != VMADDR_CID_ANY) __vsock_bind()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fifo.c | 535 * @cid: The hardware context id used for the query. 540 uint32_t cid) vmw_fifo_emit_dummy_legacy_query() 544 * actually finish all queries for this cid vmw_fifo_emit_dummy_legacy_query() 563 cmd->body.cid = cid; vmw_fifo_emit_dummy_legacy_query() 584 * @cid: The hardware context id used for the query. 589 uint32_t cid) vmw_fifo_emit_dummy_gb_query() 593 * actually finish all queries for this cid vmw_fifo_emit_dummy_gb_query() 612 cmd->body.cid = cid; vmw_fifo_emit_dummy_gb_query() 629 * @cid: The hardware context id used for the query. 643 uint32_t cid) vmw_fifo_emit_dummy_query() 646 return vmw_fifo_emit_dummy_gb_query(dev_priv, cid); vmw_fifo_emit_dummy_query() 648 return vmw_fifo_emit_dummy_legacy_query(dev_priv, cid); vmw_fifo_emit_dummy_query() 539 vmw_fifo_emit_dummy_legacy_query(struct vmw_private *dev_priv, uint32_t cid) vmw_fifo_emit_dummy_legacy_query() argument 588 vmw_fifo_emit_dummy_gb_query(struct vmw_private *dev_priv, uint32_t cid) vmw_fifo_emit_dummy_gb_query() argument 642 vmw_fifo_emit_dummy_query(struct vmw_private *dev_priv, uint32_t cid) vmw_fifo_emit_dummy_query() argument
|
H A D | vmwgfx_context.c | 140 cmd->body.cid = cpu_to_le32(res->id); vmw_hw_context_destroy() 220 cmd->body.cid = cpu_to_le32(res->id); vmw_context_init() 282 cmd->body.cid = res->id; vmw_gb_context_create() 315 cmd->body.cid = res->id; vmw_gb_context_bind() 366 cmd1->body.cid = res->id; vmw_gb_context_unbind() 371 cmd2->body.cid = res->id; vmw_gb_context_unbind() 412 cmd->body.cid = res->id; vmw_gb_context_destroy() 465 return ttm_ref_object_base_unref(tfile, arg->cid, TTM_REF_USAGE); vmw_context_destroy_ioctl() 532 arg->cid = ctx->base.hash.key; vmw_context_define_ioctl() 564 cmd->body.cid = bi->ctx->id; vmw_context_scrub_shader() 597 cmd->body.cid = bi->ctx->id; vmw_context_scrub_render_target() 638 cmd->body.c.cid = bi->ctx->id; vmw_context_scrub_texture()
|
H A D | svga3d_reg.h | 1387 uint32 cid; member in struct:__anon4485 1392 uint32 cid; member in struct:__anon4486 1397 uint32 cid; member in struct:__anon4487 1488 uint32 cid; member in struct:__anon4495 1494 uint32 cid; member in struct:__anon4496 1712 uint32 cid; member in struct:__anon4507 1742 uint32 cid; member in struct:__anon4510 1748 uint32 cid; member in struct:__anon4511 1761 uint32 cid; member in struct:__anon4513 1776 uint32 cid; member in struct:__anon4515 1783 uint32 cid; member in struct:__anon4516 1790 uint32 cid; member in struct:__anon4517 1797 uint32 cid; member in struct:__anon4518 1803 uint32 cid; member in struct:__anon4519 1809 uint32 cid; member in struct:__anon4520 1816 uint32 cid; member in struct:__anon4521 1824 uint32 cid; member in struct:__anon4522 1831 uint32 cid; member in struct:__anon4523 1840 uint32 cid; member in struct:__anon4524 1847 uint32 cid; member in struct:__anon4525 1853 uint32 cid; member in struct:__anon4526 1860 uint32 cid; /* Same parameters passed to END_QUERY */ member in struct:__anon4527 2231 uint32 cid; member in struct:SVGA3dCmdDefineGBContext 2241 uint32 cid; member in struct:SVGA3dCmdDestroyGBContext 2259 uint32 cid; member in struct:SVGA3dCmdBindGBContext 2272 uint32 cid; member in struct:SVGA3dCmdReadbackGBContext 2281 uint32 cid; member in struct:SVGA3dCmdInvalidateGBContext 2319 uint32 cid; member in struct:__anon4537 2336 uint32 cid; member in struct:__anon4538 2343 uint32 cid; member in struct:__anon4539 2361 uint32 cid; member in struct:__anon4540
|
H A D | vmwgfx_execbuf.c | 619 uint32_t cid; vmw_cmd_cid_check() member in struct:vmw_cid_cmd 624 user_context_converter, &cmd->cid, NULL); vmw_cmd_cid_check() 642 user_context_converter, &cmd->body.cid, vmw_cmd_set_render_target_check() 1005 user_context_converter, &cmd->q.cid, vmw_cmd_begin_gb_query() 1038 gb_cmd.q.cid = cmd->q.cid; vmw_cmd_begin_query() 1046 user_context_converter, &cmd->q.cid, vmw_cmd_begin_query() 1114 gb_cmd.q.cid = cmd->q.cid; vmw_cmd_end_query() 1201 gb_cmd.q.cid = cmd->q.cid; vmw_cmd_wait_query() 1359 user_context_converter, &cmd->state.cid, vmw_cmd_tex_state() 1653 user_context_converter, &cmd->body.cid, vmw_cmd_shader_define() 1700 user_context_converter, &cmd->body.cid, vmw_cmd_shader_destroy() 1747 user_context_converter, &cmd->body.cid, vmw_cmd_set_shader() 1810 user_context_converter, &cmd->body.cid, vmw_cmd_set_shader_const()
|
H A D | vmwgfx_drv.h | 730 uint32_t cid);
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
H A D | be_iscsi.c | 125 * @cid: iscsi cid 128 beiscsi_conn_create(struct iscsi_cls_session *cls_session, u32 cid) beiscsi_conn_create() argument 142 "BS_%d : In beiscsi_conn_create ,cid" beiscsi_conn_create() 143 "from iscsi layer=%d\n", cid); beiscsi_conn_create() 145 cls_conn = iscsi_conn_setup(cls_session, sizeof(*beiscsi_conn), cid); beiscsi_conn_create() 164 * @cid: The cid to free 168 unsigned int cid) beiscsi_bindconn_cid() 170 uint16_t cri_index = BE_GET_CRI_FROM_CID(cid); beiscsi_bindconn_cid() 1005 * beiscsi_get_cid - Allocate a cid 1010 unsigned short cid = 0xFFFF, cid_from_ulp; beiscsi_get_cid() local 1025 return cid; beiscsi_get_cid() 1027 cid = cid_info->cid_array[cid_info->cid_alloc++]; beiscsi_get_cid() 1035 return cid; beiscsi_get_cid() 1039 * beiscsi_put_cid - Free the cid 1040 * @phba: The phba for which the cid is being freed 1041 * @cid: The cid to free 1043 static void beiscsi_put_cid(struct beiscsi_hba *phba, unsigned short cid) beiscsi_put_cid() argument 1049 uint16_t cri_index = BE_GET_CRI_FROM_CID(cid); beiscsi_put_cid() 1058 cid_info->cid_array[cid_info->cid_free++] = cid; beiscsi_put_cid() 1118 "BS_%d : No free cid available\n"); beiscsi_open_conn() 1153 "BS_%d : mgmt_open_connection Failed for cid=%d\n", beiscsi_open_conn() 1315 "BS_%d : upload failed for cid 0x%x\n", beiscsi_close_conn() 1332 * @cid: The cid to free 1335 unsigned int cid) beiscsi_unbind_conn_to_cid() 1337 uint16_t cri_index = BE_GET_CRI_FROM_CID(cid); beiscsi_unbind_conn_to_cid() 1392 "BS_%d : mgmt_invalidate_connection Failed for cid=%d\n", beiscsi_ep_disconnect() 166 beiscsi_bindconn_cid(struct beiscsi_hba *phba, struct beiscsi_conn *beiscsi_conn, unsigned int cid) beiscsi_bindconn_cid() argument 1334 beiscsi_unbind_conn_to_cid(struct beiscsi_hba *phba, unsigned int cid) beiscsi_unbind_conn_to_cid() argument
|
H A D | be_mgmt.h | 106 unsigned short cid, 110 unsigned int num_invalidate, unsigned int cid, 121 unsigned short cid; member in struct:iscsi_invalidate_connection_params_in 129 unsigned short cid; member in struct:iscsi_invalidate_connection_params_out 274 unsigned short cid,
|
H A D | be_main.h | 247 unsigned int cid; member in struct:sgl_handle 298 unsigned short cid; member in struct:invalidate_command_table 312 unsigned short cid; member in struct:hwi_wrb_context 382 #define BE_SET_CID_TO_CRI(cri_index, cid) \ 383 (phba->cid_to_cri_map[cid] = cri_index) 384 #define BE_GET_CRI_FROM_CID(cid) (phba->cid_to_cri_map[cid]) 396 * for cid to cri conversion 503 unsigned short cid; member in struct:beiscsi_io_task 645 #define BE_GET_ASYNC_CRI_FROM_CID(cid) (pasync_ctx->cid_to_async_cri_map[cid]) 670 u8 cid[10]; member in struct:amap_i_t_dpdu_cqe 687 u8 cid[13]; /* DWORD 3 */ member in struct:amap_i_t_dpdu_cqe_v2 832 struct wrb_handle *alloc_wrb_handle(struct beiscsi_hba *phba, unsigned int cid);
|
H A D | be_main.c | 229 unsigned int cid, tag, num_invalidate; beiscsi_eh_abort() local 259 cid = beiscsi_conn->beiscsi_conn_cid; beiscsi_eh_abort() 262 inv_tbl->cid = cid; beiscsi_eh_abort() 277 cid, &nonemb_cmd); beiscsi_eh_abort() 307 unsigned int cid, tag, i, num_invalidate; beiscsi_eh_device_reset() local 321 cid = beiscsi_conn->beiscsi_conn_cid; beiscsi_eh_device_reset() 339 inv_tbl->cid = cid; beiscsi_eh_device_reset() 359 cid, &nonemb_cmd); beiscsi_eh_device_reset() 1188 * @cid: The cid to use for allocation 1192 struct wrb_handle *alloc_wrb_handle(struct beiscsi_hba *phba, unsigned int cid) alloc_wrb_handle() argument 1197 uint16_t cri_index = BE_GET_CRI_FROM_CID(cid); alloc_wrb_handle() 1421 uint16_t wrb_index, cid, cri_index; hwi_complete_drvr_msgs() local 1427 cid = AMAP_GET_BITS(struct amap_it_dmsg_cqe, hwi_complete_drvr_msgs() 1428 cid, psol); hwi_complete_drvr_msgs() 1432 cid = AMAP_GET_BITS(struct amap_it_dmsg_cqe_v2, hwi_complete_drvr_msgs() 1433 cid, psol); hwi_complete_drvr_msgs() 1436 cri_index = BE_GET_CRI_FROM_CID(cid); hwi_complete_drvr_msgs() 1479 csol_cqe->cid = AMAP_GET_BITS(struct amap_sol_cqe, adapter_get_sol_cqe() 1480 cid, psol); adapter_get_sol_cqe() 1496 csol_cqe->cid = AMAP_GET_BITS(struct amap_sol_cqe_v2, adapter_get_sol_cqe() 1497 cid, psol); adapter_get_sol_cqe() 1539 cri_index = BE_GET_CRI_FROM_CID(csol_cqe.cid); hwi_complete_cmd() 1584 csol_cqe.cid); hwi_complete_cmd() 2076 unsigned short code = 0, cid = 0; beiscsi_process_cq() local 2096 cid = AMAP_GET_BITS(struct amap_sol_cqe, cid, sol); beiscsi_process_cq() 2101 cid = AMAP_GET_BITS( beiscsi_process_cq() 2103 cid, sol); beiscsi_process_cq() 2105 cid = AMAP_GET_BITS(struct amap_sol_cqe_v2, beiscsi_process_cq() 2106 cid, sol); beiscsi_process_cq() 2109 cri_index = BE_GET_CRI_FROM_CID(cid); beiscsi_process_cq() 2118 "BM_%d : proc cqe of disconn ep: cid %d\n", beiscsi_process_cq() 2119 cid); beiscsi_process_cq() 2141 cqe_desc[code], code, cid); beiscsi_process_cq() 2150 cqe_desc[code], code, cid); beiscsi_process_cq() 2161 cqe_desc[code], code, cid); beiscsi_process_cq() 2174 cqe_desc[code], code, cid); beiscsi_process_cq() 2187 cqe_desc[code], code, cid); beiscsi_process_cq() 2193 cqe_desc[code], code, cid); beiscsi_process_cq() 2218 cqe_desc[code], code, cid); beiscsi_process_cq() 2228 code, cid); beiscsi_process_cq() 3655 BE_SET_CID_TO_CRI(i, pwrb_context->cid); beiscsi_create_wrb_rings() 3935 phwi_ctrlr->wrb_context[cri].cid] = hwi_init_port() 4220 phba->phwi_ctrlr->wrb_context[i].cid; hba_setup_cid_tbls() 4971 unsigned int cid; beiscsi_mtask() local 4974 cid = beiscsi_conn->beiscsi_conn_cid; beiscsi_mtask() 5057 doorbell |= cid & DB_WRB_POST_CID_MASK; beiscsi_mtask()
|
H A D | be_iscsi.h | 61 *cls_session, uint32_t cid);
|
H A D | be_cmds.h | 333 u16 cid; member in struct:mgmt_conn_info 865 u16 cid; member in struct:be_wrbq_create_resp 897 u8 cid[10]; /* dword 2 */ member in struct:amap_sol_cqe 929 u8 cid[13]; /* dword 2 */ member in struct:amap_sol_cqe_v2 941 u16 cid; member in struct:common_sol_cqe 955 u8 cid[10]; /* DWORD 2 */ member in struct:amap_it_dmsg_cqe 969 u8 cid[13]; /* DWORD 3 */ member in struct:amap_it_dmsg_cqe_v2 1015 u16 cid; member in struct:tcp_connect_and_offload_in 1029 u16 cid; member in struct:tcp_connect_and_offload_in_v1 1048 u16 cid; member in struct:tcp_connect_and_offload_out
|
H A D | be_mgmt.c | 585 unsigned int num_invalidate, unsigned int cid, mgmt_invalidate_icds() 616 req->table[i].cid = inv_tbl->cid; mgmt_invalidate_icds() 631 unsigned short cid, mgmt_invalidate_connection() 655 req->cid = cid; mgmt_invalidate_connection() 667 unsigned short cid, unsigned int upload_flag) mgmt_upload_connection() 687 req->id = (unsigned short)cid; mgmt_upload_connection() 722 unsigned short cid = beiscsi_ep->ep_cid; mgmt_open_connection() local 728 ulp_num = phwi_ctrlr->wrb_context[BE_GET_CRI_FROM_CID(cid)].ulp_num; mgmt_open_connection() 781 req->cid = cid; mgmt_open_connection() 583 mgmt_invalidate_icds(struct beiscsi_hba *phba, struct invalidate_command_table *inv_tbl, unsigned int num_invalidate, unsigned int cid, struct be_dma_mem *nonemb_cmd) mgmt_invalidate_icds() argument 629 mgmt_invalidate_connection(struct beiscsi_hba *phba, struct beiscsi_endpoint *beiscsi_ep, unsigned short cid, unsigned short issue_reset, unsigned short savecfg_flag) mgmt_invalidate_connection() argument 666 mgmt_upload_connection(struct beiscsi_hba *phba, unsigned short cid, unsigned int upload_flag) mgmt_upload_connection() argument
|
H A D | be_cmds.c | 1273 wrbq->id = le16_to_cpu(resp->cid); be_cmd_wrbq_create() 1276 pwrb_context->cid = wrbq->id; be_cmd_wrbq_create()
|
/linux-4.1.27/drivers/mfd/ |
H A D | ab3100-otp.c | 43 * @cid customer ID 55 u16 cid:14; member in struct:ab3100_otp 87 otp->cid = ((otpval[1] << 8) | otpval[0]) & 0x3fff; ab3100_otp_read() 108 seq_printf(s, "CID: 0x%04x (decimal: %d)\n", otp->cid, otp->cid); ab3100_show_otp() 168 SHOW_AB3100_ATTR(cid) 178 __ATTR(cid, S_IRUGO, ab3100_otp_cid_show, NULL),
|
/linux-4.1.27/include/scsi/ |
H A D | iscsi_if.h | 126 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_create_conn 130 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_bind_conn 136 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_destroy_conn 140 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_send_pdu 146 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_set_param 152 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_start_conn 156 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_stop_conn 162 uint32_t cid; member in struct:iscsi_uevent::__anon12895::msg_get_stats 259 uint32_t cid; member in struct:iscsi_uevent::__anon12896::msg_create_conn_ret 267 uint32_t cid; member in struct:iscsi_uevent::__anon12896::msg_recv_req 272 uint32_t cid; member in struct:iscsi_uevent::__anon12896::msg_conn_login 277 uint32_t cid; member in struct:iscsi_uevent::__anon12896::msg_conn_error
|
H A D | scsi_transport_iscsi.h | 97 uint32_t cid); 208 uint32_t cid; /* connection id */ member in struct:iscsi_cls_conn 438 int dd_size, uint32_t cid);
|
H A D | iscsi_proto.h | 449 __be16 cid; member in struct:iscsi_login_req 541 __be16 cid; member in struct:iscsi_logout
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | cnic.c | 215 static void cnic_ring_ctl(struct cnic_dev *dev, u32 cid, u32 cl_id, int start) cnic_ring_ctl() argument 227 ring->cid = cid; cnic_ring_ctl() 294 static int cnic_get_l5_cid(struct cnic_local *cp, u32 cid, u32 *l5_cid) cnic_get_l5_cid() argument 302 if (cp->ctx_tbl[i].cid == cid) { cnic_get_l5_cid() 925 cp->ctx_arr[k].cid = j; cnic_alloc_context() 1378 static int cnic_submit_kwqe_16(struct cnic_dev *dev, u32 cmd, u32 cid, cnic_submit_kwqe_16() argument 1390 BNX2X_HW_CID(bp, cid))); cnic_submit_kwqe_16() 1588 cnic_free_id(&cp->cid_tbl, ctx->cid); cnic_free_bnx2x_conn_resc() 1590 cnic_free_id(&cp->fcoe_cid_tbl, ctx->cid); cnic_free_bnx2x_conn_resc() 1593 ctx->cid = 0; cnic_free_bnx2x_conn_resc() 1598 u32 cid; cnic_alloc_bnx2x_conn_resc() local 1605 cid = cnic_alloc_new_id(&cp->fcoe_cid_tbl); cnic_alloc_bnx2x_conn_resc() 1606 if (cid == -1) { cnic_alloc_bnx2x_conn_resc() 1610 ctx->cid = cid; cnic_alloc_bnx2x_conn_resc() 1614 cid = cnic_alloc_new_id(&cp->cid_tbl); cnic_alloc_bnx2x_conn_resc() 1615 if (cid == -1) { cnic_alloc_bnx2x_conn_resc() 1620 ctx->cid = cid; cnic_alloc_bnx2x_conn_resc() 1644 static void *cnic_get_bnx2x_ctx(struct cnic_dev *dev, u32 cid, int init, cnic_get_bnx2x_ctx() argument 1649 int blk = (cid - ethdev->starting_cid) / cp->cids_per_blk; cnic_get_bnx2x_ctx() 1650 int off = (cid - ethdev->starting_cid) % cp->cids_per_blk; cnic_get_bnx2x_ctx() 1686 u32 cid = ctx->cid; cnic_setup_bnx2x_ctx() local 1687 u32 hw_cid = BNX2X_HW_CID(bp, cid); cnic_setup_bnx2x_ctx() 1699 ictx = cnic_get_bnx2x_ctx(dev, cid, 1, &context_addr); cnic_setup_bnx2x_ctx() 1921 kcqe.iscsi_conn_context_id = BNX2X_HW_CID(bp, cp->ctx_tbl[l5_cid].cid); cnic_bnx2x_iscsi_ofld1() 1937 u32 l5_cid, cid = BNX2X_SW_CID(req->context_id); cnic_bnx2x_iscsi_update() local 1940 if (cnic_get_l5_cid(cp, cid, &l5_cid) != 0) cnic_bnx2x_iscsi_update() 1966 hw_cid = BNX2X_HW_CID(bp, ctx->cid); cnic_bnx2x_destroy_ramrod() 2039 u32 cid = BNX2X_SW_CID(kwqe1->cid); cnic_init_storm_conn_bufs() local 2052 cnic_get_bnx2x_ctx(dev, cid, 0, &context_addr); cnic_init_storm_conn_bufs() 2184 kwqe1->cid, ISCSI_CONNECTION_TYPE, &l5_data); cnic_bnx2x_connect() 2199 req->cid, ISCSI_CONNECTION_TYPE, &l5_data); cnic_bnx2x_close() 2211 req->cid, ISCSI_CONNECTION_TYPE, &l5_data); cnic_bnx2x_reset() 2252 u32 cid; cnic_bnx2x_fcoe_stat() local 2255 cid = BNX2X_HW_CID(bp, cp->fcoe_init_cid); cnic_bnx2x_fcoe_stat() 2264 ret = cnic_submit_kwqe_16(dev, FCOE_RAMROD_CMD_ID_STAT_FUNC, cid, cnic_bnx2x_fcoe_stat() 2275 u32 cid; cnic_bnx2x_fcoe_init1() local 2319 cid = BNX2X_HW_CID(bp, cp->fcoe_init_cid); cnic_bnx2x_fcoe_init1() 2320 ret = cnic_submit_kwqe_16(dev, FCOE_RAMROD_CMD_ID_INIT_FUNC, cid, cnic_bnx2x_fcoe_init1() 2330 u32 cid = -1, l5_cid; cnic_bnx2x_fcoe_ofld1() local 2371 cid = ctx->cid; cnic_bnx2x_fcoe_ofld1() 2373 fctx = cnic_get_bnx2x_ctx(dev, cid, 1, &ctx_addr); cnic_bnx2x_fcoe_ofld1() 2375 u32 hw_cid = BNX2X_HW_CID(bp, cid); cnic_bnx2x_fcoe_ofld1() 2399 cid = BNX2X_HW_CID(bp, cid); cnic_bnx2x_fcoe_ofld1() 2400 ret = cnic_submit_kwqe_16(dev, FCOE_RAMROD_CMD_ID_OFFLOAD_CONN, cid, cnic_bnx2x_fcoe_ofld1() 2408 if (cid != -1) cnic_bnx2x_fcoe_ofld1() 2427 u32 cid, l5_cid; cnic_bnx2x_fcoe_enable() local 2431 cid = req->context_id; cnic_bnx2x_fcoe_enable() 2444 ret = cnic_submit_kwqe_16(dev, FCOE_RAMROD_CMD_ID_ENABLE_CONN, cid, cnic_bnx2x_fcoe_enable() 2455 u32 cid, l5_cid; cnic_bnx2x_fcoe_disable() local 2459 cid = req->context_id; cnic_bnx2x_fcoe_disable() 2476 ret = cnic_submit_kwqe_16(dev, FCOE_RAMROD_CMD_ID_DISABLE_CONN, cid, cnic_bnx2x_fcoe_disable() 2486 u32 cid, l5_cid; cnic_bnx2x_fcoe_destroy() local 2493 cid = req->context_id; cnic_bnx2x_fcoe_destroy() 2508 ret = cnic_submit_kwqe_16(dev, FCOE_RAMROD_CMD_ID_TERMINATE_CONN, cid, cnic_bnx2x_fcoe_destroy() 2521 kcqe.fcoe_conn_context_id = cid; cnic_bnx2x_fcoe_destroy() 2548 ctx->cid); cnic_bnx2x_delete_wait() 2559 u32 cid; cnic_bnx2x_fcoe_fw_destroy() local 2564 cid = BNX2X_HW_CID(bp, cp->fcoe_init_cid); cnic_bnx2x_fcoe_fw_destroy() 2567 ret = cnic_submit_kwqe_16(dev, FCOE_RAMROD_CMD_ID_DESTROY_FUNC, cid, cnic_bnx2x_fcoe_fw_destroy() 2577 u32 cid; cnic_bnx2x_kwqe_err() local 2583 cid = kwqe->kwqe_info0; cnic_bnx2x_kwqe_err() 2595 cid = req->context_id; cnic_bnx2x_kwqe_err() 2605 kcqe.kcqe_info2 = cid; cnic_bnx2x_kwqe_err() 2611 cid = kwqe->kwqe_info1; cnic_bnx2x_kwqe_err() 2616 kcqe.kcqe_info2 = cid; cnic_bnx2x_kwqe_err() 2617 cnic_get_l5_cid(cp, BNX2X_SW_CID(cid), &kcqe.kcqe_info0); cnic_bnx2x_kwqe_err() 2635 l4kcqe->cid = cid; cnic_bnx2x_kwqe_err() 2636 cnic_get_l5_cid(cp, BNX2X_SW_CID(cid), &l4kcqe->conn_id); cnic_bnx2x_kwqe_err() 3282 u32 cid = BNX2X_SW_CID(comp->cid); cnic_ctl() local 3289 if (cnic_get_l5_cid(cp, cid, &l5_cid) == 0) { cnic_ctl() 3296 cid, comp->error); cnic_ctl() 3450 l4kwqe->cid = csk->pg_cid; cnic_cm_upload_pg() 3515 l4kwqe1->cid = csk->cid; cnic_cm_conn_req() 3551 l4kwqe->cid = csk->cid; cnic_cm_close_req() 3568 l4kwqe->cid = csk->cid; cnic_cm_abort_req() 3573 static int cnic_cm_create(struct cnic_dev *dev, int ulp_type, u32 cid, cnic_cm_create() argument 3597 csk1->cid = cid; cnic_cm_create() 3997 l5_cid = l4kcqe->cid; cnic_cm_process_kcqe() 4194 cnic_submit_kwqe_16(dev, cmd, csk->cid, ISCSI_CONNECTION_TYPE, cnic_close_bnx2x_conn() 4358 static void cnic_init_context(struct cnic_dev *dev, u32 cid) cnic_init_context() argument 4363 cid_addr = GET_CID_ADDR(cid); cnic_init_context() 4380 u32 idx = cp->ctx_arr[i].cid / cp->cids_per_blk; cnic_setup_5709_context() 5168 u32 cid = cp->ethdev->iscsi_l2_cid; cnic_init_rings() local 5205 cid, ETH_CONNECTION_TYPE, &l5_data); cnic_init_rings() 5216 cnic_ring_ctl(dev, cid, cli, 1); cnic_init_rings() 5217 *cid_ptr = cid >> 4; cnic_init_rings() 5218 *(cid_ptr + 1) = cid * bp->db_size; cnic_init_rings() 5236 u32 cid = cp->ethdev->iscsi_l2_cid; cnic_shutdown_rings() local 5240 cnic_ring_ctl(dev, cid, cli, 0); cnic_shutdown_rings() 5247 cid, ETH_CONNECTION_TYPE, &l5_data); cnic_shutdown_rings() 5260 cid, NONE_CONNECTION_TYPE, &l5_data); cnic_shutdown_rings()
|
H A D | cnic_if.h | 118 u32 cid; member in struct:cnic_ctl_completion 144 u32 cid; member in struct:drv_ctl_l2_ring 255 u32 cid; member in struct:cnic_sock
|
H A D | cnic.h | 124 u32 cid; member in struct:cnic_ctx 161 u32 cid; member in struct:cnic_context
|
H A D | bnx2.c | 1272 bnx2_init_rx_context(struct bnx2 *bp, u32 cid) bnx2_init_rx_context() argument 1274 u32 val, rx_cid_addr = GET_CID_ADDR(cid); bnx2_init_rx_context() 1290 u32 cid; bnx2_init_all_rx_contexts() local 1292 for (i = 0, cid = RX_CID; i < bp->num_rx_rings; i++, cid++) { bnx2_init_all_rx_contexts() 1294 cid = RX_RSS_CID; bnx2_init_all_rx_contexts() 1295 bnx2_init_rx_context(bp, cid); bnx2_init_all_rx_contexts() 5122 bnx2_init_tx_context(struct bnx2 *bp, u32 cid, struct bnx2_tx_ring_info *txr) bnx2_init_tx_context() argument 5125 u32 cid_addr = GET_CID_ADDR(cid); bnx2_init_tx_context() 5155 u32 cid = TX_CID; bnx2_init_tx_ring() local 5163 cid = TX_CID; bnx2_init_tx_ring() 5165 cid = TX_TSS_CID + ring_num - 1; bnx2_init_tx_ring() 5177 txr->tx_bidx_addr = MB_GET_CID_ADDR(cid) + BNX2_L2CTX_TX_HOST_BIDX; bnx2_init_tx_ring() 5178 txr->tx_bseq_addr = MB_GET_CID_ADDR(cid) + BNX2_L2CTX_TX_HOST_BSEQ; bnx2_init_tx_ring() 5180 bnx2_init_tx_context(bp, cid, txr); bnx2_init_tx_ring() 5212 u32 cid, rx_cid_addr, val; bnx2_init_rx_ring() local 5217 cid = RX_CID; bnx2_init_rx_ring() 5219 cid = RX_RSS_CID + ring_num - 1; bnx2_init_rx_ring() 5221 rx_cid_addr = GET_CID_ADDR(cid); bnx2_init_rx_ring() 5226 bnx2_init_rx_context(bp, cid); bnx2_init_rx_ring() 5283 rxr->rx_bidx_addr = MB_GET_CID_ADDR(cid) + BNX2_L2CTX_HOST_BDIDX; bnx2_init_rx_ring() 5284 rxr->rx_bseq_addr = MB_GET_CID_ADDR(cid) + BNX2_L2CTX_HOST_BSEQ; bnx2_init_rx_ring() 5285 rxr->rx_pg_bidx_addr = MB_GET_CID_ADDR(cid) + BNX2_L2CTX_HOST_PG_BDIDX; bnx2_init_rx_ring() 6458 u32 reg, bdidx, cid, valid; bnx2_dump_ftq() local 6511 cid = BNX2_RD(bp, BNX2_TBDC_CID); bnx2_dump_ftq() 6515 i, cid, bdidx & BNX2_TBDC_BDIDX_BDIDX, bnx2_dump_ftq()
|
H A D | cnic_defs.h | 80 u32 cid; member in struct:l4_kcq 182 u32 cid; member in struct:l4_kwq_close_req 230 u32 cid; member in struct:l4_kwq_connect_req1 492 u32 cid; member in struct:l4_kwq_reset_req 595 u32 cid; member in struct:l4_kwq_upload 4744 u16 cid; member in struct:iscsi_login_req_hdr_little_endian 4748 u16 cid; member in struct:iscsi_login_req_hdr_little_endian 4784 u16 cid; member in struct:iscsi_logout_req_hdr_little_endian 4788 u16 cid; member in struct:iscsi_logout_req_hdr_little_endian 5316 u32 cid; member in struct:l5cm_pcs_hdr
|
/linux-4.1.27/drivers/memory/ |
H A D | tegra20-mc.c | 134 int idx, cid; tegra20_mc_decode() local 167 cid = (req >> reg[idx].cid_shift) & MC_CLIENT_ID_MASK; tegra20_mc_decode() 168 if (cid < ARRAY_SIZE(tegra20_mc_client)) tegra20_mc_decode() 169 client = tegra20_mc_client[cid]; tegra20_mc_decode()
|
/linux-4.1.27/include/net/ |
H A D | vsock_addr.h | 21 void vsock_addr_init(struct sockaddr_vm *addr, u32 cid, u32 port);
|
H A D | af_vsock.h | 107 bool (*dgram_allow)(u32 cid, u32 port); 119 bool (*stream_allow)(u32 cid, u32 port);
|
/linux-4.1.27/net/rxrpc/ |
H A D | ar-connection.c | 272 conn->cid = htonl(real_conn_id); rxrpc_assign_connection_id() 274 _leave(" [CONNID %x CID %x]", real_conn_id, ntohl(conn->cid)); rxrpc_assign_connection_id() 362 conn->cid = 0; rxrpc_connect_exclusive() 407 call->cid = conn->cid | htonl(chan); rxrpc_connect_exclusive() 539 candidate->cid = 0; rxrpc_connect_call() 596 call->cid = conn->cid | htonl(chan); rxrpc_connect_call() 637 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; rxrpc_incoming_connection() 671 candidate->cid = hdr->cid & cpu_to_be32(RXRPC_CIDMASK); rxrpc_incoming_connection() 761 _enter(",{%x,%x}", ntohl(hdr->cid), hdr->flags); rxrpc_find_connection() 765 conn_id = ntohl(hdr->cid) & RXRPC_CIDMASK; rxrpc_find_connection()
|
H A D | ar-connevent.c | 93 hdr.cid = conn->cid; rxrpc_abort_connection() 385 hdr.cid = sp->hdr.cid; rxrpc_reject_packets()
|
H A D | ar-proc.c | 78 ntohl(call->conn->cid), rxrpc_call_seq_show() 161 ntohl(conn->cid), rxrpc_connection_seq_show()
|
H A D | ar-call.c | 68 __be32 cid, rxrpc_call_hashfunc() 80 u32 hcid = ntohl(cid); rxrpc_call_hashfunc() 121 key = rxrpc_call_hashfunc(call->in_clientflag, call->cid, rxrpc_call_hash_add() 152 __be32 cid, rxrpc_find_call_hash() 177 key = rxrpc_call_hashfunc(clientflag, cid, call_id, epoch, rxrpc_find_call_hash() 183 call->cid == cid && hash_for_each_possible_rcu() 434 candidate->cid = hdr->cid; rxrpc_incoming_call() 436 candidate->channel = ntohl(hdr->cid) & RXRPC_CHANNELMASK; rxrpc_incoming_call() 66 rxrpc_call_hashfunc( u8 clientflag, __be32 cid, __be32 call_id, __be32 epoch, __be16 service_id, sa_family_t proto, void *localptr, unsigned int addr_size, const u8 *peer_addr) rxrpc_call_hashfunc() argument 150 rxrpc_find_call_hash( u8 clientflag, __be32 cid, __be32 call_id, __be32 epoch, __be16 service_id, void *localptr, sa_family_t proto, const u8 *peer_addr) rxrpc_find_call_hash() argument
|
H A D | rxkad.c | 136 tmpbuf.x[1] = conn->cid; rxkad_prime_packet_security() 596 hdr.cid = conn->cid; rxkad_issue_challenge() 790 resp.encrypted.cid = conn->cid; rxkad_respond_to_challenge() 1063 if (response.encrypted.cid != conn->cid) rxkad_verify_response()
|
H A D | ar-ack.c | 913 hdr.cid = call->cid; rxrpc_process_call() 1328 ntohl(call->conn->cid)); rxrpc_process_call() 1346 _debug("jumpstart %x", ntohl(call->conn->cid)); rxrpc_process_call()
|
H A D | ar-input.c | 708 ntohl(sp->hdr.cid), rxrpc_data_ready() 744 call = rxrpc_find_call_hash(in_clientflag, sp->hdr.cid, rxrpc_data_ready()
|
H A D | ar-output.c | 654 sp->hdr.cid = call->cid; rxrpc_send_data()
|
H A D | ar-internal.h | 288 __be32 cid; /* connection ID */ member in struct:rxrpc_connection 407 __be32 cid; /* connection ID + channel index */ member in struct:rxrpc_call
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-sysfs.c | 95 pvr2_sysfs_trace("pvr2_sysfs(%p) show_name(cid=%d) is %s", show_name() 117 pvr2_sysfs_trace("pvr2_sysfs(%p) show_type(cid=%d) is %s", show_type() 131 pvr2_sysfs_trace("pvr2_sysfs(%p) show_min(cid=%d) is %ld", show_min() 144 pvr2_sysfs_trace("pvr2_sysfs(%p) show_max(cid=%d) is %ld", show_max() 162 pvr2_sysfs_trace("pvr2_sysfs(%p) show_def(cid=%d) is %.*s (%d)", show_def() 181 pvr2_sysfs_trace("pvr2_sysfs(%p) show_val_norm(cid=%d) is %.*s (%d)", show_val_norm() 200 pvr2_sysfs_trace("pvr2_sysfs(%p) show_val_custom(cid=%d) is %.*s (%d)", show_val_custom() 225 pvr2_sysfs_trace("pvr2_sysfs(%p) show_enum(cid=%d)", show_enum() 250 pvr2_sysfs_trace("pvr2_sysfs(%p) show_bits(cid=%d)", show_bits() 280 pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_norm(cid=%d) \"%.*s\"", store_val_norm() 294 pvr2_sysfs_trace("pvr2_sysfs(%p) store_val_custom(cid=%d) \"%.*s\"", store_val_custom()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 638 ramrod->cid = vfq->cid; bnx2x_vf_prep_rx_mode() 1471 cl_id, &q->cid, 1, func_id, bnx2x_vfq_init() 1480 "initialized vf %d's queue object. func id set to %d. cid set to 0x%x\n", bnx2x_vfq_init() 1481 vf->abs_vfid, q->sp_obj.func_id, q->cid); bnx2x_vfq_init() 1612 "VF[%d] Max IGU SBs: %d, base vf cid 0x%x, base cid 0x%x, base cxt %p\n", for_each_vf() 1624 * during VF-ACQUIRE with the proper cl_id and cid. for_each_vf() 1704 static u8 bnx2x_iov_is_vf_cid(struct bnx2x *bp, u16 cid) bnx2x_iov_is_vf_cid() argument 1706 return ((cid >= BNX2X_FIRST_VF_CID) && bnx2x_iov_is_vf_cid() 1707 ((cid - BNX2X_FIRST_VF_CID) < BNX2X_VF_CIDS)); bnx2x_iov_is_vf_cid() 1780 u16 cid = 0xffff; bnx2x_iov_eq_sp_event() local 1785 /* first get the cid - the only events we handle here are cfc-delete bnx2x_iov_eq_sp_event() 1792 cid = SW_CID((__force __le32) bnx2x_iov_eq_sp_event() 1793 elem->message.data.cfc_del_event.cid); bnx2x_iov_eq_sp_event() 1794 DP(BNX2X_MSG_IOV, "checking cfc-del comp cid=%d\n", cid); bnx2x_iov_eq_sp_event() 1800 cid = (elem->message.data.eth_event.echo & bnx2x_iov_eq_sp_event() 1802 DP(BNX2X_MSG_IOV, "checking filtering comp cid=%d\n", cid); bnx2x_iov_eq_sp_event() 1819 /* check if the cid is the VF range */ bnx2x_iov_eq_sp_event() 1820 if (!bnx2x_iov_is_vf_cid(bp, cid)) { bnx2x_iov_eq_sp_event() 1821 DP(BNX2X_MSG_IOV, "cid is outside vf range: %d\n", cid); bnx2x_iov_eq_sp_event() 1826 * 1. vfid on cid reflects the true abs_vfid bnx2x_iov_eq_sp_event() 1829 qidx = cid & ((1 << BNX2X_VF_CID_WND)-1); bnx2x_iov_eq_sp_event() 1830 abs_vfid = (cid >> BNX2X_VF_CID_WND) & (BNX2X_MAX_NUM_OF_VFS-1); bnx2x_iov_eq_sp_event() 1835 BNX2X_ERR("EQ completion for unknown VF, cid %d, abs_vfid %d\n", bnx2x_iov_eq_sp_event() 1836 cid, abs_vfid); bnx2x_iov_eq_sp_event() 1880 * 1. vfid on cid reflects the true abs_vfid bnx2x_vf_by_cid() 1899 * 1. vfid on cid reflects the true abs_vfid bnx2x_iov_set_queue_sp_obj() 1905 BNX2X_ERR("No vf matching cid %d\n", vf_cid); bnx2x_iov_set_queue_sp_obj() 2121 q->cid = BNX2X_FIRST_VF_CID + base_vf_cid + i; for_each_vfq() 2123 DP(BNX2X_MSG_IOV, "VFQ[%d:%d]: index %d, cid 0x%x, cxt %p\n", for_each_vfq() 2124 vf->abs_vfid, i, q->index, q->cid, q->cxt); for_each_vfq()
|
H A D | bnx2x_cmn.h | 1018 fp->cid, BP_FUNC(bp), bnx2x_sp(bp, mac_rdata), bnx2x_init_vlan_mac_fp_objs() 1071 bnx2x_init_mcast_obj(bp, &bp->mcast_obj, bp->fp->cl_id, bp->fp->cid, bnx2x_init_bp_objs() 1087 bp->fp->cid, BP_FUNC(bp), BP_FUNC(bp), bnx2x_init_bp_objs() 1103 struct bnx2x_fp_txdata *txdata, u32 cid, bnx2x_init_txdata() 1107 txdata->cid = cid; bnx2x_init_txdata() 1113 DP(NETIF_MSG_IFUP, "created tx data cid %d, txq %d\n", bnx2x_init_txdata() 1114 txdata->cid, txdata->txq_index); bnx2x_init_txdata() 1209 * @cid: SW CID of the connection to be configured 1212 u32 cid); 1102 bnx2x_init_txdata(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, u32 cid, int txq_index, __le16 *tx_cons_sb, struct bnx2x_fastpath *fp) bnx2x_init_txdata() argument
|
H A D | bnx2x_sp.c | 788 * @cid: connection id 796 static inline void bnx2x_vlan_mac_set_rdata_hdr_e2(u32 cid, int type, bnx2x_vlan_mac_set_rdata_hdr_e2() argument 799 hdr->echo = cpu_to_le32((cid & BNX2X_SWCID_MASK) | bnx2x_vlan_mac_set_rdata_hdr_e2() 886 bnx2x_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, bnx2x_set_one_mac_e2() 910 hdr->echo = cpu_to_le32((r->cid & BNX2X_SWCID_MASK) | bnx2x_vlan_mac_set_rdata_hdr_e1x() 1035 bnx2x_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, bnx2x_set_one_vlan_e2() 1658 rc = bnx2x_sp_post(bp, o->ramrod_cmd, r->cid, 1910 u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, bnx2x_init_raw_obj() 1914 raw->cid = cid; bnx2x_init_raw_obj() 1928 u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, bnx2x_init_vlan_mac_common() 1946 bnx2x_init_raw_obj(&o->raw, cl_id, cid, func_id, rdata, rdata_mapping, bnx2x_init_vlan_mac_common() 1952 u8 cl_id, u32 cid, u8 func_id, void *rdata, bnx2x_init_mac_obj() 1959 bnx2x_init_vlan_mac_common(mac_obj, cl_id, cid, func_id, rdata, bnx2x_init_mac_obj() 2006 u8 cl_id, u32 cid, u8 func_id, void *rdata, bnx2x_init_vlan_obj() 2013 bnx2x_init_vlan_mac_common(vlan_obj, cl_id, cid, func_id, rdata, bnx2x_init_vlan_obj() 2140 static inline void bnx2x_rx_mode_set_rdata_hdr_e2(u32 cid, bnx2x_rx_mode_set_rdata_hdr_e2() argument 2144 hdr->echo = cpu_to_le32(cid); bnx2x_rx_mode_set_rdata_hdr_e2() 2274 bnx2x_rx_mode_set_rdata_hdr_e2(p->cid, &data->header, rule_idx); bnx2x_set_rx_mode_e2() 2288 rc = bnx2x_sp_post(bp, RAMROD_CMD_ID_ETH_FILTER_RULES, p->cid, bnx2x_set_rx_mode_e2() 2887 data->header.echo = cpu_to_le32((r->cid & BNX2X_SWCID_MASK) | bnx2x_mcast_set_rdata_hdr_e2() 2994 raw->cid, U64_HI(raw->rdata_mapping), bnx2x_mcast_setup_e2() 3240 data->hdr.echo = cpu_to_le32((r->cid & BNX2X_SWCID_MASK) | bnx2x_mcast_set_rdata_hdr_e1() 3477 rc = bnx2x_sp_post(bp, RAMROD_CMD_ID_ETH_SET_MAC, raw->cid, bnx2x_mcast_setup_e1() 4031 data->echo = cpu_to_le32((r->cid & BNX2X_SWCID_MASK) | bnx2x_setup_rss() 4102 rc = bnx2x_sp_post(bp, RAMROD_CMD_ID_ETH_RSS_UPDATE, r->cid, bnx2x_setup_rss() 4149 u8 cl_id, u32 cid, u8 func_id, u8 engine_id, bnx2x_init_rss_config_obj() 4154 bnx2x_init_raw_obj(&rss_obj->raw, cl_id, cid, func_id, rdata, bnx2x_init_rss_config_obj() 4278 DP(BNX2X_MSG_SP, "primary cid %d: num tx-only cons %d\n", bnx2x_queue_comp_cmd() 4504 DP(BNX2X_MSG_SP, "cid %d, tx bd page lo %x hi %x", bnx2x_q_fill_setup_tx_only() 4553 DP(BNX2X_MSG_SP, "setting context validation. cid %d, cos %d\n", bnx2x_q_init() 4649 DP(BNX2X_MSG_SP, "sending tx-only ramrod: cid %d, client-id %d, sp-client id %d, cos %d\n", bnx2x_q_send_setup_tx_only() 1909 bnx2x_init_raw_obj(struct bnx2x_raw_obj *raw, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_raw_obj() argument 1927 bnx2x_init_vlan_mac_common(struct bnx2x_vlan_mac_obj *o, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_mac_common() argument 1950 bnx2x_init_mac_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *mac_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *macs_pool) bnx2x_init_mac_obj() argument 2004 bnx2x_init_vlan_obj(struct bnx2x *bp, struct bnx2x_vlan_mac_obj *vlan_obj, u8 cl_id, u32 cid, u8 func_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type, struct bnx2x_credit_pool_obj *vlans_pool) bnx2x_init_vlan_obj() argument 4147 bnx2x_init_rss_config_obj(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, u8 cl_id, u32 cid, u8 func_id, u8 engine_id, void *rdata, dma_addr_t rdata_mapping, int state, unsigned long *pstate, bnx2x_obj_type type) bnx2x_init_rss_config_obj() argument
|
H A D | bnx2x.h | 266 * (db_msg_sz 1 << 7 * cid + 0x40 DPM offset) it can come up with a valid number 267 * We must avoid coming up with cid 8 for iscsi since according to this method 268 * the designated UIO cid will come out 0 and it has a special handling for that 269 * case which doesn't suit us. Therefore will will cieling to closes cid which 283 /* add offset to rounded-up cid to get a value which could be used with UIO */ 285 /* but wait - avoid UIO special case for cid 0 */ 288 /* Properly DPM aligned CID dajusted to cid 0 secal case */ 291 /* how many cids were wasted - need this value for cid allocation */ 315 #define CID_TO_FP(cid, bp) ((cid) % BNX2X_NUM_NON_CNIC_QUEUES(bp)) 316 #define CID_COS_TO_TX_ONLY_CID(cid, cos, bp) \ 317 (cid + cos * BNX2X_NUM_NON_CNIC_QUEUES(bp)) 505 u32 cid; member in struct:bnx2x_fp_txdata 569 u32 cid; member in struct:bnx2x_fastpath 865 #define DOORBELL(bp, cid, val) \ 867 writel((u32)(val), bp->doorbells + (bp->db_size * (cid))); \ 1140 * cid must not exceed the size of the VF doorbell 1166 * L2 queue is supported. The cid for the FCoE L2 queue is always X. 2125 int bnx2x_sp_post(struct bnx2x *bp, int command, int cid,
|
H A D | bnx2x_main.c | 1777 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid, u8 err); 1801 int cid = SW_CID(rr_cqe->ramrod_cqe.conn_and_cmd_data); bnx2x_sp_event() local 1807 "fp %d cid %d got ramrod #%d state is %x type is %d\n", bnx2x_sp_event() 1808 fp->index, cid, command, bp->state, bnx2x_sp_event() 1811 /* If cid is within VF range, replace the slowpath object with the bnx2x_sp_event() 1814 if (cid >= BNX2X_FIRST_VF_CID && bnx2x_sp_event() 1815 cid < BNX2X_FIRST_VF_CID + BNX2X_VF_CIDS) bnx2x_sp_event() 1816 bnx2x_iov_set_queue_sp_obj(bp, cid, &q_obj); bnx2x_sp_event() 1820 DP(BNX2X_MSG_SP, "got UPDATE ramrod. CID %d\n", cid); bnx2x_sp_event() 1825 DP(BNX2X_MSG_SP, "got MULTI[%d] setup ramrod\n", cid); bnx2x_sp_event() 1830 DP(BNX2X_MSG_SP, "got MULTI[%d] tx-only setup ramrod\n", cid); bnx2x_sp_event() 1835 DP(BNX2X_MSG_SP, "got MULTI[%d] halt ramrod\n", cid); bnx2x_sp_event() 1840 DP(BNX2X_MSG_SP, "got MULTI[%d] terminate ramrod\n", cid); bnx2x_sp_event() 1845 DP(BNX2X_MSG_SP, "got MULTI[%d] empty ramrod\n", cid); bnx2x_sp_event() 1850 DP(BNX2X_MSG_SP, "got tpa update ramrod CID=%d\n", cid); bnx2x_sp_event() 3824 * @cid: SW CID the command is related to 3833 int bnx2x_sp_post(struct bnx2x *bp, int command, int cid, bnx2x_sp_post() argument 3868 HW_CID(bp, cid)); bnx2x_sp_post() 3903 HW_CID(bp, cid), data_hi, data_lo, type, bnx2x_sp_post() 5201 static int bnx2x_cnic_handle_cfc_del(struct bnx2x *bp, u32 cid, bnx2x_cnic_handle_cfc_del() argument 5207 (cid < bp->cnic_eth_dev.starting_cid && bnx2x_cnic_handle_cfc_del() 5208 cid != bp->cnic_eth_dev.iscsi_l2_cid)) bnx2x_cnic_handle_cfc_del() 5211 DP(BNX2X_MSG_SP, "got delete ramrod for CNIC CID %d\n", cid); bnx2x_cnic_handle_cfc_del() 5216 cid); bnx2x_cnic_handle_cfc_del() 5219 bnx2x_cnic_cfc_comp(bp, cid, err); bnx2x_cnic_handle_cfc_del() 5253 u32 cid = elem->message.data.eth_event.echo & BNX2X_SWCID_MASK; bnx2x_handle_classification_eqe() local 5263 if (CNIC_LOADED(bp) && (cid == BNX2X_ISCSI_ETH_CID(bp))) bnx2x_handle_classification_eqe() 5266 vlan_mac_obj = &bp->sp_objs[cid].mac_obj; bnx2x_handle_classification_eqe() 5393 struct bnx2x *bp, u32 cid) bnx2x_cid_to_q_obj() 5395 DP(BNX2X_MSG_SP, "retrieving fp from cid %d\n", cid); bnx2x_cid_to_q_obj() 5397 if (CNIC_LOADED(bp) && (cid == BNX2X_FCOE_ETH_CID(bp))) bnx2x_cid_to_q_obj() 5400 return &bp->sp_objs[CID_TO_FP(cid, bp)].q_obj; bnx2x_cid_to_q_obj() 5408 u32 cid; bnx2x_eq_int() local 5448 cid = SW_CID((__force __le32) bnx2x_eq_int() 5449 elem->message.data.cfc_del_event.cid); bnx2x_eq_int() 5467 /* handle according to cid range */ bnx2x_eq_int() 5473 "got delete ramrod for MULTI[%d]\n", cid); bnx2x_eq_int() 5476 !bnx2x_cnic_handle_cfc_del(bp, cid, elem)) bnx2x_eq_int() 5479 q_obj = bnx2x_cid_to_q_obj(bp, cid); bnx2x_eq_int() 5563 cid = elem->message.data.eth_event.echo & bnx2x_eq_int() 5566 cid); bnx2x_eq_int() 6115 ramrod_param.cid = 0; bnx2x_set_q_rx_mode() 6302 fp->cid = fp_idx; bnx2x_init_eth_fp() 6324 CID_COS_TO_TX_ONLY_CID(fp->cid, cos, bp), for_each_cos_in_tx_queue() 6327 cids[cos] = fp->txdata_ptr[cos]->cid; for_each_cos_in_tx_queue() 6407 bnx2x_fcoe(bp, cid) = BNX2X_FCOE_ETH_CID(bp); bnx2x_init_fcoe_fp() 6412 fp->cid, FCOE_TXQ_IDX(bp), BNX2X_FCOE_L2_TX_INDEX, bnx2x_init_fcoe_fp() 6431 &fp->cid, 1, BP_FUNC(bp), bnx2x_sp(bp, q_rdata), bnx2x_init_fcoe_fp() 7479 /* QM cid (connection) count */ bnx2x_init_hw_port() 8541 /* 4 bytes for each cid */ bnx2x_ilt_set_info() 8649 cxt_index = fp->txdata_ptr[cos]->cid / ILT_PAGE_CIDS; bnx2x_pf_q_prep_init() 8650 cxt_offset = fp->txdata_ptr[cos]->cid - (cxt_index * bnx2x_pf_q_prep_init() 8670 /* choose the index of the cid to send the slow path on */ bnx2x_setup_tx_only() 8680 "preparing to send tx-only ramrod for connection: cos %d, primary cid %d, cid %d, client id %d, sp-client id %d, flags %lx\n", bnx2x_setup_tx_only() 8791 DP(NETIF_MSG_IFDOWN, "stopping queue %d cid %d\n", index, fp->cid); bnx2x_stop_queue() 14144 static void bnx2x_cnic_cfc_comp(struct bnx2x *bp, int cid, u8 err) bnx2x_cnic_cfc_comp() argument 14150 ctl.data.comp.cid = cid; bnx2x_cnic_cfc_comp() 14515 "page_size %d, tbl_offset %d, tbl_lines %d, starting cid %d\n", bnx2x_cnic_probe() 5392 bnx2x_cid_to_q_obj( struct bnx2x *bp, u32 cid) bnx2x_cid_to_q_obj() argument
|
H A D | bnx2x_sp.h | 79 u32 cid; member in struct:bnx2x_raw_obj 476 u32 cid; member in struct:bnx2x_rx_mode_ramrod_params 1387 u8 cl_id, u32 cid, u8 func_id, void *rdata, 1394 u8 cl_id, u32 cid, u8 func_id, void *rdata, 1473 u8 cl_id, u32 cid, u8 func_id, u8 engine_id,
|
H A D | bnx2x_vfpf.c | 543 cl_id, q->cid, func_id, bnx2x_leading_vfq_init() 552 cl_id, q->cid, func_id, bnx2x_leading_vfq_init() 562 q->cid, func_id, func_id, bnx2x_leading_vfq_init() 570 bnx2x_init_rss_config_obj(bp, &vf->rss_conf_obj, cl_id, q->cid, bnx2x_leading_vfq_init()
|
H A D | bnx2x_cmn.c | 3758 "transmitting packet cid %d fp index %d txdata_index %d tx_data ptr %p fp pointer %p\n", bnx2x_start_xmit() 3759 txdata->cid, fp_index, txdata_index, txdata, fp); */ bnx2x_start_xmit() 4141 DOORBELL(bp, txdata->cid, txdata->tx_db.raw); bnx2x_start_xmit() 4315 "freeing tx memory of fp %d cos %d cid %d\n", for_each_cos_in_tx_queue() 4316 fp_index, cos, txdata->cid); for_each_cos_in_tx_queue() 4971 u32 cid) bnx2x_set_ctx_validation() 4980 CDU_RSRVD_VALUE_TYPE_A(HW_CID(bp, cid), bnx2x_set_ctx_validation() 4984 CDU_RSRVD_VALUE_TYPE_A(HW_CID(bp, cid), bnx2x_set_ctx_validation() 4970 bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, u32 cid) bnx2x_set_ctx_validation() argument
|
H A D | bnx2x_sriov.h | 84 u32 cid; member in struct:bnx2x_vf_queue
|
H A D | bnx2x_ethtool.c | 2520 DOORBELL(bp, txdata->cid, txdata->tx_db.raw); bnx2x_run_loopback()
|
H A D | bnx2x_hsi.h | 4766 u32 cid; member in struct:cfc_del_event_data
|
H A D | bnx2x_reg.h | 4679 /* [RW 18] Linear0 Max active cid (in banks of 32 entries). */
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | evrgnini.c | 353 struct acpi_pnp_device_id_list *cid; acpi_ev_is_pci_root_bridge() local 373 status = acpi_ut_execute_CID(node, &cid); acpi_ev_is_pci_root_bridge() 380 for (i = 0; i < cid->count; i++) { acpi_ev_is_pci_root_bridge() 381 if (acpi_ut_is_pci_root_bridge(cid->ids[i].string)) { acpi_ev_is_pci_root_bridge() 382 ACPI_FREE(cid); acpi_ev_is_pci_root_bridge() 387 ACPI_FREE(cid); acpi_ev_is_pci_root_bridge()
|
H A D | nsxfeval.c | 657 struct acpi_pnp_device_id_list *cid; acpi_ns_get_device_callback() local 707 status = acpi_ut_execute_CID(node, &cid); acpi_ns_get_device_callback() 717 for (i = 0; i < cid->count; i++) { acpi_ns_get_device_callback() 718 if (ACPI_STRCMP(cid->ids[i].string, info->hid) acpi_ns_get_device_callback() 728 ACPI_FREE(cid); acpi_ns_get_device_callback()
|
/linux-4.1.27/include/linux/mmc/ |
H A D | card.h | 290 struct mmc_cid cid; /* card identification */ member in struct:mmc_card 400 cid_rev(card->cid.hwrev, \ 401 card->cid.fwrev, \ 402 card->cid.year, \ 403 card->cid.month) 510 #define mmc_card_name(c) ((c)->cid.prod_name)
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | sbi.h | 14 /* 0x0000 */ u32 cid; /* Component ID */ member in struct:sbi_regs
|
/linux-4.1.27/drivers/bcma/ |
H A D | main.c | 592 const struct bcma_device_id *cid = &core->id; bcma_bus_match() local 596 if ((did->manuf == cid->manuf || did->manuf == BCMA_ANY_MANUF) && bcma_bus_match() 597 (did->id == cid->id || did->id == BCMA_ANY_ID) && bcma_bus_match() 598 (did->rev == cid->rev || did->rev == BCMA_ANY_REV) && bcma_bus_match() 599 (did->class == cid->class || did->class == BCMA_ANY_CLASS)) bcma_bus_match()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
H A D | bnx2i_iscsi.c | 234 * update iscsi cid table entry with connection pointer. This enables 254 * bnx2i_get_conn_from_id - maps an iscsi cid to corresponding conn ptr 262 printk(KERN_ERR "bnx2i: ERROR - missing conn<->cid table\n"); bnx2i_get_conn_from_id() 266 printk(KERN_ERR "bnx2i: wrong cid #%d\n", iscsi_cid); bnx2i_get_conn_from_id() 318 * bnx2i_setup_free_cid_que - sets up free iscsi cid queue 321 * allocates memory for iscsi cid queue & 'cid - conn ptr' mapping table, 691 printk(KERN_ERR "l5 cid %d not found\n", iscsi_cid); bnx2i_find_ep_in_ofld_list() 719 printk(KERN_ERR "l5 cid %d not found\n", iscsi_cid); bnx2i_find_ep_in_destroy_list() 1351 * @cid: iscsi cid as per rfc (not NX2's CID terminology) 1356 bnx2i_conn_create(struct iscsi_cls_session *cls_session, uint32_t cid) bnx2i_conn_create() argument 1365 cid); bnx2i_conn_create() 1817 "iscsi cid\n", hba->netdev->name); bnx2i_ep_connect() 1844 printk(KERN_ALERT "bnx2i (%s): iscsi cid %d is busy\n", bnx2i_ep_connect() 1855 /* Wait for CNIC hardware to setup conn context and return 'cid' */ bnx2i_ep_connect() 1867 printk(KERN_ALERT "bnx2i (%s): iscsi cid %d is busy\n", bnx2i_ep_connect()
|
H A D | bnx2i_hwi.c | 25 * bnx2i_get_cid_num - get cid from ep 32 u32 cid; bnx2i_get_cid_num() local 35 cid = ep->ep_cid; bnx2i_get_cid_num() 37 cid = GET_CID_NUM(ep->ep_cid); bnx2i_get_cid_num() 38 return cid; bnx2i_get_cid_num() 355 login_wqe->cid = login_hdr->cid; bnx2i_send_iscsi_login() 624 logout_wqe->cid = 0; bnx2i_send_iscsi_logout() 2118 printk(KERN_ALERT "cid #%x not valid\n", iscsi_cid); bnx2i_fastpath_notification() 2122 printk(KERN_ALERT "cid #%x - ep not bound\n", iscsi_cid); bnx2i_fastpath_notification() 2151 printk(KERN_ALERT "conn_update: cid %x not valid\n", iscsi_cid); bnx2i_process_update_conn_cmpl() 2155 printk(KERN_ALERT "cid %x does not have ep bound\n", iscsi_cid); bnx2i_process_update_conn_cmpl() 2160 printk(KERN_ALERT "request failed cid %x\n", iscsi_cid); bnx2i_process_update_conn_cmpl() 2202 printk(KERN_ALERT "bnx2i - cid 0x%x not valid\n", iscsi_cid); bnx2i_process_tcp_error() 2206 printk(KERN_ALERT "bnx2i - cid 0x%x had TCP errors, error code 0x%x\n", bnx2i_process_tcp_error() 2240 printk(KERN_ALERT "bnx2i - cid 0x%x not valid\n", iscsi_cid); bnx2i_process_iscsi_error() 2390 "iscsi_cid %x cid %x\n", bnx2i_process_iscsi_error()
|
H A D | 57xx_iscsi_hsi.h | 839 u16 cid; member in struct:bnx2i_login_request 843 u16 cid; member in struct:bnx2i_login_request 1017 u16 cid; member in struct:bnx2i_logout_request 1021 u16 cid; member in struct:bnx2i_logout_request
|
H A D | bnx2i.h | 310 * struct iscsi_cid_queue - Per adapter iscsi cid queue 318 * @conn_cid_tbl: iscsi cid to conn structure mapping table 363 * @cid_que: iscsi cid queue 742 * *iscsi cid*
|
/linux-4.1.27/drivers/amba/ |
H A D | bus.c | 378 u32 pid, cid; amba_device_add() local 381 * Read pid and cid based on size of resource amba_device_add() 387 for (cid = 0, i = 0; i < 4; i++) amba_device_add() 388 cid |= (readl(tmp + size - 0x10 + 4 * i) & 255) << amba_device_add() 393 if (cid == AMBA_CID || cid == CORESIGHT_CID) amba_device_add()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | ps3av.h | 359 u32 cid; /* command id */ member in struct:ps3av_send_hdr 365 u32 cid; member in struct:ps3av_reply_hdr 587 u32 cid; /* command id */ member in struct:ps3av_pkt_video_pitch 641 u32 cid; /* command id */ member in struct:ps3av_pkt_audio_spdif_bit 652 u32 cid; /* command id */ member in struct:ps3av_pkt_audio_ctrl 697 #define PS3AV_STATUS_UNSUPPORTED_COMMAND 0x000c /* unsupported cid */
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | cyttsp_core.h | 72 u8 cid[3]; member in struct:cyttsp_sysinfo_data
|
/linux-4.1.27/net/bluetooth/ |
H A D | l2cap_core.c | 91 u16 cid) __l2cap_get_chan_by_dcid() 96 if (c->dcid == cid) __l2cap_get_chan_by_dcid() 103 u16 cid) __l2cap_get_chan_by_scid() 108 if (c->scid == cid) __l2cap_get_chan_by_scid() 117 u16 cid) l2cap_get_chan_by_scid() 122 c = __l2cap_get_chan_by_scid(conn, cid); l2cap_get_chan_by_scid() 134 u16 cid) l2cap_get_chan_by_dcid() 139 c = __l2cap_get_chan_by_dcid(conn, cid); l2cap_get_chan_by_dcid() 235 u16 cid, dyn_end; l2cap_alloc_cid() local 242 for (cid = L2CAP_CID_DYN_START; cid < dyn_end; cid++) { l2cap_alloc_cid() 243 if (!__l2cap_get_chan_by_scid(conn, cid)) l2cap_alloc_cid() 244 return cid; l2cap_alloc_cid() 1042 lh->cid = cpu_to_le16(chan->dcid); l2cap_create_sframe_pdu() 2179 lh->cid = cpu_to_le16(chan->dcid); l2cap_create_connless_pdu() 2210 lh->cid = cpu_to_le16(chan->dcid); l2cap_create_basic_pdu() 2252 lh->cid = cpu_to_le16(chan->dcid); l2cap_create_iframe_pdu() 2370 lh->cid = cpu_to_le16(chan->dcid); l2cap_create_le_flowctl_pdu() 2898 lh->cid = cpu_to_le16(L2CAP_CID_LE_SIGNALING); l2cap_build_cmd() 2900 lh->cid = cpu_to_le16(L2CAP_CID_SIGNALING); l2cap_build_cmd() 5523 u16 cid, credits, max_credits; l2cap_le_credits() local 5529 cid = __le16_to_cpu(pkt->cid); l2cap_le_credits() 5532 BT_DBG("cid 0x%4.4x credits 0x%4.4x", cid, credits); l2cap_le_credits() 5534 chan = l2cap_get_chan_by_dcid(conn, cid); l2cap_le_credits() 6672 pkt.cid = cpu_to_le16(chan->scid); l2cap_chan_le_send_credits() 6770 static void l2cap_data_channel(struct l2cap_conn *conn, u16 cid, l2cap_data_channel() argument 6775 chan = l2cap_get_chan_by_scid(conn, cid); l2cap_data_channel() 6777 if (cid == L2CAP_CID_A2MP) { l2cap_data_channel() 6786 BT_DBG("unknown cid 0x%4.4x", cid); l2cap_data_channel() 6885 u16 cid, len; l2cap_recv_frame() local 6895 cid = __le16_to_cpu(lh->cid); l2cap_recv_frame() 6913 BT_DBG("len %d, cid 0x%4.4x", len, cid); l2cap_recv_frame() 6915 switch (cid) { l2cap_recv_frame() 6931 l2cap_data_channel(conn, cid, skb); l2cap_recv_frame() 7026 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, l2cap_chan_connect() argument 7043 if (!is_valid_psm(__le16_to_cpu(psm), dst_type) && !cid && l2cap_chan_connect() 7054 if (chan->chan_type == L2CAP_CHAN_FIXED && !cid) { l2cap_chan_connect() 7103 chan->dcid = cid; l2cap_chan_connect() 7142 if (cid && __l2cap_get_chan_by_dcid(conn, cid)) { l2cap_chan_connect() 90 __l2cap_get_chan_by_dcid(struct l2cap_conn *conn, u16 cid) __l2cap_get_chan_by_dcid() argument 102 __l2cap_get_chan_by_scid(struct l2cap_conn *conn, u16 cid) __l2cap_get_chan_by_scid() argument 116 l2cap_get_chan_by_scid(struct l2cap_conn *conn, u16 cid) l2cap_get_chan_by_scid() argument 133 l2cap_get_chan_by_dcid(struct l2cap_conn *conn, u16 cid) l2cap_get_chan_by_dcid() argument
|
H A D | smp.c | 3094 static struct l2cap_chan *smp_add_cid(struct hci_dev *hdev, u16 cid) smp_add_cid() argument 3101 if (cid == L2CAP_CID_SMP_BREDR) { smp_add_cid() 3141 l2cap_add_scid(chan, cid); smp_add_cid() 3145 if (cid == L2CAP_CID_SMP) { smp_add_cid()
|
/linux-4.1.27/include/rxrpc/ |
H A D | packet.h | 28 __be32 cid; /* connection and channel ID */ member in struct:rxrpc_header 158 __be32 cid; /* parent connection ID */ member in struct:rxkad_response::__anon12892
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | lapic.c | 145 apic_logical_id(struct kvm_apic_map *map, u32 dest_id, u16 *cid, u16 *lid) apic_logical_id() argument 154 *cid = dest_id >> lid_bits; apic_logical_id() 173 u16 cid, lid; kvm_for_each_vcpu() local 198 apic_logical_id(new, ldr, &cid, &lid); kvm_for_each_vcpu() 200 if (lid && cid < ARRAY_SIZE(new->logical_map)) kvm_for_each_vcpu() 201 new->logical_map[cid][ffs(lid) - 1] = apic; kvm_for_each_vcpu() 719 u16 cid; kvm_irq_delivery_to_apic_fast() local 726 apic_logical_id(map, irq->dest_id, &cid, (u16 *)&bitmap); kvm_irq_delivery_to_apic_fast() 728 if (cid >= ARRAY_SIZE(map->logical_map)) kvm_irq_delivery_to_apic_fast() 731 dst = map->logical_map[cid]; kvm_irq_delivery_to_apic_fast()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_transport_iscsi.c | 1643 * Returns the matching connection to a given sid / cid tuple 1645 static struct iscsi_cls_conn *iscsi_conn_lookup(uint32_t sid, uint32_t cid) iscsi_conn_lookup() argument 1652 if ((conn->cid == cid) && (iscsi_conn_get_sid(conn) == sid)) { iscsi_conn_lookup() 2238 * @cid: connection id 2241 * is child of the session so cid must be unique for all connections 2244 * Since we do not support MCS, cid will normally be zero. In some cases 2246 * in which case there could be two connection structs and cid would be 2250 iscsi_create_conn(struct iscsi_cls_session *session, int dd_size, uint32_t cid) iscsi_create_conn() argument 2266 conn->cid = cid; iscsi_create_conn() 2272 dev_set_name(&conn->dev, "connection%d:%u", session->sid, cid); iscsi_create_conn() 2374 ev->r.recv_req.cid = conn->cid; iscsi_recv_pdu() 2443 ev->r.connerror.cid = conn->cid; iscsi_conn_error_event() 2478 ev->r.conn_login.cid = conn->cid; iscsi_conn_login_event() 2589 conn = iscsi_conn_lookup(ev->u.get_stats.sid, ev->u.get_stats.cid); iscsi_if_get_stats() 2609 evstat->u.get_stats.cid = iscsi_if_get_stats() 2610 ev->u.get_stats.cid; iscsi_if_get_stats() 2741 conn = transport->create_conn(session, ev->u.c_conn.cid); iscsi_if_create_conn() 2749 ev->r.c_conn_ret.cid = conn->cid; iscsi_if_create_conn() 2760 conn = iscsi_conn_lookup(ev->u.d_conn.sid, ev->u.d_conn.cid); iscsi_if_destroy_conn() 2780 conn = iscsi_conn_lookup(ev->u.set_param.sid, ev->u.set_param.cid); iscsi_set_param() 3557 conn = iscsi_conn_lookup(ev->u.b_conn.sid, ev->u.b_conn.cid); iscsi_if_recv_msg() 3589 conn = iscsi_conn_lookup(ev->u.start_conn.sid, ev->u.start_conn.cid); iscsi_if_recv_msg() 3596 conn = iscsi_conn_lookup(ev->u.stop_conn.sid, ev->u.stop_conn.cid); iscsi_if_recv_msg() 3603 conn = iscsi_conn_lookup(ev->u.send_pdu.sid, ev->u.send_pdu.cid); iscsi_if_recv_msg()
|
H A D | libiscsi.c | 464 ISCSI_DBG_SESSION(session, "iscsi prep [%s cid %d sc %p cdb 0x%x " iscsi_prep_scsi_cmd_pdu() 1172 ISCSI_DBG_SESSION(session, "[op 0x%x cid %d itt 0x%x len %d]\n", __iscsi_complete_pdu() 2868 * @conn_idx: cid
|
H A D | libiscsi_tcp.c | 666 /* verify itt (itt encoding: age+cid+itt) */ iscsi_tcp_hdr_dissect()
|
/linux-4.1.27/tools/thermal/tmon/ |
H A D | sysfs.c | 207 struct tz_info *tzi, int tz_id, int cid) find_tzone_cdev() 216 syslog(LOG_DEBUG, "TZ%d: cdev: %s cid %d\n", tz_id, nl->d_name, find_tzone_cdev() 217 cid); find_tzone_cdev() 206 find_tzone_cdev(struct dirent *nl, char *tz_name, struct tz_info *tzi, int tz_id, int cid) find_tzone_cdev() argument
|
/linux-4.1.27/drivers/media/dvb-core/ |
H A D | dvb_filter.h | 138 u8 cid; member in struct:ipack
|
/linux-4.1.27/include/target/iscsi/ |
H A D | iscsi_target_core.h | 325 u16 cid; member in struct:iscsi_ooo_cmdsn 522 u16 cid; member in struct:iscsi_conn 617 u16 cid; member in struct:iscsi_conn_recovery 711 u16 cid; member in struct:iscsi_login
|
/linux-4.1.27/sound/isa/cs423x/ |
H A D | cs4236.c | 560 char cid[PNP_ID_LEN]; snd_cs423x_pnpbios_detect() local 572 strcpy(cid, pdev->id[0].id); snd_cs423x_pnpbios_detect() 573 cid[5] = '1'; snd_cs423x_pnpbios_detect() 576 if (!strcmp(cdev->id[0].id, cid)) snd_cs423x_pnpbios_detect()
|
/linux-4.1.27/fs/cifs/ |
H A D | cifsacl.c | 201 id_to_sid(unsigned int cid, uint sidtype, struct cifs_sid *ssid) id_to_sid() argument 211 sidtype == SIDOWNER ? 'o' : 'g', cid); id_to_sid() 220 cifs_dbg(FYI, "%s: Can't map %cid %u to a SID\n", id_to_sid() 221 __func__, sidtype == SIDOWNER ? 'u' : 'g', cid); id_to_sid() 288 cifs_dbg(FYI, "%s: Can't map SID %s to a %cid\n", sid_to_id()
|
/linux-4.1.27/include/net/bluetooth/ |
H A D | l2cap.h | 201 __le16 cid; member in struct:l2cap_hdr 468 __le16 cid; member in struct:l2cap_le_credits 919 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
|
/linux-4.1.27/drivers/hwmon/ |
H A D | lm87.c | 815 u8 cid, rev; lm87_detect() local 824 cid = lm87_read_value(client, LM87_REG_COMPANY_ID); lm87_detect() 827 if (cid == 0x02 /* National Semiconductor */ lm87_detect() 830 else if (cid == 0x41 /* Analog Devices */ lm87_detect()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | ecard.h | 160 CONST struct in_ecid cid; /* Card Identification */ member in struct:expansion_card
|
/linux-4.1.27/Documentation/dvb/ |
H A D | get_dvb_firmware | 36 $cid = $ARGV[0]; 40 if ($cid eq $components[$i]) { 41 $outfile = eval($cid); 53 print STDERR "Unknown component \"$cid\"\n";
|
/linux-4.1.27/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 345 int cid, next; parse_eeprom() local 372 cid = psib[i++]; parse_eeprom() 374 if ((cid == 0 && next == 0) || (cid == 0xff && next == 0xff)) { parse_eeprom() 378 switch (cid) { parse_eeprom()
|
/linux-4.1.27/drivers/net/ethernet/8390/ |
H A D | etherh.c | 707 eh->id = ec->cid.product; etherh_probe() 743 if (ec->cid.product == PROD_ANT_ETHERM) { etherh_probe()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | nvme.h | 434 __u16 cid; member in struct:nvme_abort_cmd
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
H A D | tilegx.c | 714 unsigned int cid = comps->comp_last % TILE_NET_MAX_COMPS; tile_net_free_comps() local 715 struct tile_net_comp *comp = &comps->comp_queue[cid]; tile_net_free_comps() 734 int cid = comps->comp_next % TILE_NET_MAX_COMPS; add_comp() local 735 comps->comp_queue[cid].when = when; add_comp() 736 comps->comp_queue[cid].skb = skb; add_comp()
|
/linux-4.1.27/drivers/acpi/ |
H A D | scan.c | 118 * create_pnp_modalias - Create hid/cid(s) string for modalias and uevent 123 * Creates hid/cid(s) string needed for modalias and uevent 124 * e.g. on a device with hid:IBM0001 and cid:ACPI0001 you get: 315 * e.g. for a device with hid:IBM0001 and cid:ACPI0001 you get: 358 * e.g. for a device with hid:IBM0001 and cid:ACPI0001 you get:
|
/linux-4.1.27/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 1766 "csk 0x%p, cid %d.\n", csk, conn->id); cxgbi_conn_tx_open() 2495 cxgbi_create_conn(struct iscsi_cls_session *cls_session, u32 cid) cxgbi_create_conn() argument 2502 cls_conn = iscsi_tcp_conn_setup(cls_session, sizeof(*cconn), cid); cxgbi_create_conn() 2512 "cid %u(0x%x), cls 0x%p,0x%p, conn 0x%p,0x%p,0x%p.\n", cxgbi_create_conn() 2513 cid, cid, cls_session, cls_conn, conn, tcp_conn, cconn); cxgbi_create_conn()
|
/linux-4.1.27/drivers/scsi/libfc/ |
H A D | fc_lport.c | 470 struct fc_els_rnid_cid cid; fc_lport_recv_rnid_req() member in struct:__anon9062 499 rp->rnid.rnid_cid_len = sizeof(rp->cid); fc_lport_recv_rnid_req() 500 rp->cid.rnid_wwpn = htonll(lport->wwpn); fc_lport_recv_rnid_req() 501 rp->cid.rnid_wwnn = htonll(lport->wwnn); fc_lport_recv_rnid_req()
|
/linux-4.1.27/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.c | 267 iser_dbg("mtask xmit [cid %d itt 0x%x]\n", conn->id, task->itt); iscsi_iser_mtask_xmit() 334 iser_dbg("ctask xmit [cid %d itt 0x%x]\n", iscsi_iser_task_xmit()
|
/linux-4.1.27/include/uapi/drm/ |
H A D | vmwgfx_drm.h | 127 * @cid: Device unique context ID. 134 int32_t cid; member in struct:drm_vmw_context_arg
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | s5k6aa.c | 702 int cid) s5k6aa_new_config_sync() 708 ret = s5k6aa_write(client, REG_G_ACTIVE_PREV_CFG, cid); s5k6aa_new_config_sync() 701 s5k6aa_new_config_sync(struct i2c_client *client, int timeout, int cid) s5k6aa_new_config_sync() argument
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | pal.h | 1750 cid :16, /* Core id */ member in struct:pal_proc_n_log_info1_u::__anon1511 1776 #define log1_cid ppli1.ppli1_bits.cid
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_tty.c | 1881 isdn_tty_match_icall(char *cid, atemu *emu, int di) isdn_tty_match_icall() argument 1897 if ((tmp = isdn_msncmp(cid, isdn_map_eaz2msn(p, di))) > ret) isdn_tty_match_icall() 1916 tmp = isdn_msncmp(cid, isdn_map_eaz2msn(emu->msn, di)); isdn_tty_match_icall()
|
/linux-4.1.27/fs/ceph/ |
H A D | caps.c | 978 u64 ino, u64 cid, int op, send_cap_msg() 997 cid, ino, ceph_cap_string(caps), ceph_cap_string(wanted), send_cap_msg() 1014 fc->cap_id = cpu_to_le64(cid); send_cap_msg() 977 send_cap_msg(struct ceph_mds_session *session, u64 ino, u64 cid, int op, int caps, int wanted, int dirty, u32 seq, u64 flush_tid, u32 issue_seq, u32 mseq, u64 size, u64 max_size, struct timespec *mtime, struct timespec *atime, u64 time_warp_seq, kuid_t uid, kgid_t gid, umode_t mode, u64 xattr_version, struct ceph_buffer *xattrs_buf, u64 follows, bool inline_data) send_cap_msg() argument
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 3187 DEBUG2(ql4_printk(KERN_INFO, ha, "%s: sid = %d, cid = %d\n", __func__, qla4xxx_conn_bind() 3188 cls_session->sid, cls_conn->cid)); qla4xxx_conn_bind() 3214 DEBUG2(ql4_printk(KERN_INFO, ha, "%s: sid = %d, cid = %d\n", __func__, qla4xxx_conn_start() 3215 cls_sess->sid, cls_conn->cid)); qla4xxx_conn_start() 3292 DEBUG2(ql4_printk(KERN_INFO, ha, "%s: cid = %d\n", __func__, qla4xxx_conn_destroy() 3293 cls_conn->cid)); qla4xxx_conn_destroy()
|
/linux-4.1.27/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.c | 1261 login->cid = be16_to_cpu(login_req->cid); isert_rx_login_req()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 535 u16 cid; member in struct:be_cmd_resp_eth_tx_create
|
H A D | be_cmds.c | 1298 txq->id = le16_to_cpu(resp->cid); be_cmd_txq_create()
|
/linux-4.1.27/drivers/block/ |
H A D | nvme-core.c | 1243 cmd.abort.cid = req->tag; nvme_abort_req()
|