Home
last modified time | relevance | path

Searched refs:partnum (Results 1 – 11 of 11) sorted by relevance

/drivers/pwm/
Dpwm-stmpe.c121 if (stmpe_pwm->stmpe->partnum == STMPE2401 || in stmpe_24xx_pwm_config()
122 stmpe_pwm->stmpe->partnum == STMPE2403) in stmpe_24xx_pwm_config()
157 if (stmpe_pwm->stmpe->partnum == STMPE2401) in stmpe_24xx_pwm_config()
160 if (stmpe_pwm->stmpe->partnum == STMPE2403) in stmpe_24xx_pwm_config()
165 if (stmpe_pwm->stmpe->partnum == STMPE2401) in stmpe_24xx_pwm_config()
168 if (stmpe_pwm->stmpe->partnum == STMPE2403) in stmpe_24xx_pwm_config()
197 } else if (stmpe_pwm->stmpe->partnum == STMPE2403) { in stmpe_24xx_pwm_config()
201 } else if (stmpe_pwm->stmpe->partnum == STMPE2401) { in stmpe_24xx_pwm_config()
306 if (stmpe->partnum == STMPE2401 || stmpe->partnum == STMPE2403) { in stmpe_pwm_probe()
310 if (stmpe->partnum == STMPE1601) in stmpe_pwm_probe()
/drivers/gpio/
Dgpio-stmpe.c152 if (stmpe_gpio->stmpe->partnum == STMPE801 || in stmpe_gpio_irq_set_type()
153 stmpe_gpio->stmpe->partnum == STMPE1600) in stmpe_gpio_irq_set_type()
201 if (stmpe->partnum == STMPE1600) { in stmpe_gpio_irq_sync_unlock()
208 if ((stmpe->partnum == STMPE801 || in stmpe_gpio_irq_sync_unlock()
209 stmpe->partnum == STMPE1600) && in stmpe_gpio_irq_sync_unlock()
302 switch (stmpe->partnum) { in stmpe_dbg_show_one()
393 if (stmpe->partnum == STMPE1600) in stmpe_gpio_irq()
403 int bank = (stmpe_gpio->stmpe->partnum == STMPE1600) ? i : in stmpe_gpio_irq()
427 if (stmpe->partnum != STMPE801 && stmpe->partnum != STMPE1600 && in stmpe_gpio_irq()
428 stmpe->partnum != STMPE1801) { in stmpe_gpio_irq()
/drivers/mfd/
Dstmpe-i2c.c73 enum stmpe_partnum partnum; in stmpe_i2c_probe() local
88 partnum = id->driver_data; in stmpe_i2c_probe()
90 partnum = (uintptr_t)of_id->data; in stmpe_i2c_probe()
92 return stmpe_probe(&i2c_ci, partnum); in stmpe_i2c_probe()
Dstmpe.c1366 int stmpe_probe(struct stmpe_client_info *ci, enum stmpe_partnum partnum) in stmpe_probe() argument
1404 stmpe->partnum = partnum; in stmpe_probe()
1405 stmpe->variant = stmpe_variant_info[partnum]; in stmpe_probe()
1446 if (!stmpe_noirq_variant_info[stmpe->partnum]) { in stmpe_probe()
1452 stmpe->variant = stmpe_noirq_variant_info[stmpe->partnum]; in stmpe_probe()
Dstmpe.h100 int stmpe_probe(struct stmpe_client_info *ci, enum stmpe_partnum partnum);
/drivers/usb/serial/
Dcp210x.c270 u8 partnum; member
1271 if (priv->partnum == CP210X_PARTNUM_CP2101) { in cp210x_set_termios()
1448 if (priv->partnum == CP210X_PARTNUM_CP2105) { in cp210x_break_ctl()
1478 switch (priv->partnum) { in cp210x_gpio_get()
1528 switch (priv->partnum) { in cp210x_gpio_set()
1578 if (priv->partnum == CP210X_PARTNUM_CP2105) { in cp210x_gpio_direction_input()
1878 if (priv->partnum == CP210X_PARTNUM_CP2102N_QFN20) { in cp2102n_gpioconf_init()
1892 if (priv->partnum == CP210X_PARTNUM_CP2102N_QFN28) { in cp2102n_gpioconf_init()
1930 switch (priv->partnum) { in cp210x_gpio_init()
2034 switch (priv->partnum) { in cp210x_init_max_speed()
[all …]
/drivers/mtd/maps/
Dvmu-flash.c504 __be32 partnum; in vmu_queryblocks() local
568 partnum = cpu_to_be32(card->partition << 24); in vmu_queryblocks()
572 MAPLE_COMMAND_GETMINFO, 2, &partnum); in vmu_queryblocks()
602 u32 partnum = 0; in vmu_connect() local
673 MAPLE_COMMAND_GETMINFO, 2, &partnum); in vmu_connect()
/drivers/infiniband/hw/qib/
Dqib_qsfp.c356 ret = qsfp_read(ppd, QSFP_PN_OFFS, &cp->partnum, QSFP_PN_LEN); in qib_refresh_qsfp_cache()
360 cks += cp->partnum[idx]; in qib_refresh_qsfp_cache()
519 QSFP_PN_LEN, cd.partnum); in qib_qsfp_dump()
Dqib_qsfp.h161 u8 partnum[QSFP_PN_LEN]; member
Dqib_iba7322.c595 u8 *partnum; member
7598 (!v->partnum || in find_best_ent()
7599 !memcmp(v->partnum, qd->partnum, QSFP_PN_LEN))) { in find_best_ent()
/drivers/input/keyboard/
Dstmpe-keypad.c352 keypad->variant = &stmpe_keypad_variants[stmpe->partnum]; in stmpe_keypad_probe()