/freebsd-11-stable/sys/dev/bhnd/siba/ |
H A D | siba_bhndb.c | 85 const struct bhnd_chipid *cid; local 88 cid = BHNDB_GET_CHIPID(device_get_parent(dev), dev); 89 if (cid->chip_type != BHND_CHIPTYPE_SIBA)
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe.c | 1738 uint32_t cid) 1742 CDU_RSRVD_VALUE_TYPE_A(HW_CID(sc, cid), 1746 CDU_RSRVD_VALUE_TYPE_A(HW_CID(sc, cid), 2392 * @cid: SW CID the command is related to 2404 int cid, 2435 htole32((command << SPE_HDR_T_CMD_ID_SHIFT) | HW_CID(sc, cid)); 2469 HW_CID(sc, cid), 2692 int cid = SW_CID(rr_cqe->ramrod_cqe.conn_and_cmd_data); local 2697 BLOGD(sc, DBG_SP, "fp=%d cid=%d got ramrod #%d state is %x type is %d\n", 2698 fp->index, cid, comman 1736 bxe_set_ctx_validation(struct bxe_softc *sc, struct eth_context *cxt, uint32_t cid) argument 2402 bxe_sp_post(struct bxe_softc *sc, int command, int cid, uint32_t data_hi, uint32_t data_lo, int cmd_type) argument 8409 bxe_cid_to_q_obj(struct bxe_softc *sc, uint32_t cid) argument 8449 uint32_t cid = elem->message.data.eth_event.echo & BXE_SWCID_MASK; local 8512 uint32_t cid; local [all...] |
H A D | bxe.h | 644 uint8_t index; /* this is also the 'cid' */ 781 #define CID_TO_FP(cid, sc) ((cid) % BXE_NUM_NON_CNIC_QUEUES(sc)) 835 * L2 queue is supported. the cid for the FCoE L2 queue is always X. 1968 #define DOORBELL(sc, cid, val) \ 1971 ((sc->doorbell_size * (cid)) + DPM_TRIGGER_TYPE), \ 2188 uint32_t cid); 2193 int bxe_sp_post(struct bxe_softc *sc, int command, int cid,
|
H A D | ecore_hsi.h | 8401 uint32_t context_id /* Context ID (cid) of the connection */; 8413 uint32_t context_id /* Context ID (cid) of the connection */; 10854 uint16_t cid; member in struct:iscsi_login_req_hdr_little_endian 10858 uint16_t cid; member in struct:iscsi_login_req_hdr_little_endian 10895 uint16_t cid; member in struct:iscsi_logout_req_hdr_little_endian 10899 uint16_t cid; member in struct:iscsi_logout_req_hdr_little_endian 11165 uint32_t cid /* cid of deleted connection */; member in struct:cfc_del_event_data 12925 #define TOE_RX_CQE_CID (0xFFFFFF<<0) /* BitField params1completion cid and opcode connection id */ 12927 #define TOE_RX_CQE_COMPLETION_OPCODE (0xFF<<24) /* BitField params1completion cid an [all...] |
H A D | ecore_sp.c | 957 * @cid: connection id 965 static inline void ecore_vlan_mac_set_rdata_hdr_e2(uint32_t cid, int type, argument 968 hdr->echo = ECORE_CPU_TO_LE32((cid & ECORE_SWCID_MASK) | 1055 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, 1079 hdr->echo = ECORE_CPU_TO_LE32((r->cid & ECORE_SWCID_MASK) | 1207 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, 1264 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, &data->header, 1320 ecore_vlan_mac_set_rdata_hdr_e2(raw->cid, raw->state, 2021 rc = ecore_sp_post(sc, o->ramrod_cmd, r->cid, 2279 uint32_t cid, uint8_ 2278 ecore_init_raw_obj(struct ecore_raw_obj *raw, uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, ecore_dma_addr_t rdata_mapping, int state, unsigned long *pstate, ecore_obj_type type) argument 2296 ecore_init_vlan_mac_common(struct ecore_vlan_mac_obj *o, uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, ecore_dma_addr_t rdata_mapping, int state, unsigned long *pstate, ecore_obj_type type, struct ecore_credit_pool_obj *macs_pool, struct ecore_credit_pool_obj *vlans_pool) argument 2319 ecore_init_mac_obj(struct bxe_softc *sc, struct ecore_vlan_mac_obj *mac_obj, uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, ecore_dma_addr_t rdata_mapping, int state, unsigned long *pstate, ecore_obj_type type, struct ecore_credit_pool_obj *macs_pool) argument 2373 ecore_init_vlan_obj(struct bxe_softc *sc, struct ecore_vlan_mac_obj *vlan_obj, uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, ecore_dma_addr_t rdata_mapping, int state, unsigned long *pstate, ecore_obj_type type, struct ecore_credit_pool_obj *vlans_pool) argument 2414 ecore_init_vlan_mac_obj(struct bxe_softc *sc, struct ecore_vlan_mac_obj *vlan_mac_obj, uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, ecore_dma_addr_t rdata_mapping, int state, unsigned long *pstate, ecore_obj_type type, struct ecore_credit_pool_obj *macs_pool, struct ecore_credit_pool_obj *vlans_pool) argument 2477 ecore_init_vxlan_fltr_obj(struct bxe_softc *sc, struct ecore_vlan_mac_obj *vlan_mac_obj, uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, ecore_dma_addr_t rdata_mapping, int state, unsigned long *pstate, ecore_obj_type type, struct ecore_credit_pool_obj *macs_pool, struct ecore_credit_pool_obj *vlans_pool) argument 2620 ecore_rx_mode_set_rdata_hdr_e2(uint32_t cid, struct eth_classify_header *hdr, uint8_t rule_cnt) argument 4613 ecore_init_rss_config_obj(struct bxe_softc *sc, struct ecore_rss_config_obj *rss_obj, uint8_t cl_id, uint32_t cid, uint8_t func_id, uint8_t engine_id, void *rdata, ecore_dma_addr_t rdata_mapping, int state, unsigned long *pstate, ecore_obj_type type) argument [all...] |
H A D | ecore_sp.h | 536 uint32_t cid; member in struct:ecore_raw_obj 943 uint32_t cid; member in struct:ecore_rx_mode_ramrod_params 1867 uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, 1874 uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, 1881 uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, 1889 uint8_t cl_id, uint32_t cid, uint8_t func_id, void *rdata, 1973 uint8_t cl_id, uint32_t cid, uint8_t func_id, uint8_t engine_id,
|
/freebsd-11-stable/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 74 static void read_sge_ctxt(struct cudbg_init *pdbg_init, u32 cid, argument 85 rc = t4_sge_ctxt_rd(padap, padap->mbox, cid, ctype, 92 t4_sge_ctxt_rd_bd(padap, cid, ctype, data);
|
/freebsd-11-stable/sys/dev/hatm/ |
H A D | if_hatm.c | 446 u_int cid; local 455 for (cid = 0; cid < HE_MAX_VCCS; cid++) 456 if (sc->vccs[cid] != NULL) 457 uma_zfree(sc->vcc_zone, sc->vccs[cid]); 1976 u_int cid; local 2255 for (cid = 0; cid < HE_MAX_VCCS; cid 2271 u_int i, p, cid; local [all...] |
H A D | if_hatm_intr.c | 503 u_int cid, len; local 520 cid = (e->len & HE_REGM_RBRQ_CID) >> HE_REGS_RBRQ_CID; 523 hatm_rx(sc, cid, flags, m, len);
|
H A D | if_hatm_ioctl.c | 98 u_int cid; local 109 cid = HE_CID(arg->param.vpi, arg->param.vci); 124 if (sc->vccs[cid] != NULL) { 158 (error = hatm_tx_vcc_can_open(sc, cid, vcc)) != 0) 162 sc->vccs[cid] = vcc; 163 hatm_load_vc(sc, cid, 0); 177 hatm_load_vc(struct hatm_softc *sc, u_int cid, int reopen) argument 179 struct hevcc *vcc = sc->vccs[cid]; 182 hatm_tx_vcc_open(sc, cid); 184 hatm_rx_vcc_open(sc, cid); 200 hatm_vcc_closed(struct hatm_softc *sc, u_int cid) argument 220 u_int cid; local [all...] |
H A D | if_hatm_rx.c | 82 hatm_rx(struct hatm_softc *sc, u_int cid, u_int flags, struct mbuf *m0, argument 91 DBG(sc, RX, ("cid=%#x flags=%#x len=%u mbuf=%p", cid, flags, len, m0)); 93 vcc = sc->vccs[cid]; 102 hatm_vcc_closed(sc, cid); 236 vpi = HE_VPI(cid); 237 vci = HE_VCI(cid); 274 hatm_rx_vcc_open(struct hatm_softc *sc, u_int cid) argument 276 struct hevcc *vcc = sc->vccs[cid]; 300 WRITE_RSR(sc, cid, 311 hatm_rx_vcc_close(struct hatm_softc *sc, u_int cid) argument [all...] |
H A D | if_hatm_tx.c | 135 t->cid = 0; 170 u_int cid) 215 sc->tpdrq.tpdrq[sc->tpdrq.tail].cid = cid; 299 tpd->cid = arg->first->cid; 338 if (hatm_queue_tpds(arg->sc, tpd_cnt, tpd_list, arg->first->cid)) { 358 u_int cid; local 399 cid = HE_CID(arg.vpi, arg.vci); 400 arg.vcc = sc->vccs[cid]; 169 hatm_queue_tpds(struct hatm_softc *sc, u_int count, struct tpd **list, u_int cid) argument 563 hatm_tx_vcc_can_open(struct hatm_softc *sc, u_int cid, struct hevcc *vcc) argument 658 hatm_tx_vcc_open(struct hatm_softc *sc, u_int cid) argument 779 hatm_tx_vcc_close(struct hatm_softc *sc, u_int cid) argument 821 hatm_tx_vcc_closed(struct hatm_softc *sc, u_int cid) argument [all...] |
H A D | if_hatmreg.h | 601 uint32_t cid; /* connection id */ member in struct:he_tpdrqen
|
H A D | if_hatmvar.h | 172 SLIST_ENTRY(tpd) link; /* free cid list link */ 175 uint32_t cid; /* CID */ member in struct:tpd 627 void hatm_rx(struct hatm_softc *sc, u_int cid, u_int flags, struct mbuf *m, 631 int hatm_tx_vcc_can_open(struct hatm_softc *sc, u_int cid, struct hevcc *); 632 void hatm_tx_vcc_open(struct hatm_softc *sc, u_int cid); 633 void hatm_rx_vcc_open(struct hatm_softc *sc, u_int cid); 634 void hatm_tx_vcc_close(struct hatm_softc *sc, u_int cid); 635 void hatm_rx_vcc_close(struct hatm_softc *sc, u_int cid); 636 void hatm_tx_vcc_closed(struct hatm_softc *sc, u_int cid); 637 void hatm_vcc_closed(struct hatm_softc *sc, u_int cid); [all...] |
/freebsd-11-stable/sys/dev/iicbus/ |
H A D | adt746x.c | 260 uint8_t did, cid, rev, conf; local 269 adt746x_read(sc->sc_dev, sc->sc_addr, ADT746X_COMPANY_ID, &cid); 274 did, cid, rev, conf);
|
/freebsd-11-stable/sys/dev/mmc/ |
H A D | mmc.c | 95 struct mmc_cid cid; /* cid decoded */ member in struct:mmc_ivars 178 static void mmc_decode_cid_mmc(uint32_t *raw_cid, struct mmc_cid *cid, 180 static void mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid); 1090 mmc_decode_cid_sd(uint32_t *raw_cid, struct mmc_cid *cid) argument 1095 memset(cid, 0, sizeof(*cid)); 1096 cid->mid = mmc_get_bits(raw_cid, 128, 120, 8); 1097 cid->oid = mmc_get_bits(raw_cid, 128, 104, 16); 1099 cid 1108 mmc_decode_cid_mmc(uint32_t *raw_cid, struct mmc_cid *cid, bool is_4_41p) argument [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_ctrlr_cmd.c | 312 nvme_ctrlr_cmd_abort(struct nvme_controller *ctrlr, uint16_t cid, argument 322 cmd->cdw10 = (cid << 16) | sqid;
|
/freebsd-11-stable/sys/dev/patm/ |
H A D | idt77252reg.h | 267 uint32_t cid; /* VPI/VCI */ member in struct:idt_rsqe
|
H A D | if_patm_intr.c | 442 rsqe->cid = 0;
|
H A D | if_patm_ioctl.c | 82 u_int cid; local 95 cid = PATM_CID(sc, arg->param.vpi, arg->param.vci); 116 if (sc->vccs[cid] != NULL) { 123 vcc->cid = cid; 175 sc->vccs[cid] = vcc; 217 u_int cid; local 225 cid = PATM_CID(sc, arg->vpi, arg->vci); 234 vcc = sc->vccs[cid]; 284 sc->vccs[vcc->cid] [all...] |
H A D | if_patm_rx.c | 85 rct_write(struct patm_softc *sc, u_int cid, u_int w, u_int val) argument 87 patm_sram_write(sc, sc->mmap->rct + cid * IDT_RCT_ENTRY_SIZE + w, val); 90 rct_read(struct patm_softc *sc, u_int cid, u_int w) argument 93 cid * IDT_RCT_ENTRY_SIZE + w)); 128 if (vcc->cid != 0) 129 patm_sram_write4(sc, sc->mmap->rct + vcc->cid * 148 if (vcc->cid == 0) { 157 w1 = rct_read(sc, vcc->cid, 0); 159 rct_write(sc, vcc->cid, 0, w1); 163 rct_write(sc, vcc->cid, 197 u_int stat, cid, w, cells, len, h; local 432 u_int vpi, vci, cid; local [all...] |
H A D | if_patm_tx.c | 104 static void patm_tct_print(struct patm_softc *sc, u_int cid) __unused; 259 patm_nor_write(sc, IDT_NOR_TCMDQ, IDT_TCMDQ_UIER(vcc->cid, 0xff)); 260 patm_nor_write(sc, IDT_NOR_TCMDQ, IDT_TCMDQ_ULACR(vcc->cid, 0xff)); 289 u_int vpi, vci, cid; local 329 cid = PATM_CID(sc, vpi, vci); 330 vcc = sc->vccs[cid]; 643 if (patm_sram_read(a->sc, a->vcc->cid * 8 + 3) & IDT_TCT_IDLE) { 651 IDT_TCMDQ_START(a->vcc->cid)); 661 u_int cid, tag, last; local 668 cid 764 patm_tx_idle(struct patm_softc *sc, u_int cid) argument 1012 patm_tct_print(struct patm_softc *sc, u_int cid) argument [all...] |
H A D | if_patmvar.h | 202 u_int cid; /* index */ member in struct:patm_vcc
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | common_hsi.h | 758 __le32 cid /* Dedicated field RoCE destroy QP event */; member in struct:rdma_eqe_destroy_qp
|
H A D | ecore.h | 130 static OSAL_INLINE u32 DB_ADDR(u32 cid, u32 DEMS) argument 133 (cid * ECORE_PF_DEMS_SIZE); 138 static OSAL_INLINE u32 DB_ADDR_VF(u32 cid, u32 DEMS) argument 141 FIELD_VALUE(DB_LEGACY_ADDR_ICID, cid);
|