Lines Matching defs:set
215 * specified by @in_len. If @reply_len is not set to -1 then the reply
301 struct rndis_set *set;
427 /* set a nonzero filter to enable data transfers */
428 memset(u.set, 0, sizeof *u.set);
429 u.set->msg_type = cpu_to_le32(RNDIS_MSG_SET);
430 u.set->msg_len = cpu_to_le32(4 + sizeof *u.set);
431 u.set->oid = cpu_to_le32(RNDIS_OID_GEN_CURRENT_PACKET_FILTER);
432 u.set->len = cpu_to_le32(4);
433 u.set->offset = cpu_to_le32((sizeof *u.set) - 8);
434 *(__le32 *)(u.buf + sizeof *u.set) = cpu_to_le32(RNDIS_DEFAULT_FILTER);
438 dev_err(&intf->dev, "rndis set packet filter, %d\n", retval);