Searched refs:ccid (Results 1 – 12 of 12) sorted by relevance
/Linux-v4.19/net/dccp/ |
D | ccid.h | 59 int (*ccid_hc_rx_init)(struct ccid *ccid, struct sock *sk); 60 int (*ccid_hc_tx_init)(struct ccid *ccid, struct sock *sk); 99 struct ccid { struct 104 static inline void *ccid_priv(const struct ccid *ccid) in ccid_priv() argument 106 return (void *)ccid->ccid_priv; in ccid_priv() 114 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx); 118 struct ccid *ccid = dp->dccps_hc_rx_ccid; in ccid_get_current_rx_ccid() local 120 if (ccid == NULL || ccid->ccid_ops == NULL) in ccid_get_current_rx_ccid() 122 return ccid->ccid_ops->ccid_id; in ccid_get_current_rx_ccid() 127 struct ccid *ccid = dp->dccps_hc_tx_ccid; in ccid_get_current_tx_ccid() local [all …]
|
D | ccid.c | 91 slab = kmem_cache_create(slab_name_fmt, sizeof(struct ccid) + obj_size, 0, in ccid_kmem_cache_create() 143 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx) in ccid_new() 146 struct ccid *ccid = NULL; in ccid_new() local 151 ccid = kmem_cache_alloc(rx ? ccid_ops->ccid_hc_rx_slab : in ccid_new() 153 if (ccid == NULL) in ccid_new() 155 ccid->ccid_ops = ccid_ops; in ccid_new() 157 memset(ccid + 1, 0, ccid_ops->ccid_hc_rx_obj_size); in ccid_new() 158 if (ccid->ccid_ops->ccid_hc_rx_init != NULL && in ccid_new() 159 ccid->ccid_ops->ccid_hc_rx_init(ccid, sk) != 0) in ccid_new() 162 memset(ccid + 1, 0, ccid_ops->ccid_hc_tx_obj_size); in ccid_new() [all …]
|
D | feat.c | 41 static int dccp_hdlr_ccid(struct sock *sk, u64 ccid, bool rx) in dccp_hdlr_ccid() argument 44 struct ccid *new_ccid = ccid_new(ccid, sk, rx); in dccp_hdlr_ccid() 838 static const struct ccid_dependency *dccp_feat_ccid_deps(u8 ccid, bool is_local) in dccp_feat_ccid_deps() argument 924 switch (ccid) { in dccp_feat_ccid_deps() 1002 u8 is_local, ccid; in dccp_feat_server_ccid_dependencies() local 1008 ccid = entry->val.sp.vec[0]; in dccp_feat_server_ccid_dependencies() 1010 ccid = dccp_feat_default_value(DCCPF_CCID); in dccp_feat_server_ccid_dependencies() 1012 if (dccp_feat_propagate_ccid(fn, ccid, is_local)) in dccp_feat_server_ccid_dependencies()
|
D | Makefile | 4 dccp-y := ccid.o feat.o input.o minisocks.o options.o output.o proto.o timer.o \
|
D | output.c | 156 const struct ccid *tx_ccid = dp->dccps_hc_tx_ccid; in dccp_determine_ccmps()
|
/Linux-v4.19/drivers/nfc/pn533/ |
D | usb.c | 265 struct pn533_acr122_ccid_hdr ccid; member 272 struct pn533_acr122_ccid_hdr ccid; member 280 frame->ccid.type = PN533_ACR122_PC_TO_RDR_ESCAPE; in pn533_acr122_tx_frame_init() 282 frame->ccid.datalen = sizeof(frame->apdu) + 1; in pn533_acr122_tx_frame_init() 283 frame->ccid.slot = 0; in pn533_acr122_tx_frame_init() 284 frame->ccid.seq = 0; in pn533_acr122_tx_frame_init() 285 frame->ccid.params[0] = 0; in pn533_acr122_tx_frame_init() 286 frame->ccid.params[1] = 0; in pn533_acr122_tx_frame_init() 287 frame->ccid.params[2] = 0; in pn533_acr122_tx_frame_init() 303 frame->ccid.datalen += frame->datalen; in pn533_acr122_tx_frame_finish() [all …]
|
/Linux-v4.19/include/linux/ |
D | dccp.h | 190 struct ccid; 294 struct ccid *dccps_hc_rx_ccid; 295 struct ccid *dccps_hc_tx_ccid;
|
/Linux-v4.19/net/dccp/ccids/ |
D | ccid3.c | 502 static int ccid3_hc_tx_init(struct ccid *ccid, struct sock *sk) in ccid3_hc_tx_init() argument 504 struct ccid3_hc_tx_sock *hc = ccid_priv(ccid); in ccid3_hc_tx_init() 798 static int ccid3_hc_rx_init(struct ccid *ccid, struct sock *sk) in ccid3_hc_rx_init() argument 800 struct ccid3_hc_rx_sock *hc = ccid_priv(ccid); in ccid3_hc_rx_init()
|
D | ccid2.c | 726 static int ccid2_hc_tx_init(struct ccid *ccid, struct sock *sk) in ccid2_hc_tx_init() argument 728 struct ccid2_hc_tx_sock *hc = ccid_priv(ccid); in ccid2_hc_tx_init()
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | i915_gpu_error.h | 62 u32 ccid; member
|
D | i915_gpu_error.c | 707 err_printf(m, "CCID: 0x%08x\n", error->ccid); in i915_error_state_to_str() 1668 error->ccid = I915_READ(CCID); in capture_reg_state()
|
/Linux-v4.19/drivers/s390/net/ |
D | qeth_core.h | 339 __u32 ccid; member
|