Lines Matching refs:cells
236 bcmgpio_config_pin(void *cookie, uint32_t *cells, int config) in bcmgpio_config_pin() argument
239 uint32_t pin = cells[0]; in bcmgpio_config_pin()
257 bcmgpio_get_pin(void *cookie, uint32_t *cells) in bcmgpio_get_pin() argument
260 uint32_t pin = cells[0]; in bcmgpio_get_pin()
261 uint32_t flags = cells[1]; in bcmgpio_get_pin()
276 bcmgpio_set_pin(void *cookie, uint32_t *cells, int val) in bcmgpio_set_pin() argument
279 uint32_t pin = cells[0]; in bcmgpio_set_pin()
280 uint32_t flags = cells[1]; in bcmgpio_set_pin()
311 uint32_t cells[2]; in bcmgpio_pin_read() local
313 cells[0] = pin; in bcmgpio_pin_read()
314 cells[1] = 0; in bcmgpio_pin_read()
316 return bcmgpio_get_pin(sc, cells) ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in bcmgpio_pin_read()
323 uint32_t cells[2]; in bcmgpio_pin_write() local
325 cells[0] = pin; in bcmgpio_pin_write()
326 cells[1] = 0; in bcmgpio_pin_write()
328 bcmgpio_set_pin(sc, cells, val); in bcmgpio_pin_write()
335 uint32_t cells[2]; in bcmgpio_pin_ctl() local
338 cells[0] = pin; in bcmgpio_pin_ctl()
339 cells[1] = 0; in bcmgpio_pin_ctl()
349 bcmgpio_config_pin(sc, cells, config); in bcmgpio_pin_ctl()