Home
last modified time | relevance | path

Searched refs:lattr (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-sysctl.c68 struct static_lustre_uintvalue_attr *lattr = (void *)attr; in static_uintvalue_show() local
70 return sprintf(buf, "%d\n", *lattr->value); in static_uintvalue_show()
77 struct static_lustre_uintvalue_attr *lattr = (void *)attr; in static_uintvalue_store() local
85 *lattr->value = val; in static_uintvalue_store()
/linux-4.4.14/drivers/mfd/
Dlm3533-core.c264 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in show_output() local
265 int id = lattr->u.output.id; in show_output()
272 if (lattr->type == LM3533_ATTR_TYPE_BACKLIGHT) { in show_output()
301 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(attr); in store_output() local
302 int id = lattr->u.output.id; in store_output()
309 if (lattr->type == LM3533_ATTR_TYPE_BACKLIGHT) in store_output()
368 struct lm3533_device_attribute *lattr = to_lm3533_dev_attr(dattr); in lm3533_attr_is_visible() local
369 enum lm3533_attribute_type type = lattr->type; in lm3533_attr_is_visible()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_svc.c3507 struct bfa_trunk_link_attr_s *lattr; in bfa_trunk_scn() local
3528 lattr = &trunk->attr.link_attr[i]; in bfa_trunk_scn()
3531 lattr->link_state = tlink->state; in bfa_trunk_scn()
3532 lattr->trunk_wwn = tlink->trunk_wwn; in bfa_trunk_scn()
3533 lattr->fctl = tlink->fctl; in bfa_trunk_scn()
3534 lattr->speed = tlink->speed; in bfa_trunk_scn()
3535 lattr->deskew = be32_to_cpu(tlink->deskew); in bfa_trunk_scn()
3543 bfa_trc(fcport->bfa, lattr->link_state); in bfa_trunk_scn()
3544 bfa_trc(fcport->bfa, lattr->trunk_wwn); in bfa_trunk_scn()
3545 bfa_trc(fcport->bfa, lattr->fctl); in bfa_trunk_scn()
[all …]