Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/afs/
Dvolume.c70 unsigned long type_mask) in afs_alloc_volume() argument
77 if (vldb->fs_mask[i] & type_mask) in afs_alloc_volume()
97 slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); in afs_alloc_volume()
120 unsigned long type_mask) in afs_lookup_volume() argument
124 candidate = afs_alloc_volume(params, vldb, type_mask); in afs_lookup_volume()
185 unsigned long type_mask = 1UL << params->type; in afs_create_volume() local
200 if (!(vldb->flags & type_mask)) in afs_create_volume()
210 type_mask = 1UL << params->type; in afs_create_volume()
211 volume = afs_lookup_volume(params, vldb, type_mask); in afs_create_volume()
Dserver_list.c30 u8 type_mask) in afs_alloc_server_list() argument
37 if (vldb->fs_mask[i] & type_mask) in afs_alloc_server_list()
52 if (!(vldb->fs_mask[i] & type_mask)) in afs_alloc_server_list()
/kernel/linux/linux-5.10/drivers/pci/
Dbus.c156 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_from_region() argument
168 type_mask |= IORESOURCE_TYPE_BITS; in pci_bus_alloc_from_region()
177 if ((res->flags ^ r->flags) & type_mask) in pci_bus_alloc_from_region()
226 resource_size_t min, unsigned long type_mask, in pci_bus_alloc_resource() argument
238 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
244 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
250 type_mask, alignf, alignf_data, in pci_bus_alloc_resource()
Dsetup-bus.c772 unsigned long type_mask, in find_bus_resource_of_type() argument
781 if (r && (r->flags & type_mask) == type && !r->parent) in find_bus_resource_of_type()
783 if (r && (r->flags & type_mask) == type && !r_assigned) in find_bus_resource_of_type()
/kernel/linux/linux-5.10/drivers/hwmon/
Daspeed-pwm-tacho.c248 u32 type_mask; member
261 .type_mask = ASPEED_PTCR_CTRL_SET_PWMA_TYPE_MASK,
272 .type_mask = ASPEED_PTCR_CTRL_SET_PWMB_TYPE_MASK,
283 .type_mask = ASPEED_PTCR_CTRL_SET_PWMC_TYPE_MASK,
294 .type_mask = ASPEED_PTCR_CTRL_SET_PWMD_TYPE_MASK,
305 .type_mask = ASPEED_PTCR_CTRL_SET_PWME_TYPE_MASK,
316 .type_mask = ASPEED_PTCR_CTRL_SET_PWMF_TYPE_MASK,
327 .type_mask = ASPEED_PTCR_CTRL_SET_PWMG_TYPE_MASK,
338 .type_mask = ASPEED_PTCR_CTRL_SET_PWMH_TYPE_MASK,
415 pwm_port_params[pwm_port].type_mask, reg_value); in aspeed_set_pwm_port_type()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dhci_sock.h51 unsigned long type_mask; member
57 __u32 type_mask; member
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dframebuffer.h14 extern int gma_connector_clones(struct drm_device *dev, int type_mask);
Dpsb_intel_display.c550 int gma_connector_clones(struct drm_device *dev, int type_mask) in gma_connector_clones() argument
559 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dtuner-xc2028.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()
/kernel/linux/linux-5.10/drivers/net/wireguard/
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()
Dpeerlookup.h61 const enum index_hashtable_type type_mask,
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_sock.c134 __u32 type_mask; member
174 if (!test_bit(flt_type, &flt->type_mask)) in is_filtered_packet()
1939 uf.type_mask = f->type_mask; in hci_sock_setsockopt()
1952 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt()
1960 f->type_mask = uf.type_mask; in hci_sock_setsockopt()
2025 uf.type_mask = f->type_mask; in hci_sock_getsockopt()
/kernel/linux/linux-5.10/sound/pci/mixart/
Dmixart_core.h107 u32 type_mask; member
116 u32 type_mask; member
/kernel/linux/linux-5.10/fs/notify/
Dmark.c725 unsigned int type_mask) in fsnotify_clear_marks_by_group() argument
732 if (type_mask == FSNOTIFY_OBJ_ALL_TYPES_MASK) { in fsnotify_clear_marks_by_group()
747 if ((1U << mark->connector->type) & type_mask) in fsnotify_clear_marks_by_group()
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-adap.c1663 u16 type_mask = 0; in __cec_s_log_addrs() local
1747 if (type_mask & (1 << log_addrs->log_addr_type[i])) { in __cec_s_log_addrs()
1751 type_mask |= 1 << log_addrs->log_addr_type[i]; in __cec_s_log_addrs()
1752 if ((type_mask & (1 << CEC_LOG_ADDR_TYPE_RECORD)) && in __cec_s_log_addrs()
1753 (type_mask & (1 << CEC_LOG_ADDR_TYPE_PLAYBACK))) { in __cec_s_log_addrs()
1788 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_AUDIOSYSTEM) | in __cec_s_log_addrs()
1793 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_PLAYBACK) | in __cec_s_log_addrs()
/kernel/linux/linux-5.10/drivers/acpi/arm64/
Diort.c448 u8 type_mask) in iort_node_map_id() argument
458 if (IORT_TYPE_MASK(node->type) & type_mask) { in iort_node_map_id()
513 struct acpi_iort_node *node, u32 *id_out, u8 type_mask, in iort_node_map_platform_id() argument
530 if (!(IORT_TYPE_MASK(parent->type) & type_mask)) in iort_node_map_platform_id()
531 parent = iort_node_map_id(parent, id, id_out, type_mask); in iort_node_map_platform_id()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_bsg.h49 uint32_t type_mask; member
Dlpfc_bsg.c59 uint32_t type_mask; member
863 evt->type_mask = ev_mask; in lpfc_bsg_event_new()
967 if (!(evt->type_mask & FC_REG_CT_EVENT) || in lpfc_bsg_ct_unsol_event()
1229 ev_mask = ((uint32_t)(unsigned long)event_req->type_mask & in lpfc_bsg_hba_set_event()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dacpiphp_glue.c734 unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM; in acpiphp_sanitize_bus() local
739 if ((res->flags & type_mask) && !res->start && in acpiphp_sanitize_bus()
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
Docelot_vcap.c349 u32 val, msk, type, type_mask = 0xf, i, count; in is2_entry_set() local
601 type_mask = IS2_TYPE_MASK_IP_ANY; in is2_entry_set()
622 type_mask = 0; in is2_entry_set()
634 vcap_key_set(vcap, &data, VCAP_IS2_TYPE, type, type_mask); in is2_entry_set()
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c735 u32 type_mask; in get_queue_type() local
737 type_mask = MLX5_CAP_DEV_VDPA_EMULATION(ndev->mvdev.mdev, virtio_queue_type); in get_queue_type()
740 if (type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_PACKED) in get_queue_type()
743 WARN_ON(!(type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_SPLIT)); in get_queue_type()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Def10.c3438 u16 type, type_mask; member
3482 if ((type & ~info->type_mask) == info->type) in efx_ef10_mtd_probe_partition()
/kernel/linux/linux-5.10/include/linux/
Dpci.h1347 unsigned long type_mask,