/linux-6.14.4/drivers/net/ethernet/davicom/ |
D | dm9051.c | 119 static int dm9051_set_reg(struct board_info *db, unsigned int reg, unsigned int val) in dm9051_set_reg() 130 static int dm9051_update_bits(struct board_info *db, unsigned int reg, unsigned int mask, in dm9051_update_bits() 131 unsigned int val) in dm9051_update_bits() 144 static int dm9051_dumpblk(struct board_info *db, u8 reg, size_t count) in dm9051_dumpblk() 166 static int dm9051_set_regs(struct board_info *db, unsigned int reg, const void *val, in dm9051_set_regs() 178 static int dm9051_get_regs(struct board_info *db, unsigned int reg, void *val, in dm9051_get_regs() 190 static int dm9051_write_mem(struct board_info *db, unsigned int reg, const void *buff, in dm9051_write_mem() 202 static int dm9051_read_mem(struct board_info *db, unsigned int reg, void *buff, in dm9051_read_mem() 217 static int dm9051_nsr_poll(struct board_info *db) in dm9051_nsr_poll() 229 static int dm9051_epcr_poll(struct board_info *db) in dm9051_epcr_poll() [all …]
|
/linux-6.14.4/drivers/net/ethernet/tehuti/ |
D | tn40.c | 73 struct tn40_rxdb *db; in tn40_rxdb_alloc() local 89 static void tn40_rxdb_free(struct tn40_rxdb *db) in tn40_rxdb_free() 94 static int tn40_rxdb_alloc_elem(struct tn40_rxdb *db) in tn40_rxdb_alloc_elem() 99 static void *tn40_rxdb_addr_elem(struct tn40_rxdb *db, unsigned int n) in tn40_rxdb_addr_elem() 104 static int tn40_rxdb_available(struct tn40_rxdb *db) in tn40_rxdb_available() 109 static void tn40_rxdb_free_elem(struct tn40_rxdb *db, unsigned int n) in tn40_rxdb_free_elem() 178 struct tn40_rxdb *db = priv->rxdb0; in tn40_rx_free_buffers() local 243 struct tn40_rxdb *db = priv->rxdb0; in tn40_rx_alloc_buffers() local 289 struct tn40_rxdb *db = NULL; in tn40_rx_receive() local 458 static void tn40_do_tx_db_ptr_next(struct tn40_txdb *db, in tn40_do_tx_db_ptr_next() [all …]
|
D | tehuti.c | 366 u32 val; in bdx_restore_mac() local 454 u32 val, i; in bdx_hw_reset_direct() local 477 u32 val, i; in bdx_hw_reset() local 703 u32 reg, bit, val; in __bdx_vlan_rx_vid() local 789 u32 reg, val; in bdx_setmulti() local 862 u64 val; in bdx_read_l2stat() local 917 static void bdx_rxdb_destroy(struct rxdb *db) in bdx_rxdb_destroy() 924 struct rxdb *db; in bdx_rxdb_create() local 943 static inline int bdx_rxdb_alloc_elem(struct rxdb *db) in bdx_rxdb_alloc_elem() 949 static inline void *bdx_rxdb_addr_elem(struct rxdb *db, int n) in bdx_rxdb_addr_elem() [all …]
|
/linux-6.14.4/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_hwinfo.c | 108 const char *key, *val, *end = hwinfo->data + size; in hwinfo_db_walk() local 129 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate() 159 u8 *db; in hwinfo_try_fetch() local 211 struct nfp_hwinfo *db; in hwinfo_fetch() local 231 struct nfp_hwinfo *db; in nfp_hwinfo_read() local 257 const char *key, *val, *end; in nfp_hwinfo_lookup() local
|
/linux-6.14.4/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_fdma.c | 9 static int lan966x_fdma_rx_dataptr_cb(struct fdma *fdma, int dcb, int db, in lan966x_fdma_rx_dataptr_cb() 26 static int lan966x_fdma_tx_dataptr_cb(struct fdma *fdma, int dcb, int db, in lan966x_fdma_tx_dataptr_cb() 36 static int lan966x_fdma_xdp_tx_dataptr_cb(struct fdma *fdma, int dcb, int db, in lan966x_fdma_xdp_tx_dataptr_cb() 172 u32 val; in lan966x_fdma_rx_disable() local 272 u32 val; in lan966x_fdma_tx_disable() local 338 struct fdma_db *db; in lan966x_fdma_tx_clear_buf() local 396 struct fdma_db *db; in lan966x_fdma_rx_check_frame() local 427 struct fdma_db *db; in lan966x_fdma_rx_get_frame() local 547 u32 db, err, err_type; in lan966x_fdma_irq_handler() local 861 u32 val; in __lan966x_fdma_reload() local
|
/linux-6.14.4/drivers/infiniband/hw/mthca/ |
D | mthca_doorbell.h | 54 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) in mthca_write64_raw() 65 static inline void mthca_write_db_rec(__be32 val[2], __be32 *db) in mthca_write_db_rec() 82 static inline void mthca_write64_raw(__be64 val, void __iomem *dest) in mthca_write64_raw() 102 static inline void mthca_write_db_rec(__be32 val[2], __be32 *db) in mthca_write_db_rec()
|
/linux-6.14.4/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 143 #define dw32(reg, val) iowrite32(val, ioaddr + (reg)) argument 144 #define dw16(reg, val) iowrite16(val, ioaddr + (reg)) argument 354 struct dmfe_board_info *db; /* board information structure */ in dmfe_init_one() local 516 struct dmfe_board_info *db = netdev_priv(dev); in dmfe_remove_one() local 545 struct dmfe_board_info *db = netdev_priv(dev); in dmfe_open() local 602 struct dmfe_board_info *db = netdev_priv(dev); in dmfe_init_dm910x() local 669 struct dmfe_board_info *db = netdev_priv(dev); in dmfe_start_xmit() local 739 struct dmfe_board_info *db = netdev_priv(dev); in dmfe_stop() local 782 struct dmfe_board_info *db = netdev_priv(dev); in dmfe_interrupt() local 847 struct dmfe_board_info *db = netdev_priv(dev); in poll_dmfe() local [all …]
|
D | uli526x.c | 35 #define uw32(reg, val) iowrite32(val, ioaddr + (reg)) argument 239 static void srom_clk_write(struct uli526x_board_info *db, u32 data) in srom_clk_write() 272 struct uli526x_board_info *db; /* board information structure */ in uli526x_init_one() local 431 struct uli526x_board_info *db = netdev_priv(dev); in uli526x_remove_one() local 454 struct uli526x_board_info *db = netdev_priv(dev); in uli526x_open() local 502 struct uli526x_board_info *db = netdev_priv(dev); in uli526x_init() local 585 struct uli526x_board_info *db = netdev_priv(dev); in uli526x_start_xmit() local 652 struct uli526x_board_info *db = netdev_priv(dev); in uli526x_stop() local 684 struct uli526x_board_info *db = netdev_priv(dev); in uli526x_interrupt() local 733 struct uli526x_board_info *db = netdev_priv(dev); in uli526x_poll() local [all …]
|
/linux-6.14.4/arch/powerpc/platforms/ps3/ |
D | os-area.c | 371 static int db_verify(const struct os_area_db *db) in db_verify() 393 const struct os_area_db *db; member 404 static unsigned int db_align_up(unsigned int val, unsigned int size) in db_align_up() 416 static int db_for_each_64(const struct os_area_db *db, in db_for_each_64() 447 static int db_delete_64(struct os_area_db *db, const struct os_area_db_id *id) in db_delete_64() 464 static int db_set_64(struct os_area_db *db, const struct os_area_db_id *id, in db_set_64() 502 static int __init db_get_64(const struct os_area_db *db, in db_get_64() 518 static int __init db_get_rtc_diff(const struct os_area_db *db, int64_t *rtc_diff) in db_get_rtc_diff() 524 static void _dump_db(const struct os_area_db *db, const char *func, in _dump_db() 548 static void os_area_db_init(struct os_area_db *db) in os_area_db_init() [all …]
|
/linux-6.14.4/drivers/net/wireless/realtek/rtw89/ |
D | util.c | 32 u32 rtw89_linear_2_db(u64 val) in rtw89_linear_2_db() 86 u64 rtw89_db_2_linear(u32 db) in rtw89_db_2_linear()
|
/linux-6.14.4/drivers/net/dsa/microchip/ |
D | ksz9477.c | 61 unsigned int val; in ksz9477_wait_vlan_ctrl_ready() local 148 unsigned int val; in ksz9477_wait_alu_ready() local 156 unsigned int val; in ksz9477_wait_alu_sta_ready() local 204 unsigned int val; in ksz9477_r_mib_cnt() local 237 u32 val = freeze ? MIB_COUNTER_FLUSH_FREEZE : 0; in ksz9477_freeze_mib() local 341 u16 val = 0xffff; in ksz9477_r_phy() local 395 int ksz9477_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val) in ksz9477_w_phy() 534 const unsigned char *addr, u16 vid, struct dsa_db db) in ksz9477_fdb_add() 590 const unsigned char *addr, u16 vid, struct dsa_db db) in ksz9477_fdb_del() 733 const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) in ksz9477_mdb_add() [all …]
|
D | ksz8.c | 96 static int ksz8_ind_read8(struct ksz_device *dev, u8 table, u16 addr, u8 *val) in ksz8_ind_read8() 760 u16 *val) in ksz879x_get_loopback() 787 static int ksz879x_set_loopback(struct ksz_device *dev, u16 port, u16 val) in ksz879x_set_loopback() 811 static int ksz8_r_phy_ctrl(struct ksz_device *dev, int port, u16 *val) in ksz8_r_phy_ctrl() 877 static int ksz8_r_phy_bmcr(struct ksz_device *dev, u16 port, u16 *val) in ksz8_r_phy_bmcr() 942 int ksz8_r_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 *val) in ksz8_r_phy() 1070 static int ksz8_w_phy_ctrl(struct ksz_device *dev, int port, u16 val) in ksz8_w_phy_ctrl() 1124 static int ksz8_w_phy_bmcr(struct ksz_device *dev, u16 port, u16 val) in ksz8_w_phy_bmcr() 1206 int ksz8_w_phy(struct ksz_device *dev, u16 phy, u16 reg, u16 val) in ksz8_w_phy() 1411 const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) in ksz8_mdb_add() [all …]
|
/linux-6.14.4/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_fdma.c | 24 static int sparx5_fdma_tx_dataptr_cb(struct fdma *fdma, int dcb, int db, in sparx5_fdma_tx_dataptr_cb() 33 static int sparx5_fdma_rx_dataptr_cb(struct fdma *fdma, int dcb, int db, in sparx5_fdma_rx_dataptr_cb() 318 u32 db = 0, err = 0; in sparx5_fdma_handler() local 472 u32 val; in sparx5_fdma_stop() local
|
/linux-6.14.4/drivers/net/dsa/qca/ |
D | qca8k-common.c | 66 int qca8k_read(struct qca8k_priv *priv, u32 reg, u32 *val) in qca8k_read() 71 int qca8k_write(struct qca8k_priv *priv, u32 reg, u32 val) in qca8k_write() 106 u32 val; in qca8k_busy_wait() local 498 u32 reg, i, val; in qca8k_get_ethtool_stats() local 733 u32 val; in qca8k_set_ageing_time() local 827 struct dsa_db db) in qca8k_port_fdb_add() 837 struct dsa_db db) in qca8k_port_fdb_del() 873 struct dsa_db db) in qca8k_port_mdb_add() 888 struct dsa_db db) in qca8k_port_mdb_del() 906 u32 reg, val; in qca8k_port_mirror_add() local [all …]
|
/linux-6.14.4/net/dsa/ |
D | port.c | 351 const unsigned long val = BR_FLOOD | BR_MCAST_FLOOD | BR_BCAST_FLOOD; in dsa_port_clear_brport_flags() local 1024 struct dsa_db db) in dsa_port_host_fdb_add() 1039 struct dsa_db db = { in dsa_port_standalone_host_fdb_add() local 1051 struct dsa_db db = { in dsa_port_bridge_host_fdb_add() local 1075 struct dsa_db db) in dsa_port_host_fdb_del() 1090 struct dsa_db db = { in dsa_port_standalone_host_fdb_del() local 1102 struct dsa_db db = { in dsa_port_bridge_host_fdb_del() local 1207 struct dsa_db db) in dsa_port_host_mdb_add() 1221 struct dsa_db db = { in dsa_port_standalone_host_mdb_add() local 1233 struct dsa_db db = { in dsa_port_bridge_host_mdb_add() local [all …]
|
/linux-6.14.4/lib/raid6/ |
D | recov_neon_inner.c | 19 uint8x16_t val; in vqtbl1q_u8() member 51 uint8x16_t vx, vy, px, qx, db; in __raid6_2data_recov_neon() local
|
/linux-6.14.4/drivers/perf/amlogic/ |
D | meson_g12_ddr_pmu.c | 130 unsigned int val; in dmc_g12_get_freq_quick() local 173 static void g12_dump_reg(struct dmc_info *db) in g12_dump_reg() 201 unsigned int val; in dmc_g12_counter_enable() local 223 u32 val; in dmc_g12_config_fiter() local 301 unsigned int val; in dmc_g12_irq_handler() local
|
/linux-6.14.4/drivers/net/dsa/ |
D | lan9303-core.c | 289 u32 val; in lan9303_virt_phy_reg_read() local 301 static int lan9303_virt_phy_reg_write(struct lan9303 *chip, int regnum, u16 val) in lan9303_virt_phy_reg_write() 318 u32 val; in lan9303_indirect_phy_read() local 353 int regnum, u16 val) in lan9303_indirect_phy_write() 393 static int lan9303_write_switch_reg(struct lan9303 *chip, u16 regnum, u32 val) in lan9303_write_switch_reg() 425 static int lan9303_read_switch_reg(struct lan9303 *chip, u16 regnum, u32 *val) in lan9303_read_switch_reg() 462 u32 val, u32 mask) in lan9303_write_switch_reg_mask() 477 u16 regnum, u32 val) in lan9303_write_switch_port() 484 u16 regnum, u32 *val) in lan9303_read_switch_port() 785 u32 val; in lan9303_setup_tagging() local [all …]
|
D | mt7530.c | 93 core_write(struct mt7530_priv *priv, u32 reg, u32 val) in core_write() 132 u32 val; in core_rmw() local 171 core_set(struct mt7530_priv *priv, u32 reg, u32 val) in core_set() 177 core_clear(struct mt7530_priv *priv, u32 reg, u32 val) in core_clear() 183 mt7530_mii_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_mii_write() 200 u32 val; in mt7530_mii_read() local 214 mt7530_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_write() 232 u32 val; in _mt7530_read() local 264 mt7530_set(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_set() 270 mt7530_clear(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_clear() [all …]
|
/linux-6.14.4/drivers/net/dsa/ocelot/ |
D | felix.c | 32 static struct net_device *felix_classify_db(struct dsa_db db) in felix_classify_db() 678 unsigned long val; in felix_set_host_flood() local 875 struct dsa_db db) in felix_fdb_add() 896 struct dsa_db db) in felix_fdb_del() 917 struct dsa_db db) in felix_lag_fdb_add() 930 struct dsa_db db) in felix_lag_fdb_del() 943 struct dsa_db db) in felix_mdb_add() 963 struct dsa_db db) in felix_mdb_del() 990 struct switchdev_brport_flags val, in felix_pre_bridge_flags() 999 struct switchdev_brport_flags val, in felix_bridge_flags()
|
/linux-6.14.4/drivers/net/dsa/b53/ |
D | b53_common.c | 642 u8 hdr_ctl, val; in b53_brcm_hdr_setup() local 908 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16() 1020 u64 val = 0; in b53_get_ethtool_stats() local 1170 u8 reg, val, off; in b53_force_link() local 1194 u8 reg, val, off; in b53_force_port_config() local 1756 struct dsa_db db) in b53_fdb_add() 1777 struct dsa_db db) in b53_fdb_del() 1879 struct dsa_db db) in b53_mdb_add() 1900 struct dsa_db db) in b53_mdb_del()
|
/linux-6.14.4/drivers/mailbox/ |
D | pcc.c | 105 struct pcc_chan_reg db; member 130 static void read_register(void __iomem *vaddr, u64 *val, unsigned int bit_width) in read_register() 148 static void write_register(void __iomem *vaddr, u64 val, unsigned int bit_width) in write_register() 166 static int pcc_chan_reg_read(struct pcc_chan_reg *reg, u64 *val) in pcc_chan_reg_read() 183 static int pcc_chan_reg_write(struct pcc_chan_reg *reg, u64 val) in pcc_chan_reg_write() 201 u64 val; in pcc_chan_reg_read_modify_write() local 245 u64 val; in pcc_mbox_cmd_complete_check() local 312 u64 val; in pcc_mbox_irq() local
|
/linux-6.14.4/drivers/gpu/drm/imx/dcss/ |
D | dcss-ctxld.c | 60 u32 val; member 72 struct dcss_ctxld_item *db[2]; member 332 void dcss_ctxld_write_irqsafe(struct dcss_ctxld *ctxld, u32 ctx_id, u32 val, in dcss_ctxld_write_irqsafe() 354 u32 val, u32 reg_ofs) in dcss_ctxld_write()
|
/linux-6.14.4/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 118 u16 val = port << HR_PSEL_PTWSEL_SHIFT; in hellcreek_select_port() local 125 u16 val = prio << HR_PSEL_PRTCWSEL_SHIFT; in hellcreek_select_prio() local 133 u16 val = port << HR_PSEL_PTWSEL_SHIFT; in hellcreek_select_port_prio() local 142 u16 val = counter << HR_CSEL_SHIFT; in hellcreek_select_counter() local 153 u16 val = 0; in hellcreek_select_vlan() local 167 u16 val = port << TR_TGDSEL_TDGSEL_SHIFT; in hellcreek_select_tgd() local 174 u16 val; in hellcreek_wait_until_ready() local 184 u16 val; in hellcreek_wait_until_transitioned() local 193 u16 val; in hellcreek_wait_fdb_ready() local 252 u16 val; in hellcreek_port_enable() local [all …]
|
/linux-6.14.4/drivers/scsi/be2iscsi/ |
D | be_cmds.c | 564 u32 val = 0; in be_mcc_notify() local 589 void __iomem *db = ctrl->db + MPU_MAILBOX_DB_OFFSET; in be_mbox_db_ready_poll() local 638 u32 val = 0; in be_mbox_notify() local 639 void __iomem *db = ctrl->db + MPU_MAILBOX_DB_OFFSET; in be_mbox_notify() local
|