| /linux/drivers/md/ |
| H A D | dm-snap-persistent.c | 170 static int alloc_area(struct pstore *ps) in alloc_area() argument 175 len = ps->store->chunk_size << SECTOR_SHIFT; in alloc_area() 181 ps->area = vmalloc(len); in alloc_area() 182 if (!ps->area) in alloc_area() 185 ps->zero_area = vzalloc(len); in alloc_area() 186 if (!ps->zero_area) in alloc_area() 189 ps->header_area = vmalloc(len); in alloc_area() 190 if (!ps->header_area) in alloc_area() 196 vfree(ps->zero_area); in alloc_area() 199 vfree(ps->area); in alloc_area() [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | micrel,gigabit.yaml | 92 '^([rt]xd[0-3]|[rt]xc|rxdv|txen)-skew-ps$': 95 The actual increment on the chip is 120ps ranging from -840ps to 96 960ps, this mismatch comes from a documentation error before 102 0 -840ps 103 200 -720ps 104 400 -600ps 105 600 -480ps 106 800 -360ps 107 1000 -240ps 108 1200 -120ps [all …]
|
| /linux/drivers/pmdomain/apple/ |
| H A D | pmgr-pwrstate.c | 55 struct apple_pmgr_ps *ps = genpd_to_apple_pmgr_ps(genpd); in apple_pmgr_ps_set() local 58 ret = regmap_read(ps->regmap, ps->offset, ®); in apple_pmgr_ps_set() 64 dev_err(ps->dev, "PS %s: powering off with RESET active\n", in apple_pmgr_ps_set() 70 dev_dbg(ps->dev, "PS %s: pwrstate = 0x%x: 0x%x\n", genpd->name, pstate, reg); in apple_pmgr_ps_set() 72 regmap_write(ps->regmap, ps->offset, reg); in apple_pmgr_ps_set() 75 ps->regmap, ps->offset, reg, in apple_pmgr_ps_set() 79 dev_err(ps->dev, "PS %s: Failed to reach power state 0x%x (now: 0x%x)\n", in apple_pmgr_ps_set() 86 regmap_write(ps->regmap, ps->offset, reg); in apple_pmgr_ps_set() 92 static bool apple_pmgr_ps_is_active(struct apple_pmgr_ps *ps) in apple_pmgr_ps_is_active() argument 96 regmap_read(ps->regmap, ps->offset, ®); in apple_pmgr_ps_is_active() [all …]
|
| /linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
| H A D | pearl_pcie.c | 100 static inline void qtnf_init_hdp_irqs(struct qtnf_pcie_pearl_state *ps) in qtnf_init_hdp_irqs() argument 104 spin_lock_irqsave(&ps->irq_lock, flags); in qtnf_init_hdp_irqs() 105 ps->pcie_irq_mask = (PCIE_HDP_INT_RX_BITS | PCIE_HDP_INT_TX_BITS); in qtnf_init_hdp_irqs() 106 spin_unlock_irqrestore(&ps->irq_lock, flags); in qtnf_init_hdp_irqs() 109 static inline void qtnf_enable_hdp_irqs(struct qtnf_pcie_pearl_state *ps) in qtnf_enable_hdp_irqs() argument 113 spin_lock_irqsave(&ps->irq_lock, flags); in qtnf_enable_hdp_irqs() 114 writel(ps->pcie_irq_mask, PCIE_HDP_INT_EN(ps->pcie_reg_base)); in qtnf_enable_hdp_irqs() 115 spin_unlock_irqrestore(&ps->irq_lock, flags); in qtnf_enable_hdp_irqs() 118 static inline void qtnf_disable_hdp_irqs(struct qtnf_pcie_pearl_state *ps) in qtnf_disable_hdp_irqs() argument 122 spin_lock_irqsave(&ps->irq_lock, flags); in qtnf_disable_hdp_irqs() [all …]
|
| /linux/drivers/usb/core/ |
| H A D | devio.c | 58 /* Mutual exclusion for ps->list in resume vs. release and remove */ 91 struct usb_dev_state *ps; member 96 struct usb_dev_state *ps; member 180 static int connected(struct usb_dev_state *ps) in connected() argument 182 return (!list_empty(&ps->list) && in connected() 183 ps->dev->state != USB_STATE_NOTATTACHED); in connected() 188 struct usb_dev_state *ps = usbm->ps; in dec_usb_memory_use_count() local 189 struct usb_hcd *hcd = bus_to_hcd(ps->dev->bus); in dec_usb_memory_use_count() 192 spin_lock_irqsave(&ps->lock, flags); in dec_usb_memory_use_count() 196 spin_unlock_irqrestore(&ps->lock, flags); in dec_usb_memory_use_count() [all …]
|
| /linux/arch/arm64/boot/dts/intel/ |
| H A D | socfpga_agilex_socdk_emmc.dts | 66 txd0-skew-ps = <0>; /* -420ps */ 67 txd1-skew-ps = <0>; /* -420ps */ 68 txd2-skew-ps = <0>; /* -420ps */ 69 txd3-skew-ps = <0>; /* -420ps */ 70 rxd0-skew-ps = <420>; /* 0ps */ 71 rxd1-skew-ps = <420>; /* 0ps */ 72 rxd2-skew-ps = <420>; /* 0ps */ 73 rxd3-skew-ps = <420>; /* 0ps */ 74 txen-skew-ps = <0>; /* -420ps */ 75 txc-skew-ps = <900>; /* 0ps */ [all …]
|
| H A D | socfpga_agilex_socdk_nand.dts | 65 txd0-skew-ps = <0>; /* -420ps */ 66 txd1-skew-ps = <0>; /* -420ps */ 67 txd2-skew-ps = <0>; /* -420ps */ 68 txd3-skew-ps = <0>; /* -420ps */ 69 rxd0-skew-ps = <420>; /* 0ps */ 70 rxd1-skew-ps = <420>; /* 0ps */ 71 rxd2-skew-ps = <420>; /* 0ps */ 72 rxd3-skew-ps = <420>; /* 0ps */ 73 txen-skew-ps = <0>; /* -420ps */ 74 txc-skew-ps = <900>; /* 0ps */ [all …]
|
| H A D | socfpga_n5x_socdk.dts | 55 txd0-skew-ps = <0>; /* -420ps */ 56 txd1-skew-ps = <0>; /* -420ps */ 57 txd2-skew-ps = <0>; /* -420ps */ 58 txd3-skew-ps = <0>; /* -420ps */ 59 rxd0-skew-ps = <420>; /* 0ps */ 60 rxd1-skew-ps = <420>; /* 0ps */ 61 rxd2-skew-ps = <420>; /* 0ps */ 62 rxd3-skew-ps = <420>; /* 0ps */ 63 txen-skew-ps = <0>; /* -420ps */ 64 txc-skew-ps = <900>; /* 0ps */ [all …]
|
| H A D | socfpga_agilex_socdk.dts | 65 txd0-skew-ps = <0>; /* -420ps */ 66 txd1-skew-ps = <0>; /* -420ps */ 67 txd2-skew-ps = <0>; /* -420ps */ 68 txd3-skew-ps = <0>; /* -420ps */ 69 rxd0-skew-ps = <420>; /* 0ps */ 70 rxd1-skew-ps = <420>; /* 0ps */ 71 rxd2-skew-ps = <420>; /* 0ps */ 72 rxd3-skew-ps = <420>; /* 0ps */ 73 txen-skew-ps = <0>; /* -420ps */ 74 txc-skew-ps = <900>; /* 0ps */ [all …]
|
| /linux/arch/arm/boot/dts/intel/socfpga/ |
| H A D | socfpga_cyclone5_de0_nano_soc.dts | 48 txd0-skew-ps = <0>; /* -420ps */ 49 txd1-skew-ps = <0>; /* -420ps */ 50 txd2-skew-ps = <0>; /* -420ps */ 51 txd3-skew-ps = <0>; /* -420ps */ 52 rxd0-skew-ps = <420>; /* 0ps */ 53 rxd1-skew-ps = <420>; /* 0ps */ 54 rxd2-skew-ps = <420>; /* 0ps */ 55 rxd3-skew-ps = <420>; /* 0ps */ 56 txen-skew-ps = <0>; /* -420ps */ 57 txc-skew-ps = <1860>; /* 960ps */ [all …]
|
| H A D | socfpga_arria10_socdk.dtsi | 74 * These skews assume the user's FPGA design is adding 600ps of delay 81 txd0-skew-ps = <0>; /* -420ps */ 82 txd1-skew-ps = <0>; /* -420ps */ 83 txd2-skew-ps = <0>; /* -420ps */ 84 txd3-skew-ps = <0>; /* -420ps */ 85 rxd0-skew-ps = <420>; /* 0ps */ 86 rxd1-skew-ps = <420>; /* 0ps */ 87 rxd2-skew-ps = <420>; /* 0ps */ 88 rxd3-skew-ps = <420>; /* 0ps */ 89 txen-skew-ps = <0>; /* -420ps */ [all …]
|
| H A D | socfpga_arria10_mercury_aa1.dtsi | 84 rxc-skew-ps = <1680>; /* 780ps */ 85 rxd0-skew-ps = <420>; /* 0ps */ 86 rxd1-skew-ps = <420>; /* 0ps */ 87 rxd2-skew-ps = <420>; /* 0ps */ 88 rxd3-skew-ps = <420>; /* 0ps */ 89 rxdv-skew-ps = <420>; /* 0ps */ 92 txc-skew-ps = <1860>; /* 960ps */ 93 txd0-skew-ps = <0>; /* -420ps */ 94 txd1-skew-ps = <0>; /* -420ps */ 95 txd2-skew-ps = <0>; /* -420ps */ [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | ruc.c | 224 * @ps: the current packet state 235 struct hfi1_pkt_state *ps) in hfi1_make_ruc_header_16B() argument 238 struct hfi1_ibport *ibp = ps->ibp; in hfi1_make_ruc_header_16B() 244 (ps->s_txreq->hdr_dwords << 2), in hfi1_make_ruc_header_16B() 245 ps->s_txreq->s_cur_size); in hfi1_make_ruc_header_16B() 246 u32 nwords = SIZE_OF_CRC + ((ps->s_txreq->s_cur_size + in hfi1_make_ruc_header_16B() 261 grh = &ps->s_txreq->phdr.hdr.opah.u.l.grh; in hfi1_make_ruc_header_16B() 263 ps->s_txreq->hdr_dwords += in hfi1_make_ruc_header_16B() 265 ps->s_txreq->hdr_dwords - LRH_16B_DWORDS, in hfi1_make_ruc_header_16B() 297 hfi1_make_16b_hdr(&ps->s_txreq->phdr.hdr.opah, in hfi1_make_ruc_header_16B() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-list.c | 71 static void default_print_start(void *ps) in default_print_start() argument 73 struct print_state *print_state = ps; in default_print_start() 118 static void default_print_event(void *ps, const char *topic, in default_print_event() argument 126 struct print_state *print_state = ps; in default_print_event() 199 static void default_print_metric(void *ps, in default_print_metric() argument 209 struct print_state *print_state = ps; in default_print_metric() 292 static void json_print_start(void *ps) in json_print_start() argument 294 struct json_print_state *print_state = ps; in json_print_start() 300 static void json_print_end(void *ps) in json_print_end() argument 302 struct json_print_state *print_state = ps; in json_print_end() [all …]
|
| /linux/drivers/net/wireless/ath/ |
| H A D | dfs_pri_detector.c | 101 struct pri_sequence *ps, *ps0; in pool_deregister_ref() local 109 list_for_each_entry_safe(ps, ps0, &pseq_pool, head) { in pool_deregister_ref() 110 list_del(&ps->head); in pool_deregister_ref() 112 kfree(ps); in pool_deregister_ref() 229 struct pri_sequence ps, *new_ps; in pseq_handler_create_sequences() local 244 ps.count = 2; in pseq_handler_create_sequences() 245 ps.count_falses = 0; in pseq_handler_create_sequences() 246 ps.first_ts = p->ts; in pseq_handler_create_sequences() 247 ps.last_ts = ts; in pseq_handler_create_sequences() 248 ps.pri = GET_PRI_TO_USE(pde->rs->pri_min, in pseq_handler_create_sequences() [all …]
|
| /linux/drivers/net/dsa/ |
| H A D | dsa_loop.c | 50 struct dsa_loop_priv *ps = priv; in dsa_loop_devlink_vtu_get() local 54 for (i = 0; i < ARRAY_SIZE(ps->vlans); i++) { in dsa_loop_devlink_vtu_get() 55 vl = &ps->vlans[i]; in dsa_loop_devlink_vtu_get() 66 struct dsa_loop_priv *ps = ds->priv; in dsa_loop_setup_devlink_resources() local 69 devlink_resource_size_params_init(&size_params, ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources() 70 ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources() 73 err = dsa_devlink_resource_register(ds, "VTU", ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources() 82 dsa_loop_devlink_vtu_get, ps); in dsa_loop_setup_devlink_resources() 102 struct dsa_loop_priv *ps = ds->priv; in dsa_loop_setup() local 106 memcpy(ps->ports[i].mib, dsa_loop_mibs, in dsa_loop_setup() [all …]
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | hwtstamp.c | 95 struct mv88e6xxx_port_hwtstamp *ps = &chip->port_hwtstamp[port]; in mv88e6xxx_set_hwtstamp_config() local 101 clear_bit_unlock(MV88E6XXX_HWTSTAMP_ENABLED, &ps->state); in mv88e6xxx_set_hwtstamp_config() 166 set_bit(MV88E6XXX_HWTSTAMP_ENABLED, &ps->state); in mv88e6xxx_set_hwtstamp_config() 176 struct mv88e6xxx_port_hwtstamp *ps = &chip->port_hwtstamp[port]; in mv88e6xxx_port_hwtstamp_set() local 187 ps->tstamp_config = *config; in mv88e6xxx_port_hwtstamp_set() 196 struct mv88e6xxx_port_hwtstamp *ps = &chip->port_hwtstamp[port]; in mv88e6xxx_port_hwtstamp_get() local 201 *config = ps->tstamp_config; in mv88e6xxx_port_hwtstamp_get() 213 struct mv88e6xxx_port_hwtstamp *ps = &chip->port_hwtstamp[port]; in mv88e6xxx_should_tstamp() local 223 if (!test_bit(MV88E6XXX_HWTSTAMP_ENABLED, &ps->state)) in mv88e6xxx_should_tstamp() 249 struct mv88e6xxx_port_hwtstamp *ps, in mv88e6xxx_get_rxts() argument [all …]
|
| /linux/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek_hwtstamp.c | 45 struct hellcreek_port_hwtstamp *ps = in hellcreek_set_hwtstamp_config() local 53 clear_bit_unlock(HELLCREEK_HWTSTAMP_ENABLED, &ps->state); in hellcreek_set_hwtstamp_config() 107 set_bit(HELLCREEK_HWTSTAMP_ENABLED, &ps->state); in hellcreek_set_hwtstamp_config() 117 struct hellcreek_port_hwtstamp *ps; in hellcreek_port_hwtstamp_set() local 120 ps = &hellcreek->ports[port].port_hwtstamp; in hellcreek_port_hwtstamp_set() 127 ps->tstamp_config = *config; in hellcreek_port_hwtstamp_set() 136 struct hellcreek_port_hwtstamp *ps; in hellcreek_port_hwtstamp_get() local 138 ps = &hellcreek->ports[port].port_hwtstamp; in hellcreek_port_hwtstamp_get() 139 *config = ps->tstamp_config; in hellcreek_port_hwtstamp_get() 151 struct hellcreek_port_hwtstamp *ps = in hellcreek_should_tstamp() local [all …]
|
| /linux/include/linux/phy/ |
| H A D | phy-mipi-dphy.h | 22 * Maximum value: 60000 ps 34 * Minimum value: 60000 ps + 52 * @hs_clk_rate period in ps 56 * Minimum value: 38000 ps 57 * Maximum value: 95000 ps 68 * Minimum value: 95000 ps 69 * Maximum value: 300000 ps 79 * Maximum value: 38000 ps 90 * Minimum value: 60000 ps 108 * Maximum value: 35000 ps + 4 * @hs_clk_rate period in ps 119 * Maximum value: 105000 ps + 12 * @hs_clk_rate period in ps [all …]
|
| /linux/arch/arm64/boot/dts/altera/ |
| H A D | socfpga_stratix10_socdk_nand.dts | 73 txd0-skew-ps = <0>; /* -420ps */ 74 txd1-skew-ps = <0>; /* -420ps */ 75 txd2-skew-ps = <0>; /* -420ps */ 76 txd3-skew-ps = <0>; /* -420ps */ 77 rxd0-skew-ps = <420>; /* 0ps */ 78 rxd1-skew-ps = <420>; /* 0ps */ 79 rxd2-skew-ps = <420>; /* 0ps */ 80 rxd3-skew-ps = <420>; /* 0ps */ 81 txen-skew-ps = <0>; /* -420ps */ 82 txc-skew-ps = <900>; /* 0ps */ [all …]
|
| H A D | socfpga_stratix10_socdk.dts | 89 txd0-skew-ps = <0>; /* -420ps */ 90 txd1-skew-ps = <0>; /* -420ps */ 91 txd2-skew-ps = <0>; /* -420ps */ 92 txd3-skew-ps = <0>; /* -420ps */ 93 rxd0-skew-ps = <420>; /* 0ps */ 94 rxd1-skew-ps = <420>; /* 0ps */ 95 rxd2-skew-ps = <420>; /* 0ps */ 96 rxd3-skew-ps = <420>; /* 0ps */ 97 txen-skew-ps = <0>; /* -420ps */ 98 txc-skew-ps = <900>; /* 0ps */ [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | sama5d3xmb_gmac.dtsi | 21 txen-skew-ps = <800>; 22 txc-skew-ps = <3000>; 23 rxdv-skew-ps = <400>; 24 rxc-skew-ps = <3000>; 25 rxd0-skew-ps = <400>; 26 rxd1-skew-ps = <400>; 27 rxd2-skew-ps = <400>; 28 rxd3-skew-ps = <400>; 35 txen-skew-ps = <800>; 36 txc-skew-ps = <3000>; [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | mvebu-devbus.txt | 37 - devbus,turn-off-ps: Defines the time during which the controller does not 46 - devbus,badr-skew-ps: Defines the time delay from from A[2:0] toggle, 52 - devbus,acc-first-ps: Defines the time delay from the negation of 57 - devbus,acc-next-ps: Defines the time delay between the cycle that 62 - devbus,rd-setup-ps: Defines the time delay between DEV_CSn assertion to 65 This parameter has no affect on <acc-first-ps> parameter 66 (no affect on first data sample). Set <rd-setup-ps> 67 to a value smaller than <acc-first-ps>. 71 - devbus,rd-hold-ps: Defines the time between the last data sample to the 78 affect on <turn-off-ps> parameter. [all …]
|
| /linux/drivers/input/serio/ |
| H A D | Kconfig | 11 * standard AT keyboard and PS/2 mouse * 34 i8042 is the chip over which the standard AT keyboard and PS/2 80 an additional AT keyboard, XT keyboard or PS/2 mouse. 109 tristate "HP GSC PS/2 keyboard and PS/2 mouse controller" 113 This driver provides support for the PS/2 ports on PA-RISC machines 114 over which HP PS/2 keyboards and PS/2 mice may be connected. 149 tristate "PCI PS/2 keyboard and PS/2 mouse controller" 153 Say Y here if you have a Mobility Docking station with PS/2 160 tristate "SGI O2 MACE PS/2 controller" 164 PS/2 ports. [all …]
|
| /linux/sound/soc/amd/ps/ |
| H A D | Makefile | 3 snd-pci-ps-y := pci-ps.o ps-common.o 4 snd-ps-pdm-dma-y := ps-pdm-dma.o 5 snd-soc-ps-mach-y := ps-mach.o 6 snd-ps-sdw-dma-y := ps-sdw-dma.o 8 obj-$(CONFIG_SND_SOC_AMD_PS) += snd-pci-ps.o 9 obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-pdm-dma.o 10 obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-sdw-dma.o 11 obj-$(CONFIG_SND_SOC_AMD_PS_MACH) += snd-soc-ps-mach.o
|