rdc321x_gpio_dev  121 drivers/gpio/gpio-rdc321x.c 	struct rdc321x_gpio *rdc321x_gpio_dev;
rdc321x_gpio_dev  130 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev = devm_kzalloc(&pdev->dev, sizeof(struct rdc321x_gpio),
rdc321x_gpio_dev  132 drivers/gpio/gpio-rdc321x.c 	if (!rdc321x_gpio_dev)
rdc321x_gpio_dev  141 drivers/gpio/gpio-rdc321x.c 	spin_lock_init(&rdc321x_gpio_dev->lock);
rdc321x_gpio_dev  142 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->sb_pdev = pdata->sb_pdev;
rdc321x_gpio_dev  143 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->reg1_ctrl_base = r->start;
rdc321x_gpio_dev  144 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->reg1_data_base = r->start + 0x4;
rdc321x_gpio_dev  152 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->reg2_ctrl_base = r->start;
rdc321x_gpio_dev  153 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->reg2_data_base = r->start + 0x4;
rdc321x_gpio_dev  155 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.label = "rdc321x-gpio";
rdc321x_gpio_dev  156 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.owner = THIS_MODULE;
rdc321x_gpio_dev  157 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.direction_input = rdc_gpio_direction_input;
rdc321x_gpio_dev  158 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.direction_output = rdc_gpio_config;
rdc321x_gpio_dev  159 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.get = rdc_gpio_get_value;
rdc321x_gpio_dev  160 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.set = rdc_gpio_set_value;
rdc321x_gpio_dev  161 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.base = 0;
rdc321x_gpio_dev  162 drivers/gpio/gpio-rdc321x.c 	rdc321x_gpio_dev->chip.ngpio = pdata->max_gpios;
rdc321x_gpio_dev  164 drivers/gpio/gpio-rdc321x.c 	platform_set_drvdata(pdev, rdc321x_gpio_dev);
rdc321x_gpio_dev  169 drivers/gpio/gpio-rdc321x.c 	err = pci_read_config_dword(rdc321x_gpio_dev->sb_pdev,
rdc321x_gpio_dev  170 drivers/gpio/gpio-rdc321x.c 					rdc321x_gpio_dev->reg1_data_base,
rdc321x_gpio_dev  171 drivers/gpio/gpio-rdc321x.c 					&rdc321x_gpio_dev->data_reg[0]);
rdc321x_gpio_dev  175 drivers/gpio/gpio-rdc321x.c 	err = pci_read_config_dword(rdc321x_gpio_dev->sb_pdev,
rdc321x_gpio_dev  176 drivers/gpio/gpio-rdc321x.c 					rdc321x_gpio_dev->reg2_data_base,
rdc321x_gpio_dev  177 drivers/gpio/gpio-rdc321x.c 					&rdc321x_gpio_dev->data_reg[1]);
rdc321x_gpio_dev  182 drivers/gpio/gpio-rdc321x.c 					rdc321x_gpio_dev->chip.ngpio);
rdc321x_gpio_dev  183 drivers/gpio/gpio-rdc321x.c 	return devm_gpiochip_add_data(&pdev->dev, &rdc321x_gpio_dev->chip,
rdc321x_gpio_dev  184 drivers/gpio/gpio-rdc321x.c 				      rdc321x_gpio_dev);