Lines Matching refs:ndev

66 	int (*open)(struct nci_dev *ndev);
67 int (*close)(struct nci_dev *ndev);
147 void nci_free_device(struct nci_dev *ndev);
148 int nci_register_device(struct nci_dev *ndev);
149 void nci_unregister_device(struct nci_dev *ndev);
152 static inline struct sk_buff *nci_skb_alloc(struct nci_dev *ndev, in nci_skb_alloc() argument
158 skb = alloc_skb(len + ndev->tx_headroom + ndev->tx_tailroom, how); in nci_skb_alloc()
160 skb_reserve(skb, ndev->tx_headroom); in nci_skb_alloc()
165 static inline void nci_set_parent_dev(struct nci_dev *ndev, struct device *dev) in nci_set_parent_dev() argument
167 nfc_set_parent_dev(ndev->nfc_dev, dev); in nci_set_parent_dev()
170 static inline void nci_set_drvdata(struct nci_dev *ndev, void *data) in nci_set_drvdata() argument
172 ndev->driver_data = data; in nci_set_drvdata()
175 static inline void *nci_get_drvdata(struct nci_dev *ndev) in nci_get_drvdata() argument
177 return ndev->driver_data; in nci_get_drvdata()
180 void nci_rsp_packet(struct nci_dev *ndev, struct sk_buff *skb);
181 void nci_ntf_packet(struct nci_dev *ndev, struct sk_buff *skb);
182 void nci_rx_data_packet(struct nci_dev *ndev, struct sk_buff *skb);
183 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, void *payload);
184 int nci_send_data(struct nci_dev *ndev, __u8 conn_id, struct sk_buff *skb);
185 void nci_data_exchange_complete(struct nci_dev *ndev, struct sk_buff *skb,
187 void nci_clear_target_list(struct nci_dev *ndev);
194 void nci_req_complete(struct nci_dev *ndev, int result);