Home
last modified time | relevance | path

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

12

/linux/fs/afs/
A 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()
A 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()
/linux/drivers/pci/
A 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()
A 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()
/linux/drivers/power/reset/
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/
A 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()
/linux/include/net/bluetooth/
A Dhci_sock.h51 unsigned long type_mask; member
57 __u32 type_mask; member
/linux/drivers/media/tuners/
A 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()
/linux/drivers/net/wireguard/
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()
A Dpeerlookup.h61 const enum index_hashtable_type type_mask,
/linux/drivers/gpu/drm/gma500/
A Dframebuffer.h14 extern int gma_connector_clones(struct drm_device *dev, int type_mask);
A Dpsb_intel_display.c549 int gma_connector_clones(struct drm_device *dev, int type_mask) in gma_connector_clones() argument
558 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
/linux/net/bluetooth/
A Dhci_sock.c135 __u32 type_mask; member
175 if (!test_bit(flt_type, &flt->type_mask)) in is_filtered_packet()
1876 uf.type_mask = f->type_mask; in hci_sock_setsockopt_old()
1889 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt_old()
1897 f->type_mask = uf.type_mask; in hci_sock_setsockopt_old()
2007 uf.type_mask = f->type_mask; in hci_sock_getsockopt_old()
/linux/sound/pci/mixart/
A Dmixart_core.h107 u32 type_mask; member
116 u32 type_mask; member
/linux/fs/notify/
A Dmark.c750 unsigned int type_mask) in fsnotify_clear_marks_by_group() argument
757 if (type_mask == FSNOTIFY_OBJ_ALL_TYPES_MASK) { in fsnotify_clear_marks_by_group()
772 if ((1U << mark->connector->type) & type_mask) in fsnotify_clear_marks_by_group()
/linux/drivers/acpi/arm64/
A 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()
/linux/drivers/media/cec/core/
A Dcec-adap.c1662 u16 type_mask = 0; in __cec_s_log_addrs() local
1746 if (type_mask & (1 << log_addrs->log_addr_type[i])) { in __cec_s_log_addrs()
1750 type_mask |= 1 << log_addrs->log_addr_type[i]; in __cec_s_log_addrs()
1751 if ((type_mask & (1 << CEC_LOG_ADDR_TYPE_RECORD)) && in __cec_s_log_addrs()
1752 (type_mask & (1 << CEC_LOG_ADDR_TYPE_PLAYBACK))) { in __cec_s_log_addrs()
1787 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_AUDIOSYSTEM) | in __cec_s_log_addrs()
1792 if (!(type_mask & ((1 << CEC_LOG_ADDR_TYPE_PLAYBACK) | in __cec_s_log_addrs()
/linux/drivers/scsi/lpfc/
A Dlpfc_bsg.h50 uint32_t type_mask; member
A Dlpfc_bsg.c59 uint32_t type_mask; member
861 evt->type_mask = ev_mask; in lpfc_bsg_event_new()
943 if (!(evt->type_mask & FC_REG_CT_EVENT) || in lpfc_bsg_ct_unsol_event()
1205 ev_mask = ((uint32_t)(unsigned long)event_req->type_mask & in lpfc_bsg_hba_set_event()
/linux/drivers/net/ethernet/mscc/
A Docelot_vcap.c349 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/pci/hotplug/
A Dacpiphp_glue.c731 unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM; in acpiphp_sanitize_bus() local
736 if ((res->flags & type_mask) && !res->start && in acpiphp_sanitize_bus()
/linux/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c799 u32 type_mask; in get_queue_type() local
801 type_mask = MLX5_CAP_DEV_VDPA_EMULATION(ndev->mvdev.mdev, virtio_queue_type); in get_queue_type()
804 if (type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_SPLIT) in get_queue_type()
807 WARN_ON(!(type_mask & MLX5_VIRTIO_EMULATION_CAP_VIRTIO_QUEUE_TYPE_PACKED)); in get_queue_type()
/linux/drivers/scsi/elx/libefc_sli/
A Dsli4.c3343 reg_fcfi->rq_cfg[i].type_mask = rq_cfg[i].type_mask; in sli_cmd_reg_fcfi()
3372 reg_fcfi_mrq->rq_cfg[i].type_mask = rq_cfg[i].type_mask; in sli_cmd_reg_fcfi_mrq()
A Dsli4.h2436 u8 type_mask; member
2492 u8 type_mask; member
/linux/drivers/scsi/elx/efct/
A Defct_hw.c736 rq_cfg[i].type_mask = (u8)(hw->config.filter_def[i] >> 16); in efct_hw_config_rq()
792 rq_filter[i].type_mask = (u8)hw->config.filter_def[i]; in efct_hw_config_mrq()

Completed in 98 milliseconds

12