Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-sim.c304 struct device_attribute *val_dev_attr, *pull_dev_attr; in gpio_sim_setup_sysfs() local
334 pull_dev_attr = &pull_attr->dev_attr; in gpio_sim_setup_sysfs()
337 sysfs_attr_init(&pull_dev_attr->attr); in gpio_sim_setup_sysfs()
340 pull_dev_attr->attr.name = "pull"; in gpio_sim_setup_sysfs()
342 val_dev_attr->attr.mode = pull_dev_attr->attr.mode = 0644; in gpio_sim_setup_sysfs()
346 pull_dev_attr->show = gpio_sim_sysfs_pull_show; in gpio_sim_setup_sysfs()
347 pull_dev_attr->store = gpio_sim_sysfs_pull_store; in gpio_sim_setup_sysfs()
350 attrs[1] = &pull_dev_attr->attr; in gpio_sim_setup_sysfs()