Home
last modified time | relevance | path

Searched refs:pcap (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/rtc/
H A Drtc-pcap.c20 struct pcap_chip *pcap; member
29 if (irq == pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_1HZ)) in pcap_rtc_irq()
31 else if (irq == pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_TODA)) in pcap_rtc_irq()
48 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TODA, &tod); in pcap_rtc_read_alarm()
51 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, &days); in pcap_rtc_read_alarm()
66 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TODA, tod); in pcap_rtc_set_alarm()
69 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, days); in pcap_rtc_set_alarm()
80 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_TOD, &tod); in pcap_rtc_read_time()
83 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAY, &days); in pcap_rtc_read_time()
98 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_TOD, tod); in pcap_rtc_set_time()
[all …]
H A DMakefile131 obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o
/linux/drivers/input/misc/
H A Dpcap_keys.c18 struct pcap_chip *pcap; member
26 int pirq = irq_to_pcap(pcap_keys->pcap, irq); in pcap_keys_handler()
29 ezx_pcap_read(pcap_keys->pcap, PCAP_REG_PSTAT, &pstat); in pcap_keys_handler()
56 pcap_keys->pcap = dev_get_drvdata(pdev->dev.parent); in pcap_keys_probe()
78 err = request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF), in pcap_keys_probe()
83 err = request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_MIC), in pcap_keys_probe()
91 free_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF), pcap_keys); in pcap_keys_probe()
106 free_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF), pcap_keys); in pcap_keys_remove()
107 free_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_MIC), pcap_keys); in pcap_keys_remove()
/linux/drivers/regulator/
H A Dpcap-regulator.c145 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_set_voltage_sel() local
151 return ezx_pcap_set_bits(pcap, vreg->reg, in pcap_regulator_set_voltage_sel()
159 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_get_voltage_sel() local
165 ezx_pcap_read(pcap, vreg->reg, &tmp); in pcap_regulator_get_voltage_sel()
173 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_enable() local
178 return ezx_pcap_set_bits(pcap, vreg->reg, 1 << vreg->en, 1 << vreg->en); in pcap_regulator_enable()
184 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_disable() local
189 return ezx_pcap_set_bits(pcap, vreg->reg, 1 << vreg->en, 0); in pcap_regulator_disable()
195 void *pcap = rdev_get_drvdata(rdev); in pcap_regulator_is_enabled() local
201 ezx_pcap_read(pcap, vreg->reg, &tmp); in pcap_regulator_is_enabled()
[all …]
/linux/drivers/input/touchscreen/
H A Dpcap_ts.c21 struct pcap_chip *pcap; member
90 pcap_set_ts_bits(pcap_ts->pcap, in pcap_ts_work()
99 pcap_adc_async(pcap_ts->pcap, PCAP_ADC_BANK_1, 0, ch, in pcap_ts_work()
131 pcap_set_ts_bits(pcap_ts->pcap, in pcap_ts_close()
145 pcap_ts->pcap = dev_get_drvdata(pdev->dev.parent); in pcap_ts_probe()
155 pcap_set_ts_bits(pcap_ts->pcap, in pcap_ts_probe()
182 err = request_irq(pcap_to_irq(pcap_ts->pcap, PCAP_IRQ_TS), in pcap_ts_probe()
204 free_irq(pcap_to_irq(pcap_ts->pcap, PCAP_IRQ_TS), pcap_ts); in pcap_ts_remove()
217 pcap_set_ts_bits(pcap_ts->pcap, PCAP_ADC_TS_REF_LOWPWR); in pcap_ts_suspend()
225 pcap_set_ts_bits(pcap_ts->pcap, in pcap_ts_resume()
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c33 /* Prevent pcap.h from including pcap/bpf.h and causing conflicts */
35 #include <pcap/pcap.h>
36 #include <pcap/dlt.h>
821 pcap_t *pcap; in show_transport()
1010 pcap_t *pcap = ctx->pcap; in traffic_monitor_prepare_pcap()
1028 log_err("Fail to select on pcap fd and wake fd"); in traffic_monitor_prepare_pcap()
1032 /* This instance of pcap i in traffic_monitor_prepare_pcap()
754 pcap_t *pcap; global() member
920 pcap_t *pcap = ctx->pcap; traffic_monitor_thread() local
1004 pcap_t *pcap; traffic_monitor_prepare_pcap() local
[all...]
/linux/arch/powerpc/platforms/powernv/
H A Dopal-powercap.c25 static struct pcap { struct
36 u32 pcap; in powercap_show() local
49 ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap)); in powercap_show()
60 ret = sprintf(buf, "%u\n", be32_to_cpu(pcap)); in powercap_show()
66 ret = sprintf(buf, "%u\n", be32_to_cpu(pcap)); in powercap_show()
88 u32 pcap; in powercap_store() local
91 ret = kstrtoint(buf, 0, &pcap); in powercap_store()
105 ret = opal_set_powercap(pcap_attr->handle, token, pcap); in powercap_store()
/linux/tools/testing/selftests/net/rds/
H A Dtest.py123 pcap = logdir+'/'+net+'.pcap' variable
124 subprocess.check_call(['touch', pcap])
125 user = getpwuid(stat(pcap).st_uid).pw_name
/linux/Documentation/devicetree/bindings/clock/
H A Dzynq-7000.txt53 12: pcap
98 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
/linux/tools/testing/selftests/net/mptcp/
H A DMakefile35 EXTRA_CLEAN := *.pcap
/linux/Documentation/networking/
H A Dfilter.rst397 for testing BPF filters against given pcap files, single stepping through the
398 BPF code on the pcap's packets and to do BPF machine register dumps.
423 * load pcap foo.pcap
425 Loads standard tcpdump pcap file.
430 Runs through all packets from a pcap to account how many passes and fails
467 will walk through the pcap file continuing from the current packet and
480 -- packet dump -- <-- Current packet from pcap (hex)
503 Selects a given packet from the pcap file to continue from. Thus, on
H A Dsnmp_counter.rst1655 nstatuser@nstat-a:~$ sudo tcpdump -c 1 -w /tmp/syn.pcap port 9000
1665 offload for the TCP checksum, so the checksum in the /tmp/syn.pcap
1668 nstatuser@nstat-a:~$ tcprewrite --infile=/tmp/syn.pcap --outfile=/tmp/syn_fixcsum.pcap --fixcsum
1682 nstatuser@nstat-a:~$ for i in {1..3}; do sudo tcpreplay -i ens3 /tmp/syn_fixcsum.pcap; done
1702 nstatuser@nstat-a:~$ sudo tcpdump -w /tmp/paws_pre.pcap -c 1 port 9000
1713 nstatuser@nstat-a:~$ tcprewrite --infile /tmp/paws_pre.pcap --outfile /tmp/paws.pcap --fixcsum
1717 nstatuser@nstat-a:~$ for i in {1..2}; do sudo tcpreplay -i ens3 /tmp/paws.pcap; done
1758 nstatuser@nstat-a:~$ sudo tcpdump -w /tmp/seq_pre.pcap -c 1 dst port 9001
1780 …nstatuser@nstat-a:~$ tcprewrite --infile /tmp/seq_pre.pcap --outfile /tmp/seq.pcap -r 9001:9000 -r…
1782 Now the /tmp/seq.pcap is the packet we need. Send it to nstat-b::
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-zynqmp-fpga1 What: /sys/bus/platform/drivers/zynqmp_fpga_manager/firmware:zynqmp-firmware:pcap/status
/linux/drivers/clk/zynq/
H A Dclkc.c54 lqspi, smc, pcap, gem0, gem1, fclk0, fclk1, fclk2, fclk3, can0, can1, enumerator
365 zynq_clk_register_periph_clk(pcap, clk_max, clk_output_name[pcap], NULL, in zynq_clk_setup()
/linux/drivers/iommu/intel/
H A Dperfmon.c618 u64 pcap; in alloc_iommu_pmu() local
620 pcap = dmar_readq(iommu->reg + DMAR_PERFEVNTCAP_REG + in alloc_iommu_pmu()
622 iommu_pmu->evcap[i] = pecap_es(pcap); in alloc_iommu_pmu()
/linux/arch/powerpc/include/asm/
H A Dopal.h287 int opal_get_powercap(u32 handle, int token, u32 *pcap);
288 int opal_set_powercap(u32 handle, int token, u32 pcap);
/linux/tools/testing/nvdimm/test/
H A Dnfit.c2005 struct acpi_nfit_capabilities *pcap; in nfit_test0_setup() local
2546 pcap = nfit_buf + offset; in nfit_test0_setup()
2547 pcap->header.type = ACPI_NFIT_TYPE_CAPABILITIES; in nfit_test0_setup()
2548 pcap->header.length = sizeof(*pcap); in nfit_test0_setup()
2549 pcap->highest_capability = 1; in nfit_test0_setup()
2550 pcap->capabilities = ACPI_NFIT_CAPABILITY_MEM_FLUSH; in nfit_test0_setup()
2551 offset += pcap->header.length; in nfit_test0_setup()
/linux/drivers/scsi/csiostor/
H A Dcsio_hw.h325 uint16_t pcap; member
H A Dcsio_mb.c395 *pcaps = fwcaps16_to_caps32(ntohs(rsp->u.info.pcap)); in csio_mb_process_read_port_rsp()
/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-7000.dtsi348 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c571 pcaps = fwcaps16_to_caps32(be16_to_cpu(port_rpl.u.info.pcap)); in t4vf_port_init()
1934 pcaps = fwcaps16_to_caps32(be16_to_cpu(cmd->u.info.pcap)); in t4vf_handle_get_port_info()
/linux/tools/testing/selftests/wireguard/qemu/
H A DMakefile442 cd $(NMAP_PATH) && ./configure --prefix=/ $(CROSS_COMPILE_FLAG) --enable-static --disable-shared --without-ndiff --without-zenmap --without-nping --with-libpcap=included --with-libpcre=included --with-libdnet=included --without-liblua --with-liblinear=included --without-nmap-update --without-openssl --with-pcap=linux --without-libssh
/linux/drivers/acpi/nfit/
H A Dcore.c939 struct acpi_nfit_capabilities *pcap) in add_platform_cap() argument
944 mask = (1 << (pcap->highest_capability + 1)) - 1; in add_platform_cap()
945 acpi_desc->platform_cap = pcap->capabilities & mask; in add_platform_cap()
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c5895 static __le16 ath11k_mac_setup_he_6ghz_cap(struct ath11k_pdev_cap *pcap, in ath11k_mac_setup_he_6ghz_cap() argument
5910 pcap->vht_cap); in ath11k_mac_setup_he_6ghz_cap()
5913 val = FIELD_GET(IEEE80211_VHT_CAP_MAX_MPDU_MASK, pcap->vht_cap); in ath11k_mac_setup_he_6ghz_cap()
5916 if (pcap->vht_cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN) in ath11k_mac_setup_he_6ghz_cap()
5918 if (pcap->vht_cap & IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN) in ath11k_mac_setup_he_6ghz_cap()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c8183 static __le16 ath12k_mac_setup_he_6ghz_cap(struct ath12k_pdev_cap *pcap, in ath12k_mac_setup_he_6ghz_cap() argument
8197 val = u32_get_bits(pcap->vht_cap, in ath12k_mac_setup_he_6ghz_cap()
8201 val = u32_get_bits(pcap->vht_cap, in ath12k_mac_setup_he_6ghz_cap()
8205 if (pcap->vht_cap & IEEE80211_VHT_CAP_RX_ANTENNA_PATTERN) in ath12k_mac_setup_he_6ghz_cap()
8207 if (pcap->vht_cap & IEEE80211_VHT_CAP_TX_ANTENNA_PATTERN) in ath12k_mac_setup_he_6ghz_cap()

12