/linux-master/drivers/irqchip/ |
H A D | irq-mtk-sysirq.c | 29 struct mtk_sysirq_chip_data *chip_data = data->chip_data; local 30 u8 intpol_idx = chip_data->intpol_idx[hwirq]; 36 base = chip_data->intpol_bases[intpol_idx]; 37 reg_index = chip_data->which_word[hwirq]; 40 raw_spin_lock_irqsave(&chip_data->lock, flags); 56 raw_spin_unlock_irqrestore(&chip_data->lock, flags); 127 struct mtk_sysirq_chip_data *chip_data; local 136 chip_data = kzalloc(sizeof(*chip_data), GFP_KERNE [all...] |
H A D | irq-stm32-exti.c | 297 struct stm32_exti_chip_data *chip_data = gc->private; local 298 const struct stm32_exti_bank *stm32_bank = chip_data->reg_bank; 359 struct stm32_exti_chip_data *chip_data = gc->private; local 360 const struct stm32_exti_bank *stm32_bank = chip_data->reg_bank; 361 struct hwspinlock *hwlock = chip_data->host_data->hwlock; 394 static void stm32_chip_suspend(struct stm32_exti_chip_data *chip_data, argument 397 const struct stm32_exti_bank *stm32_bank = chip_data->reg_bank; 398 void __iomem *base = chip_data->host_data->base; 401 chip_data->rtsr_cache = readl_relaxed(base + stm32_bank->rtsr_ofst); 402 chip_data 407 stm32_chip_resume(struct stm32_exti_chip_data *chip_data, u32 mask_cache) argument 422 struct stm32_exti_chip_data *chip_data = gc->private; local 431 struct stm32_exti_chip_data *chip_data = gc->private; local 469 struct stm32_exti_chip_data *chip_data = gc->private; local 484 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 493 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 506 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 519 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 536 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 549 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 562 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 600 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 626 struct stm32_exti_chip_data *chip_data; local 641 struct stm32_exti_chip_data *chip_data; local 672 struct stm32_exti_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 712 struct stm32_exti_chip_data *chip_data; local 792 struct stm32_exti_chip_data *chip_data; local 847 struct stm32_exti_chip_data *chip_data; local [all...] |
H A D | irq-owl-sirq.c | 135 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data); local 142 owl_sirq_clear_set_extctl(chip_data, 0, INTC_EXTCTL_PENDING, 150 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data); local 152 owl_sirq_clear_set_extctl(chip_data, INTC_EXTCTL_EN, 0, data->hwirq); 158 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data); local 160 owl_sirq_clear_set_extctl(chip_data, 0, INTC_EXTCTL_EN, data->hwirq); 171 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data); local 193 owl_sirq_clear_set_extctl(chip_data, INTC_EXTCTL_TYPE_MASK, sirq_type, 231 struct owl_sirq_chip_data *chip_data = domain->host_data; local 260 chip_data); 282 struct owl_sirq_chip_data *chip_data; local [all...] |
H A D | irq-vf610-mscm-ir.c | 89 struct vf610_mscm_ir_chip_data *chip_data = data->chip_data; local 92 irsprc = readw_relaxed(chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); 95 WARN_ON(irsprc & ~chip_data->cpu_mask); 97 writew_relaxed(chip_data->cpu_mask, 98 chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq)); 106 struct vf610_mscm_ir_chip_data *chip_data = data->chip_data; local 108 writew_relaxed(0x0, chip_data->mscm_ir_base + MSCM_IRSPRC(hwirq));
|
H A D | irq-mtk-cirq.c | 68 static void __iomem *mtk_cirq_reg(struct mtk_cirq_chip_data *chip_data, argument 71 return chip_data->base + chip_data->offsets[idx]; 74 static void __iomem *mtk_cirq_irq_reg(struct mtk_cirq_chip_data *chip_data, argument 78 return mtk_cirq_reg(chip_data, idx) + (cirq_num / 32) * 4; 83 struct mtk_cirq_chip_data *chip_data = data->chip_data; local 87 writel_relaxed(mask, mtk_cirq_irq_reg(chip_data, idx, cirq_num));
|
H A D | exynos-combiner.c | 67 struct combiner_chip_data *chip_data = irq_desc_get_handler_data(desc); local 76 status = readl_relaxed(chip_data->base + COMBINER_INT_STATUS); 78 status &= chip_data->irq_mask; 83 combiner_irq = chip_data->hwirq_offset + __ffs(status); 96 struct combiner_chip_data *chip_data = irq_data_get_irq_chip_data(d); local 97 struct irq_chip *chip = irq_get_chip(chip_data->parent_irq); 98 struct irq_data *data = irq_get_irq_data(chip_data->parent_irq);
|
H A D | irq-gic-pm.c | 20 struct gic_chip_data *chip_data; member in struct:gic_chip_pm 28 struct gic_chip_data *gic = chip_pm->chip_data; 37 * On the very first resume, the pointer to chip_pm->chip_data 54 struct gic_chip_data *gic = chip_pm->chip_data; 109 ret = gic_of_init_child(dev, &chip_pm->chip_data, irq);
|
H A D | irq-sun6i-r.c | 94 data->chip_data = SUN6I_NMI_NEEDS_ACK; 100 if (data->chip_data == SUN6I_NMI_NEEDS_ACK && !irqd_irq_masked(data)) { 101 data->chip_data = NULL; 110 if (data->chip_data == SUN6I_NMI_NEEDS_ACK) { 111 data->chip_data = NULL;
|
H A D | irq-imx-gpcv2.c | 75 struct gpcv2_irqchip_data *cd = d->chip_data; 97 struct gpcv2_irqchip_data *cd = d->chip_data; 113 struct gpcv2_irqchip_data *cd = d->chip_data;
|
/linux-master/drivers/iio/accel/ |
H A D | adxl355_spi.c | 28 const struct adxl355_chip_info *chip_data; local 31 chip_data = device_get_match_data(&spi->dev); 32 if (!chip_data) { 33 chip_data = (void *)spi_get_device_id(spi)->driver_data; 35 if (!chip_data) 47 return adxl355_core_probe(&spi->dev, regmap, chip_data);
|
H A D | adxl313_i2c.c | 61 const struct adxl313_chip_info *chip_data; local 68 chip_data = i2c_get_match_data(client); 71 &adxl31x_i2c_regmap_config[chip_data->type]); 78 return adxl313_core_probe(&client->dev, regmap, chip_data, NULL);
|
H A D | adxl355_i2c.c | 26 const struct adxl355_chip_info *chip_data; local 28 chip_data = i2c_get_match_data(client); 29 if (!chip_data) 40 return adxl355_core_probe(&client->dev, regmap, chip_data);
|
H A D | adxl313_spi.c | 66 const struct adxl313_chip_info *chip_data; local 79 chip_data = device_get_match_data(&spi->dev); 80 if (!chip_data) 81 chip_data = (const struct adxl313_chip_info *)spi_get_device_id(spi)->driver_data; 84 &adxl31x_spi_regmap_config[chip_data->type]); 93 chip_data, &adxl313_spi_setup);
|
/linux-master/arch/x86/platform/uv/ |
H A D | uv_irq.c | 60 uv_program_mmr(cfg, data->chip_data); 78 struct uv_irq_2_mmr_pnode *chip_data; local 86 chip_data = kmalloc_node(sizeof(*chip_data), GFP_KERNEL, 88 if (!chip_data) 98 chip_data->pnode = uv_blade_to_pnode(info->uv.blade); 99 chip_data->offset = info->uv.offset; 100 irq_domain_set_info(domain, virq, virq, &uv_irq_chip, chip_data, 103 kfree(chip_data); 115 kfree(irq_data->chip_data); [all...] |
/linux-master/drivers/hid/i2c-hid/ |
H A D | i2c-hid-of-elan.c | 34 const struct elan_i2c_hid_chip_data *chip_data; member in struct:i2c_hid_of_elan 55 if (ihid_elan->chip_data->post_power_delay_ms) 56 msleep(ihid_elan->chip_data->post_power_delay_ms); 59 if (ihid_elan->chip_data->post_gpio_reset_on_delay_ms) 60 msleep(ihid_elan->chip_data->post_gpio_reset_on_delay_ms); 71 if (ihid_elan->chip_data->post_gpio_reset_off_delay_ms) 72 msleep(ihid_elan->chip_data->post_gpio_reset_off_delay_ms); 100 ihid_elan->chip_data = device_get_match_data(&client->dev); 102 if (ihid_elan->chip_data->main_supply_name) { 104 ihid_elan->chip_data [all...] |
/linux-master/drivers/gpio/ |
H A D | gpio-loongson-64bit.c | 37 const struct loongson_gpio_chip_data *chip_data; member in struct:loongson_gpio_chip 50 writeb(bval, lgpio->reg_base + lgpio->chip_data->conf_offset + pin); 57 writeb(bval, lgpio->reg_base + lgpio->chip_data->out_offset + pin); 91 bval = readb(lgpio->reg_base + lgpio->chip_data->in_offset + pin); 102 bval = readb(lgpio->reg_base + lgpio->chip_data->conf_offset + pin); 125 if (lgpio->chip_data->mode == BIT_CTRL_MODE) { 127 u = readl(lgpio->reg_base + lgpio->chip_data->inten_offset + (offset / 32) * 4); 129 writel(u, lgpio->reg_base + lgpio->chip_data->inten_offset + (offset / 32) * 4); 131 writeb(1, lgpio->reg_base + lgpio->chip_data->inten_offset + offset); 144 if (lgpio->chip_data [all...] |
H A D | gpio-pca9570.c | 33 * @chip_data: GPIO controller platform data 39 const struct pca9570_chip_data *chip_data; member in struct:pca9570 49 if (gpio->chip_data->command != 0) 50 ret = i2c_smbus_read_byte_data(client, gpio->chip_data->command); 65 if (gpio->chip_data->command != 0) 66 return i2c_smbus_write_byte_data(client, gpio->chip_data->command, value); 130 gpio->chip_data = device_get_match_data(&client->dev); 131 gpio->chip.ngpio = gpio->chip_data->ngpio;
|
H A D | gpio-idio-16.c | 108 struct regmap_irq_chip_data *chip_data; local 144 err = devm_regmap_add_irq_chip(dev, data->map, config->irq, 0, 0, chip, &chip_data); 163 gpio_config.irq_domain = regmap_irq_get_domain(chip_data);
|
/linux-master/arch/x86/hyperv/ |
H A D | irqdomain.c | 210 if (data->chip_data) { 219 stored_entry = data->chip_data; 220 data->chip_data = NULL; 245 data->chip_data = stored_entry; 262 if (!irqd->chip_data) { 267 old_entry = *(struct hv_interrupt_entry *)irqd->chip_data; 270 kfree(irqd->chip_data); 271 irqd->chip_data = NULL;
|
/linux-master/drivers/mfd/ |
H A D | mt6397-core.c | 239 struct chip_data { struct 247 static const struct chip_data mt6323_core = { 255 static const struct chip_data mt6357_core = { 263 static const struct chip_data mt6331_mt6332_core = { 271 static const struct chip_data mt6358_core = { 279 static const struct chip_data mt6359_core = { 287 static const struct chip_data mt6397_core = { 300 const struct chip_data *pmic_core;
|
/linux-master/drivers/thermal/ |
H A D | loongson2_thermal.c | 36 const struct loongson2_thermal_chip_data *chip_data; member in struct:loongson2_thermal_data 43 int reg_off = data->chip_data->thermal_sensor_sel * 2; 109 data->chip_data = device_get_match_data(dev);
|
/linux-master/drivers/spi/ |
H A D | spi-pxa2xx.h | 59 struct chip_data { struct 126 extern int pxa2xx_spi_set_dma_burst_and_threshold(struct chip_data *chip,
|
/linux-master/drivers/gpu/drm/arm/display/komeda/d71/ |
H A D | d71_dev.c | 181 struct d71_dev *d71 = mdev->chip_data; 221 struct d71_dev *d71 = mdev->chip_data; 241 struct d71_dev *d71 = mdev->chip_data; 260 struct d71_dev *d71 = mdev->chip_data; 286 struct d71_dev *d71 = mdev->chip_data; 301 struct d71_dev *d71 = mdev->chip_data; 340 struct d71_dev *d71 = mdev->chip_data; 346 mdev->chip_data = NULL; 362 mdev->chip_data = d71; 558 struct d71_dev *d71 = mdev->chip_data; [all...] |
/linux-master/drivers/iommu/ |
H A D | hyperv-iommu.c | 203 struct hyperv_root_ir_data *data = irq_data->chip_data; 305 irq_data->chip_data = data; 321 if (irq_data && irq_data->chip_data) { 322 data = irq_data->chip_data;
|
/linux-master/drivers/input/touchscreen/ |
H A D | msg2638.c | 360 const struct msg_chip_data *chip_data; local 377 chip_data = device_get_match_data(&client->dev); 378 if (!chip_data || !chip_data->max_fingers) { 383 msg2638->max_fingers = chip_data->max_fingers; 427 NULL, chip_data->irq_handler,
|