Home
last modified time | relevance | path

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

123456

/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/gpu/drm/vmwgfx/device_include/
Dsvga3d_cmd.h365 uint32 cid; member
373 uint32 cid; member
381 uint32 cid; member
436 uint32 cid; member
445 uint32 cid; member
696 uint32 cid; member
719 uint32 cid; member
733 uint32 cid; member
778 uint32 cid; member
805 uint32 cid; member
[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/dma/
Dsirf-dma.c128 int cid, int burst_mode, void __iomem *base);
134 int cid, int burst_mode, void __iomem *base);
164 int cid, int burst_mode, void __iomem *base) in sirfsoc_dma_execute_hw_a7v2() argument
195 int cid, int burst_mode, void __iomem *base) in sirfsoc_dma_execute_hw_a7v1() argument
198 writel_relaxed((1 << cid), base + SIRFSOC_DMA_EARLY_RESP_SET); in sirfsoc_dma_execute_hw_a7v1()
199 writel_relaxed(sdesc->width, base + SIRFSOC_DMA_WIDTH_0 + cid * 4); in sirfsoc_dma_execute_hw_a7v1()
200 writel_relaxed(cid | (burst_mode << SIRFSOC_DMA_MODE_CTRL_BIT) | in sirfsoc_dma_execute_hw_a7v1()
202 base + cid * 0x10 + SIRFSOC_DMA_CH_CTRL); in sirfsoc_dma_execute_hw_a7v1()
203 writel_relaxed(sdesc->xlen, base + cid * 0x10 + SIRFSOC_DMA_CH_XLEN); in sirfsoc_dma_execute_hw_a7v1()
204 writel_relaxed(sdesc->ylen, base + cid * 0x10 + SIRFSOC_DMA_CH_YLEN); in sirfsoc_dma_execute_hw_a7v1()
[all …]
/drivers/misc/vmw_vmci/
Dvmci_host.c63 u32 cid; member
322 vmci_host_dev->context = vmci_ctx_create(init_block.cid, in vmci_host_do_init_context()
337 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_init_context()
362 u32 cid; in vmci_host_do_send_datagram() local
404 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_send_datagram()
405 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram()
450 u32 cid; in vmci_host_do_alloc_queuepair() local
457 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_alloc_queuepair()
667 u32 cid; in vmci_host_do_ctx_add_notify() local
677 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/gpu/drm/msm/mdp/mdp5/
Dmdp5_smp.c105 u32 cid, mdp5_smp_state_t *assigned);
139 u32 cid, int nblks) in smp_request_block() argument
142 struct mdp5_client_smp_state *ps = &smp->client_state[cid]; in smp_request_block()
147 reserved = smp->reserved[cid]; in smp_request_block()
279 u32 cid = pipe2client(pipe, i); in mdp5_smp_release() local
280 struct mdp5_client_smp_state *ps = &smp->client_state[cid]; in mdp5_smp_release()
304 u32 cid, mdp5_smp_state_t *assigned) in update_smp_state() argument
319 val |= MDP5_SMP_ALLOC_W_REG_CLIENT0(cid); in update_smp_state()
323 val |= MDP5_SMP_ALLOC_W_REG_CLIENT1(cid); in update_smp_state()
327 val |= MDP5_SMP_ALLOC_W_REG_CLIENT2(cid); in update_smp_state()
[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/net/wireless/ath/wil6210/
Drx_reorder.c99 int cid = wil_rxdesc_cid(d); in wil_rx_reorder() local
103 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_reorder()
109 mid, cid, tid, seq, mcast); in wil_rx_reorder()
209 void wil_rx_bar(struct wil6210_priv *wil, u8 cid, u8 tid, u16 seq) in wil_rx_bar() argument
211 struct wil_sta_info *sta = &wil->sta[cid]; in wil_rx_bar()
218 wil_err(wil, "BAR for non-existing CID %d TID %d\n", cid, tid); in wil_rx_bar()
227 cid, tid, seq, r->head_seq_num); in wil_rx_bar()
304 u8 cid, tid; in wil_addba_rx_request() local
320 parse_cidxtid(cidxtid, &cid, &tid); in wil_addba_rx_request()
323 if (cid >= WIL6210_MAX_CID) { in wil_addba_rx_request()
[all …]
Dcfg80211.c122 int wil_cid_fill_sinfo(struct wil6210_priv *wil, int cid, in wil_cid_fill_sinfo() argument
126 .cid = cid, in wil_cid_fill_sinfo()
133 struct wil_net_stats *stats = &wil->sta[cid].stats; in wil_cid_fill_sinfo()
146 cid, le16_to_cpu(reply.evt.bf_mcs), in wil_cid_fill_sinfo()
195 int cid = wil_find_cid(wil, mac); in wil_cfg80211_get_station() local
197 wil_dbg_misc(wil, "%s(%pM) CID %d\n", __func__, mac, cid); in wil_cfg80211_get_station()
198 if (cid < 0) in wil_cfg80211_get_station()
199 return cid; in wil_cfg80211_get_station()
201 rc = wil_cid_fill_sinfo(wil, cid, sinfo); in wil_cfg80211_get_station()
230 int cid = wil_find_cid_by_idx(wil, idx); in wil_cfg80211_dump_station() local
[all …]
Dtxrx.c396 int cid; in wil_vring_reap_rx() local
432 cid = wil_rxdesc_cid(d); in wil_vring_reap_rx()
433 stats = &wil->sta[cid].stats; in wil_vring_reap_rx()
472 fc1, mid, cid, tid, seq); in wil_vring_reap_rx()
477 mid, cid, tid, seq); in wil_vring_reap_rx()
478 wil_rx_bar(wil, cid, tid, seq); in wil_vring_reap_rx()
485 fc1, mid, cid, tid, seq); in wil_vring_reap_rx()
591 int cid = wil_rxdesc_cid(d); in wil_rx_crypto_check() local
595 struct wil_sta_info *s = &wil->sta[cid]; in wil_rx_crypto_check()
604 cid, tid, mc, key_id); in wil_rx_crypto_check()
[all …]
Dwmi.c371 data->info.qid, data->info.mid, data->info.cid); in wmi_evt_rx_mgmt()
475 if (evt->cid >= WIL6210_MAX_CID) { in wmi_evt_connect()
476 wil_err(wil, "Connect CID invalid : %d\n", evt->cid); in wmi_evt_connect()
482 evt->bssid, ch, evt->cid); in wmi_evt_connect()
507 evt->cid); in wmi_evt_connect()
524 if (wil->sta[evt->cid].status != wil_sta_unused) { in wmi_evt_connect()
526 __func__, wil->sta[evt->cid].status, evt->cid); in wmi_evt_connect()
534 ether_addr_copy(wil->sta[evt->cid].addr, evt->bssid); in wmi_evt_connect()
535 wil->sta[evt->cid].status = wil_sta_conn_pending; in wmi_evt_connect()
537 rc = wil_tx_init(wil, evt->cid); in wmi_evt_connect()
[all …]
Dmain.c178 static void wil_disconnect_cid(struct wil6210_priv *wil, int cid, in wil_disconnect_cid() argument
185 struct wil_sta_info *sta = &wil->sta[cid]; in wil_disconnect_cid()
188 wil_dbg_misc(wil, "%s(CID %d, status %d)\n", __func__, cid, in wil_disconnect_cid()
223 if (wil->vring2cid_tid[i][0] == cid) in wil_disconnect_cid()
245 int cid = -ENOENT; in _wil6210_disconnect() local
268 cid = wil_find_cid(wil, bssid); in _wil6210_disconnect()
270 bssid, cid, reason_code); in _wil6210_disconnect()
271 if (cid >= 0) /* disconnect 1 peer */ in _wil6210_disconnect()
272 wil_disconnect_cid(wil, cid, reason_code, from_event); in _wil6210_disconnect()
275 for (cid = 0; cid < WIL6210_MAX_CID; cid++) in _wil6210_disconnect()
[all …]
/drivers/scsi/aacraid/
Daachba.c564 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_name()
773 int aac_probe_container(struct aac_dev *dev, int cid) in aac_probe_container() argument
789 scsidev->id = cid; in aac_probe_container()
1044 dinfo->cid = cpu_to_le32(scmd_id(scsicmd)); in aac_get_container_serial()
1078 static int setinqserial(struct aac_dev *dev, void *data, int cid) in setinqserial() argument
1084 le32_to_cpu(dev->adapter_info.serial[0]), cid); in setinqserial()
1117 int cid = scmd_id(cmd); in aac_bounds_32() local
1121 set_sense(&dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1124 memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, in aac_bounds_32()
1125 min_t(size_t, sizeof(dev->fsa_dev[cid].sense_data), in aac_bounds_32()
[all …]
/drivers/mmc/core/
Dsd.c81 card->cid.manfid = UNSTUFF_BITS(resp, 120, 8); in mmc_decode_cid()
82 card->cid.oemid = UNSTUFF_BITS(resp, 104, 16); in mmc_decode_cid()
83 card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); in mmc_decode_cid()
84 card->cid.prod_name[1] = UNSTUFF_BITS(resp, 88, 8); in mmc_decode_cid()
85 card->cid.prod_name[2] = UNSTUFF_BITS(resp, 80, 8); in mmc_decode_cid()
86 card->cid.prod_name[3] = UNSTUFF_BITS(resp, 72, 8); in mmc_decode_cid()
87 card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8); in mmc_decode_cid()
88 card->cid.hwrev = UNSTUFF_BITS(resp, 60, 4); in mmc_decode_cid()
89 card->cid.fwrev = UNSTUFF_BITS(resp, 56, 4); in mmc_decode_cid()
90 card->cid.serial = UNSTUFF_BITS(resp, 24, 32); in mmc_decode_cid()
[all …]
Dmmc.c89 card->cid.manfid = UNSTUFF_BITS(resp, 104, 24); in mmc_decode_cid()
90 card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); in mmc_decode_cid()
91 card->cid.prod_name[1] = UNSTUFF_BITS(resp, 88, 8); in mmc_decode_cid()
92 card->cid.prod_name[2] = UNSTUFF_BITS(resp, 80, 8); in mmc_decode_cid()
93 card->cid.prod_name[3] = UNSTUFF_BITS(resp, 72, 8); in mmc_decode_cid()
94 card->cid.prod_name[4] = UNSTUFF_BITS(resp, 64, 8); in mmc_decode_cid()
95 card->cid.prod_name[5] = UNSTUFF_BITS(resp, 56, 8); in mmc_decode_cid()
96 card->cid.prod_name[6] = UNSTUFF_BITS(resp, 48, 8); in mmc_decode_cid()
97 card->cid.hwrev = UNSTUFF_BITS(resp, 44, 4); in mmc_decode_cid()
98 card->cid.fwrev = UNSTUFF_BITS(resp, 40, 4); in mmc_decode_cid()
[all …]
Dquirks.c65 f->manfid == card->cid.manfid) && in mmc_fixup_device()
67 f->oemid == card->cid.oemid) && in mmc_fixup_device()
69 !strncmp(f->name, card->cid.prod_name, in mmc_fixup_device()
70 sizeof(card->cid.prod_name))) && in mmc_fixup_device()
/drivers/isdn/gigaset/
Dev-layer.c407 static void add_cid_event(struct cardstate *cs, int cid, int type, in add_cid_event() argument
414 gig_dbg(DEBUG_EVENT, "queueing event %d for cid %d", type, cid); in add_cid_event()
426 event->cid = cid; in add_cid_event()
450 int cid, parameter; in gigaset_handle_modem_response() local
485 !kstrtoint(psep + 1, 10, &cid) && in gigaset_handle_modem_response()
486 cid >= 1 && cid <= 65535) { in gigaset_handle_modem_response()
491 cid = 0; in gigaset_handle_modem_response()
495 if (cid) in gigaset_handle_modem_response()
496 gig_dbg(DEBUG_EVENT, "CID: %d", cid); in gigaset_handle_modem_response()
504 add_cid_event(cs, cid, rt->resp_code, NULL, 0); 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.c217 static void cnic_ring_ctl(struct cnic_dev *dev, u32 cid, u32 cl_id, int start) in cnic_ring_ctl() argument
230 ring->cid = cid; in cnic_ring_ctl()
302 static int cnic_get_l5_cid(struct cnic_local *cp, u32 cid, u32 *l5_cid) in cnic_get_l5_cid() argument
310 if (cp->ctx_tbl[i].cid == cid) { in cnic_get_l5_cid()
936 cp->ctx_arr[k].cid = j; in cnic_alloc_context()
1389 static int cnic_submit_kwqe_16(struct cnic_dev *dev, u32 cmd, u32 cid, in cnic_submit_kwqe_16() argument
1401 BNX2X_HW_CID(bp, cid))); in cnic_submit_kwqe_16()
1599 cnic_free_id(&cp->cid_tbl, ctx->cid); in cnic_free_bnx2x_conn_resc()
1601 cnic_free_id(&cp->fcoe_cid_tbl, ctx->cid); in cnic_free_bnx2x_conn_resc()
1604 ctx->cid = 0; in cnic_free_bnx2x_conn_resc()
[all …]
/drivers/media/v4l2-core/
Dv4l2-flash-led-class.c309 ctrl_init_data[FLASH_FAULT].cid = V4L2_CID_FLASH_FAULT; in __fill_ctrl_init_data()
323 ctrl_init_data[LED_MODE].cid = V4L2_CID_FLASH_LED_MODE; in __fill_ctrl_init_data()
332 ctrl_init_data[TORCH_INTENSITY].cid = V4L2_CID_FLASH_TORCH_INTENSITY; in __fill_ctrl_init_data()
341 ctrl_init_data[INDICATOR_INTENSITY].cid = in __fill_ctrl_init_data()
356 ctrl_init_data[FLASH_STROBE].cid = V4L2_CID_FLASH_STROBE; in __fill_ctrl_init_data()
361 ctrl_init_data[STROBE_STOP].cid = V4L2_CID_FLASH_STROBE_STOP; in __fill_ctrl_init_data()
369 ctrl_init_data[STROBE_SOURCE].cid = in __fill_ctrl_init_data()
380 ctrl_init_data[STROBE_STATUS].cid = in __fill_ctrl_init_data()
390 ctrl_init_data[FLASH_TIMEOUT].cid = V4L2_CID_FLASH_TIMEOUT; in __fill_ctrl_init_data()
398 ctrl_init_data[FLASH_INTENSITY].cid = V4L2_CID_FLASH_INTENSITY; in __fill_ctrl_init_data()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_context.c167 cmd->body.cid = res->id; in vmw_hw_context_destroy()
272 cmd->body.cid = res->id; in vmw_context_init()
325 cmd->body.cid = res->id; in vmw_gb_context_create()
357 cmd->body.cid = res->id; in vmw_gb_context_bind()
408 cmd1->body.cid = res->id; in vmw_gb_context_unbind()
413 cmd2->body.cid = res->id; in vmw_gb_context_unbind()
454 cmd->body.cid = res->id; in vmw_gb_context_destroy()
501 cmd->body.cid = res->id; in vmw_dx_context_create()
534 cmd->body.cid = res->id; in vmw_dx_context_bind()
632 cmd1->body.cid = res->id; in vmw_dx_context_unbind()
[all …]
/drivers/acpi/acpica/
Devrgnini.c354 struct acpi_pnp_device_id_list *cid; in acpi_ev_is_pci_root_bridge() local
374 status = acpi_ut_execute_CID(node, &cid); in acpi_ev_is_pci_root_bridge()
381 for (i = 0; i < cid->count; i++) { in acpi_ev_is_pci_root_bridge()
382 if (acpi_ut_is_pci_root_bridge(cid->ids[i].string)) { in acpi_ev_is_pci_root_bridge()
383 ACPI_FREE(cid); in acpi_ev_is_pci_root_bridge()
388 ACPI_FREE(cid); in acpi_ev_is_pci_root_bridge()

123456