Searched refs:cfg_pin (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/include/linux/i2c/
H A Dmms114.h21 void (*cfg_pin)(bool); member in struct:mms114_platform_data
H A Dmcs.h22 void (*cfg_pin)(void); member in struct:mcs_platform_data
/linux-4.4.14/drivers/input/touchscreen/
H A Dmms114.c338 if (data->pdata->cfg_pin) mms114_start()
339 data->pdata->cfg_pin(true); mms114_start()
353 if (data->pdata->cfg_pin) mms114_stop()
354 data->pdata->cfg_pin(false); mms114_stop()
H A Dmcs5000_ts.c227 if (pdata->cfg_pin) mcs5000_ts_probe()
228 pdata->cfg_pin(); mcs5000_ts_probe()
/linux-4.4.14/drivers/input/keyboard/
H A Dmcs_touchkey.c171 if (pdata->cfg_pin) mcs_touchkey_probe()
172 pdata->cfg_pin(); mcs_touchkey_probe()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c4339 u32 cfg_pin; bnx2x_get_mod_abs_int_cfg() local
4343 cfg_pin = (REG_RD(bp, shmem_base + bnx2x_get_mod_abs_int_cfg()
4355 if ((cfg_pin < PIN_CFG_GPIO0_P0) || bnx2x_get_mod_abs_int_cfg()
4356 (cfg_pin > PIN_CFG_GPIO3_P1)) { bnx2x_get_mod_abs_int_cfg()
4359 cfg_pin); bnx2x_get_mod_abs_int_cfg()
4363 *gpio_num = (cfg_pin - PIN_CFG_GPIO0_P0) & 0x3; bnx2x_get_mod_abs_int_cfg()
4364 *gpio_port = (cfg_pin - PIN_CFG_GPIO0_P0) >> 2; bnx2x_get_mod_abs_int_cfg()
4480 u32 cfg_pin; bnx2x_sfp_e3_set_transmitter() local
4483 cfg_pin = REG_RD(bp, params->shmem_base + bnx2x_sfp_e3_set_transmitter()
4491 bnx2x_set_cfg_pin(bp, cfg_pin, tx_en ^ 1); bnx2x_sfp_e3_set_transmitter()
4493 bnx2x_set_cfg_pin(bp, cfg_pin + 3, tx_en ^ 1); bnx2x_sfp_e3_set_transmitter()
10924 u32 cfg_pin; bnx2x_54618se_config_init() local
10934 cfg_pin = (REG_RD(bp, params->shmem_base + bnx2x_54618se_config_init()
10941 bnx2x_set_cfg_pin(bp, cfg_pin, 1); bnx2x_54618se_config_init()
11164 u32 cfg_pin; bnx2x_54618se_link_reset() local
11175 cfg_pin = (REG_RD(bp, params->shmem_base + bnx2x_54618se_link_reset()
11182 bnx2x_set_cfg_pin(bp, cfg_pin, 0); bnx2x_54618se_link_reset()
13501 u32 cfg_pin; bnx2x_check_over_curr() local
13505 cfg_pin = (REG_RD(bp, params->shmem_base + bnx2x_check_over_curr()
13512 if (bnx2x_get_cfg_pin(bp, cfg_pin, &pin_val) != 0) bnx2x_check_over_curr()
13672 u32 cfg_pin, value = 0; bnx2x_sfp_tx_fault_detection() local
13676 cfg_pin = (REG_RD(bp, params->shmem_base + offsetof(struct shmem_region, bnx2x_sfp_tx_fault_detection()
13681 if (bnx2x_get_cfg_pin(bp, cfg_pin, &value)) { bnx2x_sfp_tx_fault_detection()
13682 DP(NETIF_MSG_LINK, "Failed to read pin 0x%02x\n", cfg_pin); bnx2x_sfp_tx_fault_detection()

Completed in 278 milliseconds