/openbmc/linux/drivers/ntb/hw/mscc/ |
H A D | ntb_hw_switchtec.c | 35 u32 magic; 36 u32 link_sta; 37 u32 partition_id; 39 u32 spad[128]; 109 u32 ps; in switchtec_ntb_part_op() 156 u32 val) in switchtec_ntb_send_msg() 225 u32 ctl_val; in switchtec_ntb_mw_clr_direct() 248 u32 ctl_val; in switchtec_ntb_mw_set_direct() 916 u32 ctl_val; in config_rsvd_lut_win() 955 u32 error; in config_req_id_table() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.c | 586 u32 i, j; in hns3_dbg_tx_spare_info() 638 u32 j = 0; in hns3_dump_rx_queue_info() 687 u32 i; in hns3_dbg_rx_queue_info() 740 u32 j = 0; in hns3_dump_tx_queue_info() 790 u32 i; in hns3_dbg_tx_queue_info() 841 u32 i; in hns3_dbg_queue_map() 1145 u32 i; in hns3_dbg_page_pool_info() 1181 u32 i; in hns3_dbg_get_cmd_index() 1235 u32 i; in hns3_dbg_read_cmd() 1375 u32 i; in hns3_dbg_init() [all …]
|
/openbmc/linux/net/sched/ |
H A D | cls_u32.c | 46 u32 handle; 56 u32 flags; 59 u32 val; 60 u32 mask; 61 u32 __percpu *pcpu_success; 72 u32 handle; 73 u32 prio; 79 u32 flags; 689 static u32 gen_new_kid(struct tc_u_hnode *ht, u32 htid) in gen_new_kid() 692 u32 max = htid | 0xFFF; in gen_new_kid() [all …]
|
/openbmc/linux/drivers/pmdomain/qcom/ |
H A D | cpr.c | 218 u32 save_ctl; 219 u32 save_irq; 238 u32 gcnt; 261 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read() 267 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write() 269 u32 val; in cpr_masked_write() 306 u32 val, mask; in cpr_ctl_enable() 343 u32 reg_val; in cpr_ctl_is_enabled() 351 u32 reg_val; in cpr_ctl_is_busy() 593 u32 val; in cpr_irq_handler() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | tegra20-apb-dma.c | 132 u32 csr; 133 u32 ahb_ptr; 134 u32 apb_ptr; 135 u32 ahb_seq; 136 u32 apb_seq; 137 u32 wcount; 236 u32 reg, u32 val) in tdc_write() 664 u32 status; in tegra_dma_isr() 795 u32 status; in tegra_dma_eoc_interrupt_deasserted() 961 u32 len) in get_burst_size() [all …]
|
/openbmc/linux/include/media/drv-intf/ |
H A D | saa7146.h | 107 u32 irq_mask; /* mask to indicate, which irq-events are handled by the extension */ 108 void (*irq_func)(struct saa7146_dev*, u32* irq_mask); 129 u32 revision; /* chip revision; needed for bug-workarounds*/ 134 u32 int_todo; 149 u32 i2c_bitrate; 165 int saa7146_i2c_adapter_prepare(struct saa7146_dev *dev, struct i2c_adapter *i2c_adapter, u32 bitra… 176 void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data);
|
/openbmc/u-boot/board/freescale/mpc8569mds/ |
H A D | mpc8569mds.c | 304 out_be32(&lbc->lcrr, (u32)in_be32(&lbc->lcrr)| 0x00030000); in local_bus_init() 358 u32 portnum = 0; in fdt_board_fixup_qe_uart() 372 const u32 *idx; in fdt_board_fixup_qe_uart() 452 const u32 *idx; in fdt_board_fixup_esdhc() 522 const u32 *ph; in ft_board_setup() 523 const u32 *index; in ft_board_setup() 567 err = fdt_setprop(blob, off, "reg", &val, sizeof(u32)); in ft_board_setup()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | health.c | 40 u32 out[MLX5_ST_SZ_DW(query_cq_out)] = {}; in mlx5e_health_cq_diag_fmsg() 82 u32 cq_sz; in mlx5e_health_cq_common_diag_fmsg() 160 int mlx5e_health_sq_to_ready(struct mlx5_core_dev *mdev, struct net_device *dev, u32 sqn) in mlx5e_health_sq_to_ready() 209 u32 eqe_count; in mlx5e_health_channel_eq_recover() 239 const void *value, u32 value_len) in mlx5e_health_rsc_fmsg_binary() 242 u32 data_size; in mlx5e_health_rsc_fmsg_binary() 244 u32 offset; in mlx5e_health_rsc_fmsg_binary()
|
/openbmc/linux/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 49 u32 f_ctl = FC_FC_EX_CTX | FC_FC_REL_OFF; in ft_queue_data_in() 50 u32 mem_off = 0; in ft_queue_data_in() 51 u32 fh_off = 0; in ft_queue_data_in() 52 u32 frame_off = 0; in ft_queue_data_in() 203 u32 mem_off = 0; in ft_recv_write_data() 204 u32 rel_off; in ft_recv_write_data() 212 u32 f_ctl; in ft_recv_write_data()
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_tis_i2c.c | 89 static u8 tpm_tis_i2c_address_to_register(u32 addr) in tpm_tis_i2c_address_to_register() 135 u32 zero_mask; in tpm_tis_i2c_sanity_check_read() 136 u32 value; in tpm_tis_i2c_sanity_check_read() 145 case sizeof(u32): in tpm_tis_i2c_sanity_check_read() 182 static int tpm_tis_i2c_read_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_i2c_read_bytes() 225 static int tpm_tis_i2c_write_bytes(struct tpm_tis_data *data, u32 addr, u16 len, in tpm_tis_i2c_write_bytes() 296 u32 i2c_caps; in tpm_tis_i2c_init_guard_time()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | eeprom.c | 12 static int mt7615_efuse_read(struct mt7615_dev *dev, u32 base, in mt7615_efuse_read() 15 u32 val; in mt7615_efuse_read() 44 static int mt7615_efuse_init(struct mt7615_dev *dev, u32 base) in mt7615_efuse_init() 48 u32 val; in mt7615_efuse_init() 74 static int mt7615_eeprom_load(struct mt7615_dev *dev, u32 addr) in mt7615_eeprom_load() 156 u32 val; in mt7615_eeprom_parse_hw_cap() 333 int mt7615_eeprom_init(struct mt7615_dev *dev, u32 addr) in mt7615_eeprom_init()
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-ipc.c | 18 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_write() 24 void acp_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_read() 34 u32 swintr_trigger; in acpbus_trigger_host_to_dsp_swintr() 201 acp_mailbox_read(sdev, sdev->debug_box.offset, &status, sizeof(u32)); in acp_sof_ipc_irq_thread() 210 u32 val; in acp_sof_ipc_irq_thread() 211 u32 posn; in acp_sof_ipc_irq_thread() 295 int acp_sof_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id) in acp_sof_ipc_get_window_offset()
|
/openbmc/linux/drivers/ufs/host/ |
H A D | ufshcd-pltfrm.c | 30 u32 *clkfreq = NULL; in ufshcd_parse_clock_info() 233 min_pltfrm_gear = min_t(u32, pltfrm_param->hs_rx_gear, in ufshcd_get_pwr_dev_param() 236 min_pltfrm_gear = min_t(u32, pltfrm_param->pwm_rx_gear, in ufshcd_get_pwr_dev_param() 274 agreed_pwr->lane_tx = min_t(u32, dev_max->lane_tx, in ufshcd_get_pwr_dev_param() 276 agreed_pwr->lane_rx = min_t(u32, dev_max->lane_rx, in ufshcd_get_pwr_dev_param() 280 min_dev_gear = min_t(u32, dev_max->gear_rx, dev_max->gear_tx); in ufshcd_get_pwr_dev_param() 293 min_t(u32, min_dev_gear, min_pltfrm_gear); in ufshcd_get_pwr_dev_param()
|
/openbmc/linux/drivers/watchdog/ |
H A D | realtek_otto_wdt.c | 77 u32 v; in otto_wdt_start() 89 u32 v; in otto_wdt_stop() 135 u32 v; in otto_wdt_determine_timeouts() 183 u32 reset_mode; in otto_wdt_restart() 184 u32 v; in otto_wdt_restart() 258 u32 mode; in otto_wdt_probe_reset_mode() 259 u32 v; in otto_wdt_probe_reset_mode()
|
/openbmc/linux/net/ethtool/ |
H A D | netlink.h | 73 static inline void ethnl_update_u32(u32 *dst, const struct nlattr *attr, in ethnl_update_u32() 76 u32 val; in ethnl_update_u32() 125 static inline void ethnl_update_bool32(u32 *dst, const struct nlattr *attr, in ethnl_update_bool32() 202 static inline void ethnl_update_bitfield32(u32 *dst, const struct nlattr *attr, in ethnl_update_bitfield32() 206 u32 newval; in ethnl_update_bitfield32() 229 return nla_total_size(nla_total_size(sizeof(u32)) + in ethnl_reply_header_size() 261 u32 flags;
|
/openbmc/linux/drivers/soc/aspeed/ |
H A D | aspeed-p2a-ctrl.c | 47 u32 bit; 65 u32 readers; 66 u32 readerwriters[P2A_REGION_COUNT]; 80 u32 read; 86 u32 readwrite[P2A_REGION_COUNT]; 266 u32 bits = 0; in aspeed_p2a_release() 321 u32 value = 0; in aspeed_p2a_disable_all()
|
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_common.h | 386 u32 tx_count_frames; 387 u32 tx_coal_frames; 388 u32 tx_coal_timer; 401 u32 rx_riwt; 461 u32 rx_riwt; 486 u32 msg_enable; 494 u32 adv_ts;
|
/openbmc/linux/drivers/input/serio/ |
H A D | hyperv-keyboard.c | 101 struct synth_kbd_msg *msg, u32 msg_length) in hv_kbd_on_receive() 106 u32 msg_type = __le32_to_cpu(msg->header.type); in hv_kbd_on_receive() 107 u32 info; in hv_kbd_on_receive() 184 u32 bytes_recvd, in hv_kbd_handle_received_packet() 188 u32 msg_sz; in hv_kbd_handle_received_packet() 242 u32 bytes_recvd; in hv_kbd_on_channel_callback() 259 u32 proto_status; in hv_kbd_connect_to_vsp()
|
/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-mux-bcm-iproc.c | 59 u32 divisor; in mdio_mux_iproc_config() 60 u32 val; in mdio_mux_iproc_config() 82 u32 val; in iproc_mdio_wait_for_idle() 102 u16 phyid, u32 reg, u16 val, u32 op) in start_miim_ops() 104 u32 param; in start_miim_ops() 194 u32 param, bus_id; in mdio_mux_iproc_switch_fn()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-apple-nco.c | 80 u32 val; in applnco_enable_nolock() 89 u32 val; in applnco_disable_nolock() 105 u32 state = LFSR_INIT; in applnco_compute_tables() 133 static u32 applnco_div_translate(struct applnco_tables *tbl, unsigned int div) in applnco_div_translate() 144 static unsigned int applnco_div_translate_inv(struct applnco_tables *tbl, u32 regval) in applnco_div_translate_inv() 159 u32 div, inc1, inc2; in applnco_set_rate() 193 u32 div, inc1, inc2, incbase; in applnco_recalc_rate()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | vmmouse.c | 147 u32 status, x, y, z; in vmmouse_report_events() 148 u32 dummy1, dummy2, dummy3; in vmmouse_report_events() 249 u32 status; in vmmouse_disable() 250 u32 dummy1, dummy2, dummy3, dummy4; in vmmouse_disable() 273 u32 status, version; in vmmouse_enable() 274 u32 dummy1, dummy2, dummy3, dummy4; in vmmouse_enable() 345 u32 response, version, dummy1, dummy2; in vmmouse_detect()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | horus3a.c | 29 u32 frequency; 38 u8 reg, u8 write, const u8 *data, u32 len) in horus3a_i2c_debug() 47 u8 reg, const u8 *data, u32 len) in horus3a_write_regs() 169 u32 frequency = p->frequency; in horus3a_set_params() 170 u32 symbol_rate = p->symbol_rate/1000; in horus3a_set_params() 173 u32 ms = 0; in horus3a_set_params() 313 static int horus3a_get_frequency(struct dvb_frontend *fe, u32 *frequency) in horus3a_get_frequency()
|
/openbmc/linux/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_pic.c | 146 static inline void io_be_setbit(u32 __iomem *addr, int bitno) in io_be_setbit() 151 static inline void io_be_clrbit(u32 __iomem *addr, int bitno) in io_be_clrbit() 179 u32 ctrl_reg, type; in mpc52xx_extirq_set_type() 306 const u32 *intspec, unsigned int intsize, in mpc52xx_irqhost_xlate() 347 u32 reg; in mpc52xx_irqhost_map() 405 u32 intr_ctrl; in mpc52xx_init_irq() 490 u32 status; in mpc52xx_get_irq()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | qcom-cpufreq-nvmem.c | 45 u32 versions; 55 u32 pte_efuse; in get_krait_bin_format_a() 57 pte_efuse = *((u32 *)buf); in get_krait_bin_format_a() 86 u32 pte_efuse, redundant_sel; in get_krait_bin_format_b() 88 pte_efuse = *((u32 *)buf); in get_krait_bin_format_b() 117 pte_efuse = *(((u32 *)buf) + 1); in get_krait_bin_format_b() 135 u32 msm_id; in qcom_cpufreq_kryo_name_version()
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-pre.c | 139 u32 val; in ipu_pre_get() 166 unsigned int height, unsigned int stride, u32 format, in ipu_pre_configure() 170 u32 active_bpp = info->cpp[0] >> 1; in ipu_pre_configure() 171 u32 val; in ipu_pre_configure() 237 u32 val; in ipu_pre_update() 266 u32 ipu_pre_get_baddr(struct ipu_pre *pre) in ipu_pre_get_baddr() 268 return (u32)pre->buffer_paddr; in ipu_pre_get_baddr()
|