Home
last modified time | relevance | path

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

/drivers/i2c/
Di2c-core-base.c157 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_generic_bus_free() local
160 if (bri->get_bus_free) in i2c_generic_bus_free()
161 ret = bri->get_bus_free(adap); in i2c_generic_bus_free()
162 else if (bri->get_sda) in i2c_generic_bus_free()
163 ret = bri->get_sda(adap); in i2c_generic_bus_free()
181 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_generic_scl_recovery() local
184 if (bri->prepare_recovery) in i2c_generic_scl_recovery()
185 bri->prepare_recovery(adap); in i2c_generic_scl_recovery()
186 if (bri->pinctrl) in i2c_generic_scl_recovery()
187 pinctrl_select_state(bri->pinctrl, bri->pins_gpio); in i2c_generic_scl_recovery()
[all …]
/drivers/nfc/st21nfca/
Ddep.c67 u8 bri; member
79 u8 bri; member
165 atr_res->bri = 0x00; in st21nfca_tm_send_atr_res()
439 u8 bri, u8 lri) in st21nfca_im_send_psl_req() argument
458 psl_req->brs = (0x30 & bsi << 4) | (bri & 0x03); in st21nfca_im_send_psl_req()
505 atr_res->bsi, atr_res->bri, in st21nfca_im_recv_atr_res_cb()
555 atr_req->bri = 0x00; in st21nfca_im_send_atr_req()
568 info->dep_info.bri = atr_req->bri; in st21nfca_im_send_atr_req()
Dst21nfca.h123 u8 bri; member
/drivers/i2c/busses/
Di2c-pxa.c1338 struct i2c_bus_recovery_info *bri = &i2c->recovery; in i2c_pxa_init_recovery() local
1374 bri->scl_gpiod = devm_gpiod_get(dev, "scl", GPIOD_OUT_HIGH_OPEN_DRAIN); in i2c_pxa_init_recovery()
1375 if (bri->scl_gpiod == ERR_PTR(-EPROBE_DEFER)) in i2c_pxa_init_recovery()
1377 if (IS_ERR(bri->scl_gpiod)) { in i2c_pxa_init_recovery()
1379 bri->scl_gpiod); in i2c_pxa_init_recovery()
1387 gpiod_direction_output(bri->scl_gpiod, 0); in i2c_pxa_init_recovery()
1389 bri->sda_gpiod = devm_gpiod_get(dev, "sda", GPIOD_OUT_HIGH_OPEN_DRAIN); in i2c_pxa_init_recovery()
1393 gpiod_direction_output(bri->scl_gpiod, 1); in i2c_pxa_init_recovery()
1395 if (bri->sda_gpiod == ERR_PTR(-EPROBE_DEFER)) in i2c_pxa_init_recovery()
1398 if (IS_ERR(bri->sda_gpiod)) { in i2c_pxa_init_recovery()
[all …]