Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mfd/
Dhtc-i2cpld.c230 struct htcpld_chip *chip_data; in htcpld_chip_set() local
233 chip_data = container_of(chip, struct htcpld_chip, chip_out); in htcpld_chip_set()
234 if (!chip_data) in htcpld_chip_set()
237 client = chip_data->client; in htcpld_chip_set()
241 spin_lock_irqsave(&chip_data->lock, flags); in htcpld_chip_set()
243 chip_data->cache_out |= (1 << offset); in htcpld_chip_set()
245 chip_data->cache_out &= ~(1 << offset); in htcpld_chip_set()
246 spin_unlock_irqrestore(&chip_data->lock, flags); in htcpld_chip_set()
248 schedule_work(&(chip_data->set_val_work)); in htcpld_chip_set()
253 struct htcpld_chip *chip_data; in htcpld_chip_set_ni() local
[all …]
/linux-2.6.39/arch/arm/mach-exynos4/
Dirq-combiner.c57 struct combiner_chip_data *chip_data = irq_get_handler_data(irq); in combiner_handle_cascade_irq() local
66 status = __raw_readl(chip_data->base + COMBINER_INT_STATUS); in combiner_handle_cascade_irq()
68 status &= chip_data->irq_mask; in combiner_handle_cascade_irq()
75 cascade_irq = combiner_irq + (chip_data->irq_offset & ~31); in combiner_handle_cascade_irq()
/linux-2.6.39/arch/arm/plat-samsung/
Dirq-vic-timer.c35 u32 mask = (u32)data->chip_data; in s3c_irq_timer_mask()
45 u32 mask = (u32)data->chip_data; in s3c_irq_timer_unmask()
55 u32 mask = (u32)data->chip_data; in s3c_irq_timer_ack()
/linux-2.6.39/arch/arm/mach-s3c64xx/
Dirq-eint.c40 mask |= (u32)data->chip_data; in s3c_irq_eint_mask()
49 mask &= ~((u32)data->chip_data); in s3c_irq_eint_unmask()
55 __raw_writel((u32)data->chip_data, S3C64XX_EINT0PEND); in s3c_irq_eint_ack()
/linux-2.6.39/include/linux/
Dirq.h138 void *chip_data; member
517 return d ? d->chip_data : NULL; in irq_get_chip_data()
522 return d->chip_data; in irq_data_get_irq_chip_data()
Dirqdesc.h88 return desc->irq_data.chip_data; in irq_desc_get_chip_data()
/linux-2.6.39/arch/arm/common/
Dgic.c216 struct gic_chip_data *chip_data = irq_get_handler_data(irq); in gic_handle_cascade_irq() local
225 status = readl(chip_data->cpu_base + GIC_CPU_INTACK); in gic_handle_cascade_irq()
232 cascade_irq = gic_irq + chip_data->irq_offset; in gic_handle_cascade_irq()
/linux-2.6.39/drivers/spi/
Dpxa2xx_spi.c134 struct chip_data *cur_chip;
153 struct chip_data { struct
180 struct chip_data *chip = drv_data->cur_chip; in cs_assert() argument
198 struct chip_data *chip = drv_data->cur_chip; in cs_deassert()
666 struct chip_data *chip = drv_data->cur_chip; in reset_sccr1()
823 static int set_dma_burst_and_threshold(struct chip_data *chip, in set_dma_burst_and_threshold()
936 struct chip_data *chip = NULL; in pump_transfers()
1247 static int setup_cs(struct spi_device *spi, struct chip_data *chip, in setup_cs()
1288 struct chip_data *chip; in setup()
1313 chip = kzalloc(sizeof(struct chip_data), GFP_KERNEL); in setup()
[all …]
Ddw_spi.h124 struct chip_data *cur_chip;
125 struct chip_data *prev_chip;
Ddw_spi.c45 struct chip_data { struct
438 struct chip_data *chip = NULL; in pump_transfers()
700 struct chip_data *chip; in dw_spi_setup()
708 chip = kzalloc(sizeof(struct chip_data), GFP_KERNEL); in dw_spi_setup()
769 struct chip_data *chip = spi_get_ctldata(spi); in dw_spi_cleanup()
Damba-pl022.c381 struct chip_data *cur_chip;
416 struct chip_data { struct
550 struct chip_data *chip = pl022->cur_chip; in restore_state()
1380 struct chip_data *chip; in do_polling_transfer()
1799 struct chip_data *chip; in pl022_setup()
1813 chip = kzalloc(sizeof(struct chip_data), GFP_KERNEL); in pl022_setup()
2016 struct chip_data *chip = spi_get_ctldata(spi); in pl022_cleanup()
/linux-2.6.39/arch/x86/kernel/apic/
Dio_apic.c535 mask_ioapic(data->chip_data); in mask_ioapic_irq()
554 unmask_ioapic(data->chip_data); in unmask_ioapic_irq()
2123 __unmask_ioapic(data->chip_data); in startup_ioapic_irq()
2131 struct irq_cfg *cfg = data->chip_data; in ioapic_retrigger_irq()
2199 struct irq_cfg *cfg = data->chip_data; in __ioapic_set_affinity()
2204 if (assign_irq_vector(data->irq, data->chip_data, mask)) in __ioapic_set_affinity()
2226 __target_IO_APIC_irq(irq, dest, data->chip_data); in ioapic_set_affinity()
2249 struct irq_cfg *cfg = data->chip_data; in ir_ioapic_set_affinity()
2377 irq_complete_move(data->chip_data); in ack_apic_edge()
2428 struct irq_cfg *cfg = data->chip_data; in ack_apic_level()
[all …]
/linux-2.6.39/arch/mips/cavium-octeon/
Docteon-irq.c439 cd.p = data->chip_data; in octeon_irq_ciu_ack()
462 cd.p = data->chip_data; in octeon_irq_ciu_disable_all_v2()
490 cd.p = data->chip_data; in octeon_irq_ciu_enable_all_v2()
541 cd.p = data->chip_data; in octeon_irq_ciu_set_affinity()
604 cd.p = data->chip_data; in octeon_irq_ciu_set_affinity_v2()
/linux-2.6.39/arch/x86/platform/uv/
Duv_irq.c196 struct irq_cfg *cfg = data->chip_data; in uv_set_irq_affinity()
/linux-2.6.39/kernel/irq/
Dirqdesc.c79 desc->irq_data.chip_data = NULL; in desc_set_defaults()
Dchip.c126 desc->irq_data.chip_data = data; in irq_set_chip_data()