Searched refs:pin_cfg (Results 1 – 6 of 6) sorted by relevance
/drivers/hwmon/ |
D | adt7462.c | 222 u8 pin_cfg[ADT7462_PIN_CFG_REG_COUNT]; member 259 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in ADT7462_REG_VOLT_MAX() 265 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in ADT7462_REG_VOLT_MAX() 269 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in ADT7462_REG_VOLT_MAX() 273 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) in ADT7462_REG_VOLT_MAX() 277 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) in ADT7462_REG_VOLT_MAX() 281 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in ADT7462_REG_VOLT_MAX() 285 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in ADT7462_REG_VOLT_MAX() 289 if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) in ADT7462_REG_VOLT_MAX() 293 if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) in ADT7462_REG_VOLT_MAX() [all …]
|
/drivers/input/keyboard/ |
D | tegra-kbc.c | 100 struct tegra_kbc_pin_cfg pin_cfg[KBC_MAX_GPIO]; member 351 switch (kbc->pin_cfg[i].type) { in tegra_kbc_config_pins() 353 row_cfg |= ((kbc->pin_cfg[i].num << 1) | 1) << r_shft; in tegra_kbc_config_pins() 357 col_cfg |= ((kbc->pin_cfg[i].num << 1) | 1) << c_shft; in tegra_kbc_config_pins() 463 const struct tegra_kbc_pin_cfg *pin_cfg = &kbc->pin_cfg[i]; in tegra_kbc_check_pin_cfg() local 465 switch (pin_cfg->type) { in tegra_kbc_check_pin_cfg() 467 if (pin_cfg->num >= kbc->hw_support->max_rows) { in tegra_kbc_check_pin_cfg() 470 i, pin_cfg->num); in tegra_kbc_check_pin_cfg() 477 if (pin_cfg->num >= kbc->hw_support->max_columns) { in tegra_kbc_check_pin_cfg() 480 i, pin_cfg->num); in tegra_kbc_check_pin_cfg() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 416 static void bnx2x_set_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 val) in bnx2x_set_cfg_pin() argument 418 if (pin_cfg == PIN_CFG_NA) in bnx2x_set_cfg_pin() 420 if (pin_cfg >= PIN_CFG_EPIO0) { in bnx2x_set_cfg_pin() 421 bnx2x_set_epio(bp, pin_cfg - PIN_CFG_EPIO0, val); in bnx2x_set_cfg_pin() 423 u8 gpio_num = (pin_cfg - PIN_CFG_GPIO0_P0) & 0x3; in bnx2x_set_cfg_pin() 424 u8 gpio_port = (pin_cfg - PIN_CFG_GPIO0_P0) >> 2; in bnx2x_set_cfg_pin() 429 static u32 bnx2x_get_cfg_pin(struct bnx2x *bp, u32 pin_cfg, u32 *val) in bnx2x_get_cfg_pin() argument 431 if (pin_cfg == PIN_CFG_NA) in bnx2x_get_cfg_pin() 433 if (pin_cfg >= PIN_CFG_EPIO0) { in bnx2x_get_cfg_pin() 434 bnx2x_get_epio(bp, pin_cfg - PIN_CFG_EPIO0, val); in bnx2x_get_cfg_pin() [all …]
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dsi.c | 3748 const struct omap_dsi_pin_config *pin_cfg) in dsi_configure_pins() argument 3766 num_pins = pin_cfg->num_pins; in dsi_configure_pins() 3767 pins = pin_cfg->pins; in dsi_configure_pins() 5086 struct omap_dsi_pin_config pin_cfg; in dsi_probe_of() local 5114 pin_cfg.num_pins = num_pins; in dsi_probe_of() 5116 pin_cfg.pins[i] = (int)lane_arr[i]; in dsi_probe_of() 5118 r = dsi_configure_pins(&dsi->output, &pin_cfg); in dsi_probe_of()
|
D | omapdss.h | 613 const struct omap_dsi_pin_config *pin_cfg);
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dsi.c | 3749 const struct omap_dsi_pin_config *pin_cfg) in dsi_configure_pins() argument 3767 num_pins = pin_cfg->num_pins; in dsi_configure_pins() 3768 pins = pin_cfg->pins; in dsi_configure_pins() 5090 struct omap_dsi_pin_config pin_cfg; in dsi_probe_of() local 5118 pin_cfg.num_pins = num_pins; in dsi_probe_of() 5120 pin_cfg.pins[i] = (int)lane_arr[i]; in dsi_probe_of() 5122 r = dsi_configure_pins(&dsi->output, &pin_cfg); in dsi_probe_of()
|