pin_cfg 3662 drivers/gpu/drm/omapdrm/dss/dsi.c const struct omap_dsi_pin_config *pin_cfg) pin_cfg 3679 drivers/gpu/drm/omapdrm/dss/dsi.c num_pins = pin_cfg->num_pins; pin_cfg 3680 drivers/gpu/drm/omapdrm/dss/dsi.c pins = pin_cfg->pins; pin_cfg 5150 drivers/gpu/drm/omapdrm/dss/dsi.c struct omap_dsi_pin_config pin_cfg; pin_cfg 5178 drivers/gpu/drm/omapdrm/dss/dsi.c pin_cfg.num_pins = num_pins; pin_cfg 5180 drivers/gpu/drm/omapdrm/dss/dsi.c pin_cfg.pins[i] = (int)lane_arr[i]; pin_cfg 5182 drivers/gpu/drm/omapdrm/dss/dsi.c r = dsi_configure_pins(&dsi->output, &pin_cfg); pin_cfg 303 drivers/gpu/drm/omapdrm/dss/omapdss.h const struct omap_dsi_pin_config *pin_cfg); pin_cfg 209 drivers/hwmon/adt7462.c u8 pin_cfg[ADT7462_PIN_CFG_REG_COUNT]; pin_cfg 246 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) pin_cfg 252 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) pin_cfg 256 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) pin_cfg 260 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) pin_cfg 264 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) pin_cfg 268 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) pin_cfg 272 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) pin_cfg 276 drivers/hwmon/adt7462.c if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) pin_cfg 280 drivers/hwmon/adt7462.c if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) pin_cfg 286 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 288 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 292 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 294 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 305 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) pin_cfg 311 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) pin_cfg 315 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) pin_cfg 319 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) pin_cfg 323 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) pin_cfg 327 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) pin_cfg 331 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) pin_cfg 335 drivers/hwmon/adt7462.c if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) pin_cfg 339 drivers/hwmon/adt7462.c if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) pin_cfg 345 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 347 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 351 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 353 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 364 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) pin_cfg 370 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) pin_cfg 374 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) pin_cfg 378 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) pin_cfg 382 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) pin_cfg 386 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) pin_cfg 390 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) pin_cfg 394 drivers/hwmon/adt7462.c if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) pin_cfg 398 drivers/hwmon/adt7462.c if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) pin_cfg 404 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 406 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 410 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 412 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 424 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) pin_cfg 428 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[1], ADT7462_PIN23)) { pin_cfg 440 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) pin_cfg 444 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) pin_cfg 448 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) { pin_cfg 449 drivers/hwmon/adt7462.c if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) pin_cfg 455 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) { pin_cfg 456 drivers/hwmon/adt7462.c if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) pin_cfg 462 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) pin_cfg 466 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) pin_cfg 470 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN26)) { pin_cfg 478 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN25)) { pin_cfg 486 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN24)) { pin_cfg 498 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 500 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 504 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 506 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 518 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) pin_cfg 522 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[1], ADT7462_PIN23)) { pin_cfg 524 drivers/hwmon/adt7462.c if (data->pin_cfg[0] & ADT7462_VID_INPUT) pin_cfg 536 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) pin_cfg 540 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) pin_cfg 544 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) { pin_cfg 545 drivers/hwmon/adt7462.c if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) pin_cfg 551 drivers/hwmon/adt7462.c if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) { pin_cfg 552 drivers/hwmon/adt7462.c if (data->pin_cfg[1] & ADT7462_PIN15_INPUT) pin_cfg 558 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) pin_cfg 562 drivers/hwmon/adt7462.c if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) pin_cfg 566 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN26)) { pin_cfg 574 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN25)) { pin_cfg 582 drivers/hwmon/adt7462.c switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN24)) { pin_cfg 595 drivers/hwmon/adt7462.c if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == pin_cfg 597 drivers/hwmon/adt7462.c !(data->pin_cfg[0] & ADT7462_VID_INPUT)) pin_cfg 610 drivers/hwmon/adt7462.c if (data->pin_cfg[0] & ADT7462_DIODE1_INPUT) pin_cfg 614 drivers/hwmon/adt7462.c if (data->pin_cfg[0] & ADT7462_DIODE3_INPUT) pin_cfg 627 drivers/hwmon/adt7462.c if (data->pin_cfg[0] & ADT7462_DIODE1_INPUT) pin_cfg 633 drivers/hwmon/adt7462.c if (data->pin_cfg[0] & ADT7462_DIODE3_INPUT) pin_cfg 708 drivers/hwmon/adt7462.c data->pin_cfg[i] = i2c_smbus_read_byte_data(client, pin_cfg 87 drivers/input/keyboard/tegra-kbc.c struct tegra_kbc_pin_cfg pin_cfg[KBC_MAX_GPIO]; pin_cfg 338 drivers/input/keyboard/tegra-kbc.c switch (kbc->pin_cfg[i].type) { pin_cfg 340 drivers/input/keyboard/tegra-kbc.c row_cfg |= ((kbc->pin_cfg[i].num << 1) | 1) << r_shft; pin_cfg 344 drivers/input/keyboard/tegra-kbc.c col_cfg |= ((kbc->pin_cfg[i].num << 1) | 1) << c_shft; pin_cfg 453 drivers/input/keyboard/tegra-kbc.c const struct tegra_kbc_pin_cfg *pin_cfg = &kbc->pin_cfg[i]; pin_cfg 455 drivers/input/keyboard/tegra-kbc.c switch (pin_cfg->type) { pin_cfg 457 drivers/input/keyboard/tegra-kbc.c if (pin_cfg->num >= kbc->hw_support->max_rows) { pin_cfg 460 drivers/input/keyboard/tegra-kbc.c i, pin_cfg->num); pin_cfg 467 drivers/input/keyboard/tegra-kbc.c if (pin_cfg->num >= kbc->hw_support->max_columns) { pin_cfg 470 drivers/input/keyboard/tegra-kbc.c i, pin_cfg->num); pin_cfg 481 drivers/input/keyboard/tegra-kbc.c pin_cfg->type, pin_cfg->num); pin_cfg 551 drivers/input/keyboard/tegra-kbc.c kbc->pin_cfg[i].type = PIN_CFG_IGNORE; pin_cfg 568 drivers/input/keyboard/tegra-kbc.c kbc->pin_cfg[rows_cfg[i]].type = PIN_CFG_ROW; pin_cfg 569 drivers/input/keyboard/tegra-kbc.c kbc->pin_cfg[rows_cfg[i]].num = i; pin_cfg 573 drivers/input/keyboard/tegra-kbc.c kbc->pin_cfg[cols_cfg[i]].type = PIN_CFG_COL; pin_cfg 574 drivers/input/keyboard/tegra-kbc.c kbc->pin_cfg[cols_cfg[i]].num = i; pin_cfg 410 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) pin_cfg 412 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (pin_cfg == PIN_CFG_NA) pin_cfg 414 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (pin_cfg >= PIN_CFG_EPIO0) { pin_cfg 415 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_set_epio(bp, pin_cfg - PIN_CFG_EPIO0, val); pin_cfg 417 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u8 gpio_num = (pin_cfg - PIN_CFG_GPIO0_P0) & 0x3; pin_cfg 418 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u8 gpio_port = (pin_cfg - PIN_CFG_GPIO0_P0) >> 2; pin_cfg 423 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) pin_cfg 425 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (pin_cfg == PIN_CFG_NA) pin_cfg 427 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (pin_cfg >= PIN_CFG_EPIO0) { pin_cfg 428 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_get_epio(bp, pin_cfg - PIN_CFG_EPIO0, val); pin_cfg 430 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u8 gpio_num = (pin_cfg - PIN_CFG_GPIO0_P0) & 0x3; pin_cfg 431 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u8 gpio_port = (pin_cfg - PIN_CFG_GPIO0_P0) >> 2; pin_cfg 7918 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 pin_cfg; pin_cfg 7921 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c pin_cfg = (REG_RD(bp, params->shmem_base + pin_cfg 7927 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c if (pin_cfg == PIN_CFG_NA) pin_cfg 7930 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c power, pin_cfg); pin_cfg 7934 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_set_cfg_pin(bp, pin_cfg, power ^ 1); pin_cfg 8560 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u32 pin_cfg; pin_cfg 8563 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c pin_cfg = (REG_RD(bp, params->shmem_base + pin_cfg 8569 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c gpio_mode, pin_cfg); pin_cfg 8570 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_set_cfg_pin(bp, pin_cfg, gpio_mode); pin_cfg 76 drivers/pinctrl/pinctrl-rk805.c struct rk805_pin_config *pin_cfg; pin_cfg 141 drivers/pinctrl/pinctrl-rk805.c ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); pin_cfg 147 drivers/pinctrl/pinctrl-rk805.c return !!(val & pci->pin_cfg[offset].val_msk); pin_cfg 158 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pin_cfg 159 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].val_msk, pin_cfg 160 drivers/pinctrl/pinctrl-rk805.c value ? pci->pin_cfg[offset].val_msk : 0); pin_cfg 186 drivers/pinctrl/pinctrl-rk805.c if (!pci->pin_cfg[offset].dir_msk) pin_cfg 190 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pin_cfg 197 drivers/pinctrl/pinctrl-rk805.c return !(val & pci->pin_cfg[offset].dir_msk); pin_cfg 286 drivers/pinctrl/pinctrl-rk805.c if (!pci->pin_cfg[offset].fun_msk) pin_cfg 291 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pin_cfg 292 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].fun_msk, pin_cfg 293 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].fun_msk); pin_cfg 332 drivers/pinctrl/pinctrl-rk805.c if (!pci->pin_cfg[offset].dir_msk) pin_cfg 336 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].reg, pin_cfg 337 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg[offset].dir_msk, pin_cfg 338 drivers/pinctrl/pinctrl-rk805.c input ? 0 : pci->pin_cfg[offset].dir_msk); pin_cfg 445 drivers/pinctrl/pinctrl-rk805.c pci->pin_cfg = rk805_gpio_cfgs; pin_cfg 3738 drivers/video/fbdev/omap2/omapfb/dss/dsi.c const struct omap_dsi_pin_config *pin_cfg) pin_cfg 3756 drivers/video/fbdev/omap2/omapfb/dss/dsi.c num_pins = pin_cfg->num_pins; pin_cfg 3757 drivers/video/fbdev/omap2/omapfb/dss/dsi.c pins = pin_cfg->pins; pin_cfg 5079 drivers/video/fbdev/omap2/omapfb/dss/dsi.c struct omap_dsi_pin_config pin_cfg; pin_cfg 5107 drivers/video/fbdev/omap2/omapfb/dss/dsi.c pin_cfg.num_pins = num_pins; pin_cfg 5109 drivers/video/fbdev/omap2/omapfb/dss/dsi.c pin_cfg.pins[i] = (int)lane_arr[i]; pin_cfg 5111 drivers/video/fbdev/omap2/omapfb/dss/dsi.c r = dsi_configure_pins(&dsi->output, &pin_cfg); pin_cfg 555 include/video/omapfb_dss.h const struct omap_dsi_pin_config *pin_cfg); pin_cfg 271 sound/hda/hdac_sysfs.c static WIDGET_ATTR_RO(pin_cfg); pin_cfg 3119 sound/pci/hda/patch_sigmatel.c unsigned int pin_cfg = snd_hda_codec_get_pincfg(codec, pin); pin_cfg 3122 sound/pci/hda/patch_sigmatel.c return get_defcfg_connect(pin_cfg) != AC_JACK_PORT_NONE && pin_cfg 3123 sound/pci/hda/patch_sigmatel.c (get_defcfg_device(pin_cfg) == AC_JACK_LINE_OUT || pin_cfg 3124 sound/pci/hda/patch_sigmatel.c get_defcfg_device(pin_cfg) == AC_JACK_HP_OUT); pin_cfg 3129 sound/pci/hda/patch_sigmatel.c unsigned int pin_cfg = snd_hda_codec_get_pincfg(codec, pin); pin_cfg 3134 sound/pci/hda/patch_sigmatel.c pin_cfg = (pin_cfg & (~AC_DEFCFG_DEVICE)) | pin_cfg 3136 sound/pci/hda/patch_sigmatel.c pin_cfg = (pin_cfg & (~(AC_DEFCFG_DEF_ASSOC | AC_DEFCFG_SEQUENCE))) | pin_cfg 3138 sound/pci/hda/patch_sigmatel.c snd_hda_codec_set_pincfg(codec, pin, pin_cfg);