Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/
H A Dfxos8700.h8 const char *name, bool use_spi);
H A Dfxos8700_core.c611 static int fxos8700_chip_init(struct fxos8700_data *data, bool use_spi) in fxos8700_chip_init() argument
681 const char *name, bool use_spi) in fxos8700_core_probe() argument
695 ret = fxos8700_chip_init(data, use_spi); in fxos8700_core_probe()
/openbmc/linux/drivers/iio/imu/bmi160/
H A Dbmi160.h25 const char *name, bool use_spi);
H A Dbmi160_core.c707 static int bmi160_chip_init(struct bmi160_data *data, bool use_spi) in bmi160_chip_init() argument
729 if (use_spi) { in bmi160_chip_init()
825 const char *name, bool use_spi) in bmi160_core_probe() argument
855 ret = bmi160_chip_init(data, use_spi); in bmi160_core_probe()
/openbmc/linux/net/xfrm/
H A Dxfrm_state.c1129 __xfrm_state_locate(struct xfrm_state *x, int use_spi, int family) in __xfrm_state_locate() argument
1134 if (use_spi) in __xfrm_state_locate()
1639 int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); in xfrm_state_add() local
1647 x1 = __xfrm_state_locate(x, use_spi, family); in xfrm_state_add()
1655 if (use_spi && x->km.seq) { in xfrm_state_add()
1664 if (use_spi && !x1) in xfrm_state_add()
1905 int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); in xfrm_state_update() local
1911 x1 = __xfrm_state_locate(x, use_spi, x->props.family); in xfrm_state_update()
1956 if (!use_spi && memcmp(&x1->sel, &x->sel, sizeof(x1->sel))) in xfrm_state_update()