Home
last modified time | relevance | path

Searched refs:cfg_type (Results 1 – 16 of 16) sorted by relevance

/linux/arch/powerpc/sysdev/
H A Dindirect_pci.c23 u8 cfg_type = 0; in __indirect_read_config() local
39 cfg_type = 1; in __indirect_read_config()
51 (devfn << 8) | reg | cfg_type)); in __indirect_read_config()
54 (devfn << 8) | reg | cfg_type)); in __indirect_read_config()
89 u8 cfg_type = 0; in indirect_write_config() local
105 cfg_type = 1; in indirect_write_config()
117 (devfn << 8) | reg | cfg_type)); in indirect_write_config()
120 (devfn << 8) | reg | cfg_type)); in indirect_write_config()
/linux/drivers/pci/controller/
H A Dpci-thunder-ecam.c129 int cfg_type; in thunder_ecam_config_read() local
139 cfg_type = (v >> 16) & 0x7f; in thunder_ecam_config_read()
151 if (cfg_type) in thunder_ecam_config_read()
161 if (cfg_type == 0 && in thunder_ecam_config_read()
182 if (cfg_type == 0) { in thunder_ecam_config_read()
249 } else if (cfg_type == 1) { in thunder_ecam_config_read()
/linux/tools/testing/selftests/net/
H A Dtoeplitz.c77 static int cfg_type = SOCK_STREAM; variable
313 proto = cfg_type == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP; in set_filter()
388 fd = socket(cfg_family, cfg_type, 0); in setup_sink()
390 error(1, errno, "socket %d.%d", cfg_family, cfg_type); in setup_sink()
534 cfg_type = SOCK_STREAM; in parse_opts()
540 cfg_type = SOCK_DGRAM; in parse_opts()
/linux/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c290 enum pincfg_type cfg_type; in samsung_pin_dbg_show() local
294 for (cfg_type = 0; cfg_type < PINCFG_TYPE_NUM; cfg_type++) { in samsung_pin_dbg_show()
295 config = PINCFG_PACK(cfg_type, 0); in samsung_pin_dbg_show()
300 seq_printf(s, " %s(0x%lx)", reg_names[cfg_type], in samsung_pin_dbg_show()
444 enum pincfg_type cfg_type = PINCFG_UNPACK_TYPE(*config); in samsung_pinconf_rw() local
454 if (cfg_type >= PINCFG_TYPE_NUM || !type->fld_width[cfg_type]) in samsung_pinconf_rw()
457 width = type->fld_width[cfg_type]; in samsung_pinconf_rw()
458 cfg_reg = type->reg_offset[cfg_type]; in samsung_pinconf_rw()
480 *config = PINCFG_PACK(cfg_type, data); in samsung_pinconf_rw()
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c549 int cfg_type; member
1491 int ret, param_id = port->cfg_type; in q6afe_port_start()
1560 int cfg_type; in q6afe_port_get_from_id() local
1579 cfg_type = AFE_PARAM_ID_HDMI_CONFIG; in q6afe_port_get_from_id()
1595 cfg_type = AFE_PARAM_ID_SLIMBUS_CONFIG; in q6afe_port_get_from_id()
1608 cfg_type = AFE_PARAM_ID_I2S_CONFIG; in q6afe_port_get_from_id()
1611 cfg_type = AFE_PARAM_ID_TDM_CONFIG; in q6afe_port_get_from_id()
1614 cfg_type = AFE_PARAM_ID_CODEC_DMA_CONFIG; in q6afe_port_get_from_id()
1630 port->cfg_type = cfg_type; in q6afe_port_get_from_id()
/linux/drivers/virtio/
H A Dvirtio_pci_modern_dev.c114 static inline int virtio_pci_find_capability(struct pci_dev *dev, u8 cfg_type, in virtio_pci_find_capability() argument
124 cfg_type), in virtio_pci_find_capability()
134 if (type == cfg_type) { in virtio_pci_find_capability()
156 offsetof(struct virtio_pci_cap, cfg_type)); in check_offsets()
/linux/include/uapi/linux/
H A Dvirtio_pci.h125 __u8 cfg_type; /* Identifies the structure. */
124 __u8 cfg_type; /* Identifies the structure. */ global() member
/linux/drivers/vdpa/octeon_ep/
H A Doctep_vdpa_hw.c448 pos, cap.cfg_type, cap.bar, cap.offset, cap.length); in octep_hw_caps_read()
450 switch (cap.cfg_type) { in octep_hw_caps_read()
/linux/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h1286 u32 cfg_type; member
2238 config.cfg_type = cfg_name; \
2249 config.cfg_type = cfg_name; \
/linux/drivers/net/ethernet/intel/ice/
H A Dice.h949 enum ice_xdp_cfg cfg_type);
950 int ice_destroy_xdp_rings(struct ice_vsi *vsi, enum ice_xdp_cfg cfg_type);
H A Dice_main.c2773 enum ice_xdp_cfg cfg_type) in ice_prepare_xdp_rings() argument
2811 if (cfg_type == ICE_XDP_CFG_PART) in ice_prepare_xdp_rings()
2870 int ice_destroy_xdp_rings(struct ice_vsi *vsi, enum ice_xdp_cfg cfg_type) in ice_destroy_xdp_rings() argument
2879 if (cfg_type == ICE_XDP_CFG_PART) in ice_destroy_xdp_rings()
2920 if (cfg_type == ICE_XDP_CFG_PART) in ice_destroy_xdp_rings()
/linux/drivers/vdpa/ifcvf/
H A Difcvf_base.c129 switch (cap.cfg_type) { in ifcvf_init_hw()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmbox.h1049 u8 cfg_type; member
H A Drvu_nix.c3099 if (req->cfg_type) { in rvu_mbox_handler_nix_vtag_cfg()
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.h3303 __le32 cfg_type; member
/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c1175 u8 cfg_type; member
1382 switch (arg.cfg_type) { in rtw89_phy_config_bb_gain_ax()
1403 arg.addr, reg->data, arg.cfg_type); in rtw89_phy_config_bb_gain_ax()