Home
last modified time | relevance | path

Searched refs:addroff (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/pci/controller/
H A Dpci-loongson.c193 unsigned long addroff = 0x0; in cfg0_map() local
197 addroff |= BIT(24); /* Type 1 Access */ in cfg0_map()
198 addroff |= (busnum << 16); in cfg0_map()
200 addroff |= (devfn << 8) | where; in cfg0_map()
201 return priv->cfg0_base + addroff; in cfg0_map()
207 unsigned long addroff = 0x0; in cfg1_map() local
211 addroff |= BIT(28); /* Type 1 Access */ in cfg1_map()
212 addroff |= (busnum << 16); in cfg1_map()
214 addroff |= (devfn << 8) | (where & 0xff) | ((where & 0xf00) << 16); in cfg1_map()
215 return priv->cfg1_base + addroff; in cfg1_map()
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_nat_h323.c25 unsigned int addroff, __be32 ip, __be16 port) in set_addr() argument
38 addroff += dataoff; in set_addr()
42 protoff, addroff, sizeof(buf), in set_addr()
56 protoff, addroff, sizeof(buf), in set_addr()