Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/bcm/
H A Dpinctrl-bcm4908.c27 struct bcm4908_pinctrl { struct
421 struct bcm4908_pinctrl *bcm4908_pinctrl = pinctrl_dev_get_drvdata(pctrl_dev); in bcm4908_pinctrl_set_mux() local
431 mutex_lock(&bcm4908_pinctrl->mutex); in bcm4908_pinctrl_set_mux()
438 writel(0x0, bcm4908_pinctrl->base + BCM4908_TEST_PORT_BLOCK_DATA_MSB); in bcm4908_pinctrl_set_mux()
439 writel(lsb, bcm4908_pinctrl->base + BCM4908_TEST_PORT_BLOCK_DATA_LSB); in bcm4908_pinctrl_set_mux()
441 bcm4908_pinctrl->base + BCM4908_TEST_PORT_COMMAND); in bcm4908_pinctrl_set_mux()
443 mutex_unlock(&bcm4908_pinctrl->mutex); in bcm4908_pinctrl_set_mux()
473 struct bcm4908_pinctrl *bcm4908_pinctrl; in bcm4908_pinctrl_probe() local
479 bcm4908_pinctrl = devm_kzalloc(dev, sizeof(*bcm4908_pinctrl), GFP_KERNEL); in bcm4908_pinctrl_probe()
480 if (!bcm4908_pinctrl) in bcm4908_pinctrl_probe()
[all …]