Home
last modified time | relevance | path

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

/arch/x86/pci/
Dsta2x11-fixup.c62 struct sta2x11_instance *instance; in sta2x11_new_instance() local
64 instance = kzalloc(sizeof(*instance), GFP_ATOMIC); in sta2x11_new_instance()
65 if (!instance) in sta2x11_new_instance()
68 instance->bus0 = pdev->subordinate->number + 1; in sta2x11_new_instance()
77 list_add(&instance->list, &sta2x11_instance_list); in sta2x11_new_instance()
86 struct sta2x11_instance *instance; in sta2x11_pdev_to_instance() local
89 list_for_each_entry(instance, &sta2x11_instance_list, list) { in sta2x11_pdev_to_instance()
90 ep = pdev->bus->number - instance->bus0; in sta2x11_pdev_to_instance()
92 return instance; in sta2x11_pdev_to_instance()
99 struct sta2x11_instance *instance; in sta2x11_pdev_to_ep() local
[all …]
/arch/cris/arch-v32/kernel/
Ddebugport.c16 unsigned long instance; member
155 REG_WR (ser, p->instance, rw_tr_baud_div, tr_baud_div); in start_port()
156 REG_WR (ser, p->instance, rw_rec_baud_div, rec_baud_div); in start_port()
157 REG_WR (ser, p->instance, rw_tr_dma_en, tr_dma_en); in start_port()
158 REG_WR (ser, p->instance, rw_tr_ctrl, tr_ctrl); in start_port()
159 REG_WR (ser, p->instance, rw_rec_ctrl, rec_ctrl); in start_port()
171 stat = REG_RD(ser, kgdb_port->instance, rs_stat_din); in getDebugChar()
176 REG_WR(ser, kgdb_port->instance, rw_ack_intr, ack_intr); in getDebugChar()
187 stat = REG_RD(ser, kgdb_port->instance, r_stat_din); in putDebugChar()
189 REG_WR_INT(ser, kgdb_port->instance, rw_dout, val); in putDebugChar()
/arch/cris/arch-v32/mach-a3/
Darbiter.c55 unsigned long instance; member
72 unsigned long instance; member
98 .instance = regi_marb_foo,
103 .instance = regi_marb_bar,
408 watches[arbiter][i].instance, in crisv32_arbiter_watch()
412 watches[arbiter][i].instance, in crisv32_arbiter_watch()
416 watches[arbiter][i].instance, in crisv32_arbiter_watch()
419 watches[arbiter][i].instance, in crisv32_arbiter_watch()
424 watches[arbiter][i].instance, in crisv32_arbiter_watch()
428 watches[arbiter][i].instance, in crisv32_arbiter_watch()
[all …]
/arch/sparc/kernel/
Ddevices.c72 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare() argument
76 if (instance == desired_instance) in cpu_instance_compare()
81 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance() argument
83 return __cpu_find_by(cpu_instance_compare, (void *)instance, in cpu_find_by_instance()
87 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare() argument
Dsmp_32.c234 int instance, mid; in smp_setup_cpu_possible_map() local
236 instance = 0; in smp_setup_cpu_possible_map()
237 while (!cpu_find_by_instance(instance, NULL, &mid)) { in smp_setup_cpu_possible_map()
242 instance++; in smp_setup_cpu_possible_map()
/arch/cris/arch-v32/mach-fs/
Darbiter.c25 unsigned long instance; member
289 REG_WR_INT(marb_bp, watches[i].instance, rw_first_addr, in crisv32_arbiter_watch()
291 REG_WR_INT(marb_bp, watches[i].instance, rw_last_addr, in crisv32_arbiter_watch()
293 REG_WR_INT(marb_bp, watches[i].instance, rw_op, in crisv32_arbiter_watch()
295 REG_WR_INT(marb_bp, watches[i].instance, rw_clients, in crisv32_arbiter_watch()
381 r_clients = REG_RD(marb_bp, watch->instance, r_brk_clients); in crisv32_arbiter_irq()
382 r_addr = REG_RD(marb_bp, watch->instance, r_brk_addr); in crisv32_arbiter_irq()
383 r_op = REG_RD(marb_bp, watch->instance, r_brk_op); in crisv32_arbiter_irq()
384 r_first = REG_RD(marb_bp, watch->instance, r_brk_first_client); in crisv32_arbiter_irq()
385 r_size = REG_RD(marb_bp, watch->instance, r_brk_size); in crisv32_arbiter_irq()
[all …]
/arch/arm/mach-davinci/
Dserial.c74 int __init davinci_serial_setup_clk(unsigned instance, unsigned int *rate) in davinci_serial_setup_clk() argument
81 sprintf(name, "uart%d", instance); in davinci_serial_setup_clk()
85 __func__, __LINE__, instance); in davinci_serial_setup_clk()
Ddevices-da8xx.c338 int __init da8xx_register_i2c(int instance, in da8xx_register_i2c() argument
343 if (instance == 0) in da8xx_register_i2c()
345 else if (instance == 1) in da8xx_register_i2c()
963 int __init da8xx_register_spi_bus(int instance, unsigned num_chipselect) in da8xx_register_spi_bus() argument
965 if (instance < 0 || instance > 1) in da8xx_register_spi_bus()
968 da8xx_spi_pdata[instance].num_chipselect = num_chipselect; in da8xx_register_spi_bus()
970 if (instance == 1 && cpu_is_davinci_da850()) { in da8xx_register_spi_bus()
975 return platform_device_register(&da8xx_spi_device[instance]); in da8xx_register_spi_bus()
/arch/arm/mach-davinci/include/mach/
Dda8xx.h87 int da8xx_register_i2c(int instance, struct davinci_i2c_platform_data *pdata);
88 int da8xx_register_spi_bus(int instance, unsigned num_chipselect);
Dserial.h46 extern int davinci_serial_setup_clk(unsigned instance, unsigned int *rate);
/arch/sparc/include/asm/
Doplib_32.h177 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid);
/arch/arm/boot/dts/
Dam33xx.dtsi332 0x47401000 0x800 /* musb instance 0 */
333 0x47401800 0x800>; /* musb instance 1 */
335 18 /* musb instance 0 */
336 19>; /* musb instance 1 */
/arch/mips/ar7/
Dplatform.c298 static void __init cpmac_get_mac(int instance, unsigned char *dev_addr) in cpmac_get_mac() argument
302 sprintf(name, "mac%c", 'a' + instance); in cpmac_get_mac()
304 if (!mac && instance) { in cpmac_get_mac()
/arch/mips/mm/
Dtlbex.c188 int instance) in uasm_bgezl_hazard() argument
190 switch (instance) { in uasm_bgezl_hazard()
192 uasm_il_bgezl(p, r, 0, label_tlbw_hazard_0 + instance); in uasm_bgezl_hazard()
201 int instance) in uasm_bgezl_label() argument
203 switch (instance) { in uasm_bgezl_label()
205 uasm_build_label(l, *p, label_tlbw_hazard_0 + instance); in uasm_bgezl_label()
/arch/um/
DKconfig.um69 instance, there is much greater flexibility possible than with the
DKconfig.net55 The UML TUN/TAP network transport allows a UML instance to exchange
/arch/frv/
DKconfig116 can decode it. For instance, a 512MB SDRAM bank must be 512MB aligned.
/arch/microblaze/platform/generic/
Dsystem.dts100 xlnx,instance = "microblaze_0";
/arch/microblaze/boot/dts/
Dsystem.dts100 xlnx,instance = "microblaze_0";
/arch/m68k/ifpsp060/src/
Dfpsp.S13487 # the accrued bit is NOT set in this instance(no inexactness!)