Home
last modified time | relevance | path

Searched refs:prom (Results 1 – 25 of 32) sorted by relevance

12

/linux/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.c66 * @cmd: PROM read cmd. Depends on device and prom id
69 * Generic i2c prom word read function for Measurement Specialties devices.
80 dev_err(&client->dev, "Failed to read prom word\n"); in ms_sensors_read_prom_word()
495 * @prom: pointer to PROM coefficients array
499 static u8 ms_sensors_tp_crc4(u16 *prom) in ms_sensors_tp_crc4() argument
506 n_rem ^= prom[cnt >> 1] & 0x00FF; in ms_sensors_tp_crc4()
508 n_rem ^= prom[cnt >> 1] >> 8; in ms_sensors_tp_crc4()
526 * @prom: pointer to PROM coefficients array
530 static bool ms_sensors_tp_crc_valid_112(u16 *prom) in ms_sensors_tp_crc_valid_112() argument
532 u16 w0 = prom[ in ms_sensors_tp_crc_valid_112()
554 ms_sensors_tp_crc_valid_128(u16 * prom) ms_sensors_tp_crc_valid_128() argument
626 u16 *prom = dev_data->prom, delay; ms_sensors_read_temp_and_pressure() local
[all...]
H A Dms_sensors_i2c.h42 * @prom: array of PROM coefficients used for conversion. Added element
50 u16 prom[MS_SENSORS_TP_PROM_WORDS_NB]; member
/linux/drivers/iio/pressure/
H A Dms5611_core.c56 static bool ms5611_prom_is_valid(u16 *prom, size_t len) in ms5611_prom_is_valid() argument
59 uint16_t crc = 0, crc_orig = prom[7] & 0x000F; in ms5611_prom_is_valid()
61 prom[7] &= 0xFF00; in ms5611_prom_is_valid()
65 crc ^= prom[i >> 1] & 0x00FF; in ms5611_prom_is_valid()
67 crc ^= prom[i >> 1] >> 8; in ms5611_prom_is_valid()
88 ret = st->read_prom_word(st, i, &st->prom[i]); in ms5611_read_prom()
91 "failed to read prom at %d\n", i); in ms5611_read_prom()
96 if (!ms5611_prom_is_valid(st->prom, MS5611_PROM_WORDS_NB)) { in ms5611_read_prom()
126 dt = t - (st->prom[5] << 8); in ms5611_temp_and_pressure_compensate()
127 off = ((s64)st->prom[ in ms5611_temp_and_pressure_compensate()
[all...]
H A Dms5611.h44 u16 prom[MS5611_PROM_WORDS_NB]; member
/linux/arch/powerpc/boot/
H A Doflib.c27 extern int prom(void *);
29 static int (*prom) (void *); variable
35 prom = (int (*)(void *))promptr; in of_init()
59 if (prom(&args) < 0) in of_call_prom()
84 if (prom(&args) < 0) in of_call_prom_ret()
/linux/arch/mips/pci/
H A Dpci-xtalk-bridge.c572 u8 prom[64]; in bridge_get_partnum() local
582 ret = nvmem_device_read(nvmem, 0, 64, prom); in bridge_get_partnum()
588 if (crc16(CRC16_INIT, prom, 32) != CRC16_VALID || in bridge_get_partnum()
589 crc16(CRC16_INIT, prom + 32, 32) != CRC16_VALID) in bridge_get_partnum()
595 if (prom[i + 11] != ' ') in bridge_get_partnum()
596 partnum[j++] = prom[i + 11]; in bridge_get_partnum()
599 if (prom[i + 32] != ' ') in bridge_get_partnum()
600 partnum[j++] = prom[i + 32]; in bridge_get_partnum()
619 /* get part number from one wire prom */ in bridge_probe()
/linux/arch/mips/txx9/rbtx4927/
H A DMakefile2 obj-y += prom.o setup.o irq.o
/linux/arch/mips/lantiq/falcon/
H A DMakefile2 obj-y := prom.o reset.o sysctrl.o
/linux/arch/m68k/sun3x/
H A DMakefile6 obj-y := config.o time.o dvma.o prom.o
/linux/arch/mips/loongson32/common/
H A DMakefile6 obj-y += time.o irq.o platform.o prom.o setup.o
/linux/arch/mips/ath79/
H A DMakefile9 obj-y := prom.o setup.o common.o clock.o
/linux/arch/mips/lantiq/xway/
H A DMakefile2 obj-y := prom.o sysctrl.o clk.o dma.o gptu.o dcdc.o
/linux/arch/mips/rb532/
H A DMakefile8 obj-y += irq.o time.o setup.o prom.o gpio.o devices.o
/linux/arch/mips/lantiq/
H A DMakefile5 obj-y := irq.o clk.o prom.o
/linux/arch/mips/bcm47xx/
H A DMakefile7 obj-y += irq.o prom.o serial.o setup.o time.o
/linux/arch/mips/ath25/
H A DMakefile11 obj-y += board.o prom.o devices.o
/linux/arch/m68k/sun3/
H A DMakefile8 obj-$(CONFIG_SUN3) += config.o mmu_emu.o leds.o dvma.o intersil.o prom/
/linux/arch/mips/dec/
H A DPlatform6 libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/
/linux/arch/mips/alchemy/common/
H A DMakefile9 obj-y += prom.o time.o clock.o platform.o power.o gpiolib.o \
/linux/arch/openrisc/kernel/
H A DMakefile15 obj-$(CONFIG_OF) += prom.o
/linux/arch/mips/bcm63xx/
H A DMakefile2 obj-y += clk.o cpu.o cs.o gpio.o irq.o nvram.o prom.o reset.o \
/linux/arch/mips/ralink/
H A DMakefile7 obj-y := prom.o of.o reset.o
/linux/arch/nios2/kernel/
H A DMakefile15 obj-y += prom.o
/linux/arch/microblaze/kernel/
H A DMakefile18 process.o prom.o ptrace.o \
/linux/arch/sparc/
H A DMakefile59 libs-y += arch/sparc/prom/

12