| /OK3568_Linux_fs/kernel/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() 116 u32 cid = BMI_READ_MEMORY; in ath6kl_bmi_read() local 123 ath6kl_err("bmi done sent already, cmd %d disallowed\n", cid); in ath6kl_bmi_read() 127 size = ar->bmi.max_data_size + sizeof(cid) + sizeof(addr) + sizeof(len); in ath6kl_bmi_read() 144 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_read() 145 offset += sizeof(cid); in ath6kl_bmi_read() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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() 164 struct qed_ooo_info *p_ooo_info, u32 cid) in qed_ooo_release_connection_isles() argument 170 p_archipelago = qed_ooo_seek_archipelago(p_hwfn, p_ooo_info, cid); in qed_ooo_release_connection_isles() 326 u32 cid, u8 drop_isle, u8 drop_size) in qed_ooo_delete_isles() argument 332 p_isle = qed_ooo_seek_isle(p_hwfn, p_ooo_info, cid, drop_isle); in qed_ooo_delete_isles() 335 "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_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() 122 static int qed_iwarp_alloc_cid(struct qed_hwfn *p_hwfn, u32 *cid) in qed_iwarp_alloc_cid() argument 127 rc = qed_rdma_bmap_alloc_id(p_hwfn, &p_hwfn->p_rdma_info->cid_map, cid); in qed_iwarp_alloc_cid() 130 DP_NOTICE(p_hwfn, "Failed in allocating iwarp cid\n"); in qed_iwarp_alloc_cid() 133 *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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/lib/optee_clientApi/ |
| H A D | OpteeClientRPC.c | 425 DevInfo->cid[0] = (mmc->cid[0]) >> 24 & 0xff; in OpteeRpcCmdRpmb() 426 DevInfo->cid[1] = (mmc->cid[0]) >> 16 & 0xff; in OpteeRpcCmdRpmb() 427 DevInfo->cid[2] = (mmc->cid[0]) >> 8 & 0xff; in OpteeRpcCmdRpmb() 428 DevInfo->cid[3] = (mmc->cid[0]) & 0xff; in OpteeRpcCmdRpmb() 429 DevInfo->cid[4] = (mmc->cid[1]) >> 24 & 0xff; in OpteeRpcCmdRpmb() 430 DevInfo->cid[5] = (mmc->cid[1]) >> 16 & 0xff; in OpteeRpcCmdRpmb() 431 DevInfo->cid[6] = (mmc->cid[1]) >> 8 & 0xff; in OpteeRpcCmdRpmb() 432 DevInfo->cid[7] = (mmc->cid[1]) & 0xff; in OpteeRpcCmdRpmb() 433 DevInfo->cid[8] = (mmc->cid[2]) >> 24 & 0xff; in OpteeRpcCmdRpmb() 434 DevInfo->cid[9] = (mmc->cid[2]) >> 16 & 0xff; in OpteeRpcCmdRpmb() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/ |
| H A D | sirf-dma.c | 127 int cid, int burst_mode, void __iomem *base); 133 int cid, int burst_mode, void __iomem *base); 163 int cid, int burst_mode, void __iomem *base) in sirfsoc_dma_execute_hw_a7v2() argument 194 int cid, int burst_mode, void __iomem *base) in sirfsoc_dma_execute_hw_a7v1() argument 197 writel_relaxed((1 << cid), base + SIRFSOC_DMA_EARLY_RESP_SET); in sirfsoc_dma_execute_hw_a7v1() 198 writel_relaxed(sdesc->width, base + SIRFSOC_DMA_WIDTH_0 + cid * 4); in sirfsoc_dma_execute_hw_a7v1() 199 writel_relaxed(cid | (burst_mode << SIRFSOC_DMA_MODE_CTRL_BIT) | in sirfsoc_dma_execute_hw_a7v1() 201 base + cid * 0x10 + SIRFSOC_DMA_CH_CTRL); in sirfsoc_dma_execute_hw_a7v1() 202 writel_relaxed(sdesc->xlen, base + cid * 0x10 + SIRFSOC_DMA_CH_XLEN); in sirfsoc_dma_execute_hw_a7v1() 203 writel_relaxed(sdesc->ylen, base + cid * 0x10 + SIRFSOC_DMA_CH_YLEN); in sirfsoc_dma_execute_hw_a7v1() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/target/iscsi/ |
| H A D | iscsi_target_erl2.c | 104 u16 cid) in iscsit_get_inactive_connection_recovery_entry() argument 110 if (cr->cid == cid) { in iscsit_get_inactive_connection_recovery_entry() 236 " 0x%08x, CID: %hu.\n", cmd->init_task_tag, in iscsit_discard_cr_cmds_by_expstatsn() 237 cmd->stat_sn, cr->cid); in iscsit_discard_cr_cmds_by_expstatsn() 248 " CID: %hu less than old ExpStatSN: 0x%08x\n", in iscsit_discard_cr_cmds_by_expstatsn() 249 dropped_count, cr->cid, exp_statsn); in iscsit_discard_cr_cmds_by_expstatsn() 253 " connection CID: %hu on SID: %u\n", in iscsit_discard_cr_cmds_by_expstatsn() 254 cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn() 257 pr_debug("iSCSI connection recovery successful for CID:" in iscsit_discard_cr_cmds_by_expstatsn() 258 " %hu on SID: %u\n", cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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() 981 if (evt->cid >= wil->max_assoc_sta) { in wmi_evt_connect() 982 wil_err(wil, "Connect CID invalid : %d\n", evt->cid); in wmi_evt_connect() 987 wil_info(wil, "Connect %pM channel [%d] cid %d aid %d\n", in wmi_evt_connect() 988 evt->bssid, ch, evt->cid, evt->aid); in wmi_evt_connect() 1012 wil_err(wil, "status_resetting, cancel connect event, CID %d\n", in wmi_evt_connect() 1013 evt->cid); in wmi_evt_connect() 1030 if (wil->sta[evt->cid].status != wil_sta_unused) { in wmi_evt_connect() 1031 wil_err(wil, "AP: Invalid status %d for CID %d\n", in wmi_evt_connect() [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_conntrack_pptp.c | 283 __be16 cid = 0, pcid = 0; in pptp_inbound_pkt() local 318 cid = pptpReq->ocack.callID; in pptp_inbound_pkt() 322 pr_debug("%s, CID=%X, PCID=%X\n", pptp_msg_name(msg), in pptp_inbound_pkt() 323 ntohs(cid), ntohs(pcid)); in pptp_inbound_pkt() 327 info->pac_call_id = cid; in pptp_inbound_pkt() 328 exp_gre(ct, cid, pcid); in pptp_inbound_pkt() 338 cid = pptpReq->icreq.callID; in pptp_inbound_pkt() 339 pr_debug("%s, CID=%X\n", pptp_msg_name(msg), ntohs(cid)); in pptp_inbound_pkt() 341 info->pac_call_id = cid; in pptp_inbound_pkt() 353 cid = info->pac_call_id; in pptp_inbound_pkt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/vmw_vmci/ |
| H A D | vmci_host.c | 55 u32 cid; member 317 vmci_host_dev->context = vmci_ctx_create(init_block.cid, in vmci_host_do_init_context() 329 * Copy cid to userlevel, we do this to allow the VMX in vmci_host_do_init_context() 330 * to enforce its policy on cid generation. in vmci_host_do_init_context() 332 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_init_context() 359 u32 cid; in vmci_host_do_send_datagram() local 401 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_send_datagram() 402 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram() 661 u32 cid; in vmci_host_do_ctx_add_notify() local 671 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_ctx_add_notify() [all …]
|
| H A D | vmci_context.h | 42 u32 cid; member 126 struct vmci_ctx *vmci_ctx_create(u32 cid, u32 flags, 132 int vmci_ctx_enqueue_datagram(u32 cid, struct vmci_datagram *dg); 135 int vmci_ctx_pending_datagrams(u32 cid, u32 *pending); 136 struct vmci_ctx *vmci_ctx_get(u32 cid); 138 bool vmci_ctx_exists(u32 cid); 157 int vmci_ctx_notify_dbell(u32 cid, struct vmci_handle handle, 171 return context->cid; in vmci_ctx_get_id()
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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)
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/device_include/ |
| H A D | svga3d_cmd.h | 432 uint32 cid; member 440 uint32 cid; member 448 uint32 cid; member 503 uint32 cid; member 512 uint32 cid; member 798 uint32 cid; member 821 uint32 cid; member 835 uint32 cid; member 891 uint32 cid; member 918 uint32 cid; member [all …]
|
| /OK3568_Linux_fs/kernel/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() 931 * beiscsi_get_cid - Allocate a cid 937 unsigned short cid, cid_from_ulp; in beiscsi_get_cid() local 940 /* Find the ULP which has more CID available */ in beiscsi_get_cid() [all …]
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | resource.c | 888 int cid; in FreeResource() local 894 if (((cid = CLIENT_ID(id)) < LimitClients) && clientTable[cid].buckets) { in FreeResource() 895 head = &clientTable[cid].resources[HashResourceID(id, clientTable[cid].hashsize)]; in FreeResource() 896 eltptr = &clientTable[cid].elements; in FreeResource() 924 int cid; in FreeResourceByType() local 928 if (((cid = CLIENT_ID(id)) < LimitClients) && clientTable[cid].buckets) { in FreeResourceByType() 929 head = &clientTable[cid].resources[HashResourceID(id, clientTable[cid].hashsize)]; in FreeResourceByType() 939 clientTable[cid].elements--; in FreeResourceByType() 960 int cid; in ChangeResourceValue() local 963 if (((cid = CLIENT_ID(id)) < LimitClients) && clientTable[cid].buckets) { in ChangeResourceValue() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | wimm.c | 39 int cid; in nv50_wimm_init() local 41 cid = nvif_mclass(&disp->disp->object, wimms); in nv50_wimm_init() 42 if (cid < 0) { in nv50_wimm_init() 44 return cid; in nv50_wimm_init() 47 return wimms[cid].init(drm, wimms[cid].oclass, wndw); in nv50_wimm_init()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | PERF-VERSION-GEN | 17 CID= 22 CID=$(git log -1 --abbrev=12 --pretty=format:"%h" 2>/dev/null) && CID="-g$CID" 31 VN="$TAG$CID" 32 if test -n "$CID"
|