Searched refs:nfactor (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/hwmon/ |
D | tmp513.c | 165 u32 nfactor[3]; member 579 TMP51X_NFACTOR_MASK, data->nfactor[0] << 8); in tmp51x_init() 584 data->nfactor[1] << 8); in tmp51x_init() 590 data->nfactor[2] << 8); in tmp51x_init() 658 u32 nfactor[3]; in tmp51x_read_properties() local 676 ret = device_property_read_u32_array(dev, "ti,nfactor", nfactor, in tmp51x_read_properties() 679 memcpy(data->nfactor, nfactor, (data->id == tmp513) ? 3 : 2); in tmp51x_read_properties()
|
D | tmp401.c | 549 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()
|
D | tmp464.c | 525 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()
|
/linux-6.1.9/Documentation/devicetree/bindings/hwmon/ |
D | ti,tmp513.yaml | 58 ti,nfactor: 89 ti,nfactor = <0x1 0xF3 0x00>;
|
/linux-6.1.9/drivers/message/fusion/ |
D | mptspi.c | 118 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()
|