Home
last modified time | relevance | path

Searched refs:oldvalue (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/samples/mic/mpssd/
Dsysfs.c60 char *oldvalue; in setsysfs() local
69 oldvalue = readsysfs(dir, entry); in setsysfs()
79 if (!oldvalue || strcmp(value, oldvalue)) { in setsysfs()
88 if (oldvalue) in setsysfs()
89 free(oldvalue); in setsysfs()
/Linux-v5.4/drivers/media/usb/go7007/
Ds2250-board.c367 u16 oldvalue; in s2250_s_ctrl() local
371 read_reg_fp(client, VPX322_ADDR_BRIGHTNESS0, &oldvalue); in s2250_s_ctrl()
373 ctrl->val | (oldvalue & ~0xff)); in s2250_s_ctrl()
374 read_reg_fp(client, VPX322_ADDR_BRIGHTNESS1, &oldvalue); in s2250_s_ctrl()
376 ctrl->val | (oldvalue & ~0xff)); in s2250_s_ctrl()
380 read_reg_fp(client, VPX322_ADDR_CONTRAST0, &oldvalue); in s2250_s_ctrl()
382 ctrl->val | (oldvalue & ~0x3f)); in s2250_s_ctrl()
383 read_reg_fp(client, VPX322_ADDR_CONTRAST1, &oldvalue); in s2250_s_ctrl()
385 ctrl->val | (oldvalue & ~0x3f)); in s2250_s_ctrl()
/Linux-v5.4/drivers/staging/rtl8712/
Dxmit_linux.c98 u8 oldvalue = 0x00, newvalue = 0x00; in r8712_SetFilter() local
101 oldvalue = r8712_read8(adapter, 0x117); in r8712_SetFilter()
102 newvalue = oldvalue & 0xfe; in r8712_SetFilter()
111 r8712_write8(adapter, 0x117, oldvalue); in r8712_SetFilter()
/Linux-v5.4/arch/x86/kernel/apic/
Dapic.c1472 unsigned int oldvalue, value, maxlvt; in lapic_setup_esr() local
1493 oldvalue = apic_read(APIC_ESR); in lapic_setup_esr()
1505 if (value != oldvalue) in lapic_setup_esr()
1508 oldvalue, value); in lapic_setup_esr()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c477 u32 oldvalue = get_unaligned((u32 *)p_exact); in nfp_fl_set_helper32() local
481 value |= oldvalue & ~mask; in nfp_fl_set_helper32()
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic79xx_core.c693 u_int oldvalue; in ahd_get_snscb_qoff() local
696 oldvalue = ahd_inw(ahd, SNSCB_QOFF); in ahd_get_snscb_qoff()
697 ahd_outw(ahd, SNSCB_QOFF, oldvalue); in ahd_get_snscb_qoff()
698 return (oldvalue); in ahd_get_snscb_qoff()