Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 25 of 57) sorted by relevance

123

/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Dtvmodesnv17.c251 #define id1 (1LL << 8) macro
280 -8.801540 * id1, -46.572890 * id1, 7.762145 * id1, -0.000000 * id1},
284 -37.081621 * id1, -90.397510 * id1, 42.784229 * id1, -4.289952 * id1},
288 17.288138 * id1, 71.864786 * id1, -11.977408 * id1, -0.000009 * id1},
292 112.201065 * id1, 39.992155 * id1, -25.155714 * id1, 2.113984 * id1},
300 6.060315 * id1, -0.017425 * id1, 0.007830 * id1, -0.000869 * id1},
304 -2.361928 * id1, -2.059432 * id1, 1.840671 * id1, -0.168100 * id1},
308 -38.125089 * id1, -0.855880 * id1, 0.155359 * id1, -0.002245 * id1},
312 -17.296835 * id1, 4.438577 * id1, -2.809420 * id1, 0.385491 * id1},
/Linux-v4.19/sound/isa/gus/
Dgusmax.c146 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local
149 memset(&id1, 0, sizeof(id1)); in snd_gusmax_mixer()
151 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer()
153 strcpy(id1.name, "Aux Playback Switch"); in snd_gusmax_mixer()
155 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
157 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer()
159 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
162 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_gusmax_mixer()
164 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
166 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer()
[all …]
Dinterwave.c507 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local
511 memset(&id1, 0, sizeof(id1)); in snd_interwave_mixer()
513 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer()
516 strcpy(id1.name, "Mic Playback Switch"); in snd_interwave_mixer()
517 if ((err = snd_ctl_remove_id(card, &id1)) < 0) in snd_interwave_mixer()
519 strcpy(id1.name, "Mic Playback Volume"); in snd_interwave_mixer()
520 if ((err = snd_ctl_remove_id(card, &id1)) < 0) in snd_interwave_mixer()
532 strcpy(id1.name, "Aux Playback Switch"); in snd_interwave_mixer()
534 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer()
536 strcpy(id1.name, "Aux Playback Volume"); in snd_interwave_mixer()
[all …]
Dgusextreme.c213 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local
216 memset(&id1, 0, sizeof(id1)); in snd_gusextreme_mixer()
218 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer()
221 strcpy(id1.name, "Aux Playback Volume"); in snd_gusextreme_mixer()
223 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
228 strcpy(id1.name, "Master Playback Switch"); in snd_gusextreme_mixer()
230 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
/Linux-v4.19/sound/isa/
Dcmi8328.c148 struct snd_ctl_elem_id id1, id2; in snd_cmi8328_mixer() local
153 memset(&id1, 0, sizeof(id1)); in snd_cmi8328_mixer()
155 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmi8328_mixer()
157 strcpy(id1.name, "Aux Playback Switch"); in snd_cmi8328_mixer()
159 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
165 strcpy(id1.name, "Aux Playback Volume"); in snd_cmi8328_mixer()
167 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
173 strcpy(id1.name, "Aux Playback Switch"); in snd_cmi8328_mixer()
174 id1.index = 1; in snd_cmi8328_mixer()
176 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
[all …]
Dsc6000.c473 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local
476 memset(&id1, 0, sizeof(id1)); in snd_sc6000_mixer()
478 id1.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer()
481 strcpy(id1.name, "Aux Playback Switch"); in snd_sc6000_mixer()
483 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
486 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer()
488 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
492 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_sc6000_mixer()
494 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
497 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer()
[all …]
Dopl3sa2.c501 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local
506 memset(&id1, 0, sizeof(id1)); in snd_opl3sa2_mixer()
508 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer()
510 strcpy(id1.name, "Aux Playback Switch"); in snd_opl3sa2_mixer()
512 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
516 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer()
518 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
523 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_opl3sa2_mixer()
525 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
529 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer()
[all …]
/Linux-v4.19/fs/ocfs2/
Dlocalalloc.c346 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
347 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc()
351 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
352 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc()
664 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits()
668 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits()
674 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
675 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
696 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
697 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
[all …]
Dsuballoc.c742 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - in ocfs2_block_group_alloc()
744 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc()
825 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()
826 le32_to_cpu(fe->id1.bitmap1.i_used); in ocfs2_reserve_suballoc_bits()
856 (le32_to_cpu(fe->id1.bitmap1.i_total) in ocfs2_reserve_suballoc_bits()
857 - le32_to_cpu(fe->id1.bitmap1.i_used))); in ocfs2_reserve_suballoc_bits()
1608 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts()
1609 di->id1.bitmap1.i_used = cpu_to_le32(num_bits + tmp_used); in ocfs2_alloc_dinode_update_counts()
1627 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_rollback_alloc_dinode_counts()
1628 di->id1.bitmap1.i_used = cpu_to_le32(tmp_used - num_bits); in ocfs2_rollback_alloc_dinode_counts()
[all …]
Dresize.c155 le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); in ocfs2_update_last_group_and_inode()
160 le32_add_cpu(&fe->id1.bitmap1.i_used, backups); in ocfs2_update_last_group_and_inode()
566 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
567 le32_add_cpu(&fe->id1.bitmap1.i_used, in ocfs2_group_add()
/Linux-v4.19/drivers/net/phy/
Dspi_ks8995.c324 u8 id0, id1, ksz8864_id; in ks8995_get_revision() local
344 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision()
351 if ((get_chip_id(id1) == CHIPID_M) && in ks8995_get_revision()
352 (get_chip_id(id1) == ks->chip->chip_id)) { in ks8995_get_revision()
354 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
355 } else if (get_chip_id(id1) != CHIPID_M) { in ks8995_get_revision()
365 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
370 id1); in ks8995_get_revision()
376 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision()
382 if (get_chip_id(id1) == ks->chip->chip_id) { in ks8995_get_revision()
[all …]
/Linux-v4.19/sound/drivers/opl4/
Dopl4_lib.c125 u8 id1, id2; in snd_opl4_detect() local
129 id1 = snd_opl4_read(opl4, OPL4_REG_MEMORY_CONFIGURATION); in snd_opl4_detect()
130 snd_printdd("OPL4[02]=%02x\n", id1); in snd_opl4_detect()
131 switch (id1 & OPL4_DEVICE_ID_MASK) { in snd_opl4_detect()
144 id1 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_FM); 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-v4.19/drivers/net/wireless/ath/
Dhw.c121 u32 id1; in ath_hw_setbssidmask() local
124 id1 = REG_READ(ah, AR_STA_ID1) & ~AR_STA_ID1_SADH_MASK; in ath_hw_setbssidmask()
125 id1 |= get_unaligned_le16(common->macaddr + 4); in ath_hw_setbssidmask()
126 REG_WRITE(ah, AR_STA_ID1, id1); in ath_hw_setbssidmask()
/Linux-v4.19/drivers/s390/net/
Dctcm_main.h265 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument
269 id1 = id1 + 5; in ctcm_less_than()
272 dev1 = simple_strtoul(id1, &id1, 16); in ctcm_less_than()
/Linux-v4.19/sound/isa/opti9xx/
Dopti92x-ad1848.c599 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local
609 memset(&id1, 0, sizeof(id1)); in snd_opti93x_mixer()
611 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opti93x_mixer()
613 strcpy(id1.name, "Aux Playback Switch"); in snd_opti93x_mixer()
615 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
621 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_opti93x_mixer()
623 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
629 strcpy(id1.name, "Aux Playback Volume"); id1.index = 1; in snd_opti93x_mixer()
630 snd_ctl_remove_id(card, &id1); in snd_opti93x_mixer()
633 id1.index = 0; in snd_opti93x_mixer()
[all …]
/Linux-v4.19/sound/ac97/
Dac97_core.h12 static inline bool ac97_ids_match(unsigned int id1, unsigned int id2, in ac97_ids_match() argument
15 return (id1 & mask) == (id2 & mask); in ac97_ids_match()
/Linux-v4.19/drivers/mfd/
Das3711.c129 unsigned int id1, id2; in as3711_i2c_probe() local
161 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_1, &id1); in as3711_i2c_probe()
168 if (id1 != 0x8b) in as3711_i2c_probe()
170 dev_info(as3711->dev, "AS3711 detected: %x:%x\n", id1, id2); in as3711_i2c_probe()
Dintel_msic.c378 u8 id0, id1; in intel_msic_probe() local
393 ret = intel_scu_ipc_ioread8(INTEL_MSIC_ID1, &id1); in intel_msic_probe()
399 if (MSIC_VENDOR(id0) != MSIC_VENDOR(id1)) { in intel_msic_probe()
400 dev_err(&pdev->dev, "invalid vendor ID: %x, %x\n", id0, id1); in intel_msic_probe()
Dwm8350-core.c280 unsigned int id1, id2, mask_rev; in wm8350_device_init() local
286 ret = regmap_read(wm8350->regmap, WM8350_RESET_ID, &id1); in wm8350_device_init()
304 if (id1 != 0x6143) { in wm8350_device_init()
306 "Device with ID %x is not a WM8350\n", id1); in wm8350_device_init()
/Linux-v4.19/drivers/media/i2c/cx25840/
Dcx25840-vbi.c225 int id1, id2, l, err = 0; in cx25840_decode_vbi_line() local
234 id1 = p[-1]; in cx25840_decode_vbi_line()
264 vbi->is_second_field = err ? 0 : (id1 == 0x55); in cx25840_decode_vbi_line()
/Linux-v4.19/sound/soc/codecs/
Dwm8804.c571 unsigned int id1, id2; in wm8804_probe() local
627 ret = regmap_read(regmap, WM8804_RST_DEVID1, &id1); in wm8804_probe()
639 id2 = (id2 << 8) | id1; in wm8804_probe()
647 ret = regmap_read(regmap, WM8804_DEVREV, &id1); in wm8804_probe()
653 dev_info(dev, "revision %c\n", id1 + 'A'); in wm8804_probe()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c177 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument
181 r = dsicm_dcs_read_1(ddata, DCS_GET_ID1, id1); in dsicm_get_id()
423 u8 id1, id2, id3; in dsicm_hw_revision_show() local
433 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_hw_revision_show()
445 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x\n", id1, id2, id3); in dsicm_hw_revision_show()
579 u8 id1, id2, id3; in dsicm_power_on() local
620 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_power_on()
654 id1, id2, id3); in dsicm_power_on()
/Linux-v4.19/drivers/net/can/
Dpch_can.c138 u32 id1; member
346 iowrite32(0x0, &priv->regs->ifregs[0].id1); in pch_can_clear_if_buffers()
368 iowrite32(0x0, &priv->regs->ifregs[0].id1); in pch_can_config_rx_tx_buffers()
398 iowrite32(0x0, &priv->regs->ifregs[1].id1); in pch_can_config_rx_tx_buffers()
473 iowrite32(0x0, &priv->regs->ifregs[1].id1); in pch_can_int_clr()
686 id = (ioread32(&priv->regs->ifregs[0].id1) & 0xffff); in pch_can_rx_normal()
917 iowrite32(cf->can_id & 0xffff, &priv->regs->ifregs[1].id1); in pch_xmit()
920 iowrite32(0, &priv->regs->ifregs[1].id1); in pch_xmit()
/Linux-v4.19/drivers/isdn/isdnloop/
Disdnloop.h22 char id1[10]; member
/Linux-v4.19/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c211 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument
215 r = dsicm_dcs_read_1(ddata, DCS_GET_ID1, id1); in dsicm_get_id()
450 u8 id1, id2, id3; in dsicm_hw_revision_show() local
460 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_hw_revision_show()
472 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x\n", id1, id2, id3); in dsicm_hw_revision_show()
607 u8 id1, id2, id3; in dsicm_power_on() local
666 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_power_on()
700 id1, id2, id3); in dsicm_power_on()

123