Home
last modified time | relevance | path

Searched full:nfactor (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dtmp513.c170 u32 nfactor[3];
582 // nFactor configuration in tmp51x_init()
584 TMP51X_NFACTOR_MASK, data->nfactor[0] << 8); in tmp51x_init()
589 data->nfactor[1] << 8); in tmp51x_init()
595 data->nfactor[2] << 8); in tmp51x_init()
663 u32 nfactor[3]; in tmp51x_read_properties()
681 ret = device_property_read_u32_array(dev, "ti,nfactor", nfactor, in tmp51x_read_properties()
684 memcpy(data->nfactor, nfactor, (dat in tmp51x_read_properties()
165 u32 nfactor[3]; global() member
658 u32 nfactor[3]; tmp51x_read_properties() local
[all...]
H A Dtmp464.c525 s32 nfactor; in tmp464_probe_child_from_dt() local
543 err = of_property_read_s32(child, "ti,n-factor", &nfactor); in tmp464_probe_child_from_dt()
551 if (nfactor > 127 || nfactor < -128) { in tmp464_probe_child_from_dt()
553 channel, nfactor); in tmp464_probe_child_from_dt()
557 (nfactor << 8) & 0xff00); in tmp464_probe_child_from_dt()
H A Dtmp401.c549 s32 nfactor = 0; in tmp401_init_client() local
577 ret = of_property_read_u32(data->client->dev.of_node, "ti,n-factor", &nfactor); in tmp401_init_client()
583 if (nfactor < -128 || nfactor > 127) { in tmp401_init_client()
584 dev_err(&data->client->dev, "n-factor is invalid (%d)\n", nfactor); in tmp401_init_client()
587 ret = regmap_write(regmap, TMP4XX_N_FACTOR_REG, (unsigned int)nfactor); in tmp401_init_client()
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dti,tmp513.yaml58 ti,nfactor:
89 ti,nfactor = <0x1 0xf3 0x00>;
/openbmc/linux/drivers/message/fusion/
H A Dmptspi.c118 u8 nfactor; in mptspi_setTargetNegoParms() local
177 nfactor = (nvram & MPT_NVRAM_SYNC_MASK) >> 8; in mptspi_setTargetNegoParms()
186 if (nfactor) { in mptspi_setTargetNegoParms()
187 if (nfactor < pspi_data->minSyncFactor ) in mptspi_setTargetNegoParms()
188 nfactor = pspi_data->minSyncFactor; in mptspi_setTargetNegoParms()
190 factor = max(factor, nfactor); in mptspi_setTargetNegoParms()