Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v6.6/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 …]
/Linux-v6.6/fs/exfat/
Dcache.c84 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-v6.6/fs/fat/
Dcache.c81 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-v6.6/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 …]
/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_ooo.c24 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()
337 drop_isle, cid); in qed_ooo_delete_isles()
[all …]
Dqed_ooo.h73 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
/Linux-v6.6/arch/arm/mach-rpc/
Decard.c332 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-v6.6/drivers/gpu/drm/nouveau/dispnv50/
Dwimm.c40 int cid; in nv50_wimm_init() local
42 cid = nvif_mclass(&disp->disp->object, wimms); in nv50_wimm_init()
43 if (cid < 0) { in nv50_wimm_init()
45 return cid; in nv50_wimm_init()
48 return wimms[cid].init(drm, wimms[cid].oclass, wndw); in nv50_wimm_init()
Doimm.c42 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()
Dbase.c44 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()
Dcurs.c45 int cid; in nv50_curs_new() local
47 cid = nvif_mclass(&disp->disp->object, curses); in nv50_curs_new()
48 if (cid < 0) { in nv50_curs_new()
50 return cid; in nv50_curs_new()
53 return curses[cid].new(drm, head, curses[cid].oclass, pwndw); in nv50_curs_new()
Dovly.c44 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()
Dcore.c63 int cid; in nv50_core_new() local
65 cid = nvif_mclass(&disp->disp->object, cores); in nv50_core_new()
66 if (cid < 0) { in nv50_core_new()
68 return cid; in nv50_core_new()
71 return cores[cid].new(drm, cores[cid].oclass, pcore); in nv50_core_new()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvif/
Ddisp.c58 int cid, ret; in nvif_disp_ctor() local
60 cid = nvif_sclass(&device->object, disps, oclass); in nvif_disp_ctor()
62 if (cid < 0) { in nvif_disp_ctor()
63 NVIF_ERRON(cid, &device->object, "[NEW disp%04x] not supported", oclass); in nvif_disp_ctor()
64 return cid; in nvif_disp_ctor()
70 disps[cid].oclass, &args, sizeof(args), &disp->object); in nvif_disp_ctor()
71 NVIF_ERRON(ret, &device->object, "[NEW disp%04x]", disps[cid].oclass); in nvif_disp_ctor()
Duser.c49 int cid, ret; in nvif_user_ctor() local
54 cid = nvif_mclass(&device->object, users); in nvif_user_ctor()
55 if (cid < 0) in nvif_user_ctor()
56 return cid; in nvif_user_ctor()
59 0, users[cid].oclass, NULL, 0, in nvif_user_ctor()
65 device->user.func = users[cid].func; in nvif_user_ctor()
/Linux-v6.6/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_cmd.h380 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-v6.6/drivers/target/iscsi/
Discsi_target_erl2.c104 u16 cid) in iscsit_get_inactive_connection_recovery_entry() argument
110 if (cr->cid == cid) { in iscsit_get_inactive_connection_recovery_entry()
237 cmd->stat_sn, cr->cid); in iscsit_discard_cr_cmds_by_expstatsn()
249 dropped_count, cr->cid, exp_statsn); in iscsit_discard_cr_cmds_by_expstatsn()
254 cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn()
258 " %hu on SID: %u\n", cr->cid, sess->sid); in iscsit_discard_cr_cmds_by_expstatsn()
277 if (ooo_cmdsn->cid != conn->cid) in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
283 ooo_cmdsn->cmdsn, conn->cid); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
302 " %hu for ExpCmdSN: 0x%08x.\n", dropped_count, conn->cid, in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
345 cmd->init_task_tag, cmd->cmd_sn, conn->cid); in iscsit_prepare_cmds_for_reallegiance()
[all …]
/Linux-v6.6/drivers/misc/vmw_vmci/
Dvmci_context.h42 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()
Dvmci_host.c55 u32 cid; member
325 vmci_host_dev->context = vmci_ctx_create(init_block.cid, in vmci_host_do_init_context()
340 init_block.cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_init_context()
367 u32 cid; in vmci_host_do_send_datagram() local
409 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_send_datagram()
410 send_info.result = vmci_datagram_dispatch(cid, dg, true); in vmci_host_do_send_datagram()
669 u32 cid; in vmci_host_do_ctx_add_notify() local
679 cid = vmci_ctx_get_id(vmci_host_dev->context); in vmci_host_do_ctx_add_notify()
680 result = vmci_ctx_add_notification(cid, ar_info.remote_cid); in vmci_host_do_ctx_add_notify()
691 u32 cid; in vmci_host_do_ctx_remove_notify() local
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c64 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-v6.6/net/netfilter/
Dnf_conntrack_pptp.c262 __be16 cid = 0, pcid = 0; in pptp_inbound_pkt() local
296 cid = pptpReq->ocack.callID; 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()
340 exp_gre(ct, cid, pcid); in pptp_inbound_pkt()
[all …]
/Linux-v6.6/tools/testing/vsock/
Dutil.c87 static int vsock_connect(unsigned int cid, unsigned int port, int type) in vsock_connect() argument
96 .svm_cid = cid, in vsock_connect()
123 int vsock_stream_connect(unsigned int cid, unsigned int port) in vsock_stream_connect() argument
125 return vsock_connect(cid, port, SOCK_STREAM); in vsock_stream_connect()
128 int vsock_seqpacket_connect(unsigned int cid, unsigned int port) in vsock_seqpacket_connect() argument
130 return vsock_connect(cid, port, SOCK_SEQPACKET); in vsock_seqpacket_connect()
136 static int vsock_accept(unsigned int cid, unsigned int port, in vsock_accept() argument
146 .svm_cid = cid, in vsock_accept()
202 int vsock_stream_accept(unsigned int cid, unsigned int port, in vsock_stream_accept() argument
205 return vsock_accept(cid, port, clientaddrp, SOCK_STREAM); in vsock_stream_accept()
[all …]
/Linux-v6.6/drivers/net/wireless/ath/wil6210/
Drx_reorder.c87 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()
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()
234 cid, vif->mid, tid, seq, r->head_seq_num); in wil_rx_bar()
298 int wil_addba_rx_request(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid, in wil_addba_rx_request() argument
326 if (cid >= wil->max_assoc_sta) { in wil_addba_rx_request()
[all …]
Dtxrx.c372 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()
411 return cid; in wil_rx_get_cid_by_skb()
417 for (i = cid; i < wil->max_assoc_sta; i += WIL6210_RX_DESC_MAX_CID) { in wil_rx_get_cid_by_skb()
420 cid = i; in wil_rx_get_cid_by_skb()
427 cid = -ENOENT; in wil_rx_get_cid_by_skb()
430 return cid; in wil_rx_get_cid_by_skb()
453 int cid, mid; in wil_vring_reap_rx() local
512 cid = wil_rx_get_cid_by_skb(wil, skb); in wil_vring_reap_rx()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchid.c40 int id = -1, cid; in nvkm_chid_get() local
43 cid = find_first_zero_bit(chid->used, chid->nr); in nvkm_chid_get()
44 if (cid < chid->nr) { in nvkm_chid_get()
45 set_bit(cid, chid->used); in nvkm_chid_get()
46 chid->data[cid] = data; in nvkm_chid_get()
47 id = cid; in nvkm_chid_get()

12345678910>>...13