• Home
  • Raw
  • Download

Lines Matching refs:d

198 	void (*data_ready)(struct rfcomm_dlc *d, struct sk_buff *skb);
199 void (*state_change)(struct rfcomm_dlc *d, int err);
200 void (*modem_status)(struct rfcomm_dlc *d, u8 v24_sig);
236 void rfcomm_dlc_free(struct rfcomm_dlc *d);
237 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst,
239 int rfcomm_dlc_close(struct rfcomm_dlc *d, int reason);
240 int rfcomm_dlc_send(struct rfcomm_dlc *d, struct sk_buff *skb);
241 void rfcomm_dlc_send_noerror(struct rfcomm_dlc *d, struct sk_buff *skb);
242 int rfcomm_dlc_set_modem_status(struct rfcomm_dlc *d, u8 v24_sig);
243 int rfcomm_dlc_get_modem_status(struct rfcomm_dlc *d, u8 *v24_sig);
244 void rfcomm_dlc_accept(struct rfcomm_dlc *d);
247 #define rfcomm_dlc_lock(d) mutex_lock(&d->lock) argument
248 #define rfcomm_dlc_unlock(d) mutex_unlock(&d->lock) argument
250 static inline void rfcomm_dlc_hold(struct rfcomm_dlc *d) in rfcomm_dlc_hold() argument
252 refcount_inc(&d->refcnt); in rfcomm_dlc_hold()
255 static inline void rfcomm_dlc_put(struct rfcomm_dlc *d) in rfcomm_dlc_put() argument
257 if (refcount_dec_and_test(&d->refcnt)) in rfcomm_dlc_put()
258 rfcomm_dlc_free(d); in rfcomm_dlc_put()
261 void __rfcomm_dlc_throttle(struct rfcomm_dlc *d);
262 void __rfcomm_dlc_unthrottle(struct rfcomm_dlc *d);
264 static inline void rfcomm_dlc_throttle(struct rfcomm_dlc *d) in rfcomm_dlc_throttle() argument
266 if (!test_and_set_bit(RFCOMM_RX_THROTTLED, &d->flags)) in rfcomm_dlc_throttle()
267 __rfcomm_dlc_throttle(d); in rfcomm_dlc_throttle()
270 static inline void rfcomm_dlc_unthrottle(struct rfcomm_dlc *d) in rfcomm_dlc_unthrottle() argument
272 if (test_and_clear_bit(RFCOMM_RX_THROTTLED, &d->flags)) in rfcomm_dlc_unthrottle()
273 __rfcomm_dlc_unthrottle(d); in rfcomm_dlc_unthrottle()
318 struct rfcomm_dlc **d);