Searched refs:thp (Results 1 – 3 of 3) sorted by relevance
| /drivers/pinctrl/ |
| A D | pinctrl-th1520.c | 67 return thp->base + 4 * (pin / 2); in th1520_padcfg() 361 return thp->desc.npins; in th1520_pinctrl_get_groups_count() 455 guard(mutex)(&thp->mutex); in th1520_pinctrl_dt_node_to_map() 812 return th1520_pinmux_set(thp, thp->desc.pins[gsel].number, in th1520_pinmux_set_mux() 854 struct th1520_pinctrl *thp; in th1520_pinctrl_probe() local 859 thp = devm_kzalloc(dev, sizeof(*thp), GFP_KERNEL); in th1520_pinctrl_probe() 860 if (!thp) in th1520_pinctrl_probe() 864 if (IS_ERR(thp->base)) in th1520_pinctrl_probe() 865 return PTR_ERR(thp->base); in th1520_pinctrl_probe() 891 mutex_init(&thp->mutex); in th1520_pinctrl_probe() [all …]
|
| /drivers/net/slip/ |
| A D | slhc.c | 497 struct tcphdr *thp; in slhc_uncompress() local 534 thp = &cs->cs_tcp; in slhc_uncompress() 554 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress() 555 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress() 560 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress() 566 thp->urg = 1; in slhc_uncompress() 572 thp->urg = 0; in slhc_uncompress() 577 thp->window = htons( ntohs(thp->window) + x); in slhc_uncompress() 583 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress() 589 thp->seq = htonl( ntohl(thp->seq) + x); in slhc_uncompress() [all …]
|
| /drivers/i2c/busses/ |
| A D | i2c-octeon-core.c | 833 unsigned int thp, mdiv_min, mdiv = 2, ndiv = 0, ds = 10; in octeon_i2c_set_clock() local 839 thp = TWSI_MASTER_CLK_REG_OTX2_VAL; in octeon_i2c_set_clock() 844 thp = TWSI_MASTER_CLK_REG_DEF_VAL; in octeon_i2c_set_clock() 887 thp = thp_idx; in octeon_i2c_set_clock() 894 octeon_i2c_reg_write(i2c, SW_TWSI_OP_TWSI_CLK, thp); in octeon_i2c_set_clock()
|
Completed in 10 milliseconds