| /linux/drivers/net/pse-pd/ |
| H A D | realtek-pse-mcu-core.c | 221 static int rtpse_mcu_do_xfer(struct rtpse_mcu_ctrl *pse, struct rtpse_mcu_msg *req, in rtpse_mcu_do_xfer() argument 228 scoped_guard(mutex, &pse->mutex) { in rtpse_mcu_do_xfer() 230 if (++pse->seq == 0) in rtpse_mcu_do_xfer() 231 pse->seq = 1; in rtpse_mcu_do_xfer() 232 req->seq_num = pse->seq; in rtpse_mcu_do_xfer() 235 ret = pse->transport->send(pse, req); in rtpse_mcu_do_xfer() 243 ret = pse->transport->recv(pse, req, resp); in rtpse_mcu_do_xfer() 273 static int rtpse_mcu_port_query(struct rtpse_mcu_ctrl *pse, unsigned int port, u8 opcode, in rtpse_mcu_port_query() argument 282 ret = rtpse_mcu_do_xfer(pse, &req, resp); in rtpse_mcu_port_query() 292 static int rtpse_mcu_port_cmd(struct rtpse_mcu_ctrl *pse, unsigned int port, u8 opcode, u8 arg) in rtpse_mcu_port_cmd() argument [all …]
|
| H A D | realtek-pse-mcu-i2c.c | 20 static int rtpse_mcu_i2c_smbus_send(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req) in rtpse_mcu_i2c_smbus_send() argument 22 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_smbus_send() 29 static int rtpse_mcu_i2c_smbus_recv(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req, in rtpse_mcu_i2c_smbus_recv() argument 32 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_smbus_recv() 57 static int rtpse_mcu_i2c_native_send(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req) in rtpse_mcu_i2c_native_send() argument 59 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_native_send() 68 static int rtpse_mcu_i2c_native_recv(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req, in rtpse_mcu_i2c_native_recv() argument 71 struct i2c_client *client = to_i2c_client(pse->dev); in rtpse_mcu_i2c_native_recv() 97 struct rtpse_mcu_ctrl *pse; in rtpse_mcu_i2c_probe() local 118 pse = devm_kzalloc(dev, sizeof(*pse), GFP_KERNEL); in rtpse_mcu_i2c_probe() [all …]
|
| H A D | realtek-pse-mcu-uart.c | 19 struct rtpse_mcu_ctrl pse; member 27 #define to_rtpse_mcu_uart(p) container_of(p, struct rtpse_mcu_uart, pse) 60 static int rtpse_mcu_uart_send(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req) in rtpse_mcu_uart_send() argument 62 struct rtpse_mcu_uart *ctx = to_rtpse_mcu_uart(pse); in rtpse_mcu_uart_send() 81 static int rtpse_mcu_uart_recv(struct rtpse_mcu_ctrl *pse, in rtpse_mcu_uart_recv() argument 85 struct rtpse_mcu_uart *ctx = to_rtpse_mcu_uart(pse); in rtpse_mcu_uart_recv() 117 ctx->pse.dev = dev; in rtpse_mcu_uart_probe() 118 ctx->pse.pcdev.owner = THIS_MODULE; in rtpse_mcu_uart_probe() 119 ctx->pse.transport = &rtpse_mcu_uart_transport_ops; in rtpse_mcu_uart_probe() 143 return rtpse_mcu_register(&ctx->pse); in rtpse_mcu_uart_probe()
|
| H A D | Makefile | 6 obj-$(CONFIG_PSE_REALTEK_MCU) += realtek-pse-mcu-core.o 7 obj-$(CONFIG_PSE_REALTEK_MCU_I2C) += realtek-pse-mcu-i2c.o 8 obj-$(CONFIG_PSE_REALTEK_MCU_UART) += realtek-pse-mcu-uart.o
|
| H A D | realtek-pse-mcu.h | 73 int (*send)(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req); 74 int (*recv)(struct rtpse_mcu_ctrl *pse, const struct rtpse_mcu_msg *req, 88 int rtpse_mcu_register(struct rtpse_mcu_ctrl *pse);
|
| H A D | Kconfig | 31 module, choose M here: the module will be called realtek-pse-mcu-i2c. 42 module, choose M here: the module will be called realtek-pse-mcu-uart.
|
| /linux/include/net/psp/ |
| H A D | functions.h | 83 psp_pse_matches_pas(struct psp_skb_ext *pse, struct psp_assoc *pas) in psp_pse_matches_pas() argument 85 return pse && pas->rx.spi == pse->spi && in psp_pse_matches_pas() 86 pas->generation == pse->generation && in psp_pse_matches_pas() 87 pas->version == pse->version && in psp_pse_matches_pas() 88 pas->dev_id == pse->dev_id; in psp_pse_matches_pas() 94 struct psp_skb_ext *pse = skb_ext_find(skb, SKB_EXT_PSP); in __psp_sk_rx_policy_check() local 97 return pse ? SKB_DROP_REASON_PSP_INPUT : 0; in __psp_sk_rx_policy_check() 99 if (likely(psp_pse_matches_pas(pse, pas))) { in __psp_sk_rx_policy_check() 106 if (!pse) { in __psp_sk_rx_policy_check()
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp151a-prtt1c.dts | 26 pse_t1l1: ethernet-pse-1 { 27 compatible = "podl-pse-regulator"; 28 pse-supply = <®_t1l1>; 29 #pse-cells = <0>; 32 pse_t1l2: ethernet-pse-2 { 33 compatible = "podl-pse-regulator"; 34 pse-supply = <®_t1l2>; 35 #pse-cells = <0>; 47 reg_t1l1: regulator-pse-t1l1 { 49 regulator-name = "pse-t1l1"; [all …]
|
| /linux/net/psp/ |
| H A D | psp_main.c | 302 struct psp_skb_ext *pse; in psp_dev_rcv() local 365 pse = skb_ext_add(skb, SKB_EXT_PSP); in psp_dev_rcv() 366 if (!pse) in psp_dev_rcv() 369 pse->spi = psph->spi; in psp_dev_rcv() 370 pse->dev_id = dev_id; in psp_dev_rcv() 371 pse->generation = generation; in psp_dev_rcv() 372 pse->version = FIELD_GET(PSPHDR_VERFL_VERSION, psph->verfl); in psp_dev_rcv()
|
| H A D | psp_sock.c | 160 struct psp_skb_ext *pse; in psp_sock_recv_queue_check() local 164 pse = skb_ext_find(skb, SKB_EXT_PSP); in psp_sock_recv_queue_check() 165 if (!psp_pse_matches_pas(pse, pas)) in psp_sock_recv_queue_check() 170 pse = skb_ext_find(skb, SKB_EXT_PSP); in psp_sock_recv_queue_check() 171 if (!psp_pse_matches_pas(pse, pas)) in psp_sock_recv_queue_check()
|
| /linux/drivers/net/wireless/ath/ |
| H A D | dfs_pri_detector.c | 126 static void pool_put_pseq_elem(struct pri_sequence *pse) in pool_put_pseq_elem() argument 129 list_add(&pse->head, &pseq_pool); in pool_put_pseq_elem() 136 struct pri_sequence *pse = NULL; in pool_get_pseq_elem() local 139 pse = list_first_entry(&pseq_pool, struct pri_sequence, head); in pool_get_pseq_elem() 140 list_del(&pse->head); in pool_get_pseq_elem() 144 return pse; in pool_get_pseq_elem()
|
| /linux/Documentation/networking/pse-pd/ |
| H A D | index.rst | 10 pse-pi
|
| /linux/Documentation/networking/ |
| H A D | index.rst | 101 pse-pd/index
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | index.rst | 120 * pse-pd/index
|
| /linux/lib/zstd/common/ |
| H A D | cpu.h | 133 D(pse, 3)
|
| /linux/kernel/trace/ |
| H A D | trace_events_filter.c | 2337 struct filter_parse_error **pse, in create_filter_start() argument 2344 if (WARN_ON_ONCE(*pse || *filterp)) in create_filter_start() 2364 *pse = pe; in create_filter_start()
|
| /linux/arch/x86/kvm/mmu/ |
| H A D | mmu.c | 212 BUILD_MMU_ROLE_REGS_ACCESSOR(cr4, pse, X86_CR4_PSE); 233 BUILD_MMU_ROLE_ACCESSOR(ext, cr4, pse); 5347 bool gbpages, bool pse, bool amd) in __reset_rsvds_bits_mask() argument 5382 if (!pse) { in __reset_rsvds_bits_mask()
|
| /linux/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 67 0x1, 0, edx, 3, pse , Page Size Extension
|
| /linux/ |
| H A D | MAINTAINERS | 21764 F: Documentation/devicetree/bindings/net/pse-pd/ 21765 F: drivers/net/pse-pd/ 21766 F: net/ethtool/pse-pd.c 22823 F: Documentation/devicetree/bindings/net/pse-pd/realtek,pse-mcu-gen1.yaml 22824 F: drivers/net/pse-pd/realtek-pse-mcu*
|