/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | daqboard2000.c | 421 u32 cntrl; in db2k_reset_local_bus() local 423 cntrl = readl(devpriv->plx + PLX_REG_CNTRL); in db2k_reset_local_bus() 424 cntrl |= PLX_CNTRL_RESET; in db2k_reset_local_bus() 425 writel(cntrl, devpriv->plx + PLX_REG_CNTRL); in db2k_reset_local_bus() 427 cntrl &= ~PLX_CNTRL_RESET; in db2k_reset_local_bus() 428 writel(cntrl, devpriv->plx + PLX_REG_CNTRL); in db2k_reset_local_bus() 435 u32 cntrl; in db2k_reload_plx() local 437 cntrl = readl(devpriv->plx + PLX_REG_CNTRL); in db2k_reload_plx() 438 cntrl &= ~PLX_CNTRL_EERELOAD; in db2k_reload_plx() 439 writel(cntrl, devpriv->plx + PLX_REG_CNTRL); in db2k_reload_plx() [all …]
|
/Linux-v4.19/drivers/isdn/gigaset/ |
D | i4l.c | 195 static int command_from_LL(isdn_ctrl *cntrl) in command_from_LL() argument 206 cntrl->driver, cntrl->command, cntrl->arg); in command_from_LL() 208 cs = gigaset_get_cs_by_id(cntrl->driver); in command_from_LL() 210 pr_err("%s: invalid driver ID (%d)\n", __func__, cntrl->driver); in command_from_LL() 213 ch = cntrl->arg & 0xff; in command_from_LL() 215 switch (cntrl->command) { in command_from_LL() 223 cntrl->parm.setup.phone, cntrl->parm.setup.eazmsn, in command_from_LL() 224 cntrl->parm.setup.si1, cntrl->parm.setup.si2); in command_from_LL() 253 l = 3 + strlen(cntrl->parm.setup.phone); in command_from_LL() 257 if (cntrl->parm.setup.phone[0] == '*' && in command_from_LL() [all …]
|
/Linux-v4.19/drivers/net/can/sja1000/ |
D | plx_pci.c | 434 u32 cntrl; in plx_pci_reset_common() local 436 cntrl = ioread32(card->conf_addr + PLX_CNTRL); in plx_pci_reset_common() 437 cntrl |= PLX_PCI_RESET; in plx_pci_reset_common() 438 iowrite32(cntrl, card->conf_addr + PLX_CNTRL); in plx_pci_reset_common() 440 cntrl ^= PLX_PCI_RESET; in plx_pci_reset_common() 441 iowrite32(cntrl, card->conf_addr + PLX_CNTRL); in plx_pci_reset_common() 451 u32 cntrl; in plx9056_pci_reset_common() local 454 cntrl = ioread32(card->conf_addr + PLX9056_CNTRL); in plx9056_pci_reset_common() 455 cntrl |= PLX_PCI_RESET; in plx9056_pci_reset_common() 456 iowrite32(cntrl, card->conf_addr + PLX9056_CNTRL); in plx9056_pci_reset_common() [all …]
|
/Linux-v4.19/drivers/media/pci/cx23885/ |
D | cx23888-ir.c | 536 u32 cntrl = cx23888_ir_read4(dev, CX23888_IR_CNTRL_REG); in cx23888_ir_irq_handler() local 642 cx23888_ir_write4(dev, CX23888_IR_CNTRL_REG, cntrl & ~v); in cx23888_ir_irq_handler() 643 cx23888_ir_write4(dev, CX23888_IR_CNTRL_REG, cntrl); in cx23888_ir_irq_handler() 954 u32 cntrl = cx23888_ir_read4(dev, CX23888_IR_CNTRL_REG); in cx23888_ir_log_status() local 964 cntrl & CNTRL_RXE ? "yes" : "no"); in cx23888_ir_log_status() 966 cntrl & CNTRL_DMD ? "enabled" : "disabled"); in cx23888_ir_log_status() 968 cntrl & CNTRL_RFE ? "enabled" : "disabled"); in cx23888_ir_log_status() 969 switch (cntrl & CNTRL_EDG) { in cx23888_ir_log_status() 988 cntrl & CNTRL_R ? "not loaded" : "overflow marker"); in cx23888_ir_log_status() 990 cntrl & CNTRL_RIC ? "not empty" : "half full or greater"); in cx23888_ir_log_status() [all …]
|
/Linux-v4.19/drivers/media/i2c/cx25840/ |
D | cx25840-ir.c | 528 u32 cntrl, irqen, stats; in cx25840_ir_irq_handler() local 540 cntrl = cx25840_read4(c, CX25840_IR_CNTRL_REG); in cx25840_ir_irq_handler() 642 cx25840_write4(c, CX25840_IR_CNTRL_REG, cntrl & ~v); in cx25840_ir_irq_handler() 643 cx25840_write4(c, CX25840_IR_CNTRL_REG, cntrl); in cx25840_ir_irq_handler() 1039 u32 cntrl, txclk, rxclk, cduty, stats, irqen, filtr; in cx25840_ir_log_status() local 1045 cntrl = cx25840_read4(c, CX25840_IR_CNTRL_REG); in cx25840_ir_log_status() 1057 cntrl & CNTRL_RXE ? "yes" : "no"); in cx25840_ir_log_status() 1059 cntrl & CNTRL_DMD ? "enabled" : "disabled"); in cx25840_ir_log_status() 1061 cntrl & CNTRL_RFE ? "enabled" : "disabled"); in cx25840_ir_log_status() 1062 switch (cntrl & CNTRL_EDG) { in cx25840_ir_log_status() [all …]
|
/Linux-v4.19/arch/s390/include/uapi/asm/ |
D | tape390.h | 34 char cntrl; member
|
/Linux-v4.19/drivers/crypto/chelsio/ |
D | chcr_ipsec.c | 354 u64 cntrl = 0; in copy_cpltx_pktxt() local 368 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in copy_cpltx_pktxt() 373 cntrl |= TXPKT_VLAN_VLD_F | TXPKT_VLAN_V(skb_vlan_tag_get(skb)); in copy_cpltx_pktxt() 379 cpl->ctrl1 = cpu_to_be64(cntrl); in copy_cpltx_pktxt()
|
/Linux-v4.19/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 234 lp->rx_bd_v[i].cntrl = lp->max_frm_size; in axienet_dma_bd_init() 595 (cur_p->cntrl & XAXIDMA_BD_CTRL_LENGTH_MASK), in axienet_start_xmit_done() 691 cur_p->cntrl = skb_headlen(skb) | XAXIDMA_BD_CTRL_TXSOF_MASK; in axienet_start_xmit() 704 cur_p->cntrl = skb_frag_size(frag); in axienet_start_xmit() 707 cur_p->cntrl |= XAXIDMA_BD_CTRL_TXEOF_MASK; in axienet_start_xmit() 782 cur_p->cntrl = lp->max_frm_size; in axienet_recv() 1341 (cur_p->cntrl & in axienet_dma_err_handler() 1347 cur_p->cntrl = 0; in axienet_dma_err_handler()
|
D | xilinx_axienet.h | 370 u32 cntrl; member
|
/Linux-v4.19/drivers/net/ethernet/ni/ |
D | nixge.c | 115 u32 cntrl; member 283 priv->rx_bd_v[i].cntrl = NIXGE_MAX_JUMBO_FRAME_SIZE; in nixge_hw_dma_bd_init() 474 cur_p->cntrl = skb_headlen(skb) | XAXIDMA_BD_CTRL_TXSOF_MASK; in nixge_start_xmit() 494 cur_p->cntrl = skb_frag_size(frag); in nixge_start_xmit() 505 cur_p->cntrl |= XAXIDMA_BD_CTRL_TXEOF_MASK; in nixge_start_xmit() 589 cur_p->cntrl = NIXGE_MAX_JUMBO_FRAME_SIZE; in nixge_recv() 739 cur_p->cntrl = 0; in nixge_dma_err_handler()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1162 const struct port_info *pi, u64 *cntrl) in cxgb_fcoe_offload() argument 1182 *cntrl = TXPKT_CSUM_TYPE_V(TX_CSUM_FCOE) | in cxgb_fcoe_offload() 1300 u64 cntrl, *end, *sgl; in cxgb4_eth_xmit() local 1361 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in cxgb4_eth_xmit() 1364 err = cxgb_fcoe_offload(skb, adap, pi, &cntrl); in cxgb4_eth_xmit() 1443 cntrl = hwcsum(adap->params.chip, skb); in cxgb4_eth_xmit() 1462 cntrl = TXPKT_ETHHDR_LEN_V(eth_xtra_len); in cxgb4_eth_xmit() 1464 cntrl = T6_TXPKT_ETHHDR_LEN_V(eth_xtra_len); in cxgb4_eth_xmit() 1466 cntrl |= TXPKT_CSUM_TYPE_V(v6 ? in cxgb4_eth_xmit() 1495 cntrl = hwcsum(adap->params.chip, skb) | in cxgb4_eth_xmit() [all …]
|
/Linux-v4.19/drivers/net/fddi/skfp/ |
D | pcmplc.c | 1036 int cntrl ; in sm_ph_linestate() local 1040 cntrl = (inpw(PLC(phy,PL_CNTRL_B)) & ~PL_MAINT_LS) | in sm_ph_linestate() 1044 cntrl |= PL_M_QUI0 ; in sm_ph_linestate() 1047 cntrl |= PL_M_MASTR ; in sm_ph_linestate() 1050 cntrl |= PL_M_HALT ; in sm_ph_linestate() 1054 cntrl |= PL_M_IDLE ; in sm_ph_linestate() 1057 cntrl |= PL_M_TPDR ; in sm_ph_linestate() 1060 outpw(PLC(phy,PL_CNTRL_B),cntrl) ; in sm_ph_linestate()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1160 u64 cntrl, *end; in t4vf_eth_xmit() local 1315 cntrl = TXPKT_ETHHDR_LEN_V(eth_xtra_len); in t4vf_eth_xmit() 1317 cntrl = T6_TXPKT_ETHHDR_LEN_V(eth_xtra_len); in t4vf_eth_xmit() 1319 cntrl |= TXPKT_CSUM_TYPE_V(v6 ? in t4vf_eth_xmit() 1338 cntrl = hwcsum(adapter->params.chip, skb) | in t4vf_eth_xmit() 1342 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in t4vf_eth_xmit() 1351 cntrl |= TXPKT_VLAN_VLD_F | TXPKT_VLAN_V(skb_vlan_tag_get(skb)); in t4vf_eth_xmit() 1362 cpl->ctrl1 = cpu_to_be64(cntrl); in t4vf_eth_xmit()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1185 unsigned int flits, sgl_flits, cntrl, tso_info; in write_tx_pkt_wr() local 1191 cntrl = V_TXPKT_INTF(pi->port_id); in write_tx_pkt_wr() 1194 cntrl |= F_TXPKT_VLAN_VLD | V_TXPKT_VLAN(skb_vlan_tag_get(skb)); in write_tx_pkt_wr() 1202 cntrl |= V_TXPKT_OPCODE(CPL_TX_PKT_LSO); in write_tx_pkt_wr() 1203 hdr->cntrl = htonl(cntrl); in write_tx_pkt_wr() 1212 cntrl |= V_TXPKT_OPCODE(CPL_TX_PKT); in write_tx_pkt_wr() 1213 cntrl |= F_TXPKT_IPCSUM_DIS; /* SW calculates IP csum */ in write_tx_pkt_wr() 1214 cntrl |= V_TXPKT_L4CSUM_DIS(skb->ip_summed != CHECKSUM_PARTIAL); in write_tx_pkt_wr() 1215 cpl->cntrl = htonl(cntrl); in write_tx_pkt_wr()
|
D | t3_cpl.h | 1085 __be32 cntrl; member 1091 __be32 cntrl; member
|
/Linux-v4.19/drivers/s390/char/ |
D | tape_std.c | 137 *(unsigned char *) request->cpdata = disp->cntrl; in tape_std_display() 138 DBF_EVENT(5, "TAPE: display cntrl=%04x\n", disp->cntrl); in tape_std_display()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 2005 u32 cntrl = iwl_read32(trans, CSR_GP_CNTRL); in iwl_trans_pcie_grab_nic_access() local 2009 cntrl); in iwl_trans_pcie_grab_nic_access() 2013 if (iwlwifi_mod_params.remove_when_gone && cntrl == ~0U) { in iwl_trans_pcie_grab_nic_access()
|