Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dnx_huge_pages_test.sh36 if [ $(whoami) == "root" ] || sudo setcap cap_sys_boot+ep $NXECUTABLE 2> /dev/null; then
39 test $(whoami) == "root" || sudo setcap cap_sys_boot-ep $NXECUTABLE
45 if [ $(whoami) != "root" ] ; then
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c140 .whoami = INV_MPU6050_WHOAMI_VALUE,
149 .whoami = INV_MPU6500_WHOAMI_VALUE,
158 .whoami = INV_MPU6515_WHOAMI_VALUE,
167 .whoami = INV_MPU6880_WHOAMI_VALUE,
176 .whoami = INV_MPU6000_WHOAMI_VALUE,
185 .whoami = INV_MPU9150_WHOAMI_VALUE,
194 .whoami = INV_MPU9250_WHOAMI_VALUE,
203 .whoami = INV_MPU9255_WHOAMI_VALUE,
212 .whoami = INV_ICM20608_WHOAMI_VALUE,
221 .whoami = INV_ICM20608D_WHOAMI_VALUE,
[all …]
Dinv_mpu_iio.h144 u8 whoami; member
/linux-6.1.9/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()
78 (whoami >> 4) & 0xf, (whoami >> 8) & 0xf, whoami & 0xf); in db1550_board_setup()
Ddb1300.c861 unsigned short whoami; in db1300_board_setup() local
866 whoami = bcsr_read(BCSR_WHOAMI); in db1300_board_setup()
867 if (BCSR_WHOAMI_BOARD(whoami) != BCSR_WHOAMI_DB1300) in db1300_board_setup()
874 BCSR_WHOAMI_BOARD(whoami), BCSR_WHOAMI_CPLD(whoami), in db1300_board_setup()
875 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()
/linux-6.1.9/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.h275 u8 whoami; /* indicates measurement precision */ member
/linux-6.1.9/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()
/linux-6.1.9/scripts/
Dmkcompile_h9 LINUX_COMPILE_BY=$(whoami | sed 's/\\/\\\\/')
/linux-6.1.9/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()
/linux-6.1.9/drivers/iio/proximity/
Dsx9310.c906 unsigned int whoami; in sx9310_check_whoami() local
909 ret = regmap_read(data->regmap, SX9310_REG_WHOAMI, &whoami); in sx9310_check_whoami()
914 if (ddata != whoami) in sx9310_check_whoami()
917 switch (whoami) { in sx9310_check_whoami()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c53 const u32 whoami = T4VF_PL_BASE_ADDR + PL_VF_WHOAMI; in t4vf_wait_dev_ready() local
58 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready()
62 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready()
832 u32 whoami; in t4vf_get_pf_from_vf() local
834 whoami = t4_read_reg(adapter, T4VF_PL_BASE_ADDR + PL_VF_WHOAMI_A); in t4vf_get_pf_from_vf()
836 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami)); in t4vf_get_pf_from_vf()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c5077 u32 whoami = t4_read_reg(adapter, PL_WHOAMI_A); in t4_intr_enable() local
5079 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami); in t4_intr_enable()
5104 u32 whoami, pf; in t4_intr_disable() local
5109 whoami = t4_read_reg(adapter, PL_WHOAMI_A); in t4_intr_disable()
5111 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami); in t4_intr_disable()
8934 u32 whoami; in t4_wait_dev_ready() local
8936 whoami = readl(regs + PL_WHOAMI_A); in t4_wait_dev_ready()
8937 if (whoami != 0xffffffff && whoami != CIM_PF_NOACCESS) in t4_wait_dev_ready()
8941 whoami = readl(regs + PL_WHOAMI_A); in t4_wait_dev_ready()
8942 return (whoami != 0xffffffff && whoami != CIM_PF_NOACCESS ? 0 : -EIO); in t4_wait_dev_ready()
Dcxgb4_main.c6611 u32 whoami; in init_one() local
6645 whoami = t4_read_reg(adapter, PL_WHOAMI_A); in init_one()
6655 SOURCEPF_G(whoami) : T6_SOURCEPF_G(whoami); in init_one()
/linux-6.1.9/Documentation/kbuild/
Dkbuild.rst292 whoami and host, respectively.