Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 989) sorted by relevance

12345678910>>...40

/linux-2.4.37.9/drivers/macintosh/
Dadbhid.c79 int id; member
95 static void init_trackpad(int id);
96 static void init_trackball(int id);
97 static void init_turbomouse(int id);
98 static void init_microspeed(int id);
99 static void init_ms_a3(int id);
131 int id = (data[0] >> 4) & 0x0f; in adbhid_keyboard_input() local
133 if (!adbhid[id]) { in adbhid_keyboard_input()
135 id, data[0], data[1], data[2], data[3]); in adbhid_keyboard_input()
143 adbhid_input_keycode(id, data[1], 0); in adbhid_keyboard_input()
[all …]
Dmac_keyb.c244 static void init_trackpad(int id);
245 static void init_trackball(int id);
246 static void init_turbomouse(int id);
247 static void init_microspeed(int id);
248 static void init_ms_a3(int id);
673 real_mackbd_leds(leds,keyboard_ids.id[i]); in mackbd_leds()
763 int id = keyboard_ids.id[i]; in mackeyb_probe() local
767 ADB_WRITEREG(id, KEYB_LEDREG), 0xff, 0xff); in mackeyb_probe()
773 if (adb_try_handler_change(id, 5)) in mackeyb_probe()
774 printk("ADB keyboard at %d, handler set to 5\n", id); in mackeyb_probe()
[all …]
/linux-2.4.37.9/drivers/ide/
Dide-iops.c426 void ide_fix_driveid (struct hd_driveid *id) in ide_fix_driveid() argument
439 u_char *p = (u_char *)id; in ide_fix_driveid()
450 id->config = __le16_to_cpu(id->config); in ide_fix_driveid()
451 id->cyls = __le16_to_cpu(id->cyls); in ide_fix_driveid()
452 id->reserved2 = __le16_to_cpu(id->reserved2); in ide_fix_driveid()
453 id->heads = __le16_to_cpu(id->heads); in ide_fix_driveid()
454 id->track_bytes = __le16_to_cpu(id->track_bytes); in ide_fix_driveid()
455 id->sector_bytes = __le16_to_cpu(id->sector_bytes); in ide_fix_driveid()
456 id->sectors = __le16_to_cpu(id->sectors); in ide_fix_driveid()
457 id->vendor0 = __le16_to_cpu(id->vendor0); in ide_fix_driveid()
[all …]
Dide-lib.c87 struct hd_driveid *id = drive->id; in ide_dma_speed() local
96 if ((id->dma_ultra & 0x0040) && in ide_dma_speed()
97 (id->dma_ultra & hwif->ultra_mask)) in ide_dma_speed()
100 if ((id->dma_ultra & 0x0020) && in ide_dma_speed()
101 (id->dma_ultra & hwif->ultra_mask)) in ide_dma_speed()
104 if ((id->dma_ultra & 0x0010) && in ide_dma_speed()
105 (id->dma_ultra & hwif->ultra_mask)) in ide_dma_speed()
107 if ((id->dma_ultra & 0x0008) && in ide_dma_speed()
108 (id->dma_ultra & hwif->ultra_mask)) in ide_dma_speed()
111 if ((id->dma_ultra & 0x0004) && in ide_dma_speed()
[all …]
Dide-timing.h117 struct hd_driveid *id = drive->id; in ide_find_best_mode() local
120 if (!id) in ide_find_best_mode()
123 if ((map & XFER_UDMA) && (id->field_valid & 4)) { /* Want UDMA and UDMA bitmap valid */ in ide_find_best_mode()
126 if ((best = (id->dma_ultra & 0x0040) ? XFER_UDMA_6 : 0)) return best; in ide_find_best_mode()
129 if ((best = (id->dma_ultra & 0x0020) ? XFER_UDMA_5 : 0)) return best; in ide_find_best_mode()
132 if ((best = (id->dma_ultra & 0x0010) ? XFER_UDMA_4 : in ide_find_best_mode()
133 (id->dma_ultra & 0x0008) ? XFER_UDMA_3 : 0)) return best; in ide_find_best_mode()
135 if ((best = (id->dma_ultra & 0x0004) ? XFER_UDMA_2 : in ide_find_best_mode()
136 (id->dma_ultra & 0x0002) ? XFER_UDMA_1 : in ide_find_best_mode()
137 (id->dma_ultra & 0x0001) ? XFER_UDMA_0 : 0)) return best; in ide_find_best_mode()
[all …]
Dide-probe.c70 drive->id->cyls = drive->cyl; in generic_id()
71 drive->id->heads = drive->head; in generic_id()
72 drive->id->sectors = drive->sect; in generic_id()
73 drive->id->cur_cyls = drive->cyl; in generic_id()
74 drive->id->cur_heads = drive->head; in generic_id()
75 drive->id->cur_sectors = drive->sect; in generic_id()
99 struct hd_driveid *id = drive->id; in drive_is_flashcard() local
101 if (drive->removable && id != NULL) { in drive_is_flashcard()
102 if (id->config == 0x848a) return 1; /* CompactFlash */ in drive_is_flashcard()
103 if (!strncmp(id->model, "KODAK ATA_FLASH", 15) /* Kodak */ in drive_is_flashcard()
[all …]
/linux-2.4.37.9/include/linux/
Data.h244 #define ata_id_is_ata(id) (((id)[0] & (1 << 15)) == 0) argument
245 #define ata_id_is_sata(id) ((id)[93] == 0) argument
246 #define ata_id_rahead_enabled(id) ((id)[85] & (1 << 6)) argument
247 #define ata_id_wcache_enabled(id) ((id)[85] & (1 << 5)) argument
248 #define ata_id_has_flush(id) ((id)[83] & (1 << 12)) argument
249 #define ata_id_has_flush_ext(id) ((id)[83] & (1 << 13)) argument
250 #define ata_id_has_lba48(id) ((id)[83] & (1 << 10)) argument
251 #define ata_id_has_wcache(id) ((id)[82] & (1 << 5)) argument
252 #define ata_id_has_pm(id) ((id)[82] & (1 << 3)) argument
253 #define ata_id_has_lba(id) ((id)[49] & (1 << 9)) argument
[all …]
/linux-2.4.37.9/drivers/acpi/
Dpci_bind.c46 struct acpi_pci_id id; member
76 struct acpi_pci_id *id) in acpi_os_get_pci_id() argument
85 if (!id) in acpi_os_get_pci_id()
104 *id = data->id; in acpi_os_get_pci_id()
115 acpi_device_bid(device), id->segment, id->bus, in acpi_os_get_pci_id()
116 id->device, id->function)); in acpi_os_get_pci_id()
162 data->id.segment = pdata->id.segment; in acpi_pci_bind()
163 data->id.bus = pdata->bus->number; in acpi_pci_bind()
171 data->id.device = device->pnp.bus_address >> 16; in acpi_pci_bind()
172 data->id.function = device->pnp.bus_address & 0xFFFF; in acpi_pci_bind()
[all …]
Dpci_root.c62 struct acpi_pci_id id; member
121 if (resource->id != ACPI_RSTYPE_ADDRESS16 && in get_root_bridge_busnr_callback()
122 resource->id != ACPI_RSTYPE_ADDRESS32 && in get_root_bridge_busnr_callback()
123 resource->id != ACPI_RSTYPE_ADDRESS64) in get_root_bridge_busnr_callback()
189 root->id.segment = (u16) value; in acpi_pci_root_add()
194 root->id.segment = 0; in acpi_pci_root_add()
211 root->id.bus = (u16) value; in acpi_pci_root_add()
215 root->id.bus = 0; in acpi_pci_root_add()
225 if ((tmp->id.segment == root->id.segment) in acpi_pci_root_add()
226 && (tmp->id.bus == root->id.bus)) { in acpi_pci_root_add()
[all …]
Dtables.c70 enum acpi_table_id id; member
126 p->acpi_id, p->id, p->flags.enabled?"enabled":"disabled"); in acpi_table_print_madt_entry()
135 p->id, p->address, p->global_irq_base); in acpi_table_print_madt_entry()
189 p->id, p->global_irq_base, (void *) (unsigned long) p->address); in acpi_table_print_madt_entry()
198 p->acpi_id, p->id, p->eid, p->flags.enabled?"enabled":"disabled"); in acpi_table_print_madt_entry()
209 p->type, p->id, p->eid, p->iosapic_vector, p->global_irq); in acpi_table_print_madt_entry()
245 enum acpi_table_id id, in acpi_get_table_header_early() argument
252 if (id == ACPI_DSDT) in acpi_get_table_header_early()
255 temp_id = id; in acpi_get_table_header_early()
260 if (sdt_entry[i].id != temp_id) in acpi_get_table_header_early()
[all …]
/linux-2.4.37.9/include/asm-s390x/
Ddebug.h27 } id; member
82 typedef int (debug_header_proc_t) (debug_info_t* id,
88 typedef int (debug_format_proc_t) (debug_info_t* id,
91 typedef int (debug_prolog_proc_t) (debug_info_t* id,
94 typedef int (debug_input_proc_t) (debug_info_t* id,
99 int debug_dflt_header_fn(debug_info_t* id, struct debug_view* view,
117 debug_entry_t* debug_event_common(debug_info_t* id, int level,
120 debug_entry_t* debug_exception_common(debug_info_t* id, int level,
128 void debug_unregister(debug_info_t* id);
130 void debug_set_level(debug_info_t* id, int new_level);
[all …]
/linux-2.4.37.9/include/asm-s390/
Ddebug.h27 } id; member
82 typedef int (debug_header_proc_t) (debug_info_t* id,
88 typedef int (debug_format_proc_t) (debug_info_t* id,
91 typedef int (debug_prolog_proc_t) (debug_info_t* id,
94 typedef int (debug_input_proc_t) (debug_info_t* id,
99 int debug_dflt_header_fn(debug_info_t* id, struct debug_view* view,
117 debug_entry_t* debug_event_common(debug_info_t* id, int level,
120 debug_entry_t* debug_exception_common(debug_info_t* id, int level,
128 void debug_unregister(debug_info_t* id);
130 void debug_set_level(debug_info_t* id, int new_level);
[all …]
/linux-2.4.37.9/arch/s390/kernel/
Ddebug.c81 static int debug_prolog_level_fn(debug_info_t * id,
83 static int debug_input_level_fn(debug_info_t * id, struct debug_view *view,
86 static int debug_input_flush_fn(debug_info_t * id, struct debug_view *view,
89 static int debug_hex_ascii_format_fn(debug_info_t * id, struct debug_view *view,
91 static int debug_raw_format_fn(debug_info_t * id,
94 static int debug_raw_header_fn(debug_info_t * id, struct debug_view *view,
97 static int debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view,
395 if (act_entry->id.stck == 0LL) in debug_format_entry()
414 debug_info_t *id = p_info->debug_info_snap; in debug_next_entry() local
419 if ((p_info->act_entry += id->entry_size) in debug_next_entry()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Ddebug.c81 static int debug_prolog_level_fn(debug_info_t * id,
83 static int debug_input_level_fn(debug_info_t * id, struct debug_view *view,
86 static int debug_input_flush_fn(debug_info_t * id, struct debug_view *view,
89 static int debug_hex_ascii_format_fn(debug_info_t * id, struct debug_view *view,
91 static int debug_raw_format_fn(debug_info_t * id,
94 static int debug_raw_header_fn(debug_info_t * id, struct debug_view *view,
97 static int debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view,
395 if (act_entry->id.stck == 0LL) in debug_format_entry()
414 debug_info_t *id = p_info->debug_info_snap; in debug_next_entry() local
419 if ((p_info->act_entry += id->entry_size) in debug_next_entry()
[all …]
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_proto_icmp.c18 return (tuple->src.u.icmp.id >= min->icmp.id in icmp_in_range()
19 && tuple->src.u.icmp.id <= max->icmp.id); in icmp_in_range()
28 static u_int16_t id = 0; in icmp_unique_tuple() local
32 range_size = ntohs(range->max.icmp.id) - ntohs(range->min.icmp.id) + 1; in icmp_unique_tuple()
37 for (i = 0; i < range_size; i++, id++) { in icmp_unique_tuple()
38 tuple->src.u.icmp.id = htons(ntohs(range->min.icmp.id) + in icmp_unique_tuple()
39 (id % range_size)); in icmp_unique_tuple()
53 hdr->checksum = ip_nat_cheat_check(hdr->un.echo.id ^ 0xFFFF, in icmp_manip_pkt()
54 manip->u.icmp.id, in icmp_manip_pkt()
56 hdr->un.echo.id = manip->u.icmp.id; in icmp_manip_pkt()
[all …]
/linux-2.4.37.9/net/sched/
Dcls_route.c49 u32 id; member
67 u32 id; member
81 static __inline__ int route4_fastmap_hash(u32 id, int iif) in route4_fastmap_hash() argument
83 return id&0xF; in route4_fastmap_hash()
86 static void route4_reset_fastmap(struct net_device *dev, struct route4_head *head, u32 id) in route4_reset_fastmap() argument
94 route4_set_fastmap(struct route4_head *head, u32 id, int iif, in route4_set_fastmap() argument
97 int h = route4_fastmap_hash(id, iif); in route4_set_fastmap()
98 head->fastmap[h].id = id; in route4_set_fastmap()
103 static __inline__ int route4_hash_to(u32 id) in route4_hash_to() argument
105 return id&0xFF; in route4_hash_to()
[all …]
/linux-2.4.37.9/net/sctp/
Ddebug.c146 const char *sctp_pname(const sctp_subtype_t id) in sctp_pname() argument
148 if (id.primitive < 0) in sctp_pname()
150 if (id.primitive <= SCTP_EVENT_PRIMITIVE_MAX) in sctp_pname()
151 return sctp_primitive_tbl[id.primitive]; in sctp_pname()
161 const char *sctp_oname(const sctp_subtype_t id) in sctp_oname() argument
163 if (id.other < 0) in sctp_oname()
165 if (id.other <= SCTP_EVENT_OTHER_MAX) in sctp_oname()
166 return sctp_other_tbl[id.other]; in sctp_oname()
184 const char *sctp_tname(const sctp_subtype_t id) in sctp_tname() argument
186 if (id.timeout < 0) in sctp_tname()
[all …]
/linux-2.4.37.9/drivers/video/
Dtridentfb.h47 #define is_image(id) argument
48 #define is_xp(id) ((id == CYBERBLADEXPAi1) ||\ argument
49 (id == CYBERBLADEXPm8) ||\
50 (id == CYBERBLADEXPm16))
52 #define is_blade(id) ((id == BLADE3D) ||\ argument
53 (id == CYBERBLADEE4) ||\
54 (id == CYBERBLADEi7) ||\
55 (id == CYBERBLADEi7D) ||\
56 (id == CYBERBLADEi1) ||\
57 (id == CYBERBLADEi1D) ||\
[all …]
/linux-2.4.37.9/drivers/char/joystick/
Dgf2k.c86 unsigned char id; member
181 for (i = 0; i < 4 && i < gf2k_axes[gf2k->id]; i++) in gf2k_read()
184 for (i = 0; i < 2 && i < gf2k_axes[gf2k->id] - 4; i++) in gf2k_read()
189 for (i = 0; i < gf2k_hats[gf2k->id]; i++) in gf2k_read()
194 for (i = 0; i < gf2k_joys[gf2k->id]; i++) in gf2k_read()
197 for (i = 0; i < gf2k_pads[gf2k->id]; i++) in gf2k_read()
212 if (gf2k_read_packet(gf2k->gameport, gf2k_length[gf2k->id], data) < gf2k_length[gf2k->id]) { in gf2k_timer()
269 if (!(gf2k->id = GB(7,2,0) | GB(3,3,2) | GB(0,3,5))) in gf2k_connect()
273 if ((gf2k->id != (GB(19,2,0) | GB(15,3,2) | GB(12,3,5))) || in gf2k_connect()
274 (gf2k->id != (GB(31,2,0) | GB(27,3,2) | GB(24,3,5)))) in gf2k_connect()
[all …]
/linux-2.4.37.9/drivers/scsi/
Damiga7xx.c55 zorro_id id; member
59 { .id = ZORRO_PROD_PHASE5_BLIZZARD_603E_PLUS, .offset = 0xf40000,
61 { .id = ZORRO_PROD_MACROSYSTEMS_WARP_ENGINE_40xx, .offset = 0x40000 },
62 { .id = ZORRO_PROD_CBM_A4091_1, .offset = 0x800000 },
63 { .id = ZORRO_PROD_CBM_A4091_2, .offset = 0x800000 },
64 { .id = ZORRO_PROD_GVP_GFORCE_040_060, .offset = 0x40000 },
75 for (i = 0; amiga7xx_table[i].id; i++) in amiga7xx_zorro_detect()
76 if (z->id == amiga7xx_table[i].id) in amiga7xx_zorro_detect()
78 if (!amiga7xx_table[i].id) in amiga7xx_zorro_detect()
/linux-2.4.37.9/arch/parisc/kernel/
Ddrivers.c46 (dev->id.hw_type != HPHW_FAULTY) ? dev : next_dev(dev)
84 (ids->sversion != dev->id.sversion)) in match_device()
88 (ids->hw_type != dev->id.hw_type)) in match_device()
92 (ids->hversion != dev->id.hversion)) in match_device()
230 if (dev->id.hw_type == type) in find_pa_parent_type()
330 struct parisc_device * create_tree_node(char id, struct parisc_device *parent, in create_tree_node() argument
337 dev->hw_path = id; in create_tree_node()
338 dev->id.hw_type = HPHW_FAULTY; in create_tree_node()
354 alloc_tree_node(struct parisc_device *parent, char id) in alloc_tree_node() argument
357 if ((!parent->child) || (parent->child->hw_path > id)) { in alloc_tree_node()
[all …]
Dccio-rm-dma.c59 #define IS_U2(id) ( \ argument
60 (((id)->hw_type == HPHW_IOA) && ((id)->hversion == U2_IOA_RUNWAY)) || \
61 (((id)->hw_type == HPHW_BCPORT) && ((id)->hversion == U2_BC_GSC)) \
64 #define IS_UTURN(id) ( \ argument
65 (((id)->hw_type == HPHW_IOA) && ((id)->hversion == UTURN_IOA_RUNWAY)) || \
66 (((id)->hw_type == HPHW_BCPORT) && ((id)->hversion == UTURN_BC_GSC)) \
168 dev->id.hversion == U2_BC_GSC ? "U2" : "UTurn", in ccio_probe()
/linux-2.4.37.9/drivers/isdn/tpam/
Dtpam_commands.c131 dprintk("TurboPAM(tpam_command_ioctl_dspload): card=%d\n", card->id); in tpam_command_ioctl_dspload()
163 dprintk("TurboPAM(tpam_command_ioctl_dspsave): card=%d\n", card->id); in tpam_command_ioctl_dspsave()
194 dprintk("TurboPAM(tpam_command_ioctl_dsprun): card=%d\n", card->id); in tpam_command_ioctl_dsprun()
224 card->id, (unsigned long)signature, in tpam_command_ioctl_dsprun()
227 "card=%d, firmware not started\n", card->id); in tpam_command_ioctl_dsprun()
232 printk(KERN_INFO "TurboPAM: card=%d, firmware started\n", card->id); in tpam_command_ioctl_dsprun()
256 "got reply from only %d channels\n", card->id, in tpam_command_ioctl_dsprun()
263 ctrl.driver = card->id; in tpam_command_ioctl_dsprun()
271 card->id, card->channels_used); in tpam_command_ioctl_dsprun()
274 ctrl.driver = card->id; in tpam_command_ioctl_dsprun()
[all …]
/linux-2.4.37.9/drivers/ieee1394/
Dpcilynx.c142 .id = 0xAA, //FIXME: probably we should get an id in i2c-id.h
195 PRINT(KERN_ERR, lynx->id,
243 PRINT(KERN_ERR, lynx->id, in get_phy_reg()
256 PRINT(KERN_ERR, lynx->id, "%s: runaway loop, aborting", in get_phy_reg()
279 PRINT(KERN_ERR, lynx->id, in set_phy_reg()
285 PRINT(KERN_ERR, lynx->id, in set_phy_reg()
305 PRINT(KERN_ERR, lynx->id, in sel_phy_reg_page()
327 PRINT(KERN_ERR, lynx->id,
351 PRINT(KERN_INFO, lynx->id, "PHY vendor id 0x%06x", pvid); in get_phy_vendorid()
357 u32 id = 0; in get_phy_productid() local
[all …]
/linux-2.4.37.9/net/ipv4/
Dtcp_diag.c72 r->id.tcpdiag_sport = sk->sport; in tcpdiag_fill()
73 r->id.tcpdiag_dport = sk->dport; in tcpdiag_fill()
74 r->id.tcpdiag_src[0] = sk->rcv_saddr; in tcpdiag_fill()
75 r->id.tcpdiag_dst[0] = sk->daddr; in tcpdiag_fill()
76 r->id.tcpdiag_if = sk->bound_dev_if; in tcpdiag_fill()
77 r->id.tcpdiag_cookie[0] = (u32)(unsigned long)sk; in tcpdiag_fill()
78 r->id.tcpdiag_cookie[1] = (u32)(((unsigned long)sk >> 31) >> 1); in tcpdiag_fill()
95 memcpy(r->id.tcpdiag_src, &tw->v6_rcv_saddr, 16); in tcpdiag_fill()
96 memcpy(r->id.tcpdiag_dst, &tw->v6_daddr, 16); in tcpdiag_fill()
105 memcpy(r->id.tcpdiag_src, &sk->net_pinfo.af_inet6.rcv_saddr, 16); in tcpdiag_fill()
[all …]

12345678910>>...40