/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/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ooo.c | 24 u32 cid) in qed_ooo_seek_archipelago() argument 26 u32 idx = (cid & 0xffff) - p_ooo_info->cid_base; in qed_ooo_seek_archipelago() 42 u32 cid, u8 isle) in qed_ooo_seek_isle() argument 48 p_archipelago = qed_ooo_seek_archipelago(p_hwfn, p_ooo_info, cid); in qed_ooo_seek_isle() 51 "Connection %d is not found in OOO list\n", cid); in qed_ooo_seek_isle() 165 struct qed_ooo_info *p_ooo_info, u32 cid) in qed_ooo_release_connection_isles() argument 171 p_archipelago = qed_ooo_seek_archipelago(p_hwfn, p_ooo_info, cid); in qed_ooo_release_connection_isles() 327 u32 cid, u8 drop_isle, u8 drop_size) in qed_ooo_delete_isles() argument 333 p_isle = qed_ooo_seek_isle(p_hwfn, p_ooo_info, cid, drop_isle); in qed_ooo_delete_isles() 336 "Isle %d is not found(cid %d)\n", in qed_ooo_delete_isles() [all …]
|
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.
|
/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/fs/fat/ |
H A D | cache.c | 81 struct fat_cache_id *cid, in fat_cache_lookup() argument 105 cid->id = MSDOS_I(inode)->cache_valid_id; in fat_cache_lookup() 106 cid->nr_contig = hit->nr_contig; in fat_cache_lookup() 107 cid->fcluster = hit->fcluster; in fat_cache_lookup() 108 cid->dcluster = hit->dcluster; in fat_cache_lookup() 109 *cached_fclus = cid->fcluster + offset; in fat_cache_lookup() 110 *cached_dclus = cid->dcluster + offset; in fat_cache_lookup() 211 static inline int cache_contiguous(struct fat_cache_id *cid, int dclus) in cache_contiguous() argument 213 cid->nr_contig++; in cache_contiguous() 214 return ((cid->dcluster + cid->nr_contig) == dclus); in cache_contiguous() [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/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() [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/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/arch/arm/mach-rpc/ |
H A D | ecard.c | 332 if (!ec->cid.cd) in ecard_readchunk() 629 if (ec->cid.id == 0) { in ecard_prints() 633 ec->cid.manufacturer, ec->cid.product); in ecard_prints() 635 if (!ec->card_desc && ec->cid.cd && in ecard_prints() 645 seq_printf(m, "Simple card %d\n", ec->cid.id); in ecard_prints() 786 return sprintf(buf, "%u\n", ec->cid.manufacturer); in vendor_show() 793 return sprintf(buf, "%u\n", ec->cid.product); in device_show() 895 struct ex_ecid cid; in ecard_probe() local 909 cid.r_zero = 1; in ecard_probe() 910 ecard_readbytes(&cid, ec, 0, 16, 0); in ecard_probe() [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/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/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/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | wimm.c | 41 int cid; in nv50_wimm_init() local 43 cid = nvif_mclass(&disp->disp->object, wimms); in nv50_wimm_init() 44 if (cid < 0) { in nv50_wimm_init() 46 return cid; in nv50_wimm_init() 49 return wimms[cid].init(drm, wimms[cid].oclass, wndw); in nv50_wimm_init()
|
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 | curs.c | 46 int cid; in nv50_curs_new() local 48 cid = nvif_mclass(&disp->disp->object, curses); in nv50_curs_new() 49 if (cid < 0) { in nv50_curs_new() 51 return cid; in nv50_curs_new() 54 return curses[cid].new(drm, head, curses[cid].oclass, pwndw); in nv50_curs_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()
|