/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_control.h | 36 * @param[in] irq_type The type of interrupt to be used (edge or level) 48 enum ia_css_irq_type irq_type);
|
H A D | sh_css_struct.h | 71 enum ia_css_irq_type irq_type; member in struct:sh_css
|
/linux-master/include/linux/ |
H A D | smsc911x.h | 18 unsigned int irq_type; member in struct:smsc911x_platform_config
|
/linux-master/drivers/iio/imu/bmi160/ |
H A D | bmi160.h | 29 int bmi160_probe_trigger(struct iio_dev *indio_dev, int irq, u32 irq_type);
|
/linux-master/arch/um/os-Linux/ |
H A D | irq.c | 48 int os_event_mask(enum um_irq_type irq_type) argument 50 if (irq_type == IRQ_READ) 52 if (irq_type == IRQ_WRITE)
|
/linux-master/drivers/misc/ |
H A D | pci_endpoint_test.c | 96 static int irq_type = IRQ_TYPE_MSI; variable 97 module_param(irq_type, int, 0444); 98 MODULE_PARM_DESC(irq_type, "IRQ mode selection in pci_endpoint_test (0 - Legacy, 1 - MSI, 2 - MSI-X)"); 116 int irq_type; member in struct:pci_endpoint_test 128 int irq_type; member in struct:pci_endpoint_test_data 174 test->irq_type = IRQ_TYPE_UNDEFINED; 210 test->irq_type = type; 246 switch (irq_type) { 377 int irq_type = test->irq_type; local 513 int irq_type = test->irq_type; local 614 int irq_type = test->irq_type; local [all...] |
/linux-master/drivers/gpio/ |
H A D | gpio-siox.c | 20 u32 irq_type[20]; member in struct:gpio_siox_ddata 53 u32 irq_type = ddata->irq_type[offset]; local 56 if ((irq_type & IRQ_TYPE_LEVEL_HIGH) || 57 ((irq_type & IRQ_TYPE_EDGE_RISING) && !prev_level)) 60 if ((irq_type & IRQ_TYPE_LEVEL_LOW) || 61 ((irq_type & IRQ_TYPE_EDGE_FALLING) && prev_level)) 135 ddata->irq_type[d->hwirq] = type;
|
H A D | gpio-xgs-iproc.c | 51 u32 irq_type, event_status = 0; local 54 irq_type = irq_get_trigger_type(irq); 55 if (irq_type & IRQ_TYPE_EDGE_BOTH) { 70 u32 int_mask, irq_type, event_mask; local 74 irq_type = irq_get_trigger_type(irq); 78 if (irq_type & IRQ_TYPE_EDGE_BOTH) { 97 u32 irq_type, int_mask, event_mask; local 100 irq_type = irq_get_trigger_type(irq); 104 if (irq_type & IRQ_TYPE_EDGE_BOTH) {
|
H A D | gpio-max77620.c | 22 unsigned int irq_type[MAX77620_GPIO_NR]; member in struct:max77620_gpio 73 unsigned int irq_type; local 77 irq_type = MAX77620_CNFG_GPIO_INT_RISING; 81 irq_type = MAX77620_CNFG_GPIO_INT_FALLING; 85 irq_type = MAX77620_CNFG_GPIO_INT_RISING | 93 gpio->irq_type[data->hwirq] = irq_type; 113 value = gpio->irq_enabled[offset] ? gpio->irq_type[offset] : 0;
|
H A D | gpio-xlp.c | 142 int pol, irq_type; local 146 irq_type = XLP_GPIO_IRQ_TYPE_EDGE; 150 irq_type = XLP_GPIO_IRQ_TYPE_EDGE; 154 irq_type = XLP_GPIO_IRQ_TYPE_LVL; 158 irq_type = XLP_GPIO_IRQ_TYPE_LVL; 165 xlp_gpio_set_reg(priv->gpio_intr_type, d->hwirq, irq_type);
|
H A D | gpio-pcie-idio-24.c | 150 * @irq_type: type configuration for IRQs 155 u8 irq_type; member in struct:idio_24_gpio 169 type = (mask_buf == mask_buf_def) ? ~type_mask : idio24gpio->irq_type; 208 idio24gpio->irq_type = (idio24gpio->irq_type & ~mask) | (new & mask); 217 idio24gpio->irq_type); 339 idio24gpio->irq_type = GENMASK(7, 0);
|
H A D | gpio-dln2.c | 60 int irq_type[DLN2_GPIO_MAX_PINS]; member in struct:dln2_gpio 330 dln2->irq_type[pin] = DLN2_GPIO_EVENT_LVL_HIGH; 333 dln2->irq_type[pin] = DLN2_GPIO_EVENT_LVL_LOW; 336 dln2->irq_type[pin] = DLN2_GPIO_EVENT_CHANGE; 339 dln2->irq_type[pin] = DLN2_GPIO_EVENT_CHANGE_RISING; 342 dln2->irq_type[pin] = DLN2_GPIO_EVENT_CHANGE_FALLING; 373 type = dln2->irq_type[pin] & DLN2_GPIO_EVENT_MASK; 423 switch (dln2->irq_type[pin]) {
|
/linux-master/drivers/iio/humidity/ |
H A D | hts221_buffer.c | 81 unsigned long irq_type; local 84 irq_type = irqd_get_trigger_type(irq_get_irq_data(hw->irq)); 86 switch (irq_type) { 97 irq_type); 98 irq_type = IRQF_TRIGGER_RISING; 111 irq_type |= IRQF_SHARED; 124 irq_type | IRQF_ONESHOT,
|
/linux-master/arch/sh/boards/mach-rsk/ |
H A D | devices-rsk7269.c | 21 .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL,
|
H A D | devices-rsk7264.c | 19 .irq_type = SMSC911X_IRQ_TYPE_OPEN_DRAIN,
|
/linux-master/drivers/regulator/ |
H A D | tps65219-regulator.c | 314 struct tps65219_regulator_irq_type *irq_type; local 342 irq_type = &tps65219_regulator_irq_types[i]; 344 irq = platform_get_irq_byname(pdev, irq_type->irq_name); 349 irq_data[i].type = irq_type; 351 tps65219_get_rdev_by_name(irq_type->regulator_name, rdevtbl, &rdev); 354 irq_type->regulator_name); 362 irq_type->irq_name, 366 irq_type->irq_name, irq, error);
|
H A D | tps6594-regulator.c | 375 struct tps6594_regulator_irq_type *irq_type; local 382 irq_type = &tps6594_regs_irq_types[j]; 383 irq = platform_get_irq_byname(pdev, irq_type->irq_name); 388 irq_data[*irq_idx].type = irq_type; 393 irq_type->irq_name, &irq_data[*irq_idx]); 396 irq_type->irq_name, irq, error); 413 struct tps6594_regulator_irq_type *irq_type; local 580 irq_type = &tps6594_ext_regulator_irq_types[i]; 582 irq = platform_get_irq_byname(pdev, irq_type->irq_name); 587 irq_ext_reg_data[i].type = irq_type; [all...] |
/linux-master/drivers/iio/light/ |
H A D | st_uvis25_core.c | 174 unsigned long irq_type; local 177 irq_type = irqd_get_trigger_type(irq_get_irq_data(hw->irq)); 179 switch (irq_type) { 188 dev_info(dev, "mode %lx unsupported\n", irq_type); 199 irq_type | IRQF_ONESHOT,
|
/linux-master/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm2835.c | 85 unsigned int irq_type[BCM2711_NUM_GPIOS]; member in struct:bcm2835_pinctrl 492 switch (pc->irq_type[offset]) { 562 pc->irq_type[offset] = type; 577 if (pc->irq_type[offset] != type) { 579 pc->irq_type[offset] = type; 584 if (pc->irq_type[offset] == IRQ_TYPE_EDGE_BOTH) { 586 pc->irq_type[offset] = IRQ_TYPE_EDGE_FALLING; 588 pc->irq_type[offset] = type; 589 } else if (pc->irq_type[offset] != type) { 591 pc->irq_type[offse [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | gpio.c | 28 u8 irq_type; member in struct:gb_gpio_line 304 u8 irq_type; local 308 irq_type = GB_GPIO_IRQ_TYPE_NONE; 311 irq_type = GB_GPIO_IRQ_TYPE_EDGE_RISING; 314 irq_type = GB_GPIO_IRQ_TYPE_EDGE_FALLING; 317 irq_type = GB_GPIO_IRQ_TYPE_EDGE_BOTH; 320 irq_type = GB_GPIO_IRQ_TYPE_LEVEL_LOW; 323 irq_type = GB_GPIO_IRQ_TYPE_LEVEL_HIGH; 330 line->irq_type = irq_type; [all...] |
/linux-master/drivers/vfio/pci/ |
H A D | vfio_pci_intrs.c | 36 return vdev->irq_type == type; 41 return vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX; 46 return !(vdev->irq_type == VFIO_PCI_INTX_IRQ_INDEX || 47 vdev->irq_type == VFIO_PCI_MSI_IRQ_INDEX || 48 vdev->irq_type == VFIO_PCI_MSIX_IRQ_INDEX); 301 * irq_type must be stable while the IRQ handler is registered, 312 vdev->irq_type = VFIO_PCI_INTX_IRQ_INDEX; 317 vdev->irq_type = VFIO_PCI_NUM_IRQS; 367 vdev->irq_type = VFIO_PCI_NUM_IRQS; 402 vdev->irq_type [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | novatek-nvt-ts.c | 189 int error, width, height, irq_type; local 223 irq_type = data->buf[NVT_TS_PARAMS_IRQ_TYPE]; 227 irq_type >= ARRAY_SIZE(nvt_ts_irq_type) || 264 nvt_ts_irq_type[irq_type],
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | affinity.h | 11 enum irq_type { enum
|
/linux-master/drivers/extcon/ |
H A D | extcon-max14577.c | 517 * Returns 0 if irq_type does not match registered IRQ for this device type. 519 static int max14577_parse_irq(struct max14577_muic_info *info, int irq_type) argument 521 switch (irq_type) { 546 * Returns 0 if irq_type does not match registered IRQ for this device type. 548 static int max77836_parse_irq(struct max14577_muic_info *info, int irq_type) argument 551 if (max14577_parse_irq(info, irq_type)) 554 switch (irq_type) { 570 int i, irq_type = -1; local 581 irq_type = info->muic_irqs[i].irq; 585 irq_parsed = max77836_parse_irq(info, irq_type); [all...] |
H A D | extcon-sm5502.c | 70 int (*parse_irq)(struct sm5502_muic_info *info, int irq_type); 552 * Returns -ESRCH if irq_type does not match registered IRQ for this dev type. 554 static int sm5502_parse_irq(struct sm5502_muic_info *info, int irq_type) argument 556 switch (irq_type) { 582 static int sm5504_parse_irq(struct sm5502_muic_info *info, int irq_type) argument 584 switch (irq_type) { 613 int i, irq_type = -1, ret; local 617 irq_type = info->type->muic_irqs[i].irq; 619 ret = info->type->parse_irq(info, irq_type); 622 irq_type); [all...] |