Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 25 of 102) sorted by relevance

12345

/drivers/net/wireless/ath/ath6kl/
Dbmi.c26 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 …]
/drivers/atm/
Dhe.c224 #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 …]
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_smp.c69 enum mdp5_client_id cid, int nblks) in mdp5_smp_request() argument
71 struct mdp5_client_smp_state *ps = &mdp5_kms->smp_client_state[cid]; in mdp5_smp_request()
106 enum mdp5_client_id cid, mdp5_smp_state_t *assigned) in update_smp_state() argument
120 val |= MDP5_SMP_ALLOC_W_REG_CLIENT0(cid); in update_smp_state()
124 val |= MDP5_SMP_ALLOC_W_REG_CLIENT1(cid); in update_smp_state()
128 val |= MDP5_SMP_ALLOC_W_REG_CLIENT2(cid); in update_smp_state()
138 void mdp5_smp_configure(struct mdp5_kms *mdp5_kms, enum mdp5_client_id cid) in mdp5_smp_configure() argument
140 struct mdp5_client_smp_state *ps = &mdp5_kms->smp_client_state[cid]; in mdp5_smp_configure()
145 update_smp_state(mdp5_kms, cid, &assigned); in mdp5_smp_configure()
149 void mdp5_smp_commit(struct mdp5_kms *mdp5_kms, enum mdp5_client_id cid) in mdp5_smp_commit() argument
[all …]
Dmdp5_smp.h36 int mdp5_smp_request(struct mdp5_kms *mdp5_kms, enum mdp5_client_id cid, int nblks);
37 void mdp5_smp_configure(struct mdp5_kms *mdp5_kms, enum mdp5_client_id cid);
38 void mdp5_smp_commit(struct mdp5_kms *mdp5_kms, enum mdp5_client_id cid);
/drivers/misc/vmw_vmci/
Dvmci_host.c63 u32 cid; member
321 vmci_host_dev->context = vmci_ctx_create(init_block.cid, in vmci_host_do_init_context()
336 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_init_context()
361 u32 cid; in vmci_host_do_send_datagram() local
403 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_send_datagram()
404 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram()
449 u32 cid; in vmci_host_do_alloc_queuepair() local
456 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_alloc_queuepair()
666 u32 cid; in vmci_host_do_ctx_add_notify() local
676 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_ctx_add_notify()
[all …]
Dvmci_context.h50 u32 cid; member
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; in vmci_ctx_get_id()
Dvmci_context.c84 struct vmci_ctx *vmci_ctx_create(u32 cid, u32 priv_flags, in vmci_ctx_create() argument
92 if (cid == VMCI_INVALID_ID) { in vmci_ctx_create()
163 while (vmci_ctx_exists(cid)) { in vmci_ctx_create()
165 cid = max(cid, VMCI_RESERVED_CID_LIMIT - 1) + 1; in vmci_ctx_create()
166 if (cid == VMCI_INVALID_ID) in vmci_ctx_create()
167 cid = VMCI_RESERVED_CID_LIMIT; in vmci_ctx_create()
169 context->cid = cid; in vmci_ctx_create()
239 vmci_make_handle(sub_ctx->cid, in ctx_fire_notification()
277 int vmci_ctx_pending_datagrams(u32 cid, u32 *pending) in vmci_ctx_pending_datagrams() argument
281 context = vmci_ctx_get(cid); in vmci_ctx_pending_datagrams()
[all …]
/drivers/target/iscsi/
Discsi_target_erl2.c111 u16 cid) in iscsit_get_inactive_connection_recovery_entry() argument
117 if (cr->cid == cid) { in iscsit_get_inactive_connection_recovery_entry()
244 cmd->stat_sn, cr->cid); in iscsit_discard_cr_cmds_by_expstatsn()
256 dropped_count, cr->cid, exp_statsn); in iscsit_discard_cr_cmds_by_expstatsn()
261 cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn()
265 " %hu on SID: %u\n", cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn()
284 if (ooo_cmdsn->cid != conn->cid) in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
290 ooo_cmdsn->cmdsn, conn->cid); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
309 " %hu for ExpCmdSN: 0x%08x.\n", dropped_count, conn->cid, in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
352 cmd->init_task_tag, cmd->cmd_sn, conn->cid); in iscsit_prepare_cmds_for_realligance()
[all …]
/drivers/dma/
Dsirf-dma.c116 int cid = schan->chan.chan_id; in sirfsoc_dma_execute() local
131 cid * 4); in sirfsoc_dma_execute()
132 writel_relaxed(cid | (schan->mode << SIRFSOC_DMA_MODE_CTRL_BIT) | in sirfsoc_dma_execute()
134 sdma->base + cid * 0x10 + SIRFSOC_DMA_CH_CTRL); in sirfsoc_dma_execute()
135 writel_relaxed(sdesc->xlen, sdma->base + cid * 0x10 + in sirfsoc_dma_execute()
137 writel_relaxed(sdesc->ylen, sdma->base + cid * 0x10 + in sirfsoc_dma_execute()
140 (1 << cid), sdma->base + SIRFSOC_DMA_INT_EN); in sirfsoc_dma_execute()
146 writel(sdesc->addr >> 2, sdma->base + cid * 0x10 + SIRFSOC_DMA_CH_ADDR); in sirfsoc_dma_execute()
149 writel((1 << cid) | 1 << (cid + 16) | in sirfsoc_dma_execute()
303 int cid = schan->chan.chan_id; in sirfsoc_dma_terminate_all() local
[all …]
/drivers/gpu/drm/vmwgfx/
Dsvga3d_reg.h1387 uint32 cid; member
1392 uint32 cid; member
1397 uint32 cid; member
1488 uint32 cid; member
1494 uint32 cid; member
1712 uint32 cid; member
1742 uint32 cid; member
1748 uint32 cid; member
1761 uint32 cid; member
1776 uint32 cid; member
[all …]
/drivers/mmc/core/
Dsd.c77 memset(&card->cid, 0, sizeof(struct mmc_cid)); in mmc_decode_cid()
83 card->cid.manfid = UNSTUFF_BITS(resp, 120, 8); in mmc_decode_cid()
84 card->cid.oemid = UNSTUFF_BITS(resp, 104, 16); in mmc_decode_cid()
85 card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); in mmc_decode_cid()
86 card->cid.prod_name[1] = UNSTUFF_BITS(resp, 88, 8); in mmc_decode_cid()
87 card->cid.prod_name[2] = UNSTUFF_BITS(resp, 80, 8); in mmc_decode_cid()
88 card->cid.prod_name[3] = UNSTUFF_BITS(resp, 72, 8); in mmc_decode_cid()
89 card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8); in mmc_decode_cid()
90 card->cid.hwrev = UNSTUFF_BITS(resp, 60, 4); in mmc_decode_cid()
91 card->cid.fwrev = UNSTUFF_BITS(resp, 56, 4); in mmc_decode_cid()
[all …]
Dmmc.c74 card->cid.manfid = UNSTUFF_BITS(resp, 104, 24); in mmc_decode_cid()
75 card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); in mmc_decode_cid()
76 card->cid.prod_name[1] = UNSTUFF_BITS(resp, 88, 8); in mmc_decode_cid()
77 card->cid.prod_name[2] = UNSTUFF_BITS(resp, 80, 8); in mmc_decode_cid()
78 card->cid.prod_name[3] = UNSTUFF_BITS(resp, 72, 8); in mmc_decode_cid()
79 card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8); in mmc_decode_cid()
80 card->cid.prod_name[5] = UNSTUFF_BITS(resp, 56, 8); in mmc_decode_cid()
81 card->cid.prod_name[6] = UNSTUFF_BITS(resp, 48, 8); in mmc_decode_cid()
82 card->cid.hwrev = UNSTUFF_BITS(resp, 44, 4); in mmc_decode_cid()
83 card->cid.fwrev = UNSTUFF_BITS(resp, 40, 4); in mmc_decode_cid()
[all …]
Dquirks.c83 f->manfid == card->cid.manfid) && in mmc_fixup_device()
85 f->oemid == card->cid.oemid) && in mmc_fixup_device()
87 !strncmp(f->name, card->cid.prod_name, in mmc_fixup_device()
88 sizeof(card->cid.prod_name))) && in mmc_fixup_device()
/drivers/scsi/aacraid/
Daachba.c486 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_name()
676 int aac_probe_container(struct aac_dev *dev, int cid) in aac_probe_container() argument
692 scsidev->id = cid; in aac_probe_container()
875 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_serial()
910 static int setinqserial(struct aac_dev *dev, void *data, int cid) in setinqserial() argument
916 le32_to_cpu(dev->adapter_info.serial[0]), cid); in setinqserial()
949 int cid = scmd_id(cmd); in aac_bounds_32() local
953 set_sense(&dev->fsa_dev[cid].sense_data, in aac_bounds_32()
956 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_bounds_32()
957 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_bounds_32()
[all …]
/drivers/net/wireless/ath/wil6210/
Dmain.c77 static void wil_disconnect_cid(struct wil6210_priv *wil, int cid) in wil_disconnect_cid() argument
82 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid()
84 wil_dbg_misc(wil, "%s(CID %d, status %d)\n", __func__, cid, in wil_disconnect_cid()
115 if (wil->vring2cid_tid[i][0] == cid) in wil_disconnect_cid()
123 int cid = -ENOENT; in _wil6210_disconnect() local
129 cid = wil_find_cid(wil, bssid); in _wil6210_disconnect()
130 wil_dbg_misc(wil, "%s(%pM, CID %d)\n", __func__, bssid, cid); in _wil6210_disconnect()
135 if (cid >= 0) /* disconnect 1 peer */ in _wil6210_disconnect()
136 wil_disconnect_cid(wil, cid); in _wil6210_disconnect()
138 for (cid = 0; cid < WIL6210_MAX_CID; cid++) in _wil6210_disconnect()
[all …]
Dwmi.c329 data->info.qid, data->info.mid, data->info.cid); in wmi_evt_rx_mgmt()
410 if (evt->cid >= WIL6210_MAX_CID) { in wmi_evt_connect()
411 wil_err(wil, "Connect CID invalid : %d\n", evt->cid); in wmi_evt_connect()
417 evt->bssid, ch, evt->cid); in wmi_evt_connect()
470 memcpy(wil->sta[evt->cid].addr, evt->bssid, ETH_ALEN); in wmi_evt_connect()
471 wil->sta[evt->cid].status = wil_sta_conn_pending; in wmi_evt_connect()
473 wil->pending_connect_cid = evt->cid; in wmi_evt_connect()
506 int cid; in wmi_evt_eapol_rx() local
512 cid = wil_find_cid(wil, evt->src_mac); in wmi_evt_eapol_rx()
513 if (cid >= 0) in wmi_evt_eapol_rx()
[all …]
Dtxrx.c392 int cid; in wil_vring_reap_rx() local
433 cid = wil_rxdesc_cid(d); in wil_vring_reap_rx()
434 stats = &wil->sta[cid].stats; in wil_vring_reap_rx()
529 int cid = wil_rxdesc_cid(d); in wil_netif_rx_any() local
530 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_netif_rx_any()
642 int cid, int tid) in wil_vring_init_tx() argument
653 .cidxtid = mk_cidxtid(cid, tid), in wil_vring_init_tx()
686 wil->vring2cid_tid[id][0] = cid; in wil_vring_init_tx()
738 int cid = wil_find_cid(wil, eth->h_dest); in wil_find_tx_vring() local
740 if (cid < 0) in wil_find_tx_vring()
[all …]
Dcfg80211.c107 int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, in wil_cid_fill_sinfo() argument
111 .cid = cid, in wil_cid_fill_sinfo()
118 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo()
131 cid, le16_to_cpu(reply.evt.bf_mcs), in wil_cid_fill_sinfo()
180 int cid = wil_find_cid(wil, mac); in wil_cfg80211_get_station() local
182 wil_dbg_misc(wil, "%s(%pM) CID %d\n", __func__, mac, cid); in wil_cfg80211_get_station()
183 if (cid < 0) in wil_cfg80211_get_station()
184 return cid; in wil_cfg80211_get_station()
186 rc = wil_cid_fill_sinfo(wil, cid, sinfo); in wil_cfg80211_get_station()
215 int cid = wil_find_cid_by_idx(wil, idx); in wil_cfg80211_dump_station() local
[all …]
/drivers/isdn/gigaset/
Dev-layer.c397 int cid; in cid_of_response() local
402 rc = kstrtoint(s, 10, &cid); in cid_of_response()
405 if (cid < 1 || cid > 65535) in cid_of_response()
407 return cid; in cid_of_response()
433 int cid; in gigaset_handle_modem_response() local
449 cid = 0; in gigaset_handle_modem_response()
467 cid = params > 1 ? cid_of_response(argv[params - 1]) : 0; in gigaset_handle_modem_response()
468 if (cid < 0) { in gigaset_handle_modem_response()
478 if (cid) { in gigaset_handle_modem_response()
502 event->cid = cid; in gigaset_handle_modem_response()
[all …]
/drivers/ps3/
Dps3av.c147 #define ps3av_event_get_port_id(cid) ((cid >> 16) & 0xff) argument
149 static u32 *ps3av_search_cmd_table(u32 cid, u32 mask) in ps3av_search_cmd_table() argument
156 if ((*table & mask) == (cid & mask)) in ps3av_search_cmd_table()
168 if (hdr->cid & PS3AV_EVENT_CMD_MASK) { in ps3av_parse_event_packet()
169 table = ps3av_search_cmd_table(hdr->cid, PS3AV_EVENT_CMD_MASK); in ps3av_parse_event_packet()
173 hdr->cid, ps3av_event_get_port_id(hdr->cid), in ps3av_parse_event_packet()
178 __func__, hdr->cid, hdr->size); in ps3av_parse_event_packet()
240 cmd = send_buf->cid; in ps3av_send_cmd_pkt()
253 res = ps3av_vuart_read(ps3av->dev, &recv_buf->cid, in ps3av_send_cmd_pkt()
266 if ((cmd | PS3AV_REPLY_BIT) != recv_buf->cid) { in ps3av_send_cmd_pkt()
[all …]
/drivers/mfd/
Dab3100-otp.c55 u16 cid:14; member
87 otp->cid = ((otpval[1] << 8) | otpval[0]) & 0x3fff; in ab3100_otp_read()
108 seq_printf(s, "CID: 0x%04x (decimal: %d)\n", otp->cid, otp->cid); in ab3100_show_otp()
168 SHOW_AB3100_ATTR(cid)
178 __ATTR(cid, S_IRUGO, ab3100_otp_cid_show, NULL),
/drivers/net/ethernet/broadcom/
Dcnic.c215 static void cnic_ring_ctl(struct cnic_dev *dev, u32 cid, u32 cl_id, int start) in cnic_ring_ctl() argument
227 ring->cid = cid; in cnic_ring_ctl()
294 static int cnic_get_l5_cid(struct cnic_local *cp, u32 cid, u32 *l5_cid) in cnic_get_l5_cid() argument
302 if (cp->ctx_tbl[i].cid == cid) { in cnic_get_l5_cid()
925 cp->ctx_arr[k].cid = j; in cnic_alloc_context()
1378 static int cnic_submit_kwqe_16(struct cnic_dev *dev, u32 cmd, u32 cid, in cnic_submit_kwqe_16() argument
1390 BNX2X_HW_CID(bp, cid))); in cnic_submit_kwqe_16()
1588 cnic_free_id(&cp->cid_tbl, ctx->cid); in cnic_free_bnx2x_conn_resc()
1590 cnic_free_id(&cp->fcoe_cid_tbl, ctx->cid); in cnic_free_bnx2x_conn_resc()
1593 ctx->cid = 0; in cnic_free_bnx2x_conn_resc()
[all …]
/drivers/scsi/be2iscsi/
Dbe_main.h247 unsigned int cid; member
298 unsigned short cid; member
312 unsigned short cid; member
382 #define BE_SET_CID_TO_CRI(cri_index, cid) \ argument
383 (phba->cid_to_cri_map[cid] = cri_index)
384 #define BE_GET_CRI_FROM_CID(cid) (phba->cid_to_cri_map[cid]) argument
503 unsigned short cid; member
645 #define BE_GET_ASYNC_CRI_FROM_CID(cid) (pasync_ctx->cid_to_async_cri_map[cid]) argument
670 u8 cid[10]; member
687 u8 cid[13]; /* DWORD 3 */ member
[all …]
/drivers/media/pci/ttpci/
Dav7110_ipack.c10 p->cid = 0; in av7110_ipack_reset()
57 p->buf[3] = p->cid; in send_ipack()
60 if (p->repack_subids && p->cid == PRIVATE_STREAM1) { in send_ipack()
86 if (p->repack_subids && p->cid == PRIVATE_STREAM1 in send_ipack()
99 p->buf[3] = p->cid; in send_ipack()
173 p->cid = 0; in av7110_ipack_instant_repack()
189 p->cid = buf[c]; in av7110_ipack_instant_repack()
260 switch (p->cid) { in av7110_ipack_instant_repack()
/drivers/acpi/acpica/
Devrgnini.c353 struct acpi_pnp_device_id_list *cid; in acpi_ev_is_pci_root_bridge() local
373 status = acpi_ut_execute_CID(node, &cid); in acpi_ev_is_pci_root_bridge()
380 for (i = 0; i < cid->count; i++) { in acpi_ev_is_pci_root_bridge()
381 if (acpi_ut_is_pci_root_bridge(cid->ids[i].string)) { in acpi_ev_is_pci_root_bridge()
382 ACPI_FREE(cid); in acpi_ev_is_pci_root_bridge()
387 ACPI_FREE(cid); in acpi_ev_is_pci_root_bridge()

12345