Home
last modified time | relevance | path

Searched refs:newp (Results 1 – 2 of 2) sorted by relevance

/drivers/block/
Dnull_blk_main.c312 bool newp = false; in nullb_device_power_store() local
315 ret = nullb_device_bool_attr_store(&newp, page, count); in nullb_device_power_store()
319 if (!dev->power && newp) { in nullb_device_power_store()
328 dev->power = newp; in nullb_device_power_store()
329 } else if (dev->power && !newp) { in nullb_device_power_store()
332 dev->power = newp; in nullb_device_power_store()
/drivers/net/arcnet/
Darcnet.c1103 *newp = arc_proto_map[soft->proto]; in arcnet_rx() local
1105 if (oldp != newp) { in arcnet_rx()
1109 newp->suffix, oldp->suffix); in arcnet_rx()