Home
last modified time | relevance | path

Searched refs:layr (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/include/net/caif/
Dcfsrvl.h36 void cfsrvl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl,
48 static inline void cfsrvl_get(struct cflayer *layr) in cfsrvl_get() argument
50 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_get()
51 if (layr == NULL || layr->up == NULL || s->hold == NULL) in cfsrvl_get()
54 s->hold(layr->up); in cfsrvl_get()
57 static inline void cfsrvl_put(struct cflayer *layr) in cfsrvl_put() argument
59 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_put()
60 if (layr == NULL || layr->up == NULL || s->hold == NULL) in cfsrvl_put()
63 s->put(layr->up); in cfsrvl_put()
Dcaif_layer.h179 int (*receive)(struct cflayer *layr, struct cfpkt *cfpkt);
206 int (*transmit) (struct cflayer *layr, struct cfpkt *cfpkt);
217 void (*ctrlcmd) (struct cflayer *layr, enum caif_ctrlcmd ctrl,
229 int (*modemcmd) (struct cflayer *layr, enum caif_modemcmd ctrl);
240 #define layer_set_up(layr, above) ((layr)->up = (struct cflayer *)(above)) argument
247 #define layer_set_dn(layr, below) ((layr)->dn = (struct cflayer *)(below)) argument
Dcffrml.h14 void cffrml_free(struct cflayer *layr);
17 void cffrml_put(struct cflayer *layr);
18 void cffrml_hold(struct cflayer *layr);
19 int cffrml_refcnt_read(struct cflayer *layr);
Dcfmuxl.h15 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid);
16 struct cflayer *cfmuxl_remove_dnlayer(struct cflayer *layr, u8 phyid);
17 int cfmuxl_set_dnlayer(struct cflayer *layr, struct cflayer *up, u8 phyid);
18 struct cflayer *cfmuxl_remove_uplayer(struct cflayer *layr, u8 linkid);
Dcfctrl.h127 int cfctrl_cancel_req(struct cflayer *layr, struct cflayer *adap_layer);
128 void cfctrl_remove(struct cflayer *layr);