Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 10 of 10) sorted by relevance

/drivers/misc/lkdtm/
Drefcount.c147 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_NEGATIVE() local
150 refcount_dec(&neg); in lkdtm_REFCOUNT_DEC_NEGATIVE()
152 check_negative(&neg, 0); in lkdtm_REFCOUNT_DEC_NEGATIVE()
161 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE() local
164 if (refcount_dec_and_test(&neg)) in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE()
167 check_negative(&neg, 0); in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE()
176 refcount_t neg = REFCOUNT_INIT(3); in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE() local
179 if (refcount_sub_and_test(5, &neg)) in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE()
182 check_negative(&neg, 3); in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE()
/drivers/power/supply/
D88pm860x_battery.c113 unsigned long long neg; member
289 ccnt->neg += sum; in calc_ccnt()
305 ccnt->total_dischg = (int) ((ccnt->neg * 18236) >> 40); in calc_ccnt()
/drivers/comedi/drivers/
Djr3_pci.h267 neg enumerator
/drivers/auxdisplay/
Dpanel.c1389 int in, out, bit, neg; in input_name2mask() local
1397 neg = (in & 1); /* odd (lower) names are negated */ in input_name2mask()
1414 if (!neg) in input_name2mask()
/drivers/net/wireless/realtek/rtw88/
Dmain.h1699 u32 neg:1; member
1703 u32 neg:1;
Dphy.c1054 } else if (p->cond.neg) { in rtw_parse_tbl_phy_cond()
/drivers/usb/gadget/function/
Df_fs.c2758 int neg = 0; in __ffs_event_add() local
2795 neg = 1; in __ffs_event_add()
2807 if ((*ev == rem_type1 || *ev == rem_type2) == neg) in __ffs_event_add()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c2319 bool neg = false; in wlc_lcnphy_tempcompensated_txpwrctrl() local
2342 neg = true; in wlc_lcnphy_tempcompensated_txpwrctrl()
2350 if (neg) in wlc_lcnphy_tempcompensated_txpwrctrl()
/drivers/net/ethernet/sun/
Dniu.c1159 int neg, neg1000; in link_status_mii() local
1164 neg = advert & lpa; in link_status_mii()
1169 else if (neg & LPA_100) in link_status_mii()
1171 else if (neg & (LPA_10HALF | LPA_10FULL)) in link_status_mii()
1176 if ((neg1000 & LPA_1000FULL) || (neg & LPA_DUPLEX)) in link_status_mii()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c3011 u8 neg = 0; in bnx2x_eee_an_resolve() local
3020 neg = 1; in bnx2x_eee_an_resolve()
3028 neg = 1; in bnx2x_eee_an_resolve()
3036 neg = 1; in bnx2x_eee_an_resolve()
3044 if (neg) { in bnx2x_eee_an_resolve()