Home
last modified time | relevance | path

Searched refs:type_mask (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/pci/
H A Dbus.c192 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_from_region() argument
201 type_mask |= IORESOURCE_TYPE_BITS; in pci_bus_alloc_from_region()
213 if ((res->flags ^ r->flags) & type_mask) in pci_bus_alloc_from_region()
266 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_resource() argument
275 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
281 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
287 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
H A Dsetup-bus.c158 unsigned long type_mask, in find_bus_resource_of_type() argument
167 if ((r->flags & type_mask) != type) in find_bus_resource_of_type()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dstats.c17 u32 cfg_time, u32 type_mask) in iwl_mld_send_fw_stats_cmd() argument
23 .type_id_mask = cpu_to_le32(type_mask), in iwl_mld_send_fw_stats_cmd()
32 u32 type_mask = IWL_STATS_NTFY_TYPE_ID_OPER | in iwl_mld_clear_stats_in_fw() local
35 return iwl_mld_send_fw_stats_cmd(mld, cfg_mask, 0, type_mask); in iwl_mld_clear_stats_in_fw()
107 u32 type_mask = IWL_STATS_NTFY_TYPE_ID_OPER | in iwl_mld_fw_stats_to_mac80211() local
128 ret = iwl_mld_send_fw_stats_cmd(mld, cfg_mask, 0, type_mask); in iwl_mld_fw_stats_to_mac80211()
159 u32 type_mask = enable ? (IWL_STATS_NTFY_TYPE_ID_OPER | in iwl_mld_request_periodic_fw_stats() local
163 return iwl_mld_send_fw_stats_cmd(mld, cfg_mask, cfg_time, type_mask); in iwl_mld_request_periodic_fw_stats()
/linux/drivers/power/reset/
H A Dat91-sama5d2_shdwc.c83 u32 type_mask; member
273 .type_mask = AT91_DDRSDRC_MD
290 .type_mask = AT91_DDRSDRC_MD
388 if (at91_shdwc->rcfg->ddrc.type_mask) { in at91_shdwc_probe()
406 at91_shdwc->rcfg->ddrc.type_mask; in at91_shdwc_probe()
/linux/drivers/hwmon/
H A Daspeed-pwm-tacho.c251 u32 type_mask; member
264 .type_mask = ASPEED_PTCR_CTRL_SET_PWMA_TYPE_MASK,
275 .type_mask = ASPEED_PTCR_CTRL_SET_PWMB_TYPE_MASK,
286 .type_mask = ASPEED_PTCR_CTRL_SET_PWMC_TYPE_MASK,
297 .type_mask = ASPEED_PTCR_CTRL_SET_PWMD_TYPE_MASK,
308 .type_mask = ASPEED_PTCR_CTRL_SET_PWME_TYPE_MASK,
319 .type_mask = ASPEED_PTCR_CTRL_SET_PWMF_TYPE_MASK,
330 .type_mask = ASPEED_PTCR_CTRL_SET_PWMG_TYPE_MASK,
341 .type_mask = ASPEED_PTCR_CTRL_SET_PWMH_TYPE_MASK,
418 pwm_port_params[pwm_port].type_mask, reg_value); in aspeed_set_pwm_port_type()
/linux/drivers/acpi/riscv/
H A Drimt.c339 u8 type_mask) in rimt_node_map_id() argument
352 if (RIMT_TYPE_MASK(node->type) & type_mask) { in rimt_node_map_id()
406 u8 type_mask, int index) in rimt_node_map_platform_id() argument
415 if (!(RIMT_TYPE_MASK(parent->type) & type_mask)) in rimt_node_map_platform_id()
416 parent = rimt_node_map_id(parent, id, id_out, type_mask); in rimt_node_map_platform_id()
/linux/include/net/bluetooth/
H A Dhci_sock.h51 unsigned long type_mask; member
57 __u32 type_mask; member
/linux/fs/afs/
H A Dserver_list.c33 unsigned int type_mask = 1 << volume->type; in afs_alloc_server_list() local
44 if (!(vldb->fs_mask[i] & type_mask)) in afs_alloc_server_list()
75 if (!(vldb->fs_mask[i] & type_mask)) in afs_alloc_server_list()
H A Dvolume.c202 unsigned long type_mask = 1UL << params->type; in afs_create_volume() local
217 if (!(vldb->flags & type_mask)) in afs_create_volume()
/linux/drivers/media/tuners/
H A Dxc2028.c436 unsigned int type_mask = 0; in seek_firmware() local
454 type_mask = BASE_TYPES; in seek_firmware()
457 type_mask = SCODE_TYPES & ~HAS_IF; in seek_firmware()
459 type_mask = DTV_TYPES; in seek_firmware()
461 type_mask = STD_SPECIFIC_TYPES; in seek_firmware()
463 type &= type_mask; in seek_firmware()
466 type_mask = ~0; in seek_firmware()
470 if ((type == (priv->firm[i].type & type_mask)) && in seek_firmware()
480 if (type != (priv->firm[i].type & type_mask)) in seek_firmware()
/linux/drivers/gpio/
H A Dgpio-pcie-idio-24.c161 const unsigned int type_mask = COS_ENABLE_BOTH << index; in idio_24_handle_mask_sync() local
169 type = (mask_buf == mask_buf_def) ? ~type_mask : idio24gpio->irq_type; in idio_24_handle_mask_sync()
171 ret = regmap_update_bits(idio24gpio->map, IDIO_24_COS_ENABLE, type_mask, type); in idio_24_handle_mask_sync()
/linux/drivers/net/wireguard/
H A Dpeerlookup.c203 const enum index_hashtable_type type_mask, in wg_index_hashtable_lookup() argument
212 if (likely(iter_entry->type & type_mask)) in wg_index_hashtable_lookup()
H A Dpeerlookup.h61 const enum index_hashtable_type type_mask,
/linux/drivers/gpu/drm/gma500/
H A Dframebuffer.h14 extern int gma_connector_clones(struct drm_device *dev, int type_mask);
H A Dpsb_intel_display.c542 int gma_connector_clones(struct drm_device *dev, int type_mask) in gma_connector_clones() argument
552 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
/linux/net/bluetooth/
H A Dhci_sock.c135 __u32 type_mask; member
175 if (!test_bit(flt_type, &flt->type_mask)) in is_filtered_packet()
1981 uf.type_mask = f->type_mask; in hci_sock_setsockopt_old()
1992 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt_old()
2000 f->type_mask = uf.type_mask; in hci_sock_setsockopt_old()
2110 uf.type_mask = f->type_mask; in hci_sock_getsockopt_old()
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c56 u16 type_mask = 0, val; in ngbe_init_type_code() local
59 type_mask = (u16)(wx->subsystem_device_id & NGBE_OEM_MASK); in ngbe_init_type_code()
70 type_mask == NGBE_SUBID_OCP_CARD) ? 1 : 0; in ngbe_init_type_code()
72 switch (type_mask) { in ngbe_init_type_code()
/linux/sound/pci/mixart/
H A Dmixart_core.h108 u32 type_mask; member
117 u32 type_mask; member
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-debugfs.c255 u32 val, counter, vc_num, err_group, type_mask; in err_inj_write() local
260 type_mask = err_inj_type_mask[err_group]; in err_inj_write()
287 val &= ~(type_mask | EINJ_COUNT); in err_inj_write()
288 val |= ((err_inj_list[pdata->idx].err_inj_type << EINJ_TYPE_SHIFT) & type_mask); in err_inj_write()
/linux/drivers/media/cec/core/
H A Dcec-adap.c1787 u16 type_mask = 0; in __cec_s_log_addrs() local
1876 if (type_mask & (1 << log_addrs->log_addr_type[i])) { in __cec_s_log_addrs()
1880 type_mask |= 1 << log_addrs->log_addr_type[i]; in __cec_s_log_addrs()
1881 if ((type_mask & (1 << CEC_LOG_ADDR_TYPE_RECORD)) && in __cec_s_log_addrs()
1882 (type_mask & (1 << CEC_LOG_ADDR_TYPE_PLAYBACK))) { in __cec_s_log_addrs()
1917 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_AUDIOSYSTEM) | in __cec_s_log_addrs()
1922 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_PLAYBACK) | in __cec_s_log_addrs()
/linux/drivers/acpi/arm64/
H A Diort.c482 u8 type_mask) in iort_node_map_id() argument
492 if (IORT_TYPE_MASK(node->type) & type_mask) { in iort_node_map_id()
547 struct acpi_iort_node *node, u32 *id_out, u8 type_mask, in iort_node_map_platform_id() argument
564 if (!(IORT_TYPE_MASK(parent->type) & type_mask)) in iort_node_map_platform_id()
565 parent = iort_node_map_id(parent, id, id_out, type_mask); in iort_node_map_platform_id()
/linux/drivers/scsi/lpfc/
H A Dlpfc_bsg.h48 uint32_t type_mask; member
/linux/drivers/pci/hotplug/
H A Dacpiphp_glue.c740 unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM; in acpiphp_sanitize_bus() local
745 if ((res->flags & type_mask) && !res->start && in acpiphp_sanitize_bus()
/linux/drivers/net/ethernet/mscc/
H A Docelot_vcap.c350 u32 val, msk, type, type_mask = 0xf, i, count; in is2_entry_set() local
602 type_mask = IS2_TYPE_MASK_IP_ANY; in is2_entry_set()
623 type_mask = 0; in is2_entry_set()
635 vcap_key_set(vcap, &data, VCAP_IS2_TYPE, type, type_mask); in is2_entry_set()
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c821 u32 type_mask; in get_queue_type() local
823 type_mask = MLX5_CAP_DEV_VDPA_EMULATION(ndev->mvdev.mdev, virtio_queue_type); in get_queue_type()
826 if (type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_SPLIT) in get_queue_type()
829 WARN_ON(!(type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_PACKED)); in get_queue_type()

12