Home
last modified time | relevance | path

Searched refs:iterm (Results 1 – 7 of 7) sorted by relevance

/linux/sound/usb/
H A Dmixer.c658 static int get_term_name(struct snd_usb_audio *chip, struct usb_audio_term *iterm, in get_term_name() argument
664 if (iterm->name) { in get_term_name()
665 len = snd_usb_copy_string_desc(chip, iterm->name, in get_term_name()
672 if (iterm->type >> 16) { in get_term_name()
675 switch (iterm->type >> 16) { in get_term_name()
689 return sprintf(name, "Unit %d", iterm->id); in get_term_name()
693 switch (iterm->type & 0xff00) { in get_term_name()
709 if (names->type == iterm->type) { in get_term_name()
1653 struct usb_audio_term *iterm, in __build_feature_ctl() argument
1739 if (iterm) in __build_feature_ctl()
[all …]
H A Dstream.c728 struct uac_input_terminal_descriptor *iterm; in snd_usb_get_audioformat_uac12() local
746 iterm = snd_usb_find_input_terminal_descriptor(ctrl_intf, in snd_usb_get_audioformat_uac12()
749 if (iterm) { in snd_usb_get_audioformat_uac12()
750 num_channels = iterm->bNrChannels; in snd_usb_get_audioformat_uac12()
751 chconfig = le16_to_cpu(iterm->wChannelConfig); in snd_usb_get_audioformat_uac12()
/linux/drivers/power/supply/
H A Dbq256xx_charger.c168 u32 iterm; member
300 int (*bq256xx_set_iterm)(struct bq256xx_device *bq, int iterm);
785 static int bq256xx_set_term_curr(struct bq256xx_device *bq, int iterm) in bq256xx_set_term_curr() argument
789 iterm = clamp(iterm, BQ256XX_ITERM_MIN_uA, BQ256XX_ITERM_MAX_uA); in bq256xx_set_term_curr()
791 iterm_reg_code = (iterm - BQ256XX_ITERM_OFFSET_uA) / in bq256xx_set_term_curr()
815 static int bq25618_619_set_term_curr(struct bq256xx_device *bq, int iterm) in bq25618_619_set_term_curr() argument
819 iterm = clamp(iterm, BQ25618_ITERM_MIN_uA, BQ25618_ITERM_MAX_uA); in bq25618_619_set_term_curr()
821 iterm_reg_code = (iterm - BQ25618_ITERM_OFFSET_uA) / in bq25618_619_set_term_curr()
H A Dbq24257_charger.c65 u8 iterm; /* termination current */ member
378 val->intval = bq24257_iterm_map[bq->init_data.iterm]; in bq24257_power_supply_get_property()
683 {F_ITERM, bq->init_data.iterm}, in bq24257_hw_init()
900 bq->init_data.iterm = bq24257_find_idx(property, bq24257_iterm_map, in bq24257_fw_probe()
H A Dbq25890_charger.c84 u8 iterm; /* termination current */ member
557 val->intval = bq25890_find_val(bq->init_data.iterm, TBL_ITERM); in bq25890_power_supply_get_property()
908 {F_ITERM, &bq->init_data.iterm}, in bq25890_rw_init_data()
1356 {"ti,termination-current", false, TBL_ITERM, &init->iterm}, in bq25890_fw_read_u32_props()
H A Dbq24190_charger.c234 u16 iterm; member
416 BQ24190_SYSFS_FIELD_RW(iterm, PCTCC, ITERM),
792 if (bdi->iterm) { in bq24190_set_config()
793 v = bdi->iterm / 128 - 1; // manual section 9.5.1.4, table 11 in bq24190_set_config()
1956 bdi->iterm = v; in bq24190_get_config()
H A Dbq25980_charger.c83 u32 iterm; member