/linux/drivers/comedi/drivers/ |
H A D | daqboard2000.c | 420 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/drivers/net/can/sja1000/ |
H A D | plx_pci.c | 448 u32 cntrl; in plx_pci_reset_common() local 450 cntrl = ioread32(card->conf_addr + PLX_CNTRL); in plx_pci_reset_common() 451 cntrl |= PLX_PCI_RESET; in plx_pci_reset_common() 452 iowrite32(cntrl, card->conf_addr + PLX_CNTRL); in plx_pci_reset_common() 454 cntrl ^= PLX_PCI_RESET; in plx_pci_reset_common() 455 iowrite32(cntrl, card->conf_addr + PLX_CNTRL); in plx_pci_reset_common() 465 u32 cntrl; in plx9056_pci_reset_common() local 468 cntrl = ioread32(card->conf_addr + PLX9056_CNTRL); in plx9056_pci_reset_common() 469 cntrl |= PLX_PCI_RESET; in plx9056_pci_reset_common() 470 iowrite32(cntrl, card->conf_addr + PLX9056_CNTRL); in plx9056_pci_reset_common() [all …]
|
/linux/drivers/media/pci/cx23885/ |
H A D | cx23888-ir.c | 507 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/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 499 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/drivers/net/wwan/ |
H A D | mhi_wwan_mbim.c | 98 static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl) in mhi_mbim_get_link_mux_id() argument 100 if (strcmp(cntrl->name, "foxconn-dw5934e") == 0 || in mhi_mbim_get_link_mux_id() 101 strcmp(cntrl->name, "foxconn-t99w515") == 0) in mhi_mbim_get_link_mux_id() 608 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_probe() local 632 link_id = mhi_mbim_get_link_mux_id(cntrl); in mhi_mbim_probe() 635 return wwan_register_ops(&cntrl->mhi_dev->dev, &mhi_mbim_wwan_ops, mbim, link_id); in mhi_mbim_probe() 641 struct mhi_controller *cntrl = mhi_dev->mhi_cntrl; in mhi_mbim_remove() local 645 wwan_unregister_ops(&cntrl->mhi_dev->dev); in mhi_mbim_remove()
|
H A D | mhi_wwan_ctrl.c | 217 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/arch/s390/include/uapi/asm/ |
H A D | tape390.h | 34 char cntrl; member
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1235 const struct port_info *pi, u64 *cntrl) in cxgb_fcoe_offload() argument 1255 *cntrl = TXPKT_CSUM_TYPE_V(TX_CSUM_FCOE) | in cxgb_fcoe_offload() 1501 u64 cntrl, *end, *sgl; in cxgb4_eth_xmit() local 1539 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in cxgb4_eth_xmit() 1542 ret = cxgb_fcoe_offload(skb, adap, pi, &cntrl); in cxgb4_eth_xmit() 1629 cntrl = hwcsum(adap->params.chip, skb); in cxgb4_eth_xmit() 1632 cntrl = hwcsum(adap->params.chip, skb); in cxgb4_eth_xmit() 1646 cntrl = hwcsum(adap->params.chip, skb); in cxgb4_eth_xmit() 1668 cntrl = hwcsum(adap->params.chip, skb) | in cxgb4_eth_xmit() 1686 cntrl |= TXPKT_VLAN_VLD_F | TXPKT_VLAN_V(skb_vlan_tag_get(skb)); in cxgb4_eth_xmit() [all …]
|
/linux/drivers/net/ethernet/ni/ |
H A D | nixge.c | 120 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() 806 cur_p->cntrl = 0; in nixge_dma_err_handler()
|
/linux/drivers/net/fddi/skfp/ |
H A D | pcmplc.c | 1028 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/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 473 u64 cntrl = 0; in copy_cpltx_pktxt() local 487 cntrl = TXPKT_L4CSUM_DIS_F | TXPKT_IPCSUM_DIS_F; in copy_cpltx_pktxt() 492 cntrl |= TXPKT_VLAN_VLD_F | TXPKT_VLAN_V(skb_vlan_tag_get(skb)); in copy_cpltx_pktxt() 498 cpl->ctrl1 = cpu_to_be64(cntrl); in copy_cpltx_pktxt()
|
/linux/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 213 if (lp->rx_bd_v[i].cntrl) { in axienet_dma_bd_release() 362 lp->rx_bd_v[i].cntrl = lp->max_frm_size; in axienet_dma_bd_init() 763 (cur_p->cntrl & XAXIDMA_BD_CTRL_LENGTH_MASK), in axienet_free_tx_chain() 778 cur_p->cntrl = 0; in axienet_free_tx_chain() 816 if (cur_p->cntrl) in axienet_check_tx_bd_space() 1058 cur_p->cntrl = skb_headlen(skb) | XAXIDMA_BD_CTRL_TXSOF_MASK; in axienet_start_xmit() 1079 cur_p->cntrl = skb_frag_size(frag); in axienet_start_xmit() 1082 cur_p->cntrl |= XAXIDMA_BD_CTRL_TXEOF_MASK; in axienet_start_xmit() 1224 cur_p->cntrl = lp->max_frm_size; in axienet_rx_poll() 2490 if (cur_p->cntrl) { in axienet_dma_err_handler() [all …]
|
H A D | xilinx_axienet.h | 442 u32 cntrl; member
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1160 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/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 1182 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()
|
H A D | t3_cpl.h | 1085 __be32 cntrl; member 1091 __be32 cntrl; member
|
/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-mhi.c | 19 #define to_epf_mhi(cntrl) container_of(cntrl, struct pci_epf_mhi, cntrl) argument
|
/linux/drivers/s390/char/ |
H A D | tape_std.c | 136 *(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/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans.c | 2242 u32 cntrl = iwl_read32(trans, CSR_GP_CNTRL); in __iwl_trans_pcie_grab_nic_access() local 2246 cntrl); in __iwl_trans_pcie_grab_nic_access() 2250 if (iwlwifi_mod_params.remove_when_gone && cntrl == ~0U) in __iwl_trans_pcie_grab_nic_access()
|