Home
last modified time | relevance | path

Searched refs:whoami (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/
Ddb1550.c58 unsigned short whoami; in db1550_board_setup() local
63 whoami = bcsr_read(BCSR_WHOAMI); /* PB1550 hexled offset differs */ in db1550_board_setup()
64 switch (BCSR_WHOAMI_BOARD(whoami)) { in db1550_board_setup()
77 (whoami >> 4) & 0xf, (whoami >> 8) & 0xf, whoami & 0xf); in db1550_board_setup()
Ddb1300.c870 unsigned short whoami; in db1300_board_setup() local
875 whoami = bcsr_read(BCSR_WHOAMI); in db1300_board_setup()
876 if (BCSR_WHOAMI_BOARD(whoami) != BCSR_WHOAMI_DB1300) in db1300_board_setup()
883 BCSR_WHOAMI_BOARD(whoami), BCSR_WHOAMI_CPLD(whoami), in db1300_board_setup()
884 BCSR_WHOAMI_DCID(whoami)); in db1300_board_setup()
Ddb1200.c119 unsigned short whoami; in db1200_board_setup() local
124 whoami = bcsr_read(BCSR_WHOAMI); in db1200_board_setup()
125 switch (BCSR_WHOAMI_BOARD(whoami)) { in db1200_board_setup()
136 (whoami >> 4) & 0xf, (whoami >> 8) & 0xf, whoami & 0xf); in db1200_board_setup()
/kernel/linux/linux-5.10/drivers/misc/lis3lv02d/
Dlis3lv02d.c178 if (lis3->whoami == WAI_12B) { in lis3lv02d_get_xyz()
276 if (lis3->whoami == WAI_8B) { in lis3lv02d_selftest()
289 if ((lis3->whoami == WAI_3DC) || (lis3->whoami == WAI_3DLH)) { in lis3lv02d_selftest()
294 if (lis3->whoami == WAI_12B) in lis3lv02d_selftest()
323 if (lis3->whoami == WAI_8B) { in lis3lv02d_selftest()
418 if (lis3->whoami == WAI_12B) in lis3lv02d_poweron()
420 else if (lis3->whoami == WAI_3DLH) in lis3lv02d_poweron()
426 if (lis3->whoami == WAI_3DLH) { in lis3lv02d_poweron()
466 if (lis3->pdata && lis3->whoami == WAI_8B && lis3->idev) in lis3lv02d_joystick_open()
704 if (lis3->whoami == WAI_12B) { in lis3lv02d_joystick_enable()
[all …]
Dlis3lv02d_i2c.c75 if (reg != lis3->whoami) in lis3_i2c_init()
83 if (lis3->whoami == WAI_3DLH) in lis3_i2c_init()
Dlis3lv02d.h276 u8 whoami; /* indicates measurement precision */ member
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c140 .whoami = INV_MPU6050_WHOAMI_VALUE,
148 .whoami = INV_MPU6500_WHOAMI_VALUE,
156 .whoami = INV_MPU6515_WHOAMI_VALUE,
164 .whoami = INV_MPU6000_WHOAMI_VALUE,
172 .whoami = INV_MPU9150_WHOAMI_VALUE,
180 .whoami = INV_MPU9250_WHOAMI_VALUE,
188 .whoami = INV_MPU9255_WHOAMI_VALUE,
196 .whoami = INV_ICM20608_WHOAMI_VALUE,
204 .whoami = INV_ICM20609_WHOAMI_VALUE,
212 .whoami = INV_ICM20689_WHOAMI_VALUE,
[all …]
Dinv_mpu_iio.h142 u8 whoami; member
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c47 uint8_t whoami; member
71 .whoami = INV_ICM42600_WHOAMI_ICM42600,
76 .whoami = INV_ICM42600_WHOAMI_ICM42602,
81 .whoami = INV_ICM42600_WHOAMI_ICM42605,
86 .whoami = INV_ICM42600_WHOAMI_ICM42622,
379 if (val != hw->whoami) { in inv_icm42600_setup()
381 val, hw->whoami, hw->name); in inv_icm42600_setup()
/kernel/linux/linux-5.10/drivers/iio/proximity/
Dsx9310.c141 unsigned int whoami; member
854 unsigned int whoami) in sx9310_set_indio_dev_name() argument
859 if (ddata != whoami) { in sx9310_set_indio_dev_name()
860 dev_err(dev, "WHOAMI does not match device data: %u\n", whoami); in sx9310_set_indio_dev_name()
864 switch (whoami) { in sx9310_set_indio_dev_name()
872 dev_err(dev, "unexpected WHOAMI response: %u\n", whoami); in sx9310_set_indio_dev_name()
923 ret = regmap_read(data->regmap, SX9310_REG_WHOAMI, &data->whoami); in sx9310_probe()
929 ret = sx9310_set_indio_dev_name(dev, indio_dev, data->whoami); in sx9310_probe()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dak8974.c488 unsigned int whoami; in ak8974_detect() local
494 ret = regmap_read(ak8974->map, AK8974_WHOAMI, &whoami); in ak8974_detect()
500 switch (whoami) { in ak8974_detect()
527 whoami); in ak8974_detect()
532 ak8974->variant = whoami; in ak8974_detect()
534 if (whoami == AK8974_WHOAMI_VALUE_AMI306) { in ak8974_detect()
/kernel/linux/linux-5.10/scripts/
Dmkcompile_h33 LINUX_COMPILE_BY=$(whoami | sed 's/\\/\\\\/')
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c52 const u32 whoami = T4VF_PL_BASE_ADDR + PL_VF_WHOAMI; in t4vf_wait_dev_ready() local
57 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready()
61 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready()
831 u32 whoami; in t4vf_get_pf_from_vf() local
833 whoami = t4_read_reg(adapter, T4VF_PL_BASE_ADDR + PL_VF_WHOAMI_A); in t4vf_get_pf_from_vf()
835 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami)); in t4vf_get_pf_from_vf()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dcore_mcpcia.c524 unsigned int whoami; in mcpcia_print_system_area() member
555 printk(" WHOAMI = %8x\n", iodpp->whoami); in mcpcia_print_system_area()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c5107 u32 whoami = t4_read_reg(adapter, PL_WHOAMI_A); in t4_intr_enable() local
5109 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami); in t4_intr_enable()
5134 u32 whoami, pf; in t4_intr_disable() local
5139 whoami = t4_read_reg(adapter, PL_WHOAMI_A); in t4_intr_disable()
5141 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami); in t4_intr_disable()
8965 u32 whoami; in t4_wait_dev_ready() local
8967 whoami = readl(regs + PL_WHOAMI_A); in t4_wait_dev_ready()
8968 if (whoami != 0xffffffff && whoami != CIM_PF_NOACCESS) in t4_wait_dev_ready()
8972 whoami = readl(regs + PL_WHOAMI_A); in t4_wait_dev_ready()
8973 return (whoami != 0xffffffff && whoami != CIM_PF_NOACCESS ? 0 : -EIO); in t4_wait_dev_ready()
Dcxgb4_main.c6622 u32 whoami; in init_one() local
6656 whoami = t4_read_reg(adapter, PL_WHOAMI_A); in init_one()
6666 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami); in init_one()
/kernel/linux/linux-5.10/Documentation/kbuild/
Dkbuild.rst264 whoami and host, respectively.
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch163185 +EXTRA_CFLAGS += -DGALCORE_BUILD_BY=\"$(shell whoami)\"