Lines Matching refs:wimax_dev
33 * to the driver calling wimax_dev->op_msg_from_user(). The return
53 * wimax_dev->op_msg_from_user() Delivery of message to the driver
76 * @wimax_dev: WiMAX device descriptor
101 * wimax_dev->net_dev pointer is set to point to a proper
105 struct sk_buff *wimax_msg_alloc(struct wimax_dev *wimax_dev,
111 struct device *dev = wimax_dev_to_dev(wimax_dev);
130 wimax_dev->net_dev->ifindex);
231 * @wimax_dev: WiMAX device descriptor
254 * wimax_dev->net_dev pointer is set to point to a proper
258 int wimax_msg_send(struct wimax_dev *wimax_dev, struct sk_buff *skb)
260 struct device *dev = wimax_dev_to_dev(wimax_dev);
277 * @wimax_dev: WiMAX device descriptor (properly referenced)
287 * Sends a free-form message to user space on the device @wimax_dev.
294 int wimax_msg(struct wimax_dev *wimax_dev, const char *pipe_name,
300 skb = wimax_msg_alloc(wimax_dev, pipe_name, buf, size, gfp_flags);
304 result = wimax_msg_send(wimax_dev, skb);
320 struct wimax_dev *wimax_dev;
335 wimax_dev = wimax_dev_get_by_genl_info(info, ifindex);
336 if (wimax_dev == NULL)
338 dev = wimax_dev_to_dev(wimax_dev);
362 mutex_lock(&wimax_dev->mutex);
363 result = wimax_dev_is_ready(wimax_dev);
369 if (wimax_dev->op_msg_from_user == NULL)
379 result = wimax_dev->op_msg_from_user(wimax_dev, pipe_name,
383 mutex_unlock(&wimax_dev->mutex);
387 dev_put(wimax_dev->net_dev);