Home
last modified time | relevance | path

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

/drivers/pwm/
Dpwm-stmpe.c124 if (stmpe_pwm->stmpe->partnum == STMPE2401 || in stmpe_24xx_pwm_config()
125 stmpe_pwm->stmpe->partnum == STMPE2403) in stmpe_24xx_pwm_config()
160 if (stmpe_pwm->stmpe->partnum == STMPE2401) in stmpe_24xx_pwm_config()
163 if (stmpe_pwm->stmpe->partnum == STMPE2403) in stmpe_24xx_pwm_config()
168 if (stmpe_pwm->stmpe->partnum == STMPE2401) in stmpe_24xx_pwm_config()
171 if (stmpe_pwm->stmpe->partnum == STMPE2403) in stmpe_24xx_pwm_config()
200 } else if (stmpe_pwm->stmpe->partnum == STMPE2403) { in stmpe_24xx_pwm_config()
204 } else if (stmpe_pwm->stmpe->partnum == STMPE2401) { in stmpe_24xx_pwm_config()
287 if (stmpe->partnum == STMPE2401 || stmpe->partnum == STMPE2403) { in stmpe_pwm_probe()
291 if (stmpe->partnum == STMPE1601) in stmpe_pwm_probe()
/drivers/gpio/
Dgpio-stmpe.c149 if (stmpe_gpio->stmpe->partnum == STMPE801 || in stmpe_gpio_irq_set_type()
150 stmpe_gpio->stmpe->partnum == STMPE1600) in stmpe_gpio_irq_set_type()
198 if (stmpe->partnum == STMPE1600) { in stmpe_gpio_irq_sync_unlock()
205 if ((stmpe->partnum == STMPE801 || in stmpe_gpio_irq_sync_unlock()
206 stmpe->partnum == STMPE1600) && in stmpe_gpio_irq_sync_unlock()
291 switch (stmpe->partnum) { in stmpe_dbg_show_one()
378 if (stmpe->partnum == STMPE1600) in stmpe_gpio_irq()
388 int bank = (stmpe_gpio->stmpe->partnum == STMPE1600) ? i : in stmpe_gpio_irq()
412 if (stmpe->partnum != STMPE801 && stmpe->partnum != STMPE1600 && in stmpe_gpio_irq()
413 stmpe->partnum != STMPE1801) { in stmpe_gpio_irq()
/drivers/mfd/
Dstmpe-i2c.c72 enum stmpe_partnum partnum; in stmpe_i2c_probe() local
87 partnum = id->driver_data; in stmpe_i2c_probe()
89 partnum = (enum stmpe_partnum)of_id->data; in stmpe_i2c_probe()
91 return stmpe_probe(&i2c_ci, partnum); in stmpe_i2c_probe()
Dstmpe.c1320 int stmpe_probe(struct stmpe_client_info *ci, enum stmpe_partnum partnum) in stmpe_probe() argument
1347 stmpe->partnum = partnum; in stmpe_probe()
1348 stmpe->variant = stmpe_variant_info[partnum]; in stmpe_probe()
1387 if (!stmpe_noirq_variant_info[stmpe->partnum]) { in stmpe_probe()
1393 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/mtd/maps/
Dvmu-flash.c506 __be32 partnum; in vmu_queryblocks() local
570 partnum = cpu_to_be32(card->partition << 24); in vmu_queryblocks()
574 MAPLE_COMMAND_GETMINFO, 2, &partnum); in vmu_queryblocks()
604 u32 partnum = 0; in vmu_connect() local
675 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()
529 QSFP_PN_LEN, cd.partnum); in qib_qsfp_dump()
Dqib_qsfp.h161 u8 partnum[QSFP_PN_LEN]; member
Dqib_iba7322.c586 u8 *partnum; member
7679 (!v->partnum || in find_best_ent()
7680 !memcmp(v->partnum, qd->partnum, QSFP_PN_LEN))) { in find_best_ent()
/drivers/input/keyboard/
Dstmpe-keypad.c343 keypad->variant = &stmpe_keypad_variants[stmpe->partnum]; in stmpe_keypad_probe()