Lines Matching full:layer
34 * enum caif_ctrlcmd - CAIF Stack Control Signaling sent in layer.ctrlcmd().
45 * @CAIF_CTRLCMD_INIT_RSP: Called initially when the layer below
53 * @_CAIF_CTRLCMD_PHYIF_FLOW_OFF_IND: CAIF Link layer temporarily cannot
55 * @_CAIF_CTRLCMD_PHYIF_FLOW_ON_IND: Called if CAIF Link layer is able
57 * @_CAIF_CTRLCMD_PHYIF_DOWN_IND: Called if CAIF Link layer is going
61 * They are used for signaling originating from the modem or CAIF Link Layer.
78 * to the CAIF Link Layer or modem.
86 * @_CAIF_MODEMCMD_PHYIF_USEFULL: Notify physical layer that it is in use
88 * @_CAIF_MODEMCMD_PHYIF_USELESS: Notify physical layer that it is
113 * struct cflayer - CAIF Stack layer.
115 * @up: Pointer up to the layer above.
116 * @dn: Pointer down to the layer below.
117 * @node: List node used when layer participate in a list.
122 * @id: The identity of this layer
123 * @name: Name of the layer.
130 * In order to integrate with CAIF an adaptation layer on top of the CAIF stack
131 * and PHY layer below the CAIF stack
132 * must be implemented. These layer must follow the design principles below.
136 * structure first in the layer specific structure.
138 * - Each layer should not depend on any others layer's private data.
141 * layer->up->receive(layer->up, packet);
144 * layer->dn->transmit(layer->dn, info, packet);
153 * Contract: Each layer must implement a receive function passing the
159 * above layer using up->receive().
164 * EXCEPTION: If the framing layer (cffrml) returns
173 * @layr: Pointer to the current layer the receive function is
181 * Contract: Each layer must implement a transmit function passing the
187 * layer using dn->transmit().
200 * @layr: Pointer to the current layer the receive function
211 * @layr: Pointer to the current layer the receive function
223 * @layr: Pointer to the current layer the receive function
234 * layer_set_up() - Set the up pointer for a specified layer.
235 * @layr: Layer where up pointer shall be set.
236 * @above: Layer above.
241 * layer_set_dn() - Set the down pointer for a specified layer.
242 * @layr: Layer where down pointer shall be set.
243 * @below: Layer below.
248 * struct dev_info - Physical Device info information about physical layer.