/linux/drivers/mfd/ |
A D | ezx-pcap.c | 150 pcap->msr |= 1 << irq_to_pcap(pcap, d->irq); in pcap_mask_irq() 151 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_mask_irq() 158 pcap->msr &= ~(1 << irq_to_pcap(pcap, d->irq)); in pcap_unmask_irq() 159 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_unmask_irq() 173 ezx_pcap_write(pcap, PCAP_REG_MSR, pcap->msr); in pcap_msr_work() 203 ezx_pcap_write(pcap, PCAP_REG_MSR, pcap->msr); in pcap_isr_work() 212 queue_work(pcap->workqueue, &pcap->isr_work); in pcap_irq_handler() 274 req = pcap->adc_queue[pcap->adc_head]; in pcap_adc_irq() 291 pcap->adc_queue[pcap->adc_head] = NULL; in pcap_adc_irq() 324 if (pcap->adc_queue[pcap->adc_tail]) { in pcap_adc_async() [all …]
|
/linux/drivers/rtc/ |
A D | rtc-pcap.c | 20 struct pcap_chip *pcap; member 29 if (irq == pcap_to_irq(pcap_rtc->pcap, PCAP_IRQ_1HZ)) 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() 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() 111 enable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); in pcap_rtc_irq_enable() 113 disable_irq(pcap_to_irq(pcap_rtc->pcap, pirq)); in pcap_rtc_irq_enable() [all …]
|
A D | Makefile | 118 obj-$(CONFIG_RTC_DRV_PCAP) += rtc-pcap.o
|
/linux/arch/um/drivers/ |
A D | pcap_user.c | 31 pri->pcap = p; in pcap_user_init() 41 if (pri->pcap == NULL) in pcap_user_open() 58 err = pcap_compile(pri->pcap, in pcap_user_open() 63 "'%s'\n", pcap_geterr(pri->pcap)); in pcap_user_open() 67 err = pcap_setfilter(pri->pcap, pri->compiled); in pcap_user_open() 70 "failed - '%s'\n", pcap_geterr(pri->pcap)); in pcap_user_open() 75 return PCAP_FD(pri->pcap); in pcap_user_open() 89 if (pri->pcap != NULL) in pcap_remove() 90 pcap_close(pri->pcap); in pcap_remove() 117 n = pcap_dispatch(pri->pcap, 1, handler, (u_char *) &hdata); in pcap_user_read() [all …]
|
A D | Makefile | 28 $(obj)/pcap.o: $(obj)/pcap_kern.o $(obj)/pcap_user.o 51 obj-$(CONFIG_UML_NET_PCAP) += pcap.o
|
A D | pcap_user.h | 14 void *pcap; member
|
A D | Kconfig | 295 bool "pcap transport (obsolete)" 299 The pcap transport makes a pcap packet stream on the host look 302 installed in order to build the pcap transport into UML.
|
/linux/drivers/input/misc/ |
A D | pcap_keys.c | 18 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/tools/testing/selftests/net/ |
A D | drop_monitor_tests.sh | 79 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 80 (( $(tshark -r ${dir}/packets.pcap \ 84 rm ${dir}/packets.pcap 87 timeout 5 dwdump -o sw -w ${dir}/packets.pcap 88 (( $(tshark -r ${dir}/packets.pcap \ 107 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 108 (( $(tshark -r ${dir}/packets.pcap \ 113 rm ${dir}/packets.pcap 116 timeout 5 dwdump -o hw -w ${dir}/packets.pcap 117 (( $(tshark -r ${dir}/packets.pcap \
|
/linux/drivers/regulator/ |
A D | pcap-regulator.c | 145 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 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() 234 void *pcap = dev_get_drvdata(pdev->dev.parent); in pcap_regulator_probe() local [all …]
|
A D | Makefile | 118 obj-$(CONFIG_REGULATOR_PCAP) += pcap-regulator.o
|
/linux/drivers/input/touchscreen/ |
A D | pcap_ts.c | 21 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() 219 pcap_set_ts_bits(pcap_ts->pcap, PCAP_ADC_TS_REF_LOWPWR); in pcap_ts_suspend() 227 pcap_set_ts_bits(pcap_ts->pcap, in pcap_ts_resume()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-powercap.c | 25 static struct pcap { struct 36 u32 pcap; in powercap_show() argument 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/Documentation/devicetree/bindings/fpga/ |
A D | xlnx,zynqmp-pcap-fpga.yaml | 4 $id: http://devicetree.org/schemas/fpga/xlnx,zynqmp-pcap-fpga.yaml# 20 const: xlnx,zynqmp-pcap-fpga 31 zynqmp_pcap: pcap { 32 compatible = "xlnx,zynqmp-pcap-fpga";
|
/linux/tools/testing/selftests/net/mptcp/ |
A D | .gitignore | 5 *.pcap
|
A D | Makefile | 15 EXTRA_CLEAN := *.pcap
|
/linux/Documentation/devicetree/bindings/clock/ |
A D | zynq-7000.txt | 53 12: pcap 98 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
|
/linux/Documentation/devicetree/bindings/nvmem/ |
A D | xlnx,zynqmp-nvmem.txt | 39 pcap {
|
/linux/drivers/clk/zynq/ |
A D | clkc.c | 53 lqspi, smc, pcap, gem0, gem1, fclk0, fclk1, fclk2, fclk3, can0, can1, enumerator 363 zynq_clk_register_periph_clk(pcap, 0, clk_output_name[pcap], NULL, in zynq_clk_setup()
|
/linux/drivers/hwmon/ |
A D | ibmaem.c | 167 u16 pcap[AEM2_NUM_PCAP_REGS]; member 470 &data->pcap[i], 2); in update_aem2_sensors() 985 return sprintf(buf, "%u\n", a->pcap[attr->index] * 100000); in aem2_show_pcap_value()
|
/linux/Documentation/networking/ |
A D | snmp_counter.rst | 1659 nstatuser@nstat-a:~$ sudo tcpdump -c 1 -w /tmp/syn.pcap port 9000 1669 offload for the TCP checksum, so the checksum in the /tmp/syn.pcap 1672 nstatuser@nstat-a:~$ tcprewrite --infile=/tmp/syn.pcap --outfile=/tmp/syn_fixcsum.pcap --fixcsum 1686 nstatuser@nstat-a:~$ for i in {1..3}; do sudo tcpreplay -i ens3 /tmp/syn_fixcsum.pcap; done 1706 nstatuser@nstat-a:~$ sudo tcpdump -w /tmp/paws_pre.pcap -c 1 port 9000 1717 nstatuser@nstat-a:~$ tcprewrite --infile /tmp/paws_pre.pcap --outfile /tmp/paws.pcap --fixcsum 1721 nstatuser@nstat-a:~$ for i in {1..2}; do sudo tcpreplay -i ens3 /tmp/paws.pcap; done 1762 nstatuser@nstat-a:~$ sudo tcpdump -w /tmp/seq_pre.pcap -c 1 dst port 9001 1784 …nstatuser@nstat-a:~$ tcprewrite --infile /tmp/seq_pre.pcap --outfile /tmp/seq.pcap -r 9001:9000 -r… 1786 Now the /tmp/seq.pcap is the packet we need. Send it to nstat-b:: [all …]
|
A D | filter.rst | 390 for testing BPF filters against given pcap files, single stepping through the 391 BPF code on the pcap's packets and to do BPF machine register dumps. 416 * load pcap foo.pcap 418 Loads standard tcpdump pcap file. 423 Runs through all packets from a pcap to account how many passes and fails 460 will walk through the pcap file continuing from the current packet and 473 -- packet dump -- <-- Current packet from pcap (hex) 496 Selects a given packet from the pcap file to continue from. Thus, on
|
/linux/arch/powerpc/include/asm/ |
A D | opal.h | 290 int opal_get_powercap(u32 handle, int token, u32 *pcap); 291 int opal_set_powercap(u32 handle, int token, u32 pcap);
|
/linux/tools/testing/nvdimm/test/ |
A D | nfit.c | 2000 struct acpi_nfit_capabilities *pcap; in nfit_test0_setup() local 2541 pcap = nfit_buf + offset; in nfit_test0_setup() 2542 pcap->header.type = ACPI_NFIT_TYPE_CAPABILITIES; in nfit_test0_setup() 2543 pcap->header.length = sizeof(*pcap); in nfit_test0_setup() 2544 pcap->highest_capability = 1; in nfit_test0_setup() 2545 pcap->capabilities = ACPI_NFIT_CAPABILITY_MEM_FLUSH; in nfit_test0_setup() 2546 offset += pcap->header.length; in nfit_test0_setup()
|
/linux/drivers/scsi/csiostor/ |
A D | csio_hw.h | 325 uint16_t pcap; member
|