Home
last modified time | relevance | path

Searched refs:filt (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.4/tools/perf/util/
Dauxtrace.c1477 static void addr_filter__free_str(struct addr_filter *filt) in addr_filter__free_str() argument
1479 zfree(&filt->str); in addr_filter__free_str()
1480 filt->action = NULL; in addr_filter__free_str()
1481 filt->sym_from = NULL; in addr_filter__free_str()
1482 filt->sym_to = NULL; in addr_filter__free_str()
1483 filt->filename = NULL; in addr_filter__free_str()
1488 struct addr_filter *filt = zalloc(sizeof(*filt)); in addr_filter__new() local
1490 if (filt) in addr_filter__new()
1491 INIT_LIST_HEAD(&filt->list); in addr_filter__new()
1493 return filt; in addr_filter__new()
[all …]
Dintel-pt.c647 struct addr_filter *filt; in intel_pt_match_pgd_ip() local
652 list_for_each_entry(filt, &pt->filts.head, list) { in intel_pt_match_pgd_ip()
653 if (filt->start) in intel_pt_match_pgd_ip()
656 if ((filename && !filt->filename) || in intel_pt_match_pgd_ip()
657 (!filename && filt->filename) || in intel_pt_match_pgd_ip()
658 (filename && strcmp(filename, filt->filename))) in intel_pt_match_pgd_ip()
661 if (!(offset >= filt->addr && offset < filt->addr + filt->size)) in intel_pt_match_pgd_ip()
666 filt->start ? "filter" : "stop", in intel_pt_match_pgd_ip()
667 filt->addr, filt->size); in intel_pt_match_pgd_ip()
669 if (filt->start) in intel_pt_match_pgd_ip()
/Linux-v5.4/net/mac802154/
Ddriver-ops.h143 struct ieee802154_hw_addr_filt filt; in drv_set_pan_id() local
153 filt.pan_id = pan_id; in drv_set_pan_id()
156 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_id()
165 struct ieee802154_hw_addr_filt filt; in drv_set_extended_addr() local
175 filt.ieee_addr = extended_addr; in drv_set_extended_addr()
178 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_extended_addr()
187 struct ieee802154_hw_addr_filt filt; in drv_set_short_addr() local
197 filt.short_addr = short_addr; in drv_set_short_addr()
200 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_short_addr()
209 struct ieee802154_hw_addr_filt filt; in drv_set_pan_coord() local
[all …]
/Linux-v5.4/drivers/video/fbdev/geode/
Dlxfb_ops.c587 uint32_t filt; in lx_save_regs() local
620 filt = par->dc[DC_IRQ_FILT_CTL] | DC_IRQ_FILT_CTL_H_FILT_SEL; in lx_save_regs()
622 write_dc(par, DC_IRQ_FILT_CTL, (filt & 0xffffff00) | i); in lx_save_regs()
628 filt &= ~DC_IRQ_FILT_CTL_H_FILT_SEL; in lx_save_regs()
630 write_dc(par, DC_IRQ_FILT_CTL, (filt & 0xffffff00) | i); in lx_save_regs()
666 uint32_t filt; in lx_restore_display_ctlr() local
714 filt = par->dc[DC_IRQ_FILT_CTL] | DC_IRQ_FILT_CTL_H_FILT_SEL; in lx_restore_display_ctlr()
716 write_dc(par, DC_IRQ_FILT_CTL, (filt & 0xffffff00) | i); in lx_restore_display_ctlr()
722 filt &= ~DC_IRQ_FILT_CTL_H_FILT_SEL; in lx_restore_display_ctlr()
724 write_dc(par, DC_IRQ_FILT_CTL, (filt & 0xffffff00) | i); in lx_restore_display_ctlr()
/Linux-v5.4/drivers/net/wireless/ath/ath5k/
Ddebug.c496 u32 filt = ath5k_hw_get_rx_filter(ah); in read_file_misc() local
501 filt); in read_file_misc()
502 if (filt & AR5K_RX_FILTER_UCAST) in read_file_misc()
504 if (filt & AR5K_RX_FILTER_MCAST) in read_file_misc()
506 if (filt & AR5K_RX_FILTER_BCAST) in read_file_misc()
508 if (filt & AR5K_RX_FILTER_CONTROL) in read_file_misc()
510 if (filt & AR5K_RX_FILTER_BEACON) in read_file_misc()
512 if (filt & AR5K_RX_FILTER_PROM) in read_file_misc()
514 if (filt & AR5K_RX_FILTER_XRPOLL) in read_file_misc()
516 if (filt & AR5K_RX_FILTER_PROBEREQ) in read_file_misc()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-imx-lpi2c.c209 u8 prescale, filt, sethold, clkhi, clklo, datavd; in lpi2c_imx_config() local
218 filt = 0; in lpi2c_imx_config()
220 filt = 2; in lpi2c_imx_config()
224 - 3 - (filt >> 1); in lpi2c_imx_config()
247 temp = (filt << 16) | (filt << 24); in lpi2c_imx_config()
Di2c-img-scb.c1156 unsigned int i, data, prescale, inc, int_bitrate, filt; in img_i2c_init() local
1216 filt = SCB_FILT_DISABLE; in img_i2c_init()
1218 filt = SCB_FILT_BYPASS; in img_i2c_init()
1221 filt = (64000 / ((clk_khz / 1000) * SCB_FILT_GLITCH)); in img_i2c_init()
1227 if (filt > SCB_FILT_INC_MASK) in img_i2c_init()
1228 filt = SCB_FILT_INC_MASK; in img_i2c_init()
1230 filt = (filt & SCB_FILT_INC_MASK) << SCB_FILT_INC_SHIFT; in img_i2c_init()
1232 data = filt | ((inc & SCB_INC_MASK) << SCB_INC_SHIFT) | (prescale - 1); in img_i2c_init()
/Linux-v5.4/drivers/net/ieee802154/
Dmrf24j40.c665 struct ieee802154_hw_addr_filt *filt, in mrf24j40_filter() argument
676 addrh = le16_to_cpu(filt->short_addr) >> 8 & 0xff; in mrf24j40_filter()
677 addrl = le16_to_cpu(filt->short_addr) & 0xff; in mrf24j40_filter()
682 "Set short addr to %04hx\n", filt->short_addr); in mrf24j40_filter()
689 memcpy(addr, &filt->ieee_addr, 8); in mrf24j40_filter()
706 panidh = le16_to_cpu(filt->pan_id) >> 8 & 0xff; in mrf24j40_filter()
707 panidl = le16_to_cpu(filt->pan_id) & 0xff; in mrf24j40_filter()
711 dev_dbg(printdev(devrec), "Set PANID to %04hx\n", filt->pan_id); in mrf24j40_filter()
719 if (filt->pan_coord) in mrf24j40_filter()
733 filt->pan_coord ? "on" : "off"); in mrf24j40_filter()
Dcc2520.c653 struct ieee802154_hw_addr_filt *filt, unsigned long changed) in cc2520_filter() argument
659 u16 panid = le16_to_cpu(filt->pan_id); in cc2520_filter()
670 sizeof(filt->ieee_addr), in cc2520_filter()
671 (u8 *)&filt->ieee_addr); in cc2520_filter()
675 u16 addr = le16_to_cpu(filt->short_addr); in cc2520_filter()
690 if (filt->pan_coord) in cc2520_filter()
Dmcr20a.c566 struct ieee802154_hw_addr_filt *filt, in mcr20a_set_hw_addr_filt() argument
574 u16 addr = le16_to_cpu(filt->short_addr); in mcr20a_set_hw_addr_filt()
581 u16 pan = le16_to_cpu(filt->pan_id); in mcr20a_set_hw_addr_filt()
590 memcpy(addr, &filt->ieee_addr, 8); in mcr20a_set_hw_addr_filt()
597 if (filt->pan_coord) { in mcr20a_set_hw_addr_filt()
Datusb.c409 struct ieee802154_hw_addr_filt *filt, in atusb_set_hw_addr_filt() argument
416 u16 addr = le16_to_cpu(filt->short_addr); in atusb_set_hw_addr_filt()
424 u16 pan = le16_to_cpu(filt->pan_id); in atusb_set_hw_addr_filt()
434 memcpy(addr, &filt->ieee_addr, IEEE802154_EXTENDED_ADDR_LEN); in atusb_set_hw_addr_filt()
442 if (filt->pan_coord) in atusb_set_hw_addr_filt()
Dadf7242.c747 struct ieee802154_hw_addr_filt *filt, in adf7242_set_hw_addr_filt() argument
760 memcpy(addr, &filt->ieee_addr, 8); in adf7242_set_hw_addr_filt()
767 u16 saddr = le16_to_cpu(filt->short_addr); in adf7242_set_hw_addr_filt()
774 u16 pan_id = le16_to_cpu(filt->pan_id); in adf7242_set_hw_addr_filt()
782 if (filt->pan_coord) in adf7242_set_hw_addr_filt()
Dat86rf230.c1108 struct ieee802154_hw_addr_filt *filt, in at86rf230_set_hw_addr_filt() argument
1114 u16 addr = le16_to_cpu(filt->short_addr); in at86rf230_set_hw_addr_filt()
1122 u16 pan = le16_to_cpu(filt->pan_id); in at86rf230_set_hw_addr_filt()
1132 memcpy(addr, &filt->ieee_addr, 8); in at86rf230_set_hw_addr_filt()
1140 if (filt->pan_coord) in at86rf230_set_hw_addr_filt()
Dca8210.c2130 struct ieee802154_hw_addr_filt *filt, in ca8210_set_hw_addr_filt() argument
2142 &filt->pan_id, priv->spi in ca8210_set_hw_addr_filt()
2158 &filt->short_addr, priv->spi in ca8210_set_hw_addr_filt()
2174 &filt->ieee_addr, in ca8210_set_hw_addr_filt()
/Linux-v5.4/tools/perf/
Dbuiltin-timechart.c1306 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter() local
1308 if (!filt) in add_process_filter()
1311 filt->name = strdup(string); in add_process_filter()
1312 filt->pid = pid; in add_process_filter()
1313 filt->next = process_filter; in add_process_filter()
1315 process_filter = filt; in add_process_filter()
1320 struct process_filter *filt; in passes_filter() local
1324 filt = process_filter; in passes_filter()
1325 while (filt) { in passes_filter()
1326 if (filt->pid && p->pid == filt->pid) in passes_filter()
[all …]
/Linux-v5.4/include/linux/mfd/
Dadp5520.h110 #define ALS_CMPR_CFG_VAL(filt, l3_en) (((0x7 & filt) << 5) | l3_en) argument
/Linux-v5.4/drivers/clk/mxs/
Dclk-imx23.c85 clk32k, dri, pwm, filt, uart, ssp, gpmi, spdif, emi, saif, enumerator
143 clks[filt] = mxs_clk_gate("filt", "ref_xtal", XTAL, 30); in mx23_clocks_init()
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dimx23-clock.txt45 filt 31
/Linux-v5.4/include/net/
Dmac802154.h220 struct ieee802154_hw_addr_filt *filt,
/Linux-v5.4/Documentation/networking/
Dj1939.rst337 const struct j1939_filter filt[] = {
350 setsockopt(sock, SOL_CAN_J1939, SO_J1939_FILTER, &filt, sizeof(filt));
/Linux-v5.4/drivers/video/backlight/
Dadp8860_bl.c88 #define ALS_CCFG_VAL(filt) ((0x7 & filt) << 5) argument
Dadp8870_bl.c105 #define ALS_CMPR_CFG_VAL(filt) ((0x7 & (filt)) << 1) argument
/Linux-v5.4/drivers/net/wireless/broadcom/b43/
Dphy_n.c2720 u16 bias, conv, filt; in b43_nphy_workarounds_rev7plus() local
2967 filt = 0xaa; in b43_nphy_workarounds_rev7plus()
2971 filt = 0xee; in b43_nphy_workarounds_rev7plus()
2978 b43_radio_write(dev, 0x66, filt); in b43_nphy_workarounds_rev7plus()
2982 b43_radio_write(dev, 0xEB, filt); in b43_nphy_workarounds_rev7plus()