Searched refs:tgi (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpio/ |
D | gpio-tegra.c | 30 #define GPIO_REG(tgi, x) (GPIO_BANK(x) * tgi->soc->bank_stride + \ argument 76 struct tegra_gpio_info *tgi; member 96 static inline void tegra_gpio_writel(struct tegra_gpio_info *tgi, in tegra_gpio_writel() argument 99 writel_relaxed(val, tgi->regs + reg); in tegra_gpio_writel() 102 static inline u32 tegra_gpio_readl(struct tegra_gpio_info *tgi, u32 reg) in tegra_gpio_readl() argument 104 return readl_relaxed(tgi->regs + reg); in tegra_gpio_readl() 113 static void tegra_gpio_mask_write(struct tegra_gpio_info *tgi, u32 reg, in tegra_gpio_mask_write() argument 121 tegra_gpio_writel(tgi, val, reg); in tegra_gpio_mask_write() 124 static void tegra_gpio_enable(struct tegra_gpio_info *tgi, unsigned int gpio) in tegra_gpio_enable() argument 126 tegra_gpio_mask_write(tgi, GPIO_MSK_CNF(tgi, gpio), gpio, 1); in tegra_gpio_enable() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_TPROXY.c | 95 const struct xt_tproxy_target_info *tgi = par->targinfo; in tproxy_tg4_v0() local 97 return tproxy_tg4(xt_net(par), skb, tgi->laddr, tgi->lport, in tproxy_tg4_v0() 98 tgi->mark_mask, tgi->mark_value); in tproxy_tg4_v0() 104 const struct xt_tproxy_target_info_v1 *tgi = par->targinfo; in tproxy_tg4_v1() local 106 return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport, in tproxy_tg4_v1() 107 tgi->mark_mask, tgi->mark_value); in tproxy_tg4_v1() 116 const struct xt_tproxy_target_info_v1 *tgi = par->targinfo; in tproxy_tg6_v1() local 145 laddr = nf_tproxy_laddr6(skb, &tgi->laddr.in6, &iph->daddr); in tproxy_tg6_v1() 146 lport = tgi->lport ? tgi->lport : hp->dest; in tproxy_tg6_v1() 150 const struct xt_tproxy_target_info_v1 *tgi = par->targinfo; in tproxy_tg6_v1() local [all …]
|