/linux-master/sound/pci/au88x0/ |
H A D | au88x0_mixer.c | 16 struct snd_ctl_elem_id id; local 17 memset(&id, 0, sizeof(id)); 18 strcpy(id.name, name); 19 id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; 20 return snd_ctl_remove_id(card, &id);
|
/linux-master/drivers/mfd/ |
H A D | wm831x-otp.c | 24 /* Read the unique ID from the chip into id */ 25 static int wm831x_unique_id_read(struct wm831x *wm831x, char *id) argument 34 id[i * 2] = (val >> 8) & 0xff; 35 id[(i * 2) + 1] = val & 0xff; 46 char id[WM831X_UNIQUE_ID_LEN]; local 48 rval = wm831x_unique_id_read(wm831x, id); 52 return sprintf(buf, "%*phN\n", WM831X_UNIQUE_ID_LEN, id);
|
H A D | twl4030-audio.c | 44 static int twl4030_audio_set_resource(enum twl4030_audio_res id, int enable) argument 50 audio->resource[id].reg); 53 val |= audio->resource[id].mask; 55 val &= ~audio->resource[id].mask; 58 val, audio->resource[id].reg); 63 static inline int twl4030_audio_get_resource(enum twl4030_audio_res id) argument 69 audio->resource[id].reg); 78 int twl4030_audio_enable_resource(enum twl4030_audio_res id) argument 83 if (id >= TWL4030_AUDIO_RES_MAX) { 85 "Invalid resource ID (%u)\n", id); 107 twl4030_audio_disable_resource(enum twl4030_audio_res id) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c.c | 36 struct graphics_object_id id = {0}; local 42 id.id = dc->ctx->dc_bios->fw_info.oem_i2c_obj_id; 43 id.enum_id = 0; 44 id.type = OBJECT_TYPE_GENERIC; 45 if (dcb->funcs->get_i2c_info(dcb, id, &i2c_info) != BP_RESULT_OK)
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpmac-cmd.h | 15 #define DPMAC_CMD(id) (((id) << DPMAC_CMD_ID_OFFSET) | DPMAC_CMD_BASE_VERSION) 16 #define DPMAC_CMD_V2(id) (((id) << DPMAC_CMD_ID_OFFSET) | DPMAC_CMD_2ND_VERSION) 48 __le16 id; member in struct:dpmac_rsp_get_attributes 69 u8 id; member in struct:dpmac_cmd_get_counter
|
/linux-master/drivers/pci/ |
H A D | pci-stub.c | 9 * Usage is simple, allocate a new id to the stub driver and bind the 29 static int pci_stub_probe(struct pci_dev *dev, const struct pci_device_id *id) argument 37 .id_table = NULL, /* only dynamic id's */ 44 char *p, *id; local 57 while ((id = strsep(&p, ","))) { 62 if (!strlen(id)) 65 fields = sscanf(id, "%x:%x:%x:%x:%x:%x", 70 pr_warn("pci-stub: invalid ID string \"%s\"\n", id);
|
/linux-master/arch/arm/mach-omap2/ |
H A D | pm.h | 71 #define IS_PM34XX_ERRATUM(id) (pm34xx_errata & (id)) 74 #define IS_PM34XX_ERRATUM(id) 0 84 #define IS_PM44XX_ERRATUM(id) (pm44xx_errata & (id)) 86 #define IS_PM44XX_ERRATUM(id) 0
|
/linux-master/drivers/net/ipa/data/ |
H A D | ipa_data-v5.0.c | 293 .id = IPA_MEM_UC_EVENT_RING, 299 .id = IPA_MEM_UC_SHARED, 305 .id = IPA_MEM_UC_INFO, 311 .id = IPA_MEM_V4_FILTER_HASHED, 317 .id = IPA_MEM_V4_FILTER, 323 .id = IPA_MEM_V6_FILTER_HASHED, 329 .id = IPA_MEM_V6_FILTER, 335 .id = IPA_MEM_V4_ROUTE_HASHED, 341 .id = IPA_MEM_V4_ROUTE, 347 .id [all...] |
H A D | ipa_data-v4.5.c | 275 .id = IPA_MEM_UC_SHARED, 281 .id = IPA_MEM_UC_INFO, 287 .id = IPA_MEM_V4_FILTER_HASHED, 293 .id = IPA_MEM_V4_FILTER, 299 .id = IPA_MEM_V6_FILTER_HASHED, 305 .id = IPA_MEM_V6_FILTER, 311 .id = IPA_MEM_V4_ROUTE_HASHED, 317 .id = IPA_MEM_V4_ROUTE, 323 .id = IPA_MEM_V6_ROUTE_HASHED, 329 .id [all...] |
H A D | ipa_data-v4.9.c | 273 .id = IPA_MEM_UC_SHARED, 279 .id = IPA_MEM_UC_INFO, 285 .id = IPA_MEM_V4_FILTER_HASHED, 291 .id = IPA_MEM_V4_FILTER, 297 .id = IPA_MEM_V6_FILTER_HASHED, 303 .id = IPA_MEM_V6_FILTER, 309 .id = IPA_MEM_V4_ROUTE_HASHED, 315 .id = IPA_MEM_V4_ROUTE, 321 .id = IPA_MEM_V6_ROUTE_HASHED, 327 .id [all...] |
/linux-master/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan_cfg.h | 11 u16 id; member in struct:wilc_cfg_byte 16 u16 id; member in struct:wilc_cfg_hword 21 u16 id; member in struct:wilc_cfg_word 26 u16 id; member in struct:wilc_cfg_str 45 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size); 46 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id);
|
/linux-master/drivers/gpio/ |
H A D | gpio-clps711x.c | 18 int err, id; local 23 id = of_alias_get_id(np, "gpio"); 24 if ((id < 0) || (id > 4)) 39 switch (id) { 54 switch (id) {
|
/linux-master/fs/bcachefs/ |
H A D | btree_gc.h | 52 static inline enum gc_phase btree_id_to_gc_phase(enum btree_id id) argument 54 switch (id) { 63 static inline struct gc_pos gc_pos_btree(enum btree_id id, argument 67 .phase = btree_id_to_gc_phase(id), 89 static inline struct gc_pos gc_pos_btree_root(enum btree_id id) argument 91 return gc_pos_btree(id, SPOS_MAX, BTREE_MAX_DEPTH);
|
/linux-master/drivers/soundwire/ |
H A D | bus_type.c | 14 * sdw_get_device_id - find the matching SoundWire device id 24 const struct sdw_device_id *id; local 26 for (id = drv->id_table; id && id->mfg_id; id++) 27 if (slave->id.mfg_id == id->mfg_id && 28 slave->id.part_id == id 85 const struct sdw_device_id *id; local [all...] |
/linux-master/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-comphy.c | 270 unsigned id; member in struct:mvebu_comphy_lane 342 regmap_read(priv->regmap, MVEBU_COMPHY_CONF1(lane->id), &val); 345 regmap_write(priv->regmap, MVEBU_COMPHY_CONF1(lane->id), val); 348 val = readl(priv->base + MVEBU_COMPHY_SERDES_CFG0(lane->id)); 381 lane->id); 385 writel(val, priv->base + MVEBU_COMPHY_SERDES_CFG0(lane->id)); 390 switch (lane->id) { 402 lane->id); 410 val = readl(priv->base + MVEBU_COMPHY_SERDES_CFG1(lane->id)); 414 writel(val, priv->base + MVEBU_COMPHY_SERDES_CFG1(lane->id)); [all...] |
/linux-master/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_3_0_msm8998.h | 43 .name = "ctl_0", .id = CTL_0, 48 .name = "ctl_1", .id = CTL_1, 52 .name = "ctl_2", .id = CTL_2, 57 .name = "ctl_3", .id = CTL_3, 61 .name = "ctl_4", .id = CTL_4, 69 .name = "sspp_0", .id = SSPP_VIG0, 77 .name = "sspp_1", .id = SSPP_VIG1, 85 .name = "sspp_2", .id = SSPP_VIG2, 93 .name = "sspp_3", .id = SSPP_VIG3, 101 .name = "sspp_8", .id [all...] |
H A D | dpu_6_0_sm8250.h | 41 .name = "ctl_0", .id = CTL_0, 46 .name = "ctl_1", .id = CTL_1, 51 .name = "ctl_2", .id = CTL_2, 56 .name = "ctl_3", .id = CTL_3, 61 .name = "ctl_4", .id = CTL_4, 66 .name = "ctl_5", .id = CTL_5, 75 .name = "sspp_0", .id = SSPP_VIG0, 83 .name = "sspp_1", .id = SSPP_VIG1, 91 .name = "sspp_2", .id = SSPP_VIG2, 99 .name = "sspp_3", .id [all...] |
H A D | dpu_7_0_sm8350.h | 41 .name = "ctl_0", .id = CTL_0, 46 .name = "ctl_1", .id = CTL_1, 51 .name = "ctl_2", .id = CTL_2, 56 .name = "ctl_3", .id = CTL_3, 61 .name = "ctl_4", .id = CTL_4, 66 .name = "ctl_5", .id = CTL_5, 75 .name = "sspp_0", .id = SSPP_VIG0, 83 .name = "sspp_1", .id = SSPP_VIG1, 91 .name = "sspp_2", .id = SSPP_VIG2, 99 .name = "sspp_3", .id [all...] |
H A D | dpu_5_0_sm8150.h | 42 .name = "ctl_0", .id = CTL_0, 47 .name = "ctl_1", .id = CTL_1, 52 .name = "ctl_2", .id = CTL_2, 57 .name = "ctl_3", .id = CTL_3, 62 .name = "ctl_4", .id = CTL_4, 67 .name = "ctl_5", .id = CTL_5, 76 .name = "sspp_0", .id = SSPP_VIG0, 84 .name = "sspp_1", .id = SSPP_VIG1, 92 .name = "sspp_2", .id = SSPP_VIG2, 100 .name = "sspp_3", .id [all...] |
/linux-master/drivers/reset/ |
H A D | reset-uniphier.c | 15 unsigned int id; member in struct:uniphier_reset_data 25 { .id = UNIPHIER_RESET_ID_END } 29 .id = (_id), \ 36 .id = (_id), \ 157 #define UNIPHIER_MIO_RESET_SD(id, ch) \ 158 UNIPHIER_RESETX((id), 0x110 + 0x200 * (ch), 0) 160 #define UNIPHIER_MIO_RESET_SD_BRIDGE(id, ch) \ 161 UNIPHIER_RESETX((id), 0x110 + 0x200 * (ch), 26) 163 #define UNIPHIER_MIO_RESET_EMMC_HW_RESET(id, ch) \ 164 UNIPHIER_RESETX((id), 267 uniphier_reset_update(struct reset_controller_dev *rcdev, unsigned long id, int assert) argument 296 uniphier_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 302 uniphier_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 308 uniphier_reset_status(struct reset_controller_dev *rcdev, unsigned long id) argument [all...] |
/linux-master/drivers/regulator/ |
H A D | lp8788-buck.c | 147 static void lp8788_set_dvs(struct lp8788_buck *buck, enum lp8788_buck_id id) argument 149 switch (id) { 162 lp8788_get_buck_dvs_ctrl_mode(struct lp8788_buck *buck, enum lp8788_buck_id id) argument 166 switch (id) { 200 enum lp8788_buck_id id) 202 enum lp8788_dvs_mode mode = lp8788_get_buck_dvs_ctrl_mode(buck, id); 206 switch (id) { 248 enum lp8788_buck_id id = rdev_get_id(rdev); local 252 lp8788_set_dvs(buck, id); 254 addr = lp8788_select_buck_vout_addr(buck, id); 199 lp8788_select_buck_vout_addr(struct lp8788_buck *buck, enum lp8788_buck_id id) argument 264 enum lp8788_buck_id id = rdev_get_id(rdev); local 282 enum lp8788_buck_id id = rdev_get_id(rdev); local 296 enum lp8788_buck_id id = rdev_get_id(rdev); local 317 enum lp8788_buck_id id = rdev_get_id(rdev); local 410 lp8788_dvs_gpio_request(struct platform_device *pdev, struct lp8788_buck *buck, enum lp8788_buck_id id) argument 446 lp8788_init_dvs(struct platform_device *pdev, struct lp8788_buck *buck, enum lp8788_buck_id id) argument 480 int id = pdev->id; local [all...] |
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | nhm_idle.c | 36 .id = C3, 43 .id = C6, 51 .id = PC3, 58 .id = PC6, 71 static int nhm_get_count(enum intel_nhm_id id, unsigned long long *val, argument 76 switch (id) { 101 static int nhm_get_count_percent(unsigned int id, double *percent, argument 110 (current_count[id][cpu] - previous_count[id][cpu])) / 114 nhm_cstates[id] [all...] |
/linux-master/drivers/thermal/ti-soc-thermal/ |
H A D | ti-bandgap.h | 239 int (*register_cooling)(struct ti_bandgap *bgp, int id); 240 int (*unregister_cooling)(struct ti_bandgap *bgp, int id); 331 int (*report_temperature)(struct ti_bandgap *bgp, int id); 332 int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain); 333 int (*remove_sensor)(struct ti_bandgap *bgp, int id); 339 int ti_bandgap_read_thot(struct ti_bandgap *bgp, int id, int *thot); 340 int ti_bandgap_write_thot(struct ti_bandgap *bgp, int id, int val); 341 int ti_bandgap_read_tcold(struct ti_bandgap *bgp, int id, int *tcold); 342 int ti_bandgap_write_tcold(struct ti_bandgap *bgp, int id, int val); 343 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, [all...] |
/linux-master/drivers/input/gameport/ |
H A D | ns558.c | 151 { .id = "@P@0001", .driver_data = 0 }, /* ALS 100 */ 152 { .id = "@P@0020", .driver_data = 0 }, /* ALS 200 */ 153 { .id = "@P@1001", .driver_data = 0 }, /* ALS 100+ */ 154 { .id = "@P@2001", .driver_data = 0 }, /* ALS 120 */ 155 { .id = "ASB16fd", .driver_data = 0 }, /* AdLib NSC16 */ 156 { .id = "AZT3001", .driver_data = 0 }, /* AZT1008 */ 157 { .id = "CDC0001", .driver_data = 0 }, /* Opl3-SAx */ 158 { .id = "CSC0001", .driver_data = 0 }, /* CS4232 */ 159 { .id = "CSC000f", .driver_data = 0 }, /* CS4236 */ 160 { .id [all...] |
/linux-master/include/sound/ |
H A D | control.h | 72 struct snd_ctl_elem_id id; member in struct:snd_kcontrol 91 struct snd_ctl_elem_id id; member in struct:snd_kctl_event 131 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id); 139 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id); 142 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id, int active); 145 struct snd_kcontrol *snd_ctl_find_id_locked(struct snd_card *card, const struct snd_ctl_elem_id *id); 146 struct snd_kcontrol *snd_ctl_find_id(struct snd_card *card, const struct snd_ctl_elem_id *id); 163 struct snd_ctl_elem_id id = {}; local 165 id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; 166 strscpy(id 188 snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument 194 snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument 200 snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument [all...] |