Searched refs:use_spi (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/iio/imu/bmi160/ |
D | bmi160.h | 8 const char *name, bool use_spi);
|
D | bmi160_core.c | 501 static int bmi160_chip_init(struct bmi160_data *data, bool use_spi) in bmi160_chip_init() argument 517 if (use_spi) { in bmi160_chip_init() 552 const char *name, bool use_spi) in bmi160_core_probe() argument 566 ret = bmi160_chip_init(data, use_spi); in bmi160_core_probe()
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_state.c | 869 __xfrm_state_locate(struct xfrm_state *x, int use_spi, int family) in __xfrm_state_locate() argument 874 if (use_spi) in __xfrm_state_locate() 1278 int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); in xfrm_state_add() local 1286 x1 = __xfrm_state_locate(x, use_spi, family); in xfrm_state_add() 1294 if (use_spi && x->km.seq) { in xfrm_state_add() 1303 if (use_spi && !x1) in xfrm_state_add() 1504 int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); in xfrm_state_update() local 1510 x1 = __xfrm_state_locate(x, use_spi, x->props.family); in xfrm_state_update() 1555 if (!use_spi && memcmp(&x1->sel, &x->sel, sizeof(x1->sel))) in xfrm_state_update()
|