Searched refs:drdy_pin (Results 1 – 1 of 1) sorted by relevance
2109 static int st_lsm6dsx_get_drdy_pin(struct st_lsm6dsx_hw *hw, int *drdy_pin) in st_lsm6dsx_get_drdy_pin() argument2116 return device_property_read_u32(dev, "st,drdy-int-pin", drdy_pin); in st_lsm6dsx_get_drdy_pin()2123 int err = 0, drdy_pin; in st_lsm6dsx_get_drdy_reg() local2125 if (st_lsm6dsx_get_drdy_pin(hw, &drdy_pin) < 0) { in st_lsm6dsx_get_drdy_reg()2130 drdy_pin = pdata ? pdata->drdy_int_pin : 1; in st_lsm6dsx_get_drdy_reg()2133 switch (drdy_pin) { in st_lsm6dsx_get_drdy_reg()