/* Set the Drive Current value of a specific channel.  */
static int fdc2x1x_set_idrive(const struct device *dev, uint8_t chx, uint8_t idrv)
/* Set the Drive Current value of a specific channel.  */
static int fdc2x1x_set_idrive(const struct device *dev, uint8_t chx, uint8_t idrv)
{
	return fdc2x1x_reg_write_mask(dev,
				      FDC2X1X_DRIVE_CURRENT_CH0 + chx,
				      FDC2X1X_DRV_CURRENT_CHX_IDRIVE_MSK,
				      FDC2X1X_DRV_CURRENT_CHX_IDRIVE_SET(idrv));
}