Searched refs:drdy_pin (Results 1 – 1 of 1) sorted by relevance
1916 static int st_lsm6dsx_get_drdy_pin(struct st_lsm6dsx_hw *hw, int *drdy_pin) in st_lsm6dsx_get_drdy_pin() argument1923 return device_property_read_u32(dev, "st,drdy-int-pin", drdy_pin); in st_lsm6dsx_get_drdy_pin()1930 int err = 0, drdy_pin; in st_lsm6dsx_get_drdy_reg() local1932 if (st_lsm6dsx_get_drdy_pin(hw, &drdy_pin) < 0) { in st_lsm6dsx_get_drdy_reg()1937 drdy_pin = pdata ? pdata->drdy_int_pin : 1; in st_lsm6dsx_get_drdy_reg()1940 switch (drdy_pin) { in st_lsm6dsx_get_drdy_reg()