/linux/drivers/iio/common/ms_sensors/ |
A D | ms_sensors_i2c.c | 506 n_rem ^= prom[cnt >> 1] & 0x00FF; in ms_sensors_tp_crc4() 508 n_rem ^= prom[cnt >> 1] >> 8; in ms_sensors_tp_crc4() 538 crc = ms_sensors_tp_crc4(prom); in ms_sensors_tp_crc_valid_112() 540 prom[0] = w0; in ms_sensors_tp_crc_valid_112() 561 crc = ms_sensors_tp_crc4(prom); in ms_sensors_tp_crc_valid_128() 563 prom[7] = w7; in ms_sensors_tp_crc_valid_128() 586 &dev_data->prom[i]); in ms_sensors_tp_read_prom() 626 u16 *prom = dev_data->prom, delay; in ms_sensors_read_temp_and_pressure() local 652 dt = (s32)t_adc - (prom[5] << 8); in ms_sensors_read_temp_and_pressure() 678 off = (((s64)prom[2]) << 17) + ((((s64)prom[4]) * (s64)dt) >> 6); in ms_sensors_read_temp_and_pressure() [all …]
|
/linux/drivers/iio/pressure/ |
A D | ms5611_core.c | 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() 89 i, &st->chip_info->prom[i]); in ms5611_read_prom() 128 dt = t - (chip_info->prom[5] << 8); in ms5611_temp_and_pressure_compensate() 129 off = ((s64)chip_info->prom[2] << 16) + ((chip_info->prom[4] * dt) >> 7); in ms5611_temp_and_pressure_compensate() 130 sens = ((s64)chip_info->prom[1] << 15) + ((chip_info->prom[3] * dt) >> 8); in ms5611_temp_and_pressure_compensate() 164 dt = t - (chip_info->prom[5] << 8); in ms5607_temp_and_pressure_compensate() 165 off = ((s64)chip_info->prom[2] << 17) + ((chip_info->prom[4] * dt) >> 6); in ms5607_temp_and_pressure_compensate() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | prom_init.c | 152 static struct prom_t __prombss prom; variable 449 if (prom.stdout == 0) in prom_print() 618 prom.memory, size, virt); in prom_claim() 2190 if (cpu_no != prom.cpu) { in prom_hold_cpus() 2227 if (!PHANDLE_VALID(prom.root)) in prom_init_client_services() 2230 prom.mmumap = 0; in prom_init_client_services() 2259 prom_getprop(prom.chosen, "mmu", &prom.mmumap, in prom_find_mmu() 2260 sizeof(prom.mmumap)); in prom_find_mmu() 2261 prom.mmumap = be32_to_cpu(prom.mmumap); in prom_find_mmu() 2262 if (!IHANDLE_VALID(prom.memory) || !IHANDLE_VALID(prom.mmumap)) in prom_find_mmu() [all …]
|
/linux/drivers/iio/temperature/ |
A D | tsys01.c | 39 u16 prom[TSYS01_PROM_WORDS_NB]; member 67 (s64)dev_data->prom[5 - i]; in tsys01_read_temperature() 72 temp += coeff_mul[0] * (s64)dev_data->prom[5]; in tsys01_read_temperature() 137 &dev_data->prom[i]); in tsys01_read_prom() 141 ret = sprintf(ptr, "0x%04x ", dev_data->prom[i]); in tsys01_read_prom() 145 if (!tsys01_crc_valid(dev_data->prom)) { in tsys01_read_prom()
|
/linux/arch/powerpc/boot/ |
A D | oflib.c | 27 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/ |
A D | pci-xtalk-bridge.c | 572 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()
|
/linux/arch/mips/txx9/jmr3927/ |
A D | Makefile | 6 obj-y += prom.o irq.o setup.o
|
/linux/arch/mips/txx9/rbtx4927/ |
A D | Makefile | 2 obj-y += prom.o setup.o irq.o
|
/linux/arch/mips/txx9/rbtx4938/ |
A D | Makefile | 2 obj-y += prom.o setup.o irq.o
|
/linux/arch/mips/txx9/rbtx4939/ |
A D | Makefile | 2 obj-y += irq.o setup.o prom.o
|
/linux/arch/mips/lantiq/falcon/ |
A D | Makefile | 2 obj-y := prom.o reset.o sysctrl.o
|
/linux/arch/m68k/sun3x/ |
A D | Makefile | 6 obj-y := config.o time.o dvma.o prom.o
|
/linux/drivers/atm/ |
A D | fore200e.c | 594 swap_here(&prom->mac_addr[0]); in fore200e_pca_prom_read() 595 swap_here(&prom->mac_addr[4]); in fore200e_pca_prom_read() 721 memcpy(&prom->mac_addr[4], prop, 4); in fore200e_sba_prom_read() 726 memcpy(&prom->mac_addr[2], prop, 4); in fore200e_sba_prom_read() 728 prom->serial_number = of_getintprop_default(op->dev.of_node, in fore200e_sba_prom_read() 730 prom->hw_revision = of_getintprop_default(op->dev.of_node, in fore200e_sba_prom_read() 1958 if (!prom) in fore200e_get_esi() 1961 ok = fore200e->bus->prom_read(fore200e, prom); in fore200e_get_esi() 1963 kfree(prom); in fore200e_get_esi() 1970 prom->serial_number & 0xFFFF, &prom->mac_addr[2]); in fore200e_get_esi() [all …]
|
/linux/arch/mips/loongson32/common/ |
A D | Makefile | 6 obj-y += time.o irq.o platform.o prom.o reset.o setup.o
|
/linux/arch/mips/ath79/ |
A D | Makefile | 9 obj-y := prom.o setup.o common.o clock.o
|
/linux/arch/mips/rb532/ |
A D | Makefile | 8 obj-y += irq.o time.o setup.o prom.o gpio.o devices.o
|
/linux/arch/mips/lantiq/xway/ |
A D | Makefile | 2 obj-y := prom.o sysctrl.o clk.o dma.o gptu.o dcdc.o
|
/linux/arch/mips/ar7/ |
A D | Makefile | 4 prom.o \
|
/linux/arch/mips/lantiq/ |
A D | Makefile | 5 obj-y := irq.o clk.o prom.o
|
/linux/arch/mips/ath25/ |
A D | Makefile | 11 obj-y += board.o prom.o devices.o
|
/linux/arch/mips/bcm47xx/ |
A D | Makefile | 7 obj-y += irq.o prom.o serial.o setup.o time.o
|
/linux/arch/m68k/sun3/ |
A D | Makefile | 8 obj-$(CONFIG_SUN3) += config.o mmu_emu.o leds.o dvma.o intersil.o prom/
|
/linux/arch/mips/dec/ |
A D | Platform | 6 libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/
|
/linux/arch/mips/alchemy/common/ |
A D | Makefile | 9 obj-y += prom.o time.o clock.o platform.o power.o gpiolib.o \
|
/linux/arch/openrisc/kernel/ |
A D | Makefile | 15 obj-$(CONFIG_OF) += prom.o
|