| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | bmi.c | 26 u32 cid = BMI_DONE; in ath6kl_bmi_done() local 35 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); in ath6kl_bmi_done() 48 u32 cid = BMI_GET_TARGET_INFO; in ath6kl_bmi_get_target_info() local 51 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_get_target_info() 55 ret = ath6kl_hif_bmi_write(ar, (u8 *)&cid, sizeof(cid)); in ath6kl_bmi_get_target_info() 118 u32 cid = BMI_READ_MEMORY; in ath6kl_bmi_read() local 125 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_read() 129 size = ar->bmi.max_data_size + sizeof(cid) + sizeof(addr) + sizeof(len); in ath6kl_bmi_read() 146 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_read() 147 offset += sizeof(cid); in ath6kl_bmi_read() [all …]
|
| /linux/fs/exfat/ |
| H A D | cache.c | 84 unsigned int fclus, struct exfat_cache_id *cid, in exfat_cache_lookup() argument 108 cid->id = ei->cache_valid_id; in exfat_cache_lookup() 109 cid->nr_contig = hit->nr_contig; in exfat_cache_lookup() 110 cid->fcluster = hit->fcluster; in exfat_cache_lookup() 111 cid->dcluster = hit->dcluster; in exfat_cache_lookup() 112 *cached_fclus = cid->fcluster + offset; in exfat_cache_lookup() 113 *cached_dclus = cid->dcluster + offset; in exfat_cache_lookup() 220 static inline int cache_contiguous(struct exfat_cache_id *cid, in cache_contiguous() argument 223 cid->nr_contig++; in cache_contiguous() 224 return cid->dcluster + cid->nr_contig == dclus; in cache_contiguous() [all …]
|
| /linux/include/trace/events/ |
| H A D | rpcrdma.h | 27 const struct rpc_rdma_cid *cid 30 TP_ARGS(cid), 38 __entry->cq_id = cid->ci_queue_id; 39 __entry->completion_id = cid->ci_completion_id; 42 TP_printk("cq.id=%d cid=%d", 50 const struct rpc_rdma_cid *cid \ 52 TP_ARGS(cid) \ 58 const struct rpc_rdma_cid *cid 61 TP_ARGS(wc, cid), 71 __entry->cq_id = cid->ci_queue_id; [all …]
|
| /linux/drivers/atm/ |
| H A D | he.c | 224 #define he_writel_tsr0(dev, val, cid) \ argument 225 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 0) 226 #define he_readl_tsr0(dev, cid) \ argument 227 he_readl_tcm(dev, CONFIG_TSRA | (cid << 3) | 0) 229 #define he_writel_tsr1(dev, val, cid) \ argument 230 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 1) 232 #define he_writel_tsr2(dev, val, cid) \ argument 233 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 2) 235 #define he_writel_tsr3(dev, val, cid) \ argument 236 he_writel_tcm(dev, val, CONFIG_TSRA | (cid << 3) | 3) [all …]
|
| /linux/drivers/target/iscsi/ |
| H A D | iscsi_target_erl2.c | 56 u16 cid) in iscsit_get_inactive_connection_recovery_entry() argument 62 if (cr->cid == cid) { in iscsit_get_inactive_connection_recovery_entry() 188 " 0x%08x, CID: %hu.\n", cmd->init_task_tag, in iscsit_discard_cr_cmds_by_expstatsn() 189 cmd->stat_sn, cr->cid); in iscsit_discard_cr_cmds_by_expstatsn() 200 " CID: %hu less than old ExpStatSN: 0x%08x\n", in iscsit_discard_cr_cmds_by_expstatsn() 201 dropped_count, cr->cid, exp_statsn); in iscsit_discard_cr_cmds_by_expstatsn() 205 " connection CID: %hu on SID: %u\n", in iscsit_discard_cr_cmds_by_expstatsn() 206 cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn() 209 pr_debug("iSCSI connection recovery successful for CID:" in iscsit_discard_cr_cmds_by_expstatsn() 210 " %hu on SID: %u\n", cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn() [all …]
|
| /linux/fs/fat/ |
| H A D | cache.c | 76 struct fat_cache_id *cid, in fat_cache_lookup() argument 100 cid->id = MSDOS_I(inode)->cache_valid_id; in fat_cache_lookup() 101 cid->nr_contig = hit->nr_contig; in fat_cache_lookup() 102 cid->fcluster = hit->fcluster; in fat_cache_lookup() 103 cid->dcluster = hit->dcluster; in fat_cache_lookup() 104 *cached_fclus = cid->fcluster + offset; in fat_cache_lookup() 105 *cached_dclus = cid->dcluster + offset; in fat_cache_lookup() 206 static inline int cache_contiguous(struct fat_cache_id *cid, int dclus) in cache_contiguous() argument 208 cid->nr_contig++; in cache_contiguous() 209 return ((cid->dcluster + cid->nr_contig) == dclus); in cache_contiguous() [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/device_include/ |
| H A D | svga3d_cmd.h | 380 uint32 cid; member 386 uint32 cid; member 392 uint32 cid; member 439 uint32 cid; member 446 uint32 cid; member 568 uint32 cid; member 577 uint32 cid; member 589 uint32 cid; member 623 uint32 cid; member 640 uint32 cid; member [all …]
|
| /linux/tools/testing/vsock/ |
| H A D | util.h | 74 int vsock_connect_fd(int fd, unsigned int cid, unsigned int port); 75 int vsock_connect(unsigned int cid, unsigned int port, int type); 76 int vsock_accept(unsigned int cid, unsigned int port, 78 int vsock_stream_connect(unsigned int cid, unsigned int port); 79 int vsock_bind_try(unsigned int cid, unsigned int port, int type); 80 int vsock_bind(unsigned int cid, unsigned int port, int type); 81 int vsock_bind_connect(unsigned int cid, unsigned int port, 83 int vsock_seqpacket_connect(unsigned int cid, unsigned int port); 84 int vsock_stream_accept(unsigned int cid, unsigned int port, 86 int vsock_stream_listen(unsigned int cid, unsigned int port); [all …]
|
| H A D | util.c | 56 /* Parse a CID in string representation */ 59 return parse_uint(str, "CID"); in parse_cid() 140 /* Create socket <type>, bind to <cid, port>. 143 int vsock_bind_try(unsigned int cid, unsigned int port, int type) in vsock_bind_try() argument 147 .svm_cid = cid, in vsock_bind_try() 168 /* Create socket <type>, bind to <cid, port> and return the file descriptor. */ 169 int vsock_bind(unsigned int cid, unsigned int port, int type) in vsock_bind() argument 173 fd = vsock_bind_try(cid, port, type); in vsock_bind() 182 int vsock_connect_fd(int fd, unsigned int cid, unsigned int port) in vsock_connect_fd() argument 186 .svm_cid = cid, in vsock_connect_fd() 202 vsock_bind_connect(unsigned int cid,unsigned int port,unsigned int bind_port,int type) vsock_bind_connect() argument 217 vsock_connect(unsigned int cid,unsigned int port,int type) vsock_connect() argument 240 vsock_stream_connect(unsigned int cid,unsigned int port) vsock_stream_connect() argument 245 vsock_seqpacket_connect(unsigned int cid,unsigned int port) vsock_seqpacket_connect() argument 251 vsock_listen(unsigned int cid,unsigned int port,int type) vsock_listen() argument 268 vsock_accept(unsigned int cid,unsigned int port,struct sockaddr_vm * clientaddrp,int type) vsock_accept() argument 312 vsock_stream_accept(unsigned int cid,unsigned int port,struct sockaddr_vm * clientaddrp) vsock_stream_accept() argument 318 vsock_stream_listen(unsigned int cid,unsigned int port) vsock_stream_listen() argument 323 vsock_seqpacket_accept(unsigned int cid,unsigned int port,struct sockaddr_vm * clientaddrp) vsock_seqpacket_accept() argument [all...] |
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | rx_reorder.c | 87 int tid, cid, mid, mcast, retry; in wil_rx_reorder() local 94 wil->txrx_ops.get_reorder_params(wil, skb, &tid, &cid, &mid, &seq, in wil_rx_reorder() 96 sta = &wil->sta[cid]; in wil_rx_reorder() 98 wil_dbg_txrx(wil, "MID %d CID %d TID %d Seq 0x%03x mcast %01x\n", in wil_rx_reorder() 99 mid, cid, tid, seq, mcast); in wil_rx_reorder() 215 u8 cid, u8 tid, u16 seq) in wil_rx_bar() argument 217 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_bar() 225 wil_err(wil, "BAR for non-existing CID %d TID %d\n", cid, tid); in wil_rx_bar() 233 wil_dbg_txrx(wil, "BAR: CID %d MID %d TID %d Seq 0x%03x head 0x%03x\n", in wil_rx_bar() 234 cid, vif->mid, tid, seq, r->head_seq_num); in wil_rx_bar() [all …]
|
| H A D | txrx.c | 368 /* cid from DMA descriptor is limited to 3 bits. in wil_rx_get_cid_by_skb() 369 * In case of cid>=8, the value would be cid modulo 8 and we need to in wil_rx_get_cid_by_skb() 370 * find real cid by locating the transmitter (ta) inside sta array in wil_rx_get_cid_by_skb() 372 int cid = wil_rxdesc_cid(d); in wil_rx_get_cid_by_skb() local 381 return cid; in wil_rx_get_cid_by_skb() 403 return cid; in wil_rx_get_cid_by_skb() 407 * cid from the rx descriptor in wil_rx_get_cid_by_skb() 411 return cid; in wil_rx_get_cid_by_skb() 413 /* For Rx packets cid from rx descriptor is limited to 3 bits (0..7), in wil_rx_get_cid_by_skb() 414 * to find the real cid, compare transmitter address with the stored in wil_rx_get_cid_by_skb() [all …]
|
| H A D | wmi.c | 859 wil_dbg_wmi(wil, "qid %d mid %d cid %d\n", in wmi_evt_rx_mgmt() 860 data->info.qid, data->info.mid, data->info.cid); in wmi_evt_rx_mgmt() 980 if (evt->cid >= wil->max_assoc_sta) { in wmi_evt_connect() 981 wil_err(wil, "Connect CID invalid : %d\n", evt->cid); in wmi_evt_connect() 986 wil_info(wil, "Connect %pM channel [%d] cid %d aid %d\n", in wmi_evt_connect() 987 evt->bssid, ch, evt->cid, evt->aid); in wmi_evt_connect() 1011 wil_err(wil, "status_resetting, cancel connect event, CID %d\n", in wmi_evt_connect() 1012 evt->cid); in wmi_evt_connect() 1029 if (wil->sta[evt->cid].status != wil_sta_unused) { in wmi_evt_connect() 1030 wil_err(wil, "AP: Invalid status %d for CID %d\n", in wmi_evt_connect() [all …]
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_pptp.c | 262 __be16 cid = 0, pcid = 0; in pptp_inbound_pkt() local 296 cid = pptpReq->ocack.callID; in pptp_inbound_pkt() 300 pr_debug("%s, CID=%X, PCID=%X\n", pptp_msg_name(msg), in pptp_inbound_pkt() 301 ntohs(cid), ntohs(pcid)); in pptp_inbound_pkt() 305 info->pac_call_id = cid; in pptp_inbound_pkt() 306 exp_gre(ct, cid, pcid); in pptp_inbound_pkt() 316 cid = pptpReq->icreq.callID; in pptp_inbound_pkt() 317 pr_debug("%s, CID=%X\n", pptp_msg_name(msg), ntohs(cid)); in pptp_inbound_pkt() 319 info->pac_call_id = cid; in pptp_inbound_pkt() 331 cid = info->pac_call_id; in pptp_inbound_pkt() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_ooo.h | 73 u32 cid); 96 u32 cid, u8 drop_isle, u8 drop_size); 100 u32 cid, 105 u32 cid, 110 struct qed_ooo_info *p_ooo_info, u32 cid, 129 u32 cid) {} in qed_ooo_release_connection_isles() argument 154 u32 cid, u8 drop_isle, u8 drop_size) {} in qed_ooo_delete_isles() argument 158 u32 cid, u8 ooo_isle, in qed_ooo_add_new_isle() argument 163 u32 cid, u8 ooo_isle, in qed_ooo_add_new_buffer() argument 168 struct qed_ooo_info *p_ooo_info, u32 cid, in qed_ooo_join_isles() argument
|
| H A D | qed_cxt.h | 173 * qed_cxt_release_cid(): Release a cid. 176 * @cid: Cid. 180 void qed_cxt_release_cid(struct qed_hwfn *p_hwfn, u32 cid); 183 * _qed_cxt_release_cid(): Release a cid belonging to a vf-queue. 186 * @cid: Cid. 191 void _qed_cxt_release_cid(struct qed_hwfn *p_hwfn, u32 cid, u8 vfid); 194 * qed_cxt_acquire_cid(): Acquire a new cid of a specific protocol type. 198 * @p_cid: Pointer cid. 206 * _qed_cxt_acquire_cid(): Acquire a new cid of a specific protocol type 211 * @p_cid: Pointer cid.
|
| H A D | qed_iwarp.c | 90 /* We have two cid maps, one for tcp which should be used only from passive 94 static void qed_iwarp_cid_cleaned(struct qed_hwfn *p_hwfn, u32 cid) in qed_iwarp_cid_cleaned() argument 96 cid -= qed_cxt_get_proto_cid_start(p_hwfn, p_hwfn->p_rdma_info->proto); in qed_iwarp_cid_cleaned() 100 if (cid < QED_IWARP_PREALLOC_CNT) in qed_iwarp_cid_cleaned() 102 cid); in qed_iwarp_cid_cleaned() 104 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_iwarp_cid_cleaned() 124 static int qed_iwarp_alloc_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_cid() argument 129 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_iwarp_alloc_cid() 132 DP_NOTICE(p_hwfn, "Failed in allocating iwarp cid\n"); in qed_iwarp_alloc_cid() 135 *cid += qed_cxt_get_proto_cid_start(p_hwfn, p_hwfn->p_rdma_info->proto); in qed_iwarp_alloc_cid() [all …]
|
| H A D | qed_roce.c | 48 u16 icid = (u16)le32_to_cpu(rdata->rdma_destroy_qp_data.cid); in qed_roce_async_event() 81 * immediately reset without receiving a per-cid indication in qed_roce_stop() 82 * from HW. In this case we don't expect the cid bitmap to be in qed_roce_stop() 90 DP_NOTICE(p_hwfn, "cid bitmap wait timed out\n"); in qed_roce_stop() 132 static void qed_roce_free_cid_pair(struct qed_hwfn *p_hwfn, u16 cid) in qed_roce_free_cid_pair() argument 135 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_roce_free_cid_pair() 136 qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid + 1); in qed_roce_free_cid_pair() 140 int qed_roce_alloc_cid(struct qed_hwfn *p_hwfn, u16 *cid) in qed_roce_alloc_cid() argument 185 *cid = (u16)responder_icid; in qed_roce_alloc_cid() 195 "Allocate CID - failed, rc = %d\n", rc); in qed_roce_alloc_cid() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_smp.c | 64 u32 cid, int nblks) in smp_request_block() argument 66 void *cs = state->client_state[cid]; in smp_request_block() 73 reserved = smp->reserved[cid]; in smp_request_block() 172 u32 cid = pipe2client(pipe, i); in mdp5_smp_assign() local 179 ret = smp_request_block(smp, state, cid, n); in mdp5_smp_assign() 202 u32 cid = pipe2client(pipe, i); in mdp5_smp_release() local 203 void *cs = state->client_state[cid]; in mdp5_smp_release() 219 u32 cid, mdp5_smp_state_t *assigned) in update_smp_state() argument 234 val |= MDP5_SMP_ALLOC_W_REG_CLIENT0(cid); in update_smp_state() 238 val |= MDP5_SMP_ALLOC_W_REG_CLIENT1(cid); in update_smp_state() [all …]
|
| /linux/Documentation/driver-api/mmc/ |
| H A D | mmc-dev-attrs.rst | 20 cid Card Identification Register 23 date Manufacturing Date (from CID Register) 24 fwrev Firmware/Product Revision (from CID Register) 26 hwrev Hardware/Product Revision (from CID Register) 28 manfid Manufacturer ID (from CID Register) 29 name Product Name (from CID Register) 30 oemid OEM/Application ID (from CID Register) 31 prv Product Revision (from CID Register) 33 serial Product Serial Number (from CID Register)
|
| /linux/drivers/misc/vmw_vmci/ |
| H A D | vmci_host.c | 55 u32 cid; member 324 vmci_host_dev->context = vmci_ctx_create(init_block.cid, in vmci_host_do_init_context() 336 * Copy cid to userlevel, we do this to allow the VMX in vmci_host_do_init_context() 337 * to enforce its policy on cid generation. in vmci_host_do_init_context() 339 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_init_context() 366 u32 cid; in vmci_host_do_send_datagram() local 408 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_send_datagram() 409 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram() 668 u32 cid; in vmci_host_do_ctx_add_notify() local 678 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_ctx_add_notify() [all …]
|
| /linux/tools/perf/util/ |
| H A D | PERF-VERSION-GEN | 17 CID= 22 CID=$(git log -1 --abbrev=12 --pretty=format:"%h" --no-show-signature 2>/dev/null) && CID="-g$CID" 32 VN="$TAG$CID" 33 if test -n "$CID"
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | oimm.c | 42 int cid; in nv50_oimm_init() local 44 cid = nvif_mclass(&disp->disp->object, oimms); in nv50_oimm_init() 45 if (cid < 0) { in nv50_oimm_init() 47 return cid; in nv50_oimm_init() 50 return oimms[cid].init(drm, oimms[cid].oclass, wndw); in nv50_oimm_init()
|
| H A D | base.c | 44 int cid; in nv50_base_new() local 46 cid = nvif_mclass(&disp->disp->object, bases); in nv50_base_new() 47 if (cid < 0) { in nv50_base_new() 49 return cid; in nv50_base_new() 52 return bases[cid].new(drm, head, bases[cid].oclass, pwndw); in nv50_base_new()
|
| H A D | ovly.c | 44 int cid, ret; in nv50_ovly_new() local 46 cid = nvif_mclass(&disp->disp->object, ovlys); in nv50_ovly_new() 47 if (cid < 0) { in nv50_ovly_new() 49 return cid; in nv50_ovly_new() 52 ret = ovlys[cid].new(drm, head, ovlys[cid].oclass, pwndw); in nv50_ovly_new()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_iscsi.c | 128 * @cid: iscsi cid 131 beiscsi_conn_create(struct iscsi_cls_session *cls_session, u32 cid) in beiscsi_conn_create() argument 145 "BS_%d : In beiscsi_conn_create ,cid" in beiscsi_conn_create() 146 "from iscsi layer=%d\n", cid); in beiscsi_conn_create() 148 cls_conn = iscsi_conn_setup(cls_session, sizeof(*beiscsi_conn), cid); in beiscsi_conn_create() 210 "BS_%d : conn_table not empty at %u: cid %u conn %p:%p\n", in beiscsi_conn_bind() 230 "BS_%d : cid %d phba->conn_table[%u]=%p\n", in beiscsi_conn_bind() 935 * beiscsi_get_cid - Allocate a cid 941 unsigned short cid, cid_from_ulp; in beiscsi_get_cid() local 944 /* Find the ULP which has more CID available */ in beiscsi_get_cid() [all …]
|