Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 9 of 9) sorted by relevance

/arch/sh/drivers/
Dheartbeat.c32 static inline void heartbeat_toggle_bit(struct heartbeat_data *hd, in heartbeat_toggle_bit() argument
37 new = (1 << hd->bit_pos[bit]); in heartbeat_toggle_bit()
41 new &= hd->mask; in heartbeat_toggle_bit()
43 switch (hd->regsize) { in heartbeat_toggle_bit()
45 new |= ioread32(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
46 iowrite32(new, hd->base); in heartbeat_toggle_bit()
49 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
50 iowrite16(new, hd->base); in heartbeat_toggle_bit()
53 new |= ioread8(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
54 iowrite8(new, hd->base); in heartbeat_toggle_bit()
[all …]
/arch/mips/sgi-ip27/
Dip27-irq.c52 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); in enable_hub_irq() local
53 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in enable_hub_irq()
56 __raw_writeq(mask[0], hd->irq_mask[0]); in enable_hub_irq()
57 __raw_writeq(mask[1], hd->irq_mask[1]); in enable_hub_irq()
62 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); in disable_hub_irq() local
63 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in disable_hub_irq()
66 __raw_writeq(mask[0], hd->irq_mask[0]); in disable_hub_irq()
67 __raw_writeq(mask[1], hd->irq_mask[1]); in disable_hub_irq()
70 static void setup_hub_mask(struct hub_irq_data *hd, const struct cpumask *mask) in setup_hub_mask() argument
80 hd->cpu = cpu; in setup_hub_mask()
[all …]
/arch/mips/sgi-ip30/
Dip30-irq.c146 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_heart_irq() local
147 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_heart_irq()
150 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_heart_irq()
155 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_and_ack_heart_irq() local
156 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_and_ack_heart_irq()
159 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_and_ack_heart_irq()
165 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_unmask_heart_irq() local
166 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_unmask_heart_irq()
169 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_unmask_heart_irq()
175 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_set_heart_irq_affinity() local
[all …]
/arch/x86/kernel/
Dhpet.c190 struct hpet_data hd; in hpet_reserve_platform_timers() local
193 memset(&hd, 0, sizeof(hd)); in hpet_reserve_platform_timers()
194 hd.hd_phys_address = hpet_address; in hpet_reserve_platform_timers()
195 hd.hd_address = hpet_virt_address; in hpet_reserve_platform_timers()
196 hd.hd_nirqs = hpet_base.nr_channels; in hpet_reserve_platform_timers()
203 hd.hd_irq[0] = HPET_LEGACY_8254; in hpet_reserve_platform_timers()
204 hd.hd_irq[1] = HPET_LEGACY_RTC; in hpet_reserve_platform_timers()
210 hd.hd_irq[i] = hc->irq; in hpet_reserve_platform_timers()
219 hpet_reserve_timer(&hd, hc->num); in hpet_reserve_platform_timers()
224 hpet_alloc(&hd); in hpet_reserve_platform_timers()
/arch/arm/mach-davinci/
Dboard-dm646x-evm.c475 static int set_vpif_clock(int mux_mode, int hd) in set_vpif_clock() argument
509 if (hd >= 1) in set_vpif_clock()
/arch/arm/boot/dts/
Dam437x-sbc-t43.dts34 AM4372_IOPAD(0x9b0, PIN_OUTPUT_PULLUP | MUX_MODE2) /* cam0 hd -> DSS DATA 23 */
Dgemini-dlink-dir-685.dts104 led-blue-hd {
111 led-orange-hd {
Dbcm2711.dtsi347 "hd";
388 "hd";
/arch/ia64/include/asm/
Dpal.h414 hd : 1, /* Non-essential hw member
704 #define pmci_proc_hardware_damage pme_processor.hd