Searched defs:add (Results 1 - 25 of 59) sorted by relevance

123

/drivers/net/wireless/iwlwifi/mvm/
H A Dbinding.c140 bool add)
161 if (add)
167 if (add) {
137 iwl_mvm_binding_update(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mvm_phy_ctxt *phyctxt, bool add) argument
H A Dmac-ctxt.c500 * rates are 5.5 Mbps and 11 Mbps, we still need to add 1 Mbps
515 * As a consequence, we need to add all mandatory rates that are
523 /* 6M already there or needed so always add */
532 * - if 11M is a basic rate, it must be ERP as well, so add 5.5M
536 * As a consequence, it's not as complicated as it sounds, just add
545 /* 1M already there or needed so always add */
731 * add this to the current time. If that ends up being in the
1016 bool add)
1041 if (add) {
1013 iwl_mvm_mac_ctxt_cmd_fill_ap(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mac_data_ap *ctxt_ap, bool add) argument
/drivers/xen/
H A Dpci.c45 struct physdev_pci_device_add add; member in struct:__anon7299
48 .add.seg = pci_domain_nr(pci_dev->bus),
49 .add.bus = pci_dev->bus->number,
50 .add.devfn = pci_dev->devfn
52 struct physdev_pci_device_add *add = &add_ext.add; local
60 add->flags = XEN_PCI_DEV_VIRTFN;
61 add->physfn.bus = physfn->bus->number;
62 add->physfn.devfn = physfn->devfn;
66 add
[all...]
H A Dgntdev.c132 struct grant_map *add; local
135 add = kzalloc(sizeof(struct grant_map), GFP_KERNEL);
136 if (NULL == add)
139 add->grants = kcalloc(count, sizeof(add->grants[0]), GFP_KERNEL);
140 add->map_ops = kcalloc(count, sizeof(add->map_ops[0]), GFP_KERNEL);
141 add->unmap_ops = kcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL);
142 add
171 gntdev_add_map(struct gntdev_priv *priv, struct grant_map *add) argument
[all...]
/drivers/gpu/drm/
H A Ddrm_hashtab.c142 unsigned long add)
151 item->key = (unshifted_key << shift) + add;
140 drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, unsigned long seed, int bits, int shift, unsigned long add) argument
H A Ddrm_bufs.c80 unsigned long add; local
99 add = DRM_MAP_HASH_OFFSET >> PAGE_SHIFT;
116 add |= ((user_token >> PAGE_SHIFT) & ((1UL << bits) - 1UL));
121 shift, add);
269 * only got set during AGP enable. So, only add the base
/drivers/net/ethernet/emulex/benet/
H A Dbe_roce.h58 struct ocrdma_dev *(*add) (struct be_dev_info *dev_info); member in struct:ocrdma_driver
/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c337 unsigned long add = 0; local
372 add = 0;
378 add = new_mem->num_pages - 1;
382 page = i * dir + add;
/drivers/media/usb/usbvision/
H A Dusbvision-i2c.c107 unsigned char *add)
118 add[0] = addr;
105 usb_find_address(struct i2c_adapter *i2c_adap, struct i2c_msg *msg, int retries, unsigned char *add) argument
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_vf.c156 * @vid: VLAN ID to add to table
258 * @mac: MAC address to add/remove from table
259 * @vid: VLAN ID to add/remove from table
260 * @add: Indicates if this is an add or remove operation
261 * @flags: flags field to indicate add and secure - unused
263 * This function is used to add or remove unicast MAC addresses for
267 const u8 *mac, u16 vid, bool add, u8 flags)
285 /* add bit to notify us if this is a set of clear operation */
286 if (!add)
266 fm10k_update_uc_addr_vf(struct fm10k_hw *hw, u16 glort, const u8 *mac, u16 vid, bool add, u8 flags) argument
308 fm10k_update_mc_addr_vf(struct fm10k_hw *hw, u16 glort, const u8 *mac, u16 vid, bool add) argument
[all...]
/drivers/net/wan/
H A Ddlci.c85 /* feel free to add other types, if necessary */
429 struct dlci_add add; local
435 if (copy_from_user(&add, arg, sizeof(struct dlci_add)))
441 err = dlci_add(&add);
444 if (copy_to_user(arg, &add, sizeof(struct dlci_add)))
449 err = dlci_del(&add);
/drivers/pcmcia/
H A Dcs_internal.h107 int (*add) (struct pcmcia_socket *s); member in struct:pcmcia_callback
H A Drsrc_nonstatic.c950 * - Do not auto-add resources if the CardBus bridge is on
1100 unsigned int add = ADD_MANAGED_RESOURCE; local
1106 add = REMOVE_MANAGED_RESOURCE;
1110 add = ADD_MANAGED_RESOURCE;
1119 ret = adjust_io(s, add, start_addr, end_addr);
1166 unsigned int add = ADD_MANAGED_RESOURCE; local
1172 add = REMOVE_MANAGED_RESOURCE;
1176 add = ADD_MANAGED_RESOURCE;
1185 ret = adjust_memory(s, add, start_addr, end_addr);
/drivers/s390/cio/
H A Dblacklist.c42 typedef enum {add, free} range_action; enumerator in enum:__anon4961
63 if (action == add)
163 if (ra == add)
166 ra = add;
230 if (blacklist_parse_parameters(str, add, 1))
266 } else if (strcmp("add", parm) == 0)
267 rc = blacklist_parse_parameters(buf, add, 0);
/drivers/xen/xen-pciback/
H A Dpciback.h103 int (*add)(struct xen_pcibk_device *pdev, struct pci_dev *dev, member in struct:xen_pcibk_backend
119 if (xen_pcibk_backend && xen_pcibk_backend->add)
120 return xen_pcibk_backend->add(pdev, dev, devid, publish_cb);
/drivers/gpu/drm/gma500/
H A Dmmu.c519 unsigned long add; local
532 add = desired_tile_stride << PAGE_SHIFT;
538 end = addr + add;
614 unsigned long add; local
623 add = desired_tile_stride << PAGE_SHIFT;
633 end = addr + add;
718 unsigned long add; local
731 add = desired_tile_stride << PAGE_SHIFT;
739 end = addr + add;
/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_offload.h58 * The T3 driver will call the add function of every client for each T3
84 void (*add) (struct t3cdev *); member in struct:cxgb3_client
/drivers/acpi/
H A Dpower.c437 void acpi_power_add_remove_device(struct acpi_device *adev, bool add) argument
443 &wakeup_attr_group, add);
451 &attr_groups[state], add);
/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c246 u_long add, end_add; local
253 add = start_add;
254 end_add = add + len;
257 ret = lpddr2_nvm_do_op(map, block_op, 0x00, add, add, NULL);
260 add += mtd->erasesize;
261 } while (add < end_add);
330 u_long add, current_len, tot_len, target_len, my_data; local
339 add = start_add;
344 if (!(IS_ALIGNED(add, mt
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_init_ops.h331 int add; member in struct:arb_line
496 REG_WR(bp, read_arb_addr[i].add,
497 read_arb_data[i][r_order].add);
509 REG_WR(bp, write_arb_addr[i].add,
510 write_arb_data[i][w_order].add);
520 val = REG_RD(bp, write_arb_addr[i].add);
521 REG_WR(bp, write_arb_addr[i].add,
522 val | (write_arb_data[i][w_order].add << 10));
530 val = write_arb_data[NUM_WR_Q-1][w_order].add;
535 val = read_arb_data[NUM_RD_Q-1][r_order].add;
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c1082 if (strncmp(cmd_buf, "add vsi", 7) == 0) {
1089 dev_info(&pf->pdev->dev, "add VSI %d: bad vsi seid\n",
1113 } else if (strncmp(cmd_buf, "add relay", 9) == 0) {
1120 "add relay: bad command string, cnt=%d\n",
1125 "add relay %d: bad uplink seid\n",
1133 "add relay: VSI %d not found\n", vsi_seid);
1143 "add relay: relay uplink %d not found\n",
1153 dev_info(&pf->pdev->dev, "add relay failed\n");
1182 } else if (strncmp(cmd_buf, "add macaddr", 11) == 0) {
1197 "add macadd
1693 bool add = false; local
[all...]
/drivers/net/ethernet/intel/igb/
H A De1000_mac.c188 * @vid: VLAN id to add or remove
189 * @add: if true add filter, if false remove
194 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, bool add) argument
205 if ((!!(vfta & mask)) == add) {
208 if (add)
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c392 static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, argument
396 if (!vid && !add)
399 return adapter->hw.mac.ops.set_vfta(&adapter->hw, vid, vf, (bool)add);
510 /* add PF assigned VLAN or VLAN 0 */
770 int add = (msgbuf[0] & IXGBE_VT_MSGINFO_MASK) >> IXGBE_VT_MSGINFO_SHIFT; local
786 if (add)
794 if (add && adapter->netdev->flags & IFF_PROMISC)
795 err = ixgbe_set_vf_vlan(adapter, add, vid, VMDQ_P(0));
797 err = ixgbe_set_vf_vlan(adapter, add, vid, vf);
804 if (!add
[all...]
/drivers/platform/chrome/
H A Dchromeos_laptop.c70 int (*add)(enum i2c_adapter_type type); member in struct:i2c_peripheral
172 /* add the i2c device */
270 /* add cyapa touchpad */
283 /* add atmel mxt touchpad */
297 /* add atmel mxt touch device */
308 /* add isl29018 light sensor */
318 /* add tsl2583 light sensor */
328 /* add tsl2563 light sensor */
353 if (i2c_dev->add == NULL)
370 if (i2c_dev->add(i2c_de
[all...]
/drivers/sh/maple/
H A Dmaple.c150 * maple_add_packet - add a single instruction to the maple bus queue
153 * @command: maple command to add
421 int add; local
425 /* bounce if we cannot add */
426 add = maple_add_packet(mdev,
429 if (!add)

Completed in 589 milliseconds

123