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;
424 /* set a nonzero filter to enable data transfers */
425 memset(u.set, 0, sizeof *u.set);
426 u.set->msg_type = cpu_to_le32(RNDIS_MSG_SET);
427 u.set->msg_len = cpu_to_le32(4 + sizeof *u.set);
428 u.set->oid = cpu_to_le32(RNDIS_OID_GEN_CURRENT_PACKET_FILTER);
429 u.set->len = cpu_to_le32(4);
430 u.set->offset = cpu_to_le32((sizeof *u.set) - 8);
431 *(__le32 *)(u.buf + sizeof *u.set) = cpu_to_le32(RNDIS_DEFAULT_FILTER);
435 dev_err(&intf->dev, "rndis set packet filter, %d\n", retval);