/net/caif/ |
D | caif_dev.c | 34 struct cflayer layer; member 160 caifd->layer.up-> in caif_flow_cb() 161 ctrlcmd(caifd->layer.up, in caif_flow_cb() 163 caifd->layer.id); in caif_flow_cb() 167 static int transmit(struct cflayer *layer, struct cfpkt *pkt) in transmit() argument 171 container_of(layer, struct caif_device_entry, layer); in transmit() 229 caifd->layer.up->ctrlcmd(caifd->layer.up, in transmit() 231 caifd->layer.id); in transmit() 258 if (!caifd || !caifd->layer.up || !caifd->layer.up->receive || in receive() 269 err = caifd->layer.up->receive(caifd->layer.up, pkt); in receive() [all …]
|
D | cfserl.c | 22 struct cflayer layer; member 34 void cfserl_release(struct cflayer *layer) in cfserl_release() argument 36 kfree(layer); in cfserl_release() 44 caif_assert(offsetof(struct cfserl, layer) == 0); in cfserl_create() 45 this->layer.receive = cfserl_receive; in cfserl_create() 46 this->layer.transmit = cfserl_transmit; in cfserl_create() 47 this->layer.ctrlcmd = cfserl_ctrlcmd; in cfserl_create() 50 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "ser1"); in cfserl_create() 51 return &this->layer; in cfserl_create() 158 ret = layr->layer.up->receive(layr->layer.up, pkt); in cfserl_receive() [all …]
|
D | caif_usb.c | 32 struct cflayer layer; member 54 struct cfusbl *usbl = container_of(layr, struct cfusbl, layer); in cfusbl_transmit() 92 caif_assert(offsetof(struct cfusbl, layer) == 0); in cfusbl_create() 94 memset(&this->layer, 0, sizeof(this->layer)); in cfusbl_create() 95 this->layer.receive = cfusbl_receive; in cfusbl_create() 96 this->layer.transmit = cfusbl_transmit; in cfusbl_create() 97 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create() 98 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); in cfusbl_create() 99 this->layer.id = phyid; in cfusbl_create() 118 static void cfusbl_release(struct cflayer *layer) in cfusbl_release() argument [all …]
|
D | cfsrvl.c | 25 #define container_obj(layr) container_of(layr, struct cfsrvl, layer) 121 info->channel_id = service->layer.id; in cfservl_modemcmd() 142 info->channel_id = service->layer.id; in cfservl_modemcmd() 154 static void cfsrvl_release(struct cflayer *layer) in cfsrvl_release() argument 156 struct cfsrvl *service = container_of(layer, struct cfsrvl, layer); in cfsrvl_release() 165 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init() 169 service->layer.id = channel_id; in cfsrvl_init() 170 service->layer.ctrlcmd = cfservl_ctrlcmd; in cfsrvl_init() 171 service->layer.modemcmd = cfservl_modemcmd; in cfsrvl_init() 186 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid() argument [all …]
|
D | cfctrl.c | 17 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer) 42 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_create() 48 this->serv.layer.receive = cfctrl_recv; in cfctrl_create() 49 sprintf(this->serv.layer.name, "ctrl"); in cfctrl_create() 50 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd; in cfctrl_create() 57 return &this->serv.layer; in cfctrl_create() 60 void cfctrl_remove(struct cflayer *layer) in cfctrl_remove() argument 63 struct cfctrl *ctrl = container_obj(layer); in cfctrl_remove() 71 kfree(layer); in cfctrl_remove() 163 struct cfctrl_rsp *cfctrl_get_respfuncs(struct cflayer *layer) in cfctrl_get_respfuncs() argument [all …]
|
D | cfmuxl.c | 18 #define container_obj(layr) container_of(layr, struct cfmuxl, layer) 25 struct cflayer layer; member 54 this->layer.receive = cfmuxl_receive; in cfmuxl_create() 55 this->layer.transmit = cfmuxl_transmit; in cfmuxl_create() 56 this->layer.ctrlcmd = cfmuxl_ctrlcmd; in cfmuxl_create() 61 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "mux"); in cfmuxl_create() 62 return &this->layer; in cfmuxl_create() 250 struct cflayer *layer; in cfmuxl_ctrlcmd() local 253 list_for_each_entry_rcu(layer, &muxl->srvl_list, node) { in cfmuxl_ctrlcmd() 255 if (cfsrvl_phyid_match(layer, phyid) && layer->ctrlcmd) { in cfmuxl_ctrlcmd() [all …]
|
D | cfrfml.c | 17 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer) 34 static void cfrfml_release(struct cflayer *layer) in cfrfml_release() argument 36 struct cfsrvl *srvl = container_of(layer, struct cfsrvl, layer); in cfrfml_release() 37 struct cfrfml *rfml = container_obj(&srvl->layer); in cfrfml_release() 56 this->serv.layer.receive = cfrfml_receive; in cfrfml_create() 57 this->serv.layer.transmit = cfrfml_transmit; in cfrfml_create() 65 snprintf(this->serv.layer.name, CAIF_LAYER_NAME_SZ, in cfrfml_create() 68 return &this->serv.layer; in cfrfml_create() 167 err = rfml->serv.layer.up->receive(rfml->serv.layer.up, pkt); in cfrfml_receive() 201 cfpkt_info(pkt)->channel_id = rfml->serv.layer.id; in cfrfml_transmit_segment() [all …]
|
D | cffrml.c | 20 #define container_obj(layr) container_of(layr, struct cffrml, layer) 23 struct cflayer layer; member 46 caif_assert(offsetof(struct cffrml, layer) == 0); in cffrml_create() 48 this->layer.receive = cffrml_receive; in cffrml_create() 49 this->layer.transmit = cffrml_transmit; in cffrml_create() 50 this->layer.ctrlcmd = cffrml_ctrlcmd; in cffrml_create() 51 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid); in cffrml_create() 53 this->layer.id = phyid; in cffrml_create() 57 void cffrml_free(struct cflayer *layer) in cffrml_free() argument 59 struct cffrml *this = container_obj(layer); in cffrml_free() [all …]
|
D | cfveil.c | 21 #define container_obj(layr) container_of(layr, struct cfsrvl, layer) 31 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvei_create() 33 vei->layer.receive = cfvei_receive; in cfvei_create() 34 vei->layer.transmit = cfvei_transmit; in cfvei_create() 35 snprintf(vei->layer.name, CAIF_LAYER_NAME_SZ, "vei%d", channel_id); in cfvei_create() 36 return &vei->layer; in cfvei_create() 94 info->channel_id = service->layer.id; in cfvei_transmit()
|
D | cfdbgl.c | 25 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdbgl_create() 27 dbg->layer.receive = cfdbgl_receive; in cfdbgl_create() 28 dbg->layer.transmit = cfdbgl_transmit; in cfdbgl_create() 29 snprintf(dbg->layer.name, CAIF_LAYER_NAME_SZ, "dbg%d", channel_id); in cfdbgl_create() 30 return &dbg->layer; in cfdbgl_create() 51 info->channel_id = service->layer.id; in cfdbgl_transmit()
|
D | cfvidl.c | 27 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvidl_create() 30 vid->layer.receive = cfvidl_receive; in cfvidl_create() 31 vid->layer.transmit = cfvidl_transmit; in cfvidl_create() 32 snprintf(vid->layer.name, CAIF_LAYER_NAME_SZ, "vid1"); in cfvidl_create() 33 return &vid->layer; in cfvidl_create() 62 info->channel_id = service->layer.id; in cfvidl_transmit()
|
D | cfdgml.c | 32 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdgml_create() 34 dgm->layer.receive = cfdgml_receive; in cfdgml_create() 35 dgm->layer.transmit = cfdgml_transmit; in cfdgml_create() 36 snprintf(dgm->layer.name, CAIF_LAYER_NAME_SZ, "dgm%d", channel_id); in cfdgml_create() 37 return &dgm->layer; in cfdgml_create() 106 info->channel_id = service->layer.id; in cfdgml_transmit()
|
D | cfutill.c | 32 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfutill_create() 34 util->layer.receive = cfutill_receive; in cfutill_create() 35 util->layer.transmit = cfutill_transmit; in cfutill_create() 36 snprintf(util->layer.name, CAIF_LAYER_NAME_SZ, "util1"); in cfutill_create() 37 return &util->layer; in cfutill_create() 96 info->channel_id = service->layer.id; in cfutill_transmit()
|
D | caif_socket.c | 48 struct cflayer layer; member 116 if (cf_sk->layer.dn && cf_sk->layer.dn->modemcmd) in caif_flow_ctrl() 117 cf_sk->layer.dn->modemcmd(cf_sk->layer.dn, mode); in caif_flow_ctrl() 170 cf_sk = container_of(layr, struct caifsock, layer); in caif_sktrecv_cb() 183 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_hold() 189 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in cfsk_put() 198 struct caifsock *cf_sk = container_of(layr, struct caifsock, layer); in caif_ctrl_cb() 214 caif_client_register_refcnt(&cf_sk->layer, in caif_ctrl_cb() 509 if (cf_sk->layer.dn == NULL) { in transmit_skb() 514 return cf_sk->layer.dn->transmit(cf_sk->layer.dn, pkt); in transmit_skb() [all …]
|
D | cfcnfg.c | 24 #define container_obj(layr) container_of(layr, struct cfcnfg, layer) 56 struct cflayer layer; member 63 static void cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, 66 static void cfcnfg_linkdestroy_rsp(struct cflayer *layer, u8 channel_id); 67 static void cfcnfg_reject_rsp(struct cflayer *layer, u8 channel_id, 205 static void cfcnfg_linkdestroy_rsp(struct cflayer *layer, u8 channel_id) in cfcnfg_linkdestroy_rsp() argument 363 static void cfcnfg_reject_rsp(struct cflayer *layer, u8 channel_id, in cfcnfg_reject_rsp() argument 372 cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, enum cfctrl_srv serv, in cfcnfg_linkup_rsp() argument 375 struct cfcnfg *cnfg = container_obj(layer); in cfcnfg_linkup_rsp()
|
/net/nfc/hci/ |
D | Kconfig | 14 bool "SHDLC link layer for HCI based NFC drivers" 17 Say yes if you use an NFC HCI driver that requires SHDLC link layer.
|
/net/nfc/nci/ |
D | Kconfig | 22 Say yes if you use an NCI driver that requires SPI link layer. 29 Say yes if you use an NCI driver that requires UART link layer.
|
/net/can/j1939/ |
D | Kconfig | 3 # SAE J1939 network layer core configuration
|
/net/bluetooth/cmtp/ |
D | Kconfig | 6 CMTP (CAPI Message Transport Protocol) is a transport layer
|
/net/bluetooth/hidp/ |
D | Kconfig | 7 HIDP (Human Interface Device Protocol) is a transport layer
|
/net/sched/ |
D | em_nbyte.c | 43 unsigned char *ptr = tcf_get_base_ptr(skb, nbyte->hdr.layer); in em_nbyte_match()
|
D | em_cmp.c | 25 unsigned char *ptr = tcf_get_base_ptr(skb, cmp->layer) + cmp->off; in em_cmp_match()
|
/net/bluetooth/bnep/ |
D | Kconfig | 8 emulation layer on top of Bluetooth. BNEP is required for
|
/net/nfc/ |
D | Kconfig | 26 the NFC analog layer.
|
/net/bluetooth/ |
D | Kconfig | 69 Bluetooth connections via 802.11 (wifi) physical layer 78 layer available with Bluetooth version 4.0 or later.
|