/arch/ia64/kernel/ |
H A D | msi_ia64.c | 19 u32 addr, data; local 36 data = msg.data; 37 data &= MSI_DATA_VECTOR_MASK; 38 data |= MSI_DATA_VECTOR(irq_to_vector(irq)); 39 msg.data = data; 71 msg.data = 88 static void ia64_ack_msi_irq(struct irq_data *data) argument 90 irq_complete_move(data 95 ia64_msi_retrigger_irq(struct irq_data *data) argument 136 dmar_msi_set_affinity(struct irq_data *data, const struct cpumask *mask, bool force) argument [all...] |
H A D | uncached.c | 46 static void uncached_ipi_visibility(void *data) argument 49 struct uncached_pool *uc_pool = (struct uncached_pool *)data; 58 static void uncached_ipi_mc_drain(void *data) argument 61 struct uncached_pool *uc_pool = (struct uncached_pool *)data;
|
/arch/ia64/sn/kernel/ |
H A D | msi_sn.c | 145 msg.data = 0x100 + irq; 155 static int sn_set_msi_irq_affinity(struct irq_data *data, argument 167 unsigned int cpu, irq = data->irq; 209 cpumask_copy(data->affinity, cpu_mask); 215 static void sn_ack_msi_irq(struct irq_data *data) argument 217 irq_move_irq(data); 221 static int sn_msi_retrigger_irq(struct irq_data *data) argument 223 unsigned int vector = data->irq;
|
/arch/m32r/platforms/usrv/ |
H A D | setup.c | 23 unsigned long port, data; local 26 data = icu_data[irq].icucr|M32R_ICUCR_ILEVEL7; 27 outl(data, port); 32 unsigned long port, data; local 35 data = icu_data[irq].icucr|M32R_ICUCR_IEN|M32R_ICUCR_ILEVEL6; 36 outl(data, port); 39 static void mask_mappi(struct irq_data *data) argument 41 disable_mappi_irq(data->irq); 44 static void unmask_mappi(struct irq_data *data) argument 46 enable_mappi_irq(data 49 shutdown_mappi(struct irq_data *data) argument 80 unsigned long port, data; local 91 unsigned long port, data; local 100 mask_m32700ut_pld(struct irq_data *data) argument 105 unmask_m32700ut_pld(struct irq_data *data) argument 111 shutdown_m32700ut_pld(struct irq_data *data) argument [all...] |
/arch/m68k/include/asm/ |
H A D | adb_iop.h | 38 __u8 count; /* no. of data bytes */ 40 __u8 data[8]; /* ADB data */ member in struct:adb_iopmsg
|
H A D | gpio.h | 27 * only one port, others have multiple ports; some have a single data latch 28 * for both input and output, others have a separate pin data register to read 47 #define mcfgpio_write(data, port) __raw_writeb(data, port) 56 #define mcfgpio_write(data, port) __raw_writew(data, port) 65 #define mcfgpio_write(data, port) __raw_writel(data, port) 106 /* return the port pin data register for a gpio */ 145 /* return the port output data registe 204 MCFGPIO_PORTTYPE data; local [all...] |
/arch/m68k/kernel/ |
H A D | ints.c | 143 unsigned int m68k_irq_startup(struct irq_data *data) argument 145 return m68k_irq_startup_irq(data->irq); 148 void m68k_irq_shutdown(struct irq_data *data) argument 150 unsigned int irq = data->irq;
|
/arch/microblaze/kernel/ |
H A D | prom.c | 58 const char *uname, int depth, void *data) 80 *(u32 *)data = UART16550; 94 *(u32 *)data = UARTLITE; 166 flat_dt_blob.data = initial_boot_params; 57 early_init_dt_scan_chosen_serial(unsigned long node, const char *uname, int depth, void *data) argument
|
/arch/mips/bcm63xx/ |
H A D | timer.c | 26 void *data; member in struct:timer_data 49 timer_data[i].cb(timer_data[i].data); 104 int bcm63xx_timer_register(int id, void (*callback)(void *data), void *data) argument 120 timer_data[id].data = data;
|
/arch/mips/include/asm/ |
H A D | bmips.h | 89 static inline void bmips_write_zscm_reg(unsigned int offset, unsigned long data) argument 103 : "r" (data),
|
/arch/mips/include/asm/octeon/ |
H A D | cvmx-dbg-defs.h | 40 uint64_t data:17; member in struct:cvmx_dbg_data::cvmx_dbg_data_s 48 uint64_t data:17; member in struct:cvmx_dbg_data::cvmx_dbg_data_cn30xx 58 uint64_t data:17; member in struct:cvmx_dbg_data::cvmx_dbg_data_cn38xx 67 uint64_t data:17; member in struct:cvmx_dbg_data::cvmx_dbg_data_cn58xx
|
/arch/mips/kernel/ |
H A D | spinlock_test.c | 10 static int ss_get(void *data, u64 *val) argument 54 static int multi_other(void *data) argument 58 struct spin_multi_per_thread *pt = data; 90 static int multi_get(void *data, u64 *val) argument
|
/arch/mips/lasat/ |
H A D | lasat_board.c | 34 #define EEPROM_CRC(data, len) (~crc32(~0, data, len)) 38 int EEPROMRead(unsigned int pos, unsigned char *data, int len) argument 43 *data++ = at93c_read(pos++); 48 int EEPROMWrite(unsigned int pos, unsigned char *data, int len) argument 53 at93c_write(pos++, *data++);
|
/arch/mips/pci/ |
H A D | ops-bonito64.c | 40 u32 * data) 74 writel(cpu_to_le32(*data), addrp); 78 *data = le32_to_cpu(readl(addrp)); 100 * read/write a 32bit word and mask/modify the data we actually want. 105 u32 data = 0; local 113 &data)) 117 *val = (data >> ((where & 3) << 3)) & 0xff; 119 *val = (data >> ((where & 3) << 3)) & 0xffff; 121 *val = data; 129 u32 data local 37 bonito64_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument [all...] |
H A D | ops-gt64xxx_pci0.c | 43 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) 68 GT_WRITE(GT_PCI0_CFGDATA_OFS, *data); 70 __GT_WRITE(GT_PCI0_CFGDATA_OFS, *data); 77 *data = GT_READ(GT_PCI0_CFGDATA_OFS); 79 *data = __GT_READ(GT_PCI0_CFGDATA_OFS); 101 * read/write a 32bit word and mask/modify the data we actually want. 106 u32 data = 0; local 109 where, &data)) 113 *val = (data >> ((where & 3) << 3)) & 0xff; 115 *val = (data >> ((wher 42 gt64xxx_pci0_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument 125 u32 data = 0; local [all...] |
H A D | ops-msc.c | 48 struct pci_bus *bus, unsigned int devfn, int where, u32 * data) 65 MSC_WRITE(MSC01_PCI_CFGDATA, *data); 67 MSC_READ(MSC01_PCI_CFGDATA, *data); 87 * read/write a 32bit word and mask/modify the data we actually want. 92 u32 data = 0; local 100 &data)) 104 *val = (data >> ((where & 3) << 3)) & 0xff; 106 *val = (data >> ((where & 3) << 3)) & 0xffff; 108 *val = data; 116 u32 data local 47 msc_pcibios_config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, int where, u32 * data) argument [all...] |
H A D | ops-nile4.c | 81 u32 data = 0; local 91 &data); 98 *val = (data >> ((where & 3) << 3)) & 0xff; 100 *val = (data >> ((where & 3) << 3)) & 0xffff; 102 *val = data; 111 u32 data = 0; local 121 &data); 128 data = (data & ~(0xff << ((where & 3) << 3))) | 131 data [all...] |
H A D | ops-pnx8550.c | 110 * read/write a 32bit word and mask/modify the data we actually want. 115 unsigned int data = 0; local 121 err = config_access(PCI_CMD_CONFIG_READ, bus, devfn, where, ~(1 << (where & 3)), &data); 124 *val = (unsigned char)(data & 0x000000ff); 127 *val = (unsigned char)((data & 0x0000ff00) >> 8); 130 *val = (unsigned char)((data & 0x00ff0000) >> 16); 133 *val = (unsigned char)((data & 0xff000000) >> 24); 143 unsigned int data = 0; local 152 err = config_access(PCI_CMD_CONFIG_READ, bus, devfn, where, ~(3 << (where & 3)), &data); 155 *val = (unsigned short)(data 183 unsigned int data = (unsigned int)val; local 211 unsigned int data = (unsigned int)val; local [all...] |
H A D | ops-rc32434.c | 49 unsigned char where, u32 *data) 59 rc32434_pci->pcicfgd = *data; 61 *data = rc32434_pci->pcicfgd; 71 * read/write a 32bit word and mask/modify the data we actually want. 76 u32 data; local 79 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 80 *val = (data >> ((where & 3) << 3)) & 0xff; 87 u32 data; local 90 ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); 91 *val = (data >> ((wher 47 config_access(unsigned char access_type, struct pci_bus *bus, unsigned int devfn, unsigned char where, u32 *data) argument 133 u32 data = 0; local 152 u32 data = 0; local [all...] |
/arch/mips/pmc-sierra/msp71xx/ |
H A D | msp_hwbutton.c | 50 void *data; /* Optional data to pass to handler */ member in struct:hwbutton_interrupt 56 static void softreset_push(void *data) argument 70 static void softreset_release(void *data) argument 77 static void standby_on(void *data) argument 84 static void standby_off(void *data) argument 99 .data = NULL, 109 .data = NULL, 113 static irqreturn_t hwbutton_handler(int irq, void *data) argument 115 struct hwbutton_interrupt *hirq = data; [all...] |
/arch/mn10300/unit-asb2305/ |
H A D | pci-asb2305.c | 34 resource_size_t pcibios_align_resource(void *data, const struct resource *res, argument 40 struct pci_dev *dev = data;
|
/arch/openrisc/kernel/ |
H A D | irq.c | 51 static void or1k_pic_mask(struct irq_data *data) argument 53 mtspr(SPR_PICMR, mfspr(SPR_PICMR) & ~(1UL << data->irq)); 56 static void or1k_pic_unmask(struct irq_data *data) argument 58 mtspr(SPR_PICMR, mfspr(SPR_PICMR) | (1UL << data->irq)); 61 static void or1k_pic_ack(struct irq_data *data) argument 82 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->irq)); 89 static void or1k_pic_mask_ack(struct irq_data *data) argument 94 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->irq)); 101 static int or1k_pic_set_type(struct irq_data *data, unsigned int flow_type) argument 108 return irq_setup_alt_chip(data, flow_typ [all...] |
H A D | ptrace.c | 160 unsigned long data) 166 ret = ptrace_request(child, request, addr, data); 159 arch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data) argument
|
/arch/parisc/kernel/ |
H A D | ptrace.c | 113 unsigned long addr, unsigned long data) 127 ret = put_user(tmp, (unsigned long __user *) data); 147 data &= USER_PSW_BITS; 149 task_regs(child)->gr[0] |= data; 161 *(unsigned long *) ((char *) task_regs(child) + addr) = data; 167 ret = ptrace_request(child, request, addr, data); 203 compat_ulong_t addr, compat_ulong_t data) 218 ret = put_user(tmp, (compat_uint_t *) (unsigned long) data); 236 ret = arch_ptrace(child, request, addr, data); 245 *(__u64 *) ((char *) task_regs(child) + addr) = data; 112 arch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data) argument 202 compat_arch_ptrace(struct task_struct *child, compat_long_t request, compat_ulong_t addr, compat_ulong_t data) argument [all...] |
/arch/powerpc/kernel/ |
H A D | ptrace32.c | 47 long addr, long data) 54 compat_ptr(data)); 60 compat_ptr(data)); 76 unsigned long data = cdata; local 82 * data is a pointer specifying where the user wants the 105 ret = put_user(tmp, (u32 __user *)data); 133 ret = put_user((unsigned int)tmp, (u32 __user *)data); 139 * data is a pointer specifying where the user wants the 178 ret = put_user(reg32bits, (u32 __user *)data); 184 * data i 46 compat_ptrace_old(struct task_struct *child, long request, long addr, long data) argument [all...] |