Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 61 of 61) sorted by relevance

/linux-4.4.14/drivers/media/i2c/cx25840/
Dcx25840-vbi.c215 int id1, id2, l, err = 0; in cx25840_decode_vbi_line() local
225 id2 = p[0] & 0xf; in cx25840_decode_vbi_line()
230 switch (id2) { in cx25840_decode_vbi_line()
232 id2 = V4L2_SLICED_TELETEXT_B; in cx25840_decode_vbi_line()
235 id2 = V4L2_SLICED_WSS_625; in cx25840_decode_vbi_line()
238 id2 = V4L2_SLICED_CAPTION_525; in cx25840_decode_vbi_line()
242 id2 = V4L2_SLICED_VPS; in cx25840_decode_vbi_line()
247 id2 = 0; in cx25840_decode_vbi_line()
252 vbi->type = err ? 0 : id2; in cx25840_decode_vbi_line()
/linux-4.4.14/sound/isa/gus/
Dgusmax.c146 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local
150 memset(&id2, 0, sizeof(id2)); in snd_gusmax_mixer()
151 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer()
154 strcpy(id2.name, "Synth Playback Switch"); in snd_gusmax_mixer()
155 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
158 strcpy(id2.name, "Synth Playback Volume"); in snd_gusmax_mixer()
159 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
163 strcpy(id2.name, "CD Playback Switch"); in snd_gusmax_mixer()
164 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
167 strcpy(id2.name, "CD Playback Volume"); in snd_gusmax_mixer()
[all …]
Dinterwave.c507 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local
512 memset(&id2, 0, sizeof(id2)); in snd_interwave_mixer()
513 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer()
533 strcpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer()
534 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer()
537 strcpy(id2.name, "Synth Playback Volume"); in snd_interwave_mixer()
538 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer()
542 strcpy(id2.name, "CD Playback Switch"); in snd_interwave_mixer()
543 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer()
546 strcpy(id2.name, "CD Playback Volume"); in snd_interwave_mixer()
[all …]
Dgusextreme.c213 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local
217 memset(&id2, 0, sizeof(id2)); in snd_gusextreme_mixer()
218 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer()
222 strcpy(id2.name, "Synth Playback Volume"); in snd_gusextreme_mixer()
223 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
229 strcpy(id2.name, "Synth Playback Switch"); in snd_gusextreme_mixer()
230 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
/linux-4.4.14/sound/isa/
Dcmi8328.c148 struct snd_ctl_elem_id id1, id2; in snd_cmi8328_mixer() local
154 memset(&id2, 0, sizeof(id2)); in snd_cmi8328_mixer()
155 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmi8328_mixer()
158 strcpy(id2.name, "CD Playback Switch"); in snd_cmi8328_mixer()
159 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
166 strcpy(id2.name, "CD Playback Volume"); in snd_cmi8328_mixer()
167 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
175 strcpy(id2.name, "Synth Playback Switch"); in snd_cmi8328_mixer()
176 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
184 strcpy(id2.name, "Synth Playback Volume"); in snd_cmi8328_mixer()
[all …]
Dsc6000.c473 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local
477 memset(&id2, 0, sizeof(id2)); in snd_sc6000_mixer()
479 id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer()
482 strcpy(id2.name, "FM Playback Switch"); in snd_sc6000_mixer()
483 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
487 strcpy(id2.name, "FM Playback Volume"); in snd_sc6000_mixer()
488 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
493 strcpy(id2.name, "CD Playback Switch"); in snd_sc6000_mixer()
494 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
498 strcpy(id2.name, "CD Playback Volume"); in snd_sc6000_mixer()
[all …]
Dopl3sa2.c501 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local
507 memset(&id2, 0, sizeof(id2)); in snd_opl3sa2_mixer()
508 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer()
511 strcpy(id2.name, "CD Playback Switch"); in snd_opl3sa2_mixer()
512 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
517 strcpy(id2.name, "CD Playback Volume"); in snd_opl3sa2_mixer()
518 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
524 strcpy(id2.name, "FM Playback Switch"); in snd_opl3sa2_mixer()
525 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
530 strcpy(id2.name, "FM Playback Volume"); in snd_opl3sa2_mixer()
[all …]
/linux-4.4.14/arch/cris/arch-v32/mach-a3/
Darbiter.c478 int id2; in crisv32_arbiter_unwatch() local
487 id2 = (id & (0xff << (arbiter + 8))) >> (arbiter + 8); in crisv32_arbiter_unwatch()
488 if (id2 == 0) in crisv32_arbiter_unwatch()
490 id2--; in crisv32_arbiter_unwatch()
491 if ((id2 >= NUMBER_OF_BP) || (!watches[arbiter][id2].used)) { in crisv32_arbiter_unwatch()
496 memset(&watches[arbiter][id2], 0, in crisv32_arbiter_unwatch()
499 if (id2 == 0) in crisv32_arbiter_unwatch()
501 else if (id2 == 1) in crisv32_arbiter_unwatch()
503 else if (id2 == 2) in crisv32_arbiter_unwatch()
505 else if (id2 == 3) in crisv32_arbiter_unwatch()
/linux-4.4.14/fs/ocfs2/
Docfs2_fs.h443 #define OCFS2_RAW_SB(dinode) (&((dinode)->id2.i_super))
773 } id2; member
1284 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1294 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1298 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1306 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1320 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1324 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1344 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode()
1394 offsetof(struct ocfs2_dinode, id2.i_lab.la_bitmap); in ocfs2_local_alloc_size()
[all …]
Dresize.c103 struct ocfs2_chain_list *cl = &fe->id2.i_chain; in ocfs2_update_last_group_and_inode()
318 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend()
339 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
341 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend()
393 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group()
428 u16 cl_count = le16_to_cpu(di->id2.i_chain.cl_count); in ocfs2_verify_group_and_input()
429 u16 cl_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg); in ocfs2_verify_group_and_input()
430 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input()
499 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_add()
533 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
[all …]
Dsuper.c2080 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2081 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super()
2083 memcpy(sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2084 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super()
2089 osb->osb_dx_seed[i] = le32_to_cpu(di->id2.i_super.s_dx_seed[i]); in ocfs2_initialize_super()
2090 osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash); in ocfs2_initialize_super()
2123 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2147 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super()
2267 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2290 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
[all …]
Dsuballoc.c231 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_validate_gd_parent()
240 le16_to_cpu(di->id2.i_chain.cl_next_free_rec)) || in ocfs2_validate_gd_parent()
242 le16_to_cpu(di->id2.i_chain.cl_next_free_rec)) && !resize)) { in ocfs2_validate_gd_parent()
687 cl = &fe->id2.i_chain; in ocfs2_block_group_alloc()
1433 bg->bg_next_group = fe->id2.i_chain.cl_recs[chain].c_blkno; in ocfs2_relink_block_group()
1441 fe->id2.i_chain.cl_recs[chain].c_blkno = bg->bg_blkno; in ocfs2_relink_block_group()
1576 struct ocfs2_chain_list *cl = (struct ocfs2_chain_list *) &di->id2.i_chain; in ocfs2_alloc_dinode_update_counts()
1603 cl = (struct ocfs2_chain_list *)&di->id2.i_chain; in ocfs2_rollback_alloc_dinode_counts()
1636 struct ocfs2_chain_list *cl = &di->id2.i_chain; in ocfs2_bg_discontig_fix_result()
1739 struct ocfs2_chain_list *cl = (struct ocfs2_chain_list *) &fe->id2.i_chain; in ocfs2_search_chain()
[all …]
Dsymlink.c73 link = (char *) fe->id2.i_symlink; in ocfs2_fast_symlink_readpage()
Dextent_map.c428 el = &di->id2.i_list; in ocfs2_get_clusters_nocache()
730 id_count = le16_to_cpu(di->id2.i_data.id_count); in ocfs2_fiemap_inline()
735 phys += offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fiemap_inline()
738 id2.i_data.id_data); in ocfs2_fiemap_inline()
Daops.c97 u64 blkno = le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + in ocfs2_symlink_get_block()
127 le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock); in ocfs2_symlink_get_block()
248 memcpy(kaddr, di->id2.i_data.id_data, size); in ocfs2_read_inline_data()
1927 if (new_size <= le16_to_cpu(di->id2.i_data.id_count)) in ocfs2_size_fits_inline_data()
2180 &di->id2.i_list); in ocfs2_write_begin_nolock()
2356 memcpy(di->id2.i_data.id_data + pos, kaddr + pos, *copied); in ocfs2_write_end_inline()
2362 le16_to_cpu(di->id2.i_data.id_count), in ocfs2_write_end_inline()
Dalloc.c255 et->et_root_el = &di->id2.i_list; in ocfs2_dinode_fill_root_el()
5797 tl = &di->id2.i_dealloc; in ocfs2_truncate_log_needs_flush()
5846 tl = &di->id2.i_dealloc; in ocfs2_truncate_log_append()
5915 tl = &di->id2.i_dealloc; in ocfs2_replay_truncate_records()
5992 tl = &di->id2.i_dealloc; in __ocfs2_flush_truncate_log()
6149 tl = &di->id2.i_dealloc; in ocfs2_begin_truncate_log_recovery()
6206 tl = &tl_copy->id2.i_dealloc; in ocfs2_complete_truncate_log_recovery()
6813 memset(&di->id2, 0, blocksize - in ocfs2_zero_dinode_id2_with_xattr()
6814 offsetof(struct ocfs2_dinode, id2) - in ocfs2_zero_dinode_id2_with_xattr()
6817 memset(&di->id2, 0, blocksize - in ocfs2_zero_dinode_id2_with_xattr()
[all …]
Ddir.c425 data = &di->id2.i_data; in ocfs2_find_entry_id()
1381 data = &di->id2.i_data; in ocfs2_delete_entry_id()
1645 data_start = di->id2.i_data.id_data; in __ocfs2_add_entry()
1771 data = &di->id2.i_data; in ocfs2_dir_foreach_blk_id()
2215 struct ocfs2_inline_data *data = &di->id2.i_data; in ocfs2_fill_new_dir_id()
2712 de_buf = di->id2.i_data.id_data; in ocfs2_new_dx_should_be_inline()
2935 memcpy(dirdata_bh->b_data, di->id2.i_data.id_data, i_size_read(dir)); in ocfs2_expand_inline_dir()
3185 struct ocfs2_extent_list *el = &fe->id2.i_list; in ocfs2_extend_dir()
3385 de_buf = di->id2.i_data.id_data; in ocfs2_find_dir_space_id()
Djournal.h599 u16 tree_depth = le16_to_cpu(fe->id2.i_list.l_tree_depth); in ocfs2_calc_tree_trunc_credits()
Drefcounttree.c3424 ret = ocfs2_refcount_cal_cow_clusters(inode, &di->id2.i_list, in ocfs2_refcount_cow_hunk()
3975 t_di->id2.i_data.id_count = s_di->id2.i_data.id_count; in ocfs2_duplicate_inline_data()
3976 memcpy(t_di->id2.i_data.id_data, s_di->id2.i_data.id_data, in ocfs2_duplicate_inline_data()
3977 le16_to_cpu(s_di->id2.i_data.id_count)); in ocfs2_duplicate_inline_data()
Dnamei.c581 fe->id2.i_data.id_count = cpu_to_le16( in __ocfs2_mknod_locked()
584 fel = &fe->id2.i_list; in __ocfs2_mknod_locked()
1969 memcpy((char *) fe->id2.i_symlink, symname, l); in ocfs2_symlink()
Dmove_extents.c395 cl = &(ac_dinode->id2.i_chain); in ocfs2_find_victim_alloc_group()
Dioctl.c568 cl = &(gb_dinode->id2.i_chain); in ocfs2_info_freefrag_scan_bitmap()
Dlocalalloc.c49 #define OCFS2_LOCAL_ALLOC(dinode) (&((dinode)->id2.i_lab))
Dxattr.c2633 struct ocfs2_inline_data *idata = &di->id2.i_data; in ocfs2_xattr_has_space_inline()
2639 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_has_space_inline()
2726 struct ocfs2_inline_data *idata = &di->id2.i_data; in ocfs2_xattr_ibody_init()
2729 struct ocfs2_extent_list *el = &di->id2.i_list; in ocfs2_xattr_ibody_init()
6512 struct ocfs2_extent_list *el = &new_di->id2.i_list; in ocfs2_reflink_xattr_inline()
Dfile.c605 credits = ocfs2_calc_extend_credits(osb->sb, &fe->id2.i_list); in __ocfs2_extend_allocation()
/linux-4.4.14/drivers/ssb/
Ddriver_chipcommon_sflash.c91 u32 id, id2; in ssb_sflash_init() local
103 id2 = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init()
108 if (e->id == id2) in ssb_sflash_init()
123 id, id2); in ssb_sflash_init()
/linux-4.4.14/drivers/net/can/
Dpch_can.c139 u32 id2; member
305 pch_can_bit_set(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx()
309 pch_can_bit_clear(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx()
347 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_clear_if_buffers()
369 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_config_rx_tx_buffers()
399 iowrite32(PCH_ID2_DIR, &priv->regs->ifregs[1].id2); in pch_can_config_rx_tx_buffers()
456 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_can_int_clr()
471 pch_can_bit_set(&priv->regs->ifregs[1].id2, in pch_can_int_clr()
600 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_fifo_thresh()
651 u32 id2; in pch_can_rx_normal() local
[all …]
/linux-4.4.14/drivers/bcma/
Ddriver_chipcommon_sflash.c93 u32 id, id2; in bcma_sflash_init() local
105 id2 = bcma_cc_read32(cc, BCMA_CC_FLASHDATA); in bcma_sflash_init()
110 if (e->id == id2) in bcma_sflash_init()
124 bcma_err(bus, "Unsupported ST serial flash (id: 0x%X, id2: 0x%X)\n", id, id2); in bcma_sflash_init()
/linux-4.4.14/drivers/s390/net/
Dctcm_main.h264 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument
269 id2 = id2 + 5; in ctcm_less_than()
272 dev2 = simple_strtoul(id2, &id2, 16); in ctcm_less_than()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-vbi.c249 int i, l, id2; in ivtv_convert_ivtv_vbi() local
270 id2 = *p & 0xf; in ivtv_convert_ivtv_vbi()
271 switch (id2) { in ivtv_convert_ivtv_vbi()
273 id2 = V4L2_SLICED_TELETEXT_B; in ivtv_convert_ivtv_vbi()
276 id2 = V4L2_SLICED_CAPTION_525; in ivtv_convert_ivtv_vbi()
280 id2 = V4L2_SLICED_VPS; in ivtv_convert_ivtv_vbi()
283 id2 = V4L2_SLICED_WSS_625; in ivtv_convert_ivtv_vbi()
286 id2 = 0; in ivtv_convert_ivtv_vbi()
293 itv->vbi.sliced_dec_data[line].id = id2; in ivtv_convert_ivtv_vbi()
/linux-4.4.14/drivers/mfd/
Das3711.c129 unsigned int id1, id2; in as3711_i2c_probe() local
166 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_2, &id2); in as3711_i2c_probe()
173 dev_info(as3711->dev, "AS3711 detected: %x:%x\n", id1, id2); in as3711_i2c_probe()
Dwm8350-core.c280 unsigned int id1, id2, mask_rev; in wm8350_device_init() local
292 ret = regmap_read(wm8350->regmap, WM8350_ID, &id2); in wm8350_device_init()
311 mode = (id2 & WM8350_CONF_STS_MASK) >> 10; in wm8350_device_init()
312 cust_id = id2 & WM8350_CUST_ID_MASK; in wm8350_device_init()
313 chip_rev = (id2 & WM8350_CHIP_REV_MASK) >> 12; in wm8350_device_init()
/linux-4.4.14/sound/drivers/opl4/
Dopl4_lib.c125 u8 id1, id2; in snd_opl4_detect() local
145 id2 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_PCM); in snd_opl4_detect()
146 snd_printdd("OPL4 id1=%02x id2=%02x\n", id1, id2); in snd_opl4_detect()
147 if (id1 != 0x00 || id2 != 0xff) in snd_opl4_detect()
/linux-4.4.14/sound/soc/codecs/
Dwm8804.c570 unsigned int id1, id2; in wm8804_probe() local
633 ret = regmap_read(regmap, WM8804_DEVID2, &id2); in wm8804_probe()
639 id2 = (id2 << 8) | id1; in wm8804_probe()
641 if (id2 != 0x8805) { in wm8804_probe()
642 dev_err(dev, "Invalid device ID: %#x\n", id2); in wm8804_probe()
/linux-4.4.14/sound/isa/opti9xx/
Dopti92x-ad1848.c596 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local
607 memset(&id2, 0, sizeof(id2)); in snd_opti93x_mixer()
608 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opti93x_mixer()
611 strcpy(id2.name, "CD Playback Switch"); in snd_opti93x_mixer()
612 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
619 strcpy(id2.name, "FM Playback Switch"); in snd_opti93x_mixer()
620 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
/linux-4.4.14/arch/arm/mach-ep93xx/
Dcore.c852 unsigned int id, id2, id3, id4, id5; in ep93xx_get_soc_id() local
858 id2 = __raw_readl(EP93XX_SECURITY_UNIQID2); in ep93xx_get_soc_id()
863 if (id != id2) in ep93xx_get_soc_id()
867 add_device_randomness(&id2, 4); in ep93xx_get_soc_id()
873 "%08x%08x%08x%08x", id2, id3, id4, id5); in ep93xx_get_soc_id()
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/
Dpanel-dsi-cm.c180 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument
187 r = dsicm_dcs_read_1(ddata, DCS_GET_ID2, id2); in dsicm_get_id()
428 u8 id1, id2, id3; in dsicm_hw_revision_show() local
438 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_hw_revision_show()
450 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x\n", id1, id2, id3); in dsicm_hw_revision_show()
588 u8 id1, id2, id3; in dsicm_power_on() local
629 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_power_on()
663 id1, id2, id3); in dsicm_power_on()
/linux-4.4.14/tools/thermal/tmon/
Dtmon.c235 int id2 = 0, c; in main() local
244 while ((c = getopt_long(argc, argv, "c:dlht:T:vgz:", opts, &id2)) != -1) { in main()
/linux-4.4.14/arch/powerpc/sysdev/
Dmv64x60_dev.c447 int id, id2; in mv64x60_device_setup() local
460 id2 = 0; in mv64x60_device_setup()
474 err = mv64x60_eth_device_setup(np2, id2++, pdev); in mv64x60_device_setup()
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmc911x.c670 unsigned int cfg, id1, id2; in smc911x_phy_detect() local
708 SMC_GET_PHY_ID2(lp, phyaddr & 31, id2); in smc911x_phy_detect()
712 id1 != 0x8000 && id2 != 0x0000 && in smc911x_phy_detect()
713 id2 != 0xffff && id2 != 0x8000) { in smc911x_phy_detect()
716 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect()
727 SMC_GET_PHY_ID2(lp, 1, id2); in smc911x_phy_detect()
730 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect()
734 id1, id2, lp->mii.phy_id); in smc911x_phy_detect()
Dsmc91x.c888 unsigned int id1, id2; in smc_phy_detect() local
892 id2 = smc_phy_read(dev, phyaddr & 31, MII_PHYSID2); in smc_phy_detect()
895 id1, id2); in smc_phy_detect()
899 id2 != 0x0000 && id2 != 0xffff && id2 != 0x8000) { in smc_phy_detect()
902 lp->phy_type = id1 << 16 | id2; in smc_phy_detect()
/linux-4.4.14/kernel/
Duser_namespace.c157 u32 first, last, id2; in map_id_range_down() local
159 id2 = id + count - 1; in map_id_range_down()
168 (id2 >= first && id2 <= last)) in map_id_range_down()
/linux-4.4.14/drivers/media/i2c/
Dsaa7115.c1202 int id1, id2; /* the ID1 and ID2 bytes from the internal header */ in saa711x_decode_vbi_line() local
1206 id2 = p[3]; in saa711x_decode_vbi_line()
1218 vbi->line |= (id2 & 0x70) >> 4; in saa711x_decode_vbi_line()
1221 id2 &= 0xf; in saa711x_decode_vbi_line()
1229 switch (id2) { in saa711x_decode_vbi_line()
/linux-4.4.14/Documentation/input/
Delantech.txt711 id2 id1 id0 1 0 0 0 1
713 id2..id0 = finger id
735 id2 id1 id0 w 0 1 R L
738 id2..id0 = finger id
759 id2 id1 id0 1 0 0 1 0
761 id2..id0 = finger id
/linux-4.4.14/drivers/isdn/icn/
Dicn.h30 char id2[10]; member
Dicn.c1265 return (icn_addcard(cdef.port, cdef.id1, cdef.id2)); in icn_command()
1566 icn_addcard(int port, char *id1, char *id2) in icn_addcard() argument
1574 if (!strlen(id2)) { in icn_addcard()
1580 if (!(card2 = icn_initcard(port, id2))) { in icn_addcard()
1582 "icn: (%s) half ICN-4B, port 0x%x added\n", id2, port); in icn_addcard()
/linux-4.4.14/drivers/mtd/nand/
Ddocg4.c1267 uint16_t id1, id2; in read_id_reg() local
1272 id2 = readw(docptr + DOC_CHIPID_INV); in read_id_reg()
1273 id2 = readw(docptr + DOCG4_MYSTERY_REG); in read_id_reg()
1275 if (id1 == DOCG4_IDREG1_VALUE && id2 == DOCG4_IDREG2_VALUE) { in read_id_reg()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_port.c743 unsigned int id1, id2, id3, rev; in autoconfig_has_efr() local
772 id2 = serial_icr_read(up, UART_ID2); in autoconfig_has_efr()
776 DEBUG_AUTOCONF("950id=%02x:%02x:%02x:%02x ", id1, id2, id3, rev); in autoconfig_has_efr()
778 if (id1 == 0x16 && id2 == 0xC9 && in autoconfig_has_efr()
803 id2 = id1 >> 8; in autoconfig_has_efr()
804 if (id2 == 0x10 || id2 == 0x12 || id2 == 0x14) { in autoconfig_has_efr()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dtvmodesnv17.c252 #define id2 (1LL << 16) macro
333 rs[k] = max((int64_t)rs[k], id2); in tv_setup_filter()
/linux-4.4.14/scripts/mod/
Dfile2alias.c619 const char *id2 = (char *)(*devs)[j2].id; in do_pnp_card_entries() local
621 if (!id2[0]) in do_pnp_card_entries()
624 if (!strcmp(id, id2)) { in do_pnp_card_entries()
/linux-4.4.14/drivers/net/ethernet/amd/
Damd8111e.c1759 u32 id1, id2; in amd8111e_probe_ext_phy() local
1763 if (amd8111e_read_phy(lp, i, MII_PHYSID2, &id2)) in amd8111e_probe_ext_phy()
1765 lp->ext_phy_id = (id1 << 16) | id2; in amd8111e_probe_ext_phy()
Dpcnet32.c1894 unsigned short id1, id2; in pcnet32_probe1() local
1899 id2 = mdio_read(dev, i, MII_PHYSID2); in pcnet32_probe1()
1900 if (id2 == 0xffff) in pcnet32_probe1()
1909 id1, id2, i); in pcnet32_probe1()
/linux-4.4.14/Documentation/scsi/
Dscsi-changer.txt134 dt_id=<id1>,<id2>,...
/linux-4.4.14/drivers/atm/
Dnicstar.c943 int id1, id2; in push_rxbufs() local
1023 id2 = idr_alloc(&card->idr, handle2, 0, 0, GFP_ATOMIC); in push_rxbufs()
1024 if (id2 < 0) in push_rxbufs()
1030 writel(id2, card->membase + DR2); in push_rxbufs()
/linux-4.4.14/drivers/net/ethernet/nvidia/
Dforcedeth.c5934 int id1, id2; in nv_probe() local
5943 id2 = mii_rw(dev, phyaddr, MII_PHYSID2, MII_READ); in nv_probe()
5945 if (id2 < 0 || id2 == 0xffff) in nv_probe()
5948 np->phy_model = id2 & PHYID2_MODEL_MASK; in nv_probe()
5950 id2 = (id2 & PHYID2_OUI_MASK) >> PHYID2_OUI_SHFT; in nv_probe()
5952 np->phy_oui = id1 | id2; in nv_probe()
/linux-4.4.14/drivers/scsi/
Dqla1280.h345 uint8_t id2; /* 2 */ member
Dqla1280.c631 nv->id2 != 'P' || nv->id3 != ' ' || nv->version < 1) { in qla1280_read_nvram()
644 " version %i\n", nv->id0, nv->id1, nv->id2, nv->id3, in qla1280_read_nvram()
/linux-4.4.14/sound/soc/
Dsoc-core.c2490 int id1, id2; in fmt_single_name() local
2510 if (sscanf(name, "%x-%x", &id1, &id2) == 2) { in fmt_single_name()
2514 *id = ((id1 & 0xffff) << 16) + id2; in fmt_single_name()
/linux-4.4.14/drivers/firewire/
Dohci.c1938 u32 id2 = cond_le32_to_cpu(ohci->self_id[i + 1]); in bus_reset_work() local
1940 if (id != ~id2) { in bus_reset_work()
1955 j, self_id_count, id, id2); in bus_reset_work()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c2530 unsigned int id2 = chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]->id & 0xffff; in snd_cs46xx_mixer() local
2531 if ((id2 & 0xfff0) == 0x5920) { /* CS4294 and CS4298 */ in snd_cs46xx_mixer()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c15140 u32 id2 = nic_phy_id & NIC_SRAM_DATA_PHY_ID2_MASK; in tg3_get_eeprom_hw_cfg() local
15143 eeprom_phy_id |= (id2 & 0xfc00) << 16; in tg3_get_eeprom_hw_cfg()
15144 eeprom_phy_id |= (id2 & 0x03ff) << 0; in tg3_get_eeprom_hw_cfg()