Lines Matching refs:scoop_dev
31 struct scoop_dev { struct
42 struct scoop_dev *sdev = dev_get_drvdata(dev); in reset_scoop() argument
53 static void __scoop_gpio_set(struct scoop_dev *sdev, in __scoop_gpio_set()
68 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_set()
80 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_get()
89 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_input()
107 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_output()
126 struct scoop_dev *sdev = dev_get_drvdata(dev); in read_scoop_reg()
132 struct scoop_dev *sdev = dev_get_drvdata(dev); in write_scoop_reg()
141 static void check_scoop_reg(struct scoop_dev *sdev) in check_scoop_reg()
152 struct scoop_dev *sdev = platform_get_drvdata(dev); in scoop_suspend()
163 struct scoop_dev *sdev = platform_get_drvdata(dev); in scoop_resume()
177 struct scoop_dev *devptr; in scoop_probe()
185 devptr = kzalloc(sizeof(struct scoop_dev), GFP_KERNEL); in scoop_probe()
241 struct scoop_dev *sdev = platform_get_drvdata(pdev); in scoop_remove()