/openbmc/linux/fs/nfsd/ |
H A D | nfs4idmap.c | 66 u32 id; 540 u32 *id) in idmap_name_to_id() 563 static __be32 encode_ascii_id(struct xdr_stream *xdr, u32 id) in encode_ascii_id() 578 struct svc_rqst *rqstp, int type, u32 id) in idmap_id_to_name() 605 numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) in numeric_name_to_id() 621 do_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) in do_name_to_id() 634 struct svc_rqst *rqstp, int type, u32 id) in encode_name_from_id() 646 u32 id = -1; in nfsd_map_name_to_uid() 663 u32 id = -1; in nfsd_map_name_to_gid() 678 u32 id = from_kuid_munged(nfsd_user_namespace(rqstp), uid); in nfsd4_encode_user() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_timer.c | 26 static u32 tcp_clamp_rto_to_user_timeout(const struct sock *sk) in tcp_clamp_rto_to_user_timeout() 29 u32 elapsed, start_ts, user_timeout; in tcp_clamp_rto_to_user_timeout() 44 u32 tcp_clamp_probe0_to_user_timeout(const struct sock *sk, u32 when) in tcp_clamp_probe0_to_user_timeout() 47 u32 remaining, user_timeout; in tcp_clamp_probe0_to_user_timeout() 58 remaining = max_t(u32, remaining, TCP_TIMEOUT_MIN); in tcp_clamp_probe0_to_user_timeout() 60 return min_t(u32, remaining, when); in tcp_clamp_probe0_to_user_timeout() 392 u32 user_timeout = READ_ONCE(icsk->icsk_user_timeout); in tcp_probe_timer() 462 u32 rcv_delta, rtx_delta; in tcp_rtx_probe0_timed_out() 468 rtx_delta = (u32)msecs_to_jiffies(tcp_time_stamp(tp) - in tcp_rtx_probe0_timed_out() 522 u32 rtx_delta; in tcp_retransmit_timer() [all …]
|
H A D | ip_fragment.c | 121 static bool frag_expire_skip_icmp(u32 user) in frag_expire_skip_icmp() 206 u32 user, int vif) in ip_find() 484 int ip_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_defrag() 512 struct sk_buff *ip_check_defrag(struct net *net, struct sk_buff *skb, u32 user) in ip_check_defrag() 516 u32 len; in ip_check_defrag() 717 static u32 ip4_key_hashfn(const void *data, u32 len, u32 seed) in ip4_key_hashfn() 720 sizeof(struct frag_v4_compare_key) / sizeof(u32), seed); in ip4_key_hashfn() 723 static u32 ip4_obj_hashfn(const void *data, u32 len, u32 seed) in ip4_obj_hashfn() 727 return jhash2((const u32 *)&fq->key.v4, in ip4_obj_hashfn() 728 sizeof(struct frag_v4_compare_key) / sizeof(u32), seed); in ip4_obj_hashfn()
|
/openbmc/linux/drivers/edac/ |
H A D | ppc4xx_edac.c | 174 u32 ecces; 175 u32 besr; 176 u32 bearh; 177 u32 bearl; 178 u32 wmirq; 228 static inline u32 823 static enum dev_type ppc4xx_edac_get_dtype(u32 mcopt1) in ppc4xx_edac_get_dtype() 846 static enum mem_type ppc4xx_edac_get_mtype(u32 mcopt1) in ppc4xx_edac_get_mtype() 884 u32 mbxcf, size, nr_pages; in ppc4xx_edac_init_csrows() 995 const dcr_host_t *dcr_host, u32 mcopt1) in ppc4xx_edac_mc_init() [all …]
|
/openbmc/linux/drivers/dma/ |
H A D | idma64.c | 62 u32 cfglo = 0; in idma64_chan_init() 137 u32 status_err, u32 status_xfer) in idma64_chan_irq() 169 u32 status = dma_readl(idma64, STATUS_INT); in idma64_irq() 170 u32 status_xfer; in idma64_irq() 171 u32 status_err; in idma64_irq() 243 u32 ctlhi = IDMA64C_CTLH_BLOCK_TS(hw->len); in idma64_hw_desc_fill() 245 u32 src_width, dst_width; in idma64_hw_desc_fill() 354 u32 ctlhi = channel_readl(idma64c, CTL_HI); in idma64_active_desc_size() 401 static void convert_burst(u32 *maxburst) in convert_burst() 425 u32 cfglo; in idma64_chan_deactivate() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | pch_udc.c | 219 u32 status; 220 u32 reserved; 221 u32 dataptr; 222 u32 next; 233 u32 status; 660 u32 buf_size, u32 ep_in) in pch_udc_ep_set_bufsz() 662 u32 data; in pch_udc_ep_set_bufsz() 2156 u32 epsts; in pch_udc_svc_data_in() 2270 u32 epsts; in pch_udc_svc_control_in() 2312 u32 stat; in pch_udc_svc_control_out() [all …]
|
H A D | net2280.c | 186 u32 max; in net2280_enable() 188 u32 type; in net2280_enable() 361 static int handshake(u32 __iomem *ptr, u32 mask, u32 done, int usec) in handshake() 381 u32 tmp; in ep_reset_228x() 671 u32 tmp; in out_flush() 1052 u32 s; in net2280_queue() 2059 u32 tmp; in usb_reset_228x() 2095 u32 tmp; in usb_reset_338x() 2153 u32 tmp; in usb_reinit_228x() 2519 u32 t; in handle_ep_small() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_ethtool.c | 205 u32 speed; 209 u32 arr_size; 279 u32 i; in qede_forced_speed_maps_init() 489 u32 flags = 0; in qede_get_priv_flags() 571 u32 i; in qede_set_link_ksettings() 1096 u32 count; in qede_set_channels() 1644 u32 pkt_size; in qede_selftest_run_loopback() 1762 u32 val; in qede_set_tunable() 1880 static u32 qede_link_to_ethtool_fec(u32 link_fec) in qede_link_to_ethtool_fec() 1898 static u32 qede_ethtool_to_link_fec(u32 eth_fec) in qede_ethtool_to_link_fec() [all …]
|
/openbmc/linux/drivers/crypto/ |
H A D | sa2ul.c | 229 u32 type; 230 u32 *cmdl; 413 u32 *result; in sa_export_shash() 571 u32 *word_ptr = (u32 *)cmdl; in sa_format_cmdl_gen() 655 u32 *enc_iv = (u32 *)req->enc_iv; in sa_update_cmdl() 1043 u32 *result; in sa_aes_dma_in_callback() 1066 sa_prepare_tx_desc(u32 *mdptr, u32 pslen, u32 *psdata, u32 epiblen, u32 *epib) in sa_prepare_tx_desc() 1094 u32 *mdptr; in sa_run() 1702 u32 *mdptr; in sa_aead_dma_in_callback() 2212 u32 type; in sa_register_algos() [all …]
|
/openbmc/u-boot/drivers/net/ti/ |
H A D | keystone_net.c | 248 int mac_sl_reset(u32 port) in mac_sl_reset() 250 u32 i, v; in mac_sl_reset() 273 u32 v, i; in mac_sl_config() 306 int ethss_config(u32 ctl, u32 max_pkt_size) in ethss_config() 308 u32 i; in ethss_config() 450 return ksnav_send(priv->netcp_pktdma, (u32 *)packet, in ks2_eth_send() 458 u32 *pkt = NULL; in ks2_eth_recv() 497 u32 maca = 0; in ks2_eth_read_rom_hwaddr() 498 u32 macb = 0; in ks2_eth_read_rom_hwaddr() 569 (u32)priv->mdio_base, in ks2_eth_probe() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | fw.c | 40 u32 pagenums, remainsize; in _rtl88e_write_fw() 41 u32 page, offset; in _rtl88e_write_fw() 70 u32 counter = 0; in _rtl88e_fw_free_to_go() 71 u32 value32; in _rtl88e_fw_free_to_go() 114 u32 fwsize; in rtl88e_download_fw() 166 u8 element_id, u32 cmd_len, in _rtl88e_fill_h2c_command() 180 u32 h2c_waitcounter = 0; in _rtl88e_fill_h2c_command() 336 u8 element_id, u32 cmd_len, u8 *cmdbuffer) in rtl88e_fill_h2c_cmd() 339 u32 tmp_cmdbuf[2]; in rtl88e_fill_h2c_cmd() 543 u32 totalpacketlen; in rtl88e_set_fw_rsvdpagepkt() [all …]
|
/openbmc/linux/sound/soc/intel/catpt/ |
H A D | dsp.c | 158 u32 off = sram->start; in catpt_dsp_set_srampge() 159 u32 b = __ffs(mask); in catpt_dsp_set_srampge() 197 u32 h, l; in catpt_dsp_update_srampge() 219 u32 reg, val; in catpt_dsp_stall() 231 u32 reg, val; in catpt_dsp_reset() 243 u32 val; in lpt_dsp_pll_shutdown() 251 u32 val; in wpt_dsp_pll_shutdown() 259 u32 mask, reg, val; in catpt_dsp_select_lpclock() 359 u32 mask, val; in catpt_dsp_power_down() 404 u32 mask, val; in catpt_dsp_power_up() [all …]
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k.h | 397 u32 seq; 398 u32 data[4]; 432 u32 reg; 484 static inline u32 qca8k_port_to_phy(int port) in qca8k_port_to_phy() 506 int qca8k_read(struct qca8k_priv *priv, u32 reg, u32 *val); 507 int qca8k_write(struct qca8k_priv *priv, u32 reg, u32 val); 508 int qca8k_rmw(struct qca8k_priv *priv, u32 reg, u32 mask, u32 write_val); 514 void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data);
|
/openbmc/linux/sound/soc/sof/mediatek/mt8195/ |
H A D | mt8195.c | 36 static int mt8195_get_window_offset(struct snd_sof_dev *sdev, u32 id) in mt8195_get_window_offset() 65 u32 p; /* panic code */ in mt8195_dsp_handle_request() 118 (u32)adsp->pa_shared_dram); in platform_parse_resource() 145 (u32)adsp->pa_dram); in platform_parse_resource() 193 u32 srampool_con; in adsp_sram_power_on() 263 u32 adsp_bootup_addr; in mt8195_run() 407 u32 reset_sw, dbg_pc; in mt8195_dsp_suspend() 455 static int mt8195_get_bar_index(struct snd_sof_dev *sdev, u32 type) in mt8195_get_bar_index() 502 static void mt8195_adsp_dump(struct snd_sof_dev *sdev, u32 flags) in mt8195_adsp_dump() 504 u32 dbg_pc, dbg_data, dbg_bus0, dbg_bus1, dbg_inst; in mt8195_adsp_dump() [all …]
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_devlink.c | 24 u32 image_size, struct host_image_st *host_image) in check_image_valid() 27 u32 len = 0; in check_image_valid() 28 u32 i; in check_image_valid() 65 u32 update_type) in check_image_integrity() 67 u32 collect_section_type = 0; in check_image_integrity() 68 u32 i, type; in check_image_integrity() 103 u32 image_device_type) in check_image_device_type() 125 u32 section_remain_send_len, send_fragment_len, send_pos, up_total_len; in hinic_flash_fw() 127 u32 section_type, section_crc, section_version; in hinic_flash_fw() 128 u32 i, len, section_len, section_offset; in hinic_flash_fw() [all …]
|
/openbmc/linux/drivers/clk/ti/ |
H A D | clkctrl.c | 57 u32 cycles; 65 static u32 _omap4_idlest(u32 val) in _omap4_idlest() 73 static bool _omap4_is_idle(u32 val) in _omap4_is_idle() 80 static bool _omap4_is_ready(u32 val) in _omap4_is_ready() 88 static bool _omap4_is_timeout(union omap4_timeout *time, u32 timeout) in _omap4_is_timeout() 133 u32 val; in _omap4_clkctrl_clk_enable() 175 u32 val; in _omap4_clkctrl_clk_disable() 207 u32 val; in _omap4_clkctrl_clk_is_enabled() 521 u32 addr; in _ti_omap4_clkctrl_setup() 528 addr = (u32)res.start; in _ti_omap4_clkctrl_setup() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | gk20a.c | 57 u32 *vaddr; 82 u32 use_cpt; 264 static u32 273 gk20a_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in gk20a_instobj_wr32() 282 struct nvkm_vma *vma, void *argv, u32 argc) in gk20a_instobj_map() 383 gk20a_instobj_ctor_dma(struct gk20a_instmem *imem, u32 npages, u32 align, in gk20a_instobj_ctor_dma() 421 gk20a_instobj_ctor_iommu(struct gk20a_instmem *imem, u32 npages, u32 align, in gk20a_instobj_ctor_iommu() 475 u32 offset = (r->offset + i) << imem->iommu_pgshift; in gk20a_instobj_ctor_iommu() 515 gk20a_instobj_new(struct nvkm_instmem *base, u32 size, u32 align, bool zero, in gk20a_instobj_new()
|
/openbmc/linux/include/trace/events/ |
H A D | io_uring.h | 29 TP_PROTO(int fd, void *ctx, u32 sq_entries, u32 cq_entries, u32 flags), 36 __field( u32, sq_entries ) 37 __field( u32, cq_entries ) 38 __field( u32, flags ) 381 __field( u32, flags ) 511 __field( u32, len ) 512 __field( u32, op_flags ) 515 __field( u32, file_index ) 573 TP_PROTO(void *ctx, unsigned long long user_data, s32 res, u32 cflags, 582 __field( u32, cflags )
|
/openbmc/linux/drivers/hwmon/ |
H A D | tmp401.c | 116 u32 chip_channel_config[4]; 118 u32 temp_channel_config[4]; 307 static int tmp401_temp_read(struct device *dev, u32 attr, int channel, long *val) in tmp401_temp_read() 359 static int tmp401_temp_write(struct device *dev, u32 attr, int channel, in tmp401_temp_write() 400 static int tmp401_chip_read(struct device *dev, u32 attr, int channel, long *val) in tmp401_chip_read() 403 u32 regval; in tmp401_chip_read() 472 u32 attr, int channel, long *val) in tmp401_read() 485 u32 attr, int channel, long val) in tmp401_write() 498 u32 attr, int channel) in tmp401_is_visible() 546 u32 config, config_orig; in tmp401_init_client() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | mmhub_v3_0_1.c | 78 u32 req = 0; in mmhub_v3_0_1_get_invalidate_req() 159 (u32)(adev->gmc.gart_start >> 12)); in mmhub_v3_0_1_init_gart_aperture_regs() 161 (u32)(adev->gmc.gart_start >> 44)); in mmhub_v3_0_1_init_gart_aperture_regs() 164 (u32)(adev->gmc.gart_end >> 12)); in mmhub_v3_0_1_init_gart_aperture_regs() 166 (u32)(adev->gmc.gart_end >> 44)); in mmhub_v3_0_1_init_gart_aperture_regs() 194 (u32)(value >> 12)); in mmhub_v3_0_1_init_system_aperture_regs() 196 (u32)(value >> 44)); in mmhub_v3_0_1_init_system_aperture_regs() 200 (u32)(adev->dummy_page_addr >> 12)); in mmhub_v3_0_1_init_system_aperture_regs() 389 u32 tmp; in mmhub_v3_0_1_gart_disable() 390 u32 i; in mmhub_v3_0_1_gart_disable() [all …]
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_eth_com.c | 38 u32 offset; in get_sq_desc_regular_queue() 53 u32 dst_offset; in ena_com_write_bounce_buffer_to_dev() 237 u32 last = 0; in ena_com_cdesc_rx_pkt_get() 286 meta_desc->word2 |= ((u32)ena_meta->mss << in ena_com_create_meta() 296 meta_desc->len_ctrl |= ((u32)io_sq->phase << in ena_com_create_meta() 309 meta_desc->word2 |= ((u32)ena_meta->l4_hdr_len << in ena_com_create_meta() 441 desc->buff_addr_hi_hdr_sz |= ((u32)header_len << in ena_com_prepare_tx() 450 desc->meta_ctrl |= ((u32)ena_tx_ctx->req_id << in ena_com_prepare_tx() 499 desc->len_ctrl |= ((u32)io_sq->phase << in ena_com_prepare_tx() 510 desc->buff_addr_lo = (u32)ena_bufs->paddr; in ena_com_prepare_tx() [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 292 u32 mtk_m32(struct mtk_eth *eth, u32 mask, u32 set, unsigned int reg) in mtk_m32() 294 u32 val; in mtk_m32() 344 u32 devad, u32 phy_reg, u32 write_data) in _mtk_mdio_write_c45() 402 u32 devad, u32 phy_reg) in _mtk_mdio_read_c45() 470 u32 val; in mt7621_gmac0_rgmii_adjust() 536 u32 i; in mtk_mac_config() 775 u32 mcr; in mtk_mac_link_up() 821 u32 val; in mtk_mdio_init() 890 u32 val; in mtk_tx_irq_disable() 901 u32 val; in mtk_tx_irq_enable() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | cfg80211.c | 109 u32 obss; 110 u32 ibss; 113 u32 tx; 114 u32 idle; 1047 u32 ch; in brcmf_scan_params_v2_to_v1() 3127 u32 i; in brcmf_cfg80211_get_station() 3616 u32 i; in brcmf_cfg80211_escan_handler() 4177 u32 i; in brcmf_configure_wowl() 7189 u32 bw_cap[2], u32 nchain) in brcmf_update_ht_cap() 7216 u32 bw_cap[2], u32 nchain, u32 txstreams, in brcmf_update_vht_cap() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/ |
H A D | rtl8xxxu_core.c | 704 u32 data; in rtl8xxxu_read32() 828 u32 val32; in rtl8xxxu_write32_set() 837 u32 val32; in rtl8xxxu_write32_clear() 845 u32 mask, u32 val) in rtl8xxxu_write32_mask() 858 u32 mask, u32 val) in rtl8xxxu_write_rfreg_mask() 1095 u32 val32; in rtl8xxxu_gen1_enable_rf() 2245 u32 val; in rtl8xxxu_init_phy_regs() 2403 u32 val; in rtl8xxxu_init_rf_regs() 3039 const u32 *reg, u32 *backup) in rtl8xxxu_restore_mac_regs() 3089 const u32 *regs, u32 *backup) in rtl8xxxu_mac_calibration() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_action.c | 573 u32 *state) in dr_action_validate_and_get_next_state() 776 u32 action_type; in mlx5dr_actions_build_ste_arr() 1076 u32 definer_id; in dr_action_create_range_definer() 1105 u32 min, in mlx5dr_action_create_dest_match_range() 1178 u32 ref_act_cnt; in mlx5dr_action_create_mult_dest_tbl() 1401 u32 reformat_id; in dr_action_create_reformat_action() 1576 u32 data; in dr_action_modify_sw_to_hw_add() 1612 u32 data; in dr_action_modify_sw_to_hw_set() 1894 u32 l3_type = 0; in dr_actions_convert_modify_header() 1895 u32 l4_type = 0; in dr_actions_convert_modify_header() [all …]
|