Home
last modified time | relevance | path

Searched refs:cntrl (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/comedi/drivers/
Ddaqboard2000.c420 u32 cntrl; in db2k_reset_local_bus() local
422 cntrl = readl(devpriv->plx + PLX_REG_CNTRL); in db2k_reset_local_bus()
423 cntrl |= PLX_CNTRL_RESET; in db2k_reset_local_bus()
424 writel(cntrl, devpriv->plx + PLX_REG_CNTRL); in db2k_reset_local_bus()
426 cntrl &= ~PLX_CNTRL_RESET; in db2k_reset_local_bus()
427 writel(cntrl, devpriv->plx + PLX_REG_CNTRL); in db2k_reset_local_bus()
434 u32 cntrl; in db2k_reload_plx() local
436 cntrl = readl(devpriv->plx + PLX_REG_CNTRL); in db2k_reload_plx()
437 cntrl &= ~PLX_CNTRL_EERELOAD; in db2k_reload_plx()
438 writel(cntrl, devpriv->plx + PLX_REG_CNTRL); in db2k_reload_plx()
[all …]
/linux-6.6.21/drivers/net/can/sja1000/
Dplx_pci.c449 u32 cntrl; in plx_pci_reset_common() local
451 cntrl = ioread32(card->conf_addr + PLX_CNTRL); in plx_pci_reset_common()
452 cntrl |= PLX_PCI_RESET; in plx_pci_reset_common()
453 iowrite32(cntrl, card->conf_addr + PLX_CNTRL); in plx_pci_reset_common()
455 cntrl ^= PLX_PCI_RESET; in plx_pci_reset_common()
456 iowrite32(cntrl, card->conf_addr + PLX_CNTRL); in plx_pci_reset_common()
466 u32 cntrl; in plx9056_pci_reset_common() local
469 cntrl = ioread32(card->conf_addr + PLX9056_CNTRL); in plx9056_pci_reset_common()
470 cntrl |= PLX_PCI_RESET; in plx9056_pci_reset_common()
471 iowrite32(cntrl, card->conf_addr + PLX9056_CNTRL); in plx9056_pci_reset_common()
[all …]
/linux-6.6.21/drivers/media/pci/cx23885/
Dcx23888-ir.c507 u32 cntrl = cx23888_ir_read4(dev, CX23888_IR_CNTRL_REG); in cx23888_ir_irq_handler() local
613 cx23888_ir_write4(dev, CX23888_IR_CNTRL_REG, cntrl & ~v); in cx23888_ir_irq_handler()
614 cx23888_ir_write4(dev, CX23888_IR_CNTRL_REG, cntrl); in cx23888_ir_irq_handler()
923 u32 cntrl = cx23888_ir_read4(dev, CX23888_IR_CNTRL_REG); in cx23888_ir_log_status() local
933 cntrl & CNTRL_RXE ? "yes" : "no"); in cx23888_ir_log_status()
935 cntrl & CNTRL_DMD ? "enabled" : "disabled"); in cx23888_ir_log_status()
937 cntrl & CNTRL_RFE ? "enabled" : "disabled"); in cx23888_ir_log_status()
938 switch (cntrl & CNTRL_EDG) { in cx23888_ir_log_status()
957 cntrl & CNTRL_R ? "not loaded" : "overflow marker"); in cx23888_ir_log_status()
959 cntrl & CNTRL_RIC ? "not empty" : "half full or greater"); in cx23888_ir_log_status()
[all …]
/linux-6.6.21/drivers/media/i2c/cx25840/
Dcx25840-ir.c499 u32 cntrl, irqen, stats; in cx25840_ir_irq_handler() local
511 cntrl = cx25840_read4(c, CX25840_IR_CNTRL_REG); in cx25840_ir_irq_handler()
613 cx25840_write4(c, CX25840_IR_CNTRL_REG, cntrl & ~v); in cx25840_ir_irq_handler()
614 cx25840_write4(c, CX25840_IR_CNTRL_REG, cntrl); in cx25840_ir_irq_handler()
1008 u32 cntrl, txclk, rxclk, cduty, stats, irqen, filtr; in cx25840_ir_log_status() local
1014 cntrl = cx25840_read4(c, CX25840_IR_CNTRL_REG); in cx25840_ir_log_status()
1026 cntrl & CNTRL_RXE ? "yes" : "no"); in cx25840_ir_log_status()
1028 cntrl & CNTRL_DMD ? "enabled" : "disabled"); in cx25840_ir_log_status()
1030 cntrl & CNTRL_RFE ? "enabled" : "disabled"); in cx25840_ir_log_status()
1031 switch (cntrl & CNTRL_EDG) { in cx25840_ir_log_status()
[all …]
/linux-6.6.21/arch/s390/include/uapi/asm/
Dtape390.h34 char cntrl; member
/linux-6.6.21/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c193 if (lp->rx_bd_v[i].cntrl) { in axienet_dma_bd_release()
342 lp->rx_bd_v[i].cntrl = lp->max_frm_size; in axienet_dma_bd_init()
678 (cur_p->cntrl & XAXIDMA_BD_CTRL_LENGTH_MASK), in axienet_free_tx_chain()
691 cur_p->cntrl = 0; in axienet_free_tx_chain()
723 if (cur_p->cntrl) in axienet_check_tx_bd_space()
845 cur_p->cntrl = skb_headlen(skb) | XAXIDMA_BD_CTRL_TXSOF_MASK; in axienet_start_xmit()
865 cur_p->cntrl = skb_frag_size(frag); in axienet_start_xmit()
868 cur_p->cntrl |= XAXIDMA_BD_CTRL_TXEOF_MASK; in axienet_start_xmit()
976 cur_p->cntrl = lp->max_frm_size; in axienet_rx_poll()
1773 if (cur_p->cntrl) { in axienet_dma_err_handler()
[all …]
Dxilinx_axienet.h369 u32 cntrl; member
/linux-6.6.21/drivers/net/wwan/
Dmhi_wwan_mbim.c597 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_probe() local
621 return wwan_register_ops(&cntrl->mhi_dev->dev, &mhi_mbim_wwan_ops, mbim, 0); in mhi_mbim_probe()
627 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_remove() local
631 wwan_unregister_ops(&cntrl->mhi_dev->dev); in mhi_mbim_remove()
Dmhi_wwan_ctrl.c217 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_wwan_ctrl_probe() local
239 port = wwan_create_port(&cntrl->mhi_dev->dev, id->driver_data, in mhi_wwan_ctrl_probe()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1249 const struct port_info *pi, u64 *cntrl) in cxgb_fcoe_offload() argument
1269 *cntrl = TXPKT_CSUM_TYPE_V(TX_CSUM_FCOE) | in cxgb_fcoe_offload()
1515 u64 cntrl, *end, *sgl; in cxgb4_eth_xmit() local
1553 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in cxgb4_eth_xmit()
1556 ret = cxgb_fcoe_offload(skb, adap, pi, &cntrl); in cxgb4_eth_xmit()
1643 cntrl = hwcsum(adap->params.chip, skb); in cxgb4_eth_xmit()
1646 cntrl = hwcsum(adap->params.chip, skb); in cxgb4_eth_xmit()
1660 cntrl = hwcsum(adap->params.chip, skb); in cxgb4_eth_xmit()
1682 cntrl = hwcsum(adap->params.chip, skb) | in cxgb4_eth_xmit()
1700 cntrl |= TXPKT_VLAN_VLD_F | TXPKT_VLAN_V(skb_vlan_tag_get(skb)); in cxgb4_eth_xmit()
[all …]
/linux-6.6.21/drivers/net/ethernet/ni/
Dnixge.c120 u32 cntrl; member
340 priv->rx_bd_v[i].cntrl = NIXGE_MAX_JUMBO_FRAME_SIZE; in nixge_hw_dma_bd_init()
533 cur_p->cntrl = skb_headlen(skb) | XAXIDMA_BD_CTRL_TXSOF_MASK; in nixge_start_xmit()
554 cur_p->cntrl = skb_frag_size(frag); in nixge_start_xmit()
565 cur_p->cntrl |= XAXIDMA_BD_CTRL_TXEOF_MASK; in nixge_start_xmit()
652 cur_p->cntrl = NIXGE_MAX_JUMBO_FRAME_SIZE; in nixge_recv()
807 cur_p->cntrl = 0; in nixge_dma_err_handler()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c475 u64 cntrl = 0; in copy_cpltx_pktxt() local
489 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in copy_cpltx_pktxt()
494 cntrl |= TXPKT_VLAN_VLD_F | TXPKT_VLAN_V(skb_vlan_tag_get(skb)); in copy_cpltx_pktxt()
500 cpl->ctrl1 = cpu_to_be64(cntrl); in copy_cpltx_pktxt()
/linux-6.6.21/drivers/net/fddi/skfp/
Dpcmplc.c1028 int cntrl ; in sm_ph_linestate() local
1032 cntrl = (inpw(PLC(phy,PL_CNTRL_B)) & ~PL_MAINT_LS) | in sm_ph_linestate()
1036 cntrl |= PL_M_QUI0 ; in sm_ph_linestate()
1039 cntrl |= PL_M_MASTR ; in sm_ph_linestate()
1042 cntrl |= PL_M_HALT ; in sm_ph_linestate()
1046 cntrl |= PL_M_IDLE ; in sm_ph_linestate()
1049 cntrl |= PL_M_TPDR ; in sm_ph_linestate()
1052 outpw(PLC(phy,PL_CNTRL_B),cntrl) ; in sm_ph_linestate()
/linux-6.6.21/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra186-pmc.yaml89 hdmi-dp0, hdmi-dp1, pex-cntrl, sdmmc2-hv, sdmmc4, cam, dsib,
99 hdmi-dp0, hdmi-dp1, pex-cntrl, pex-ctl2, pex-l0-rst,
Dnvidia,tegra20-pmc.yaml291 hv, lvds, mipi-bias, nand, pex-bias, pex-clk1, pex-clk2, pex-cntrl,
297 hsic, lvds, mipi-bias, pex-bias, pex-clk1, pex-clk2, pex-cntrl, sdmmc1,
323 All of the listed Tegra210 pads except pex-cntrl support power
326 audio, audio-hv, cam, dbg, dmic, gpio, pex-cntrl, sdmmc1,
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1160 u64 cntrl, *end; in t4vf_eth_xmit() local
1312 cntrl = TXPKT_ETHHDR_LEN_V(eth_xtra_len); in t4vf_eth_xmit()
1314 cntrl = T6_TXPKT_ETHHDR_LEN_V(eth_xtra_len); in t4vf_eth_xmit()
1316 cntrl |= TXPKT_CSUM_TYPE_V(v6 ? in t4vf_eth_xmit()
1335 cntrl = hwcsum(adapter->params.chip, skb) | in t4vf_eth_xmit()
1339 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in t4vf_eth_xmit()
1348 cntrl |= TXPKT_VLAN_VLD_F | TXPKT_VLAN_V(skb_vlan_tag_get(skb)); in t4vf_eth_xmit()
1359 cpl->ctrl1 = cpu_to_be64(cntrl); in t4vf_eth_xmit()
/linux-6.6.21/drivers/pci/endpoint/functions/
Dpci-epf-mhi.c19 #define to_epf_mhi(cntrl) container_of(cntrl, struct pci_epf_mhi, cntrl) argument
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dsge.c1182 unsigned int flits, sgl_flits, cntrl, tso_info; in write_tx_pkt_wr() local
1188 cntrl = V_TXPKT_INTF(pi->port_id); in write_tx_pkt_wr()
1191 cntrl |= F_TXPKT_VLAN_VLD | V_TXPKT_VLAN(skb_vlan_tag_get(skb)); in write_tx_pkt_wr()
1199 cntrl |= V_TXPKT_OPCODE(CPL_TX_PKT_LSO); in write_tx_pkt_wr()
1200 hdr->cntrl = htonl(cntrl); in write_tx_pkt_wr()
1209 cntrl |= V_TXPKT_OPCODE(CPL_TX_PKT); in write_tx_pkt_wr()
1210 cntrl |= F_TXPKT_IPCSUM_DIS; /* SW calculates IP csum */ in write_tx_pkt_wr()
1211 cntrl |= V_TXPKT_L4CSUM_DIS(skb->ip_summed != CHECKSUM_PARTIAL); in write_tx_pkt_wr()
1212 cpl->cntrl = htonl(cntrl); in write_tx_pkt_wr()
Dt3_cpl.h1085 __be32 cntrl; member
1091 __be32 cntrl; member
/linux-6.6.21/drivers/s390/char/
Dtape_std.c136 *(unsigned char *) request->cpdata = disp->cntrl; in tape_std_display()
137 DBF_EVENT(5, "TAPE: display cntrl=%04x\n", disp->cntrl); in tape_std_display()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c2216 u32 cntrl = iwl_read32(trans, CSR_GP_CNTRL); in __iwl_trans_pcie_grab_nic_access() local
2220 cntrl); in __iwl_trans_pcie_grab_nic_access()
2224 if (iwlwifi_mod_params.remove_when_gone && cntrl == ~0U) in __iwl_trans_pcie_grab_nic_access()