Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 26) sorted by relevance

12

/arch/x86/pci/
Dsta2x11-fixup.c63 struct sta2x11_instance *instance; in sta2x11_new_instance() local
65 instance = kzalloc(sizeof(*instance), GFP_ATOMIC); in sta2x11_new_instance()
66 if (!instance) in sta2x11_new_instance()
69 instance->bus0 = pdev->subordinate->number + 1; in sta2x11_new_instance()
78 list_add(&instance->list, &sta2x11_instance_list); in sta2x11_new_instance()
87 struct sta2x11_instance *instance; in sta2x11_pdev_to_instance() local
90 list_for_each_entry(instance, &sta2x11_instance_list, list) { in sta2x11_pdev_to_instance()
91 ep = pdev->bus->number - instance->bus0; in sta2x11_pdev_to_instance()
93 return instance; in sta2x11_pdev_to_instance()
100 struct sta2x11_instance *instance; in sta2x11_pdev_to_ep() local
[all …]
/arch/cris/arch-v32/kernel/
Ddebugport.c19 unsigned long instance; member
150 REG_WR (ser, p->instance, rw_tr_baud_div, tr_baud_div); in start_port()
151 REG_WR (ser, p->instance, rw_rec_baud_div, rec_baud_div); in start_port()
152 REG_WR (ser, p->instance, rw_tr_dma_en, tr_dma_en); in start_port()
153 REG_WR (ser, p->instance, rw_tr_ctrl, tr_ctrl); in start_port()
154 REG_WR (ser, p->instance, rw_rec_ctrl, rec_ctrl); in start_port()
165 stat = REG_RD(ser, kgdb_port->instance, rs_stat_din); in getDebugChar()
170 REG_WR(ser, kgdb_port->instance, rw_ack_intr, ack_intr); in getDebugChar()
180 stat = REG_RD(ser, kgdb_port->instance, r_stat_din); in putDebugChar()
182 REG_WR_INT(ser, kgdb_port->instance, rw_dout, val); in putDebugChar()
[all …]
/arch/cris/arch-v32/mach-a3/
Darbiter.c56 unsigned long instance; member
73 unsigned long instance; member
99 .instance = regi_marb_foo,
104 .instance = regi_marb_bar,
409 watches[arbiter][i].instance, in crisv32_arbiter_watch()
413 watches[arbiter][i].instance, in crisv32_arbiter_watch()
417 watches[arbiter][i].instance, in crisv32_arbiter_watch()
420 watches[arbiter][i].instance, in crisv32_arbiter_watch()
425 watches[arbiter][i].instance, in crisv32_arbiter_watch()
429 watches[arbiter][i].instance, in crisv32_arbiter_watch()
[all …]
/arch/sparc/kernel/
Ddevices.c74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare() argument
78 if (instance == desired_instance) in cpu_instance_compare()
83 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance() argument
85 return __cpu_find_by(cpu_instance_compare, (void *)instance, in cpu_find_by_instance()
89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare() argument
Dsmp_32.c232 int instance, mid; in smp_setup_cpu_possible_map() local
234 instance = 0; in smp_setup_cpu_possible_map()
235 while (!cpu_find_by_instance(instance, NULL, &mid)) { in smp_setup_cpu_possible_map()
240 instance++; in smp_setup_cpu_possible_map()
/arch/cris/arch-v32/mach-fs/
Darbiter.c26 unsigned long instance; member
290 REG_WR_INT(marb_bp, watches[i].instance, rw_first_addr, in crisv32_arbiter_watch()
292 REG_WR_INT(marb_bp, watches[i].instance, rw_last_addr, in crisv32_arbiter_watch()
294 REG_WR_INT(marb_bp, watches[i].instance, rw_op, in crisv32_arbiter_watch()
296 REG_WR_INT(marb_bp, watches[i].instance, rw_clients, in crisv32_arbiter_watch()
382 r_clients = REG_RD(marb_bp, watch->instance, r_brk_clients); in crisv32_arbiter_irq()
383 r_addr = REG_RD(marb_bp, watch->instance, r_brk_addr); in crisv32_arbiter_irq()
384 r_op = REG_RD(marb_bp, watch->instance, r_brk_op); in crisv32_arbiter_irq()
385 r_first = REG_RD(marb_bp, watch->instance, r_brk_first_client); in crisv32_arbiter_irq()
386 r_size = REG_RD(marb_bp, watch->instance, r_brk_size); in crisv32_arbiter_irq()
[all …]
/arch/x86/include/asm/
Defi.h226 #define efi_table_attr(table, attr, instance) \ argument
228 ((table##_64_t *)(unsigned long)instance)->attr : \
229 ((table##_32_t *)(unsigned long)instance)->attr)
231 #define efi_call_proto(protocol, f, instance, ...) \ argument
232 __efi_early()->call(efi_table_attr(protocol, f, instance), \
233 instance, ##__VA_ARGS__)
/arch/arm/include/asm/
Defi.h61 #define efi_call_proto(protocol, f, instance, ...) \ argument
62 ((protocol##_t *)instance)->f(instance, ##__VA_ARGS__)
/arch/arm64/include/asm/
Defi.h88 #define efi_call_proto(protocol, f, instance, ...) \ argument
89 ((protocol##_t *)instance)->f(instance, ##__VA_ARGS__)
/arch/arm/mach-davinci/include/mach/
Dda8xx.h94 int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata);
95 int da8xx_register_spi_bus(int instance, unsigned num_chipselect);
/arch/arm/mach-davinci/
Ddevices-da8xx.c343 int __init da8xx_register_i2c(int instance, in da8xx_register_i2c() argument
348 if (instance == 0) in da8xx_register_i2c()
350 else if (instance == 1) in da8xx_register_i2c()
1044 int __init da8xx_register_spi_bus(int instance, unsigned num_chipselect) in da8xx_register_spi_bus() argument
1046 if (instance < 0 || instance > 1) in da8xx_register_spi_bus()
1049 da8xx_spi_pdata[instance].num_chipselect = num_chipselect; in da8xx_register_spi_bus()
1051 if (instance == 1 && cpu_is_davinci_da850()) { in da8xx_register_spi_bus()
1056 return platform_device_register(&da8xx_spi_device[instance]); in da8xx_register_spi_bus()
/arch/arm/boot/dts/
Dtegra30-apalis-eval.dts154 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
165 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
175 /* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
Dtegra30-colibri-eval-v3.dts100 /* EHCI instance 0: USB1_DP/N -> USBC_P/N */
111 /* EHCI instance 2: USB3_DP/N -> USBH_P/N */
Dtegra124-apalis-eval.dts196 /* EHCI instance 0: USB1_DP/N -> USBO1_DP/N */
207 /* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
217 /* EHCI instance 2: USB3_DP/N -> USBH4_DP/N */
Dtegra30-colibri.dtsi440 /* EHCI instance 1: USB2_DP/N -> AX88772B */
/arch/sparc/include/asm/
Doplib_32.h178 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid);
/arch/mips/ar7/
Dplatform.c296 static void __init cpmac_get_mac(int instance, unsigned char *dev_addr) in cpmac_get_mac() argument
300 sprintf(name, "mac%c", 'a' + instance); in cpmac_get_mac()
302 if (!mac && instance) { in cpmac_get_mac()
/arch/mips/boot/dts/xilfpga/
Dnexys4ddr.dts57 xlnx,instance = "axi_ethernetlite_inst";
/arch/mips/mm/
Dtlbex.c200 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard() argument
202 switch (instance) { in uasm_bgezl_hazard()
204 uasm_il_bgezl(p, r, 0, label_tlbw_hazard_0 + instance); in uasm_bgezl_hazard()
211 static void uasm_bgezl_label(struct uasm_label **l, u32 **p, int instance) in uasm_bgezl_label() argument
213 switch (instance) { in uasm_bgezl_label()
215 uasm_build_label(l, *p, label_tlbw_hazard_0 + instance); in uasm_bgezl_label()
/arch/um/
DKconfig.um57 instance, there is much greater flexibility possible than with the
DKconfig.net56 The UML TUN/TAP network transport allows a UML instance to exchange
/arch/tile/include/gxio/
Dmpipe.h322 int instance; member
/arch/tile/gxio/
Dmpipe.c72 context->instance = mpipe_index; in gxio_mpipe_init()
/arch/frv/
DKconfig122 can decode it. For instance, a 512MB SDRAM bank must be 512MB aligned.
/arch/microblaze/boot/dts/
Dsystem.dts100 xlnx,instance = "microblaze_0";

12