/linux/drivers/net/usb/ |
A D | aqc111.c | 424 u16 reg16 = 0; in aqc111_change_mtu() local 482 u16 reg16 = 0; in aqc111_vlan_rx_kill_vid() local 507 u16 reg16 = 0; in aqc111_vlan_rx_add_vid() local 571 u16 reg16 = 0; in aqc111_set_features() local 755 u16 reg16; in aqc111_unbind() local 760 2, ®16); in aqc111_unbind() 761 reg16 = 0; in aqc111_unbind() 938 reg16 = 0; in aqc111_link_reset() 1043 reg16 = 0; in aqc111_stop() 1323 u16 reg16; in aqc111_suspend() local [all …]
|
/linux/drivers/pinctrl/renesas/ |
A D | pinctrl-rza2.c | 76 u16 reg16; in rza2_set_pin_function() local 80 reg16 = readw(pfc_base + RZA2_PDR(port)); in rza2_set_pin_function() 82 reg16 &= ~mask16; in rza2_set_pin_function() 83 writew(reg16, pfc_base + RZA2_PDR(port)); in rza2_set_pin_function() 113 u16 reg16; in rza2_pin_to_gpio() local 115 reg16 = readw(pfc_base + RZA2_PDR(port)); in rza2_pin_to_gpio() 117 reg16 &= ~mask16; in rza2_pin_to_gpio() 132 u16 reg16; in rza2_chip_get_direction() local 135 reg16 = (reg16 >> (pin * 2)) & RZA2_PDR_MASK; in rza2_chip_get_direction() 137 if (reg16 == RZA2_PDR_OUTPUT) in rza2_chip_get_direction() [all …]
|
A D | pinctrl-rzg2l.c | 679 u16 reg16; in rzg2l_gpio_set_direction() local 683 reg16 = readw(pctrl->base + PM(port)); in rzg2l_gpio_set_direction() 684 reg16 &= ~(PM_MASK << (bit * 2)); in rzg2l_gpio_set_direction() 687 writew(reg16, pctrl->base + PM(port)); in rzg2l_gpio_set_direction() 699 u16 reg16; in rzg2l_gpio_get_direction() local 702 reg16 = (reg16 >> (bit * 2)) & PM_MASK; in rzg2l_gpio_get_direction() 703 if (reg16 == PM_OUTPUT) in rzg2l_gpio_get_direction() 761 u16 reg16; in rzg2l_gpio_get() local 764 reg16 = (reg16 >> (bit * 2)) & PM_MASK; in rzg2l_gpio_get() 766 if (reg16 == PM_INPUT) in rzg2l_gpio_get() [all …]
|
/linux/drivers/pci/pcie/ |
A D | aspm.c | 173 u16 reg16; in pcie_clkpm_cap_init() local 199 u16 reg16; in pcie_retrain_link() local 202 reg16 |= PCI_EXP_LNKCTL_RL; in pcie_retrain_link() 210 reg16 &= ~PCI_EXP_LNKCTL_RL; in pcie_retrain_link() 218 if (!(reg16 & PCI_EXP_LNKSTA_LT)) in pcie_retrain_link() 260 ®16); in pcie_aspm_configure_common_clock() 276 reg16 |= PCI_EXP_LNKCTL_CCC; in pcie_aspm_configure_common_clock() 278 reg16 &= ~PCI_EXP_LNKCTL_CCC; in pcie_aspm_configure_common_clock() 284 parent_reg = reg16; in pcie_aspm_configure_common_clock() 286 reg16 |= PCI_EXP_LNKCTL_CCC; in pcie_aspm_configure_common_clock() [all …]
|
A D | portdrv_core.c | 49 u16 reg16; in pcie_message_numbers() local 60 pcie_capability_read_word(dev, PCI_EXP_FLAGS, ®16); in pcie_message_numbers() 61 *pme = (reg16 & PCI_EXP_FLAGS_IRQ) >> 9; in pcie_message_numbers() 83 ®16); in pcie_message_numbers() 84 *dpc = reg16 & PCI_EXP_DPC_IRQ; in pcie_message_numbers()
|
A D | aer.c | 828 u16 reg16; in is_error_source() local 857 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, ®16); in is_error_source() 858 if (!(reg16 & PCI_EXP_AER_FLAGS)) in is_error_source() 1260 u16 reg16; in aer_enable_rootport() local 1264 pcie_capability_read_word(pdev, PCI_EXP_DEVSTA, ®16); in aer_enable_rootport() 1265 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, reg16); in aer_enable_rootport()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fw_reset.c | 236 u16 reg16, dev_id, sdev_id; in mlx5_pci_link_toggle() local 265 err = pci_read_config_word(bridge, cap + PCI_EXP_LNKCTL, ®16); in mlx5_pci_link_toggle() 268 reg16 |= PCI_EXP_LNKCTL_LD; in mlx5_pci_link_toggle() 269 err = pci_write_config_word(bridge, cap + PCI_EXP_LNKCTL, reg16); in mlx5_pci_link_toggle() 273 reg16 &= ~PCI_EXP_LNKCTL_LD; in mlx5_pci_link_toggle() 274 err = pci_write_config_word(bridge, cap + PCI_EXP_LNKCTL, reg16); in mlx5_pci_link_toggle() 290 err = pci_read_config_word(bridge, cap + PCI_EXP_LNKSTA, ®16); in mlx5_pci_link_toggle() 293 if (reg16 & PCI_EXP_LNKSTA_DLLLA) in mlx5_pci_link_toggle() 298 if (reg16 & PCI_EXP_LNKSTA_DLLLA) { in mlx5_pci_link_toggle() 302 reg16, mlx5_tout_ms(dev, PCI_TOGGLE)); in mlx5_pci_link_toggle()
|
/linux/drivers/media/tuners/ |
A D | m88rs6000t.c | 28 u8 reg11, reg15, reg16, reg1D, reg1E, reg1F; in m88rs6000t_set_demod_mclk() local 43 reg16 = 115; /* mclk = 110.25MHz */ in m88rs6000t_set_demod_mclk() 47 reg16 = 96; /* mclk = 96MHz */ in m88rs6000t_set_demod_mclk() 57 pll_div_fb += reg16; in m88rs6000t_set_demod_mclk() 117 ret = regmap_write(dev->regmap, 0x16, reg16); in m88rs6000t_set_demod_mclk()
|
/linux/arch/mips/include/asm/ |
A D | processor.h | 229 unsigned long reg16; member 298 .reg16 = 0, \
|
/linux/drivers/media/dvb-frontends/ |
A D | m88ds3103.c | 382 u8 reg16_list[3] = {96, 92, 100}, reg16, reg15; in m88ds3103b_select_mclk() local 393 reg16 = 115; in m88ds3103b_select_mclk() 395 reg16 = 96; in m88ds3103b_select_mclk() 406 reg16 = reg16_list[i]; in m88ds3103b_select_mclk() 440 m88ds3103b_dt_write(dev, 0x16, reg16); in m88ds3103b_select_mclk() 454 u8 reg11 = 0x0A, reg15, reg16, reg1D, reg1E, reg1F, tmp; in m88ds3103b_set_mclk() local 460 reg16 = m88ds3103b_dt_read(dev, 0x16); in m88ds3103b_set_mclk() 464 if (reg16 == 92) in m88ds3103b_set_mclk() 466 else if (reg16 == 100) in m88ds3103b_set_mclk() 476 pll_div_fb += reg16; in m88ds3103b_set_mclk()
|
A D | drxk_hard.c | 6501 u16 reg16; in drxk_get_stats() local 6562 status = read16(state, OFDM_EC_VD_ERR_BIT_CNT__A, ®16); in drxk_get_stats() 6565 pre_bit_err_count = reg16; in drxk_get_stats() 6567 status = read16(state, OFDM_EC_VD_IN_BIT_CNT__A , ®16); in drxk_get_stats() 6570 pre_bit_count = reg16; in drxk_get_stats() 6573 status = read16(state, FEC_RS_NR_BIT_ERRORS__A, ®16); in drxk_get_stats() 6576 post_bit_err_count = reg16; in drxk_get_stats() 6581 post_bit_error_scale = reg16; in drxk_get_stats() 6583 status = read16(state, FEC_RS_MEASUREMENT_PERIOD__A, ®16); in drxk_get_stats() 6586 pkt_count = reg16; in drxk_get_stats() [all …]
|
/linux/drivers/pci/hotplug/ |
A D | pciehp_hpc.c | 954 u16 reg16; in dbg_ctrl() local 957 pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, ®16); in dbg_ctrl() 958 ctrl_dbg(ctrl, "Slot Status : 0x%04x\n", reg16); in dbg_ctrl() 959 pcie_capability_read_word(pdev, PCI_EXP_SLTCTL, ®16); in dbg_ctrl() 960 ctrl_dbg(ctrl, "Slot Control : 0x%04x\n", reg16); in dbg_ctrl()
|
A D | cpqphp_ctrl.c | 1121 u16 reg16; in set_controller_speed() local 1176 reg16 = readw(ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed() 1177 reg16 &= ~0x000F; in set_controller_speed() 1181 reg16 |= 0xB; in set_controller_speed() 1185 reg16 |= 0xA; in set_controller_speed() 1189 reg16 |= 0x9; in set_controller_speed() 1193 reg16 |= 0x1; in set_controller_speed() 1200 reg16 |= 0xB << 12; in set_controller_speed() 1201 writew(reg16, ctrl->hpc_reg + NEXT_CURR_FREQ); in set_controller_speed()
|
/linux/samples/vfio-mdev/ |
A D | mbochs.c | 330 u16 reg16; in handle_mmio_write() local 339 reg16 = *(u16 *)buf; in handle_mmio_write() 341 mdev_state->vbe[index] = reg16; in handle_mmio_write() 343 __func__, index, reg16, vbe_name(index)); in handle_mmio_write() 360 u16 reg16 = 0; in handle_mmio_read() local 378 reg16 = mdev_state->vbe[index]; in handle_mmio_read() 380 __func__, index, reg16, vbe_name(index)); in handle_mmio_read() 381 *(u16 *)buf = reg16; in handle_mmio_read()
|
/linux/drivers/pci/controller/ |
A D | pcie-altera.c | 568 u16 reg16; in altera_wait_link_retrain() local 575 PCI_EXP_LNKSTA, ®16); in altera_wait_link_retrain() 576 if (!(reg16 & PCI_EXP_LNKSTA_LT)) in altera_wait_link_retrain()
|
/linux/kernel/debug/kdb/ |
A D | kdb_main.c | 1836 u16 reg16; in kdb_rd() local 1860 rname = dbg_get_reg(i, ®16, kdb_current_regs); in kdb_rd() 1863 len += kdb_printf("%s: %04x", rname, reg16); in kdb_rd() 1905 u16 reg16; in kdb_rm() local 1939 reg16 = reg64; in kdb_rm() 1940 dbg_set_reg(i, ®16, kdb_current_regs); in kdb_rm()
|
/linux/arch/mips/kernel/ |
A D | kgdb.c | 238 *(ptr++) = p->thread.reg16; in sleeping_thread_to_gdb_regs()
|
A D | asm-offsets.c | 111 OFFSET(THREAD_REG16, task_struct, thread.reg16); in output_thread_defines()
|
A D | process.c | 127 p->thread.reg16 = usp; /* fn */ in copy_thread()
|
/linux/drivers/net/ethernet/altera/ |
A D | altera_tse.h | 152 u32 reg16; member
|
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
A D | dev.c | 795 u16 reg16; in rtl8180_config_cardbus() local 805 reg16 = rtl818x_ioread16(priv, &priv->map->FEMR); in rtl8180_config_cardbus() 806 reg16 |= (1 << 15) | (1 << 14) | (1 << 4); in rtl8180_config_cardbus() 807 rtl818x_iowrite16(priv, &priv->map->FEMR, reg16); in rtl8180_config_cardbus()
|
/linux/drivers/pci/ |
A D | quirks.c | 5224 u16 reg16, *cap; in quirk_intel_qat_vf_cap() local 5253 pci_read_config_word(pdev, pos, ®16); in quirk_intel_qat_vf_cap() 5254 if (reg16 == (0x0000 | PCI_CAP_ID_EXP)) { in quirk_intel_qat_vf_cap() 5262 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); in quirk_intel_qat_vf_cap() 5263 pdev->pcie_flags_reg = reg16; in quirk_intel_qat_vf_cap() 5264 pci_read_config_word(pdev, pos + PCI_EXP_DEVCAP, ®16); in quirk_intel_qat_vf_cap() 5265 pdev->pcie_mpss = reg16 & PCI_EXP_DEVCAP_PAYLOAD; in quirk_intel_qat_vf_cap()
|
A D | probe.c | 1522 u16 reg16; in set_pcie_port_type() local 1531 pci_read_config_word(pdev, pos + PCI_EXP_FLAGS, ®16); in set_pcie_port_type() 1532 pdev->pcie_flags_reg = reg16; in set_pcie_port_type()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
A D | phy_int.h | 345 u16 reg16; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_hsi.h | 684 __le32 reg16; member 3501 __le32 reg16; member 5571 __le32 reg16; member 8983 __le32 reg16; member 10619 __le32 reg16; member
|