Home
last modified time | relevance | path

Searched refs:wo (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/mediatek/
Dmtk_wed_wo.c21 mtk_wed_mmio_r32(struct mtk_wed_wo *wo, u32 reg) in mtk_wed_mmio_r32() argument
25 if (regmap_read(wo->mmio.regs, reg, &val)) in mtk_wed_mmio_r32()
32 mtk_wed_mmio_w32(struct mtk_wed_wo *wo, u32 reg, u32 val) in mtk_wed_mmio_w32() argument
34 regmap_write(wo->mmio.regs, reg, val); in mtk_wed_mmio_w32()
38 mtk_wed_wo_get_isr(struct mtk_wed_wo *wo) in mtk_wed_wo_get_isr() argument
40 u32 val = mtk_wed_mmio_r32(wo, MTK_WED_WO_CCIF_RCHNUM); in mtk_wed_wo_get_isr()
46 mtk_wed_wo_set_isr(struct mtk_wed_wo *wo, u32 mask) in mtk_wed_wo_set_isr() argument
48 mtk_wed_mmio_w32(wo, MTK_WED_WO_CCIF_IRQ0_MASK, mask); in mtk_wed_wo_set_isr()
52 mtk_wed_wo_set_ack(struct mtk_wed_wo *wo, u32 mask) in mtk_wed_wo_set_ack() argument
54 mtk_wed_mmio_w32(wo, MTK_WED_WO_CCIF_ACK, mask); in mtk_wed_wo_set_ack()
[all …]
Dmtk_wed_mcu.c19 static u32 wo_r32(struct mtk_wed_wo *wo, u32 reg) in wo_r32() argument
21 return readl(wo->boot.addr + reg); in wo_r32()
24 static void wo_w32(struct mtk_wed_wo *wo, u32 reg, u32 val) in wo_w32() argument
26 writel(val, wo->boot.addr + reg); in wo_w32()
48 mtk_wed_mcu_get_response(struct mtk_wed_wo *wo, unsigned long expires) in mtk_wed_mcu_get_response() argument
53 wait_event_timeout(wo->mcu.wait, !skb_queue_empty(&wo->mcu.res_q), in mtk_wed_mcu_get_response()
55 return skb_dequeue(&wo->mcu.res_q); in mtk_wed_mcu_get_response()
58 void mtk_wed_mcu_rx_event(struct mtk_wed_wo *wo, struct sk_buff *skb) in mtk_wed_mcu_rx_event() argument
60 skb_queue_tail(&wo->mcu.res_q, skb); in mtk_wed_mcu_rx_event()
61 wake_up(&wo->mcu.wait); in mtk_wed_mcu_rx_event()
[all …]
Dmtk_wed_wo.h256 mtk_wed_mcu_check_msg(struct mtk_wed_wo *wo, struct sk_buff *skb) in mtk_wed_mcu_check_msg() argument
269 void mtk_wed_mcu_rx_event(struct mtk_wed_wo *wo, struct sk_buff *skb);
270 void mtk_wed_mcu_rx_unsolicited_event(struct mtk_wed_wo *wo,
272 int mtk_wed_mcu_send_msg(struct mtk_wed_wo *wo, int id, int cmd,
276 int mtk_wed_mcu_init(struct mtk_wed_wo *wo);
Dmtk_wed.c177 struct mtk_wed_wo *wo = dev->hw->wed_wo; in mtk_wed_wo_reset() local
185 if (mtk_wed_mcu_send_msg(wo, MTK_WED_MODULE_ID_WO, in mtk_wed_wo_reset()
843 struct mtk_wed_wo *wo = dev->hw->wed_wo; in mtk_wed_rro_cfg() local
866 return mtk_wed_mcu_send_msg(wo, MTK_WED_MODULE_ID_WO, in mtk_wed_rro_cfg()
1031 struct mtk_wed_wo *wo = dev->hw->wed_wo; in mtk_wed_rx_reset() local
1035 ret = mtk_wed_mcu_send_msg(wo, MTK_WED_MODULE_ID_WO, in mtk_wed_rx_reset()
1119 ret = mtk_wed_mcu_send_msg(wo, MTK_WED_MODULE_ID_WO, in mtk_wed_rx_reset()
/linux-6.6.21/kernel/
Dexit.c1057 static int eligible_pid(struct wait_opts *wo, struct task_struct *p) in eligible_pid() argument
1059 return wo->wo_type == PIDTYPE_MAX || in eligible_pid()
1060 task_pid_type(p, wo->wo_type) == wo->wo_pid; in eligible_pid()
1064 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child() argument
1066 if (!eligible_pid(wo, p)) in eligible_child()
1073 if (ptrace || (wo->wo_flags & __WALL)) in eligible_child()
1084 if ((p->exit_signal != SIGCHLD) ^ !!(wo->wo_flags & __WCLONE)) in eligible_child()
1096 static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p) in wait_task_zombie() argument
1103 if (!likely(wo->wo_flags & WEXITED)) in wait_task_zombie()
1106 if (unlikely(wo->wo_flags & WNOWAIT)) { in wait_task_zombie()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/arm/mediatek/
Dmediatek,mt7622-wed.yaml43 - const: wo-emi
44 - const: wo-ilm
45 - const: wo-dlm
46 - const: wo-data
47 - const: wo-boot
49 mediatek,wo-ccif:
51 description: mediatek wed-wo controller interface.
63 mediatek,wo-ccif: false
100 memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
101 "wo-data", "wo-boot";
[all …]
/linux-6.6.21/arch/arm64/boot/dts/mediatek/
Dmt7986a.dtsi82 wo_emi0: wo-emi@4fd00000 {
87 wo_emi1: wo-emi@4fd40000 {
92 wo_ilm0: wo-ilm@151e0000 {
97 wo_ilm1: wo-ilm@151f0000 {
102 wo_data: wo-data@4fd80000 {
107 wo_dlm0: wo-dlm@151e8000 {
112 wo_dlm1: wo-dlm@151f8000 {
117 wo_boot: wo-boot@15194000 {
518 memory-region-names = "wo-emi", "wo-ilm", "wo-dlm",
519 "wo-data", "wo-boot";
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/soc/mediatek/
Dmediatek,mt7986-wo-ccif.yaml4 $id: http://devicetree.org/schemas/soc/mediatek/mediatek,mt7986-wo-ccif.yaml#
14 The MediaTek wo-ccif provides a configuration interface for WED WO
22 - mediatek,mt7986-wo-ccif
47 compatible = "mediatek,mt7986-wo-ccif", "syscon";
/linux-6.6.21/drivers/media/usb/dvb-usb/
Ddibusb-common.c141 int ret, wo, len; in dibusb_i2c_msg() local
144 wo = (rbuf == NULL || rlen == 0); in dibusb_i2c_msg()
146 len = 2 + wlen + (wo ? 0 : 2); in dibusb_i2c_msg()
158 sndbuf[0] = wo ? DIBUSB_REQ_I2C_WRITE : DIBUSB_REQ_I2C_READ; in dibusb_i2c_msg()
159 sndbuf[1] = (addr << 1) | (wo ? 0 : 1); in dibusb_i2c_msg()
163 if (!wo) { in dibusb_i2c_msg()
Ddigitv.c29 int ret, wo; in digitv_ctrl_msg() local
31 wo = (rbuf == NULL || rlen == 0); /* write-only */ in digitv_ctrl_msg()
41 st->sndbuf[2] = wo ? wlen : rlen; in digitv_ctrl_msg()
43 if (wo) { in digitv_ctrl_msg()
/linux-6.6.21/Documentation/translations/zh_CN/PCI/
Dsysfs-pci.rst54 remove 从内核的列表中删除设备 (ascii, wo)
69 wo - 只写文件
/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
Dau6610.c70 u8 wo = (rbuf == NULL || rlen == 0); /* write-only */ in au6610_i2c_msg() local
72 if (wo) { in au6610_i2c_msg()
/linux-6.6.21/Documentation/trace/coresight/
Dcoresight-tpdm.rst34 :File: ``integration_test`` (wo)
/linux-6.6.21/Documentation/PCI/
Dsysfs-pci.rst45 remove remove device from kernel's list (ascii, wo)
60 wo - write only file
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/
Dqcom,sdx75-tlmm.yaml118 gpio-wo-state {
Dqcom,sc8180x-tlmm.yaml125 gpio-wo-subnode-state {
Dqcom,sm7150-tlmm.yaml134 gpio-wo-state {
Dqcom,sm8350-tlmm.yaml124 gpio-wo-subnode-state {
Dqcom,sm8450-tlmm.yaml123 gpio-wo-state {
Dqcom,msm8909-tlmm.yaml125 gpio-wo-subnode-state {
Dqcom,sm8550-tlmm.yaml135 gpio-wo-state {
Dqcom,sc8280xp-tlmm.yaml124 gpio-wo-subnode-state {
Dqcom,sm6375-tlmm.yaml129 gpio-wo-subnode-state {
Dqcom,sm6350-tlmm.yaml137 gpio-wo-subnode-state {
/linux-6.6.21/drivers/block/drbd/
Ddrbd_receiver.c1430 max_allowed_wo(struct drbd_backing_dev *bdev, enum write_ordering_e wo) in max_allowed_wo() argument
1436 if (wo == WO_BDEV_FLUSH && !dc->disk_flushes) in max_allowed_wo()
1437 wo = WO_DRAIN_IO; in max_allowed_wo()
1438 if (wo == WO_DRAIN_IO && !dc->disk_drain) in max_allowed_wo()
1439 wo = WO_NONE; in max_allowed_wo()
1441 return wo; in max_allowed_wo()
1449 enum write_ordering_e wo) in drbd_bump_write_ordering() argument
1461 if (wo != WO_BDEV_FLUSH) in drbd_bump_write_ordering()
1462 wo = min(pwo, wo); in drbd_bump_write_ordering()
1466 wo = max_allowed_wo(device->ldev, wo); in drbd_bump_write_ordering()
[all …]

12