/drivers/net/wireless/cw1200/ |
H A D | txrx.h | 26 __le32 tbl[3]; member in union:tx_policy::__anon4364
|
/drivers/hwmon/ |
H A D | ab8500.c | 60 const struct abx500_res_to_temp *tbl = cfg->temp_tbl; local 66 if (r_ntc > tbl[0].resist || r_ntc < tbl[tbl_sz - 1].resist) 69 while (!(r_ntc <= tbl[i].resist && r_ntc > tbl[i + 1].resist) && 74 *temp = tbl[i].temp * 1000 + ((tbl[i + 1].temp - tbl[i].temp) * 1000 * 75 (r_ntc - tbl[i].resist)) / (tbl[ [all...] |
/drivers/media/usb/gspca/gl860/ |
H A D | gl860-ov9655.c | 216 u8 **tbl; local 220 tbl = (reso == IMAGE_640) ? tbl_640 : tbl_1280; 223 tbl_length[0], tbl[0]); 226 tbl_length[i], tbl[i]); 228 tbl_length[7], tbl[7]);
|
H A D | gl860.c | 592 int fetch_validx(struct gspca_dev *gspca_dev, struct validx *tbl, int len) argument 597 if (tbl[n].idx != 0xffff) 598 ctrl_out(gspca_dev, 0x40, 1, tbl[n].val, 599 tbl[n].idx, 0, NULL); 600 else if (tbl[n].val == 0xffff) 603 msleep(tbl[n].val); 608 int keep_on_fetching_validx(struct gspca_dev *gspca_dev, struct validx *tbl, argument 612 if (tbl[n].idx != 0xffff) 613 ctrl_out(gspca_dev, 0x40, 1, tbl[n].val, tbl[ 623 fetch_idxdata(struct gspca_dev *gspca_dev, struct idxdata *tbl, int len) argument [all...] |
/drivers/vfio/ |
H A D | vfio_iommu_spapr_tce.c | 46 struct iommu_table *tbl; member in struct:tce_container 54 struct iommu_table *tbl = container->tbl; local 56 if (!container->tbl) 84 npages = (tbl->it_size << IOMMU_PAGE_SHIFT_4K) >> PAGE_SHIFT; 108 if (!container->tbl || !current->mm) 112 current->mm->locked_vm -= (container->tbl->it_size << 139 WARN_ON(container->tbl && !container->tbl->it_group); 142 if (container->tbl 172 struct iommu_table *tbl = container->tbl; local 197 struct iommu_table *tbl = container->tbl; local 250 struct iommu_table *tbl = container->tbl; local 311 struct iommu_table *tbl = iommu_group_get_iommudata(iommu_group); local 342 struct iommu_table *tbl = iommu_group_get_iommudata(iommu_group); local [all...] |
/drivers/net/wireless/mwifiex/ |
H A D | init.c | 38 struct mwifiex_bss_prio_tbl *tbl = adapter->bss_prio_tbl; local 48 spin_lock_irqsave(&tbl[priv->bss_priority].bss_prio_lock, flags); 49 list_add_tail(&bss_prio->list, &tbl[priv->bss_priority].bss_prio_head); 50 spin_unlock_irqrestore(&tbl[priv->bss_priority].bss_prio_lock, flags);
|
H A D | 11n.c | 709 struct mwifiex_tx_ba_stream_tbl *tbl, *tmp; local 716 list_for_each_entry_safe(tbl, tmp, &priv->tx_ba_stream_tbl_ptr, list) { 717 if (!memcmp(tbl->ra, ra, ETH_ALEN)) { 720 mwifiex_11n_delete_tx_ba_stream_tbl_entry(priv, tbl);
|
H A D | 11n_rxreorder.c | 89 struct mwifiex_rx_reorder_tbl *tbl, 96 pkt_to_send = (start_win > tbl->start_win) ? 97 min((start_win - tbl->start_win), tbl->win_size) : 98 tbl->win_size; 103 if (tbl->rx_reorder_ptr[i]) { 104 rx_tmp_ptr = tbl->rx_reorder_ptr[i]; 105 tbl->rx_reorder_ptr[i] = NULL; 117 for (i = 0; i < tbl->win_size - pkt_to_send; ++i) { 118 tbl 88 mwifiex_11n_dispatch_pkt_until_start_win(struct mwifiex_private *priv, struct mwifiex_rx_reorder_tbl *tbl, int start_win) argument 135 mwifiex_11n_scan_and_dispatch(struct mwifiex_private *priv, struct mwifiex_rx_reorder_tbl *tbl) argument 177 mwifiex_del_rx_reorder_entry(struct mwifiex_private *priv, struct mwifiex_rx_reorder_tbl *tbl) argument 221 struct mwifiex_rx_reorder_tbl *tbl; local 242 struct mwifiex_rx_reorder_tbl *tbl, *tmp; local 328 struct mwifiex_rx_reorder_tbl *tbl, *new_node; local 406 mwifiex_11n_rxreorder_timer_restart(struct mwifiex_rx_reorder_tbl *tbl) argument 544 struct mwifiex_rx_reorder_tbl *tbl; local 656 struct mwifiex_rx_reorder_tbl *tbl; local 703 struct mwifiex_rx_reorder_tbl *tbl; local 795 struct mwifiex_rx_reorder_tbl *tbl; local [all...] |
H A D | wmm.c | 986 struct mwifiex_bss_prio_tbl *tbl = adapter->bss_prio_tbl; local 990 spin_lock_irqsave(&tbl[priv->bss_priority].bss_prio_lock, flags); 995 list_move(&tbl[priv->bss_priority].bss_prio_head, 996 &tbl[priv->bss_priority].bss_prio_cur->list); 997 spin_unlock_irqrestore(&tbl[priv->bss_priority].bss_prio_lock, flags);
|
/drivers/clk/tegra/ |
H A D | clk.c | 203 void __init tegra_init_from_table(struct tegra_clk_init_table *tbl, argument 208 for (; tbl->clk_id < clk_max; tbl++) { 209 clk = clks[tbl->clk_id]; 212 __func__, PTR_ERR(clk), tbl->clk_id); 218 if (tbl->parent_id < clk_max) { 219 struct clk *parent = clks[tbl->parent_id]; 228 if (tbl->rate) 229 if (clk_set_rate(clk, tbl->rate)) { 231 __func__, tbl [all...] |
/drivers/net/wireless/iwlegacy/ |
H A D | 4965-calib.c | 357 __le16 *tbl) 359 tbl[HD_AUTO_CORR32_X4_TH_ADD_MIN_IDX] = 361 tbl[HD_AUTO_CORR32_X4_TH_ADD_MIN_MRC_IDX] = 363 tbl[HD_AUTO_CORR32_X1_TH_ADD_MIN_IDX] = 365 tbl[HD_AUTO_CORR32_X1_TH_ADD_MIN_MRC_IDX] = 368 tbl[HD_AUTO_CORR40_X4_TH_ADD_MIN_IDX] = 370 tbl[HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_IDX] = 373 tbl[HD_MIN_ENERGY_CCK_DET_IDX] = cpu_to_le16((u16) data->nrg_th_cck); 374 tbl[HD_MIN_ENERGY_OFDM_DET_IDX] = cpu_to_le16((u16) data->nrg_th_ofdm); 376 tbl[HD_BARKER_CORR_TH_ADD_MIN_ID 355 il4965_prepare_legacy_sensitivity_tbl(struct il_priv *il, struct il_sensitivity_data *data, __le16 *tbl) argument [all...] |
/drivers/iommu/ |
H A D | amd_iommu_v2.c | 325 static void free_pasid_states_level1(struct pasid_state **tbl) argument 330 if (tbl[i] == NULL) 333 free_page((unsigned long)tbl[i]); 337 static void free_pasid_states_level2(struct pasid_state **tbl) argument 343 if (tbl[i] == NULL) 346 ptr = (struct pasid_state **)tbl[i];
|
/drivers/mfd/ |
H A D | rtsx_pcr.c | 535 static int rtsx_pci_set_pull_ctl(struct rtsx_pcr *pcr, const u32 *tbl) argument 541 while (*tbl & 0xFFFF0000) { 543 (u16)(*tbl >> 16), 0xFF, (u8)(*tbl)); 544 tbl++; 556 const u32 *tbl; local 559 tbl = pcr->sd_pull_ctl_enable_tbl; 561 tbl = pcr->ms_pull_ctl_enable_tbl; 565 return rtsx_pci_set_pull_ctl(pcr, tbl); 571 const u32 *tbl; local [all...] |
H A D | menelaus.c | 493 static int menelaus_get_vtg_value(int vtg, const struct menelaus_vtg_value *tbl, argument 498 for (i = 0; i < n; i++, tbl++) 499 if (tbl->vtg == vtg) 500 return tbl->val;
|
/drivers/net/bonding/ |
H A D | bond_options.c | 459 const struct bond_opt_value *tbl; local 468 tbl = opt->values; 469 if (!tbl) 496 for (i = 0; tbl[i].string; i++) { 499 if (val->value == tbl[i].value) 500 ret = &tbl[i]; 503 (tbl[i].flags & BOND_VALFLAG_DEFAULT)) 504 ret = &tbl[i]; 506 if (!strcmp(valstr, tbl[i].string)) 507 ret = &tbl[ [all...] |
/drivers/net/wireless/iwlwifi/dvm/ |
H A D | calib.c | 432 __le16 *tbl) 434 tbl[HD_AUTO_CORR32_X4_TH_ADD_MIN_INDEX] = 436 tbl[HD_AUTO_CORR32_X4_TH_ADD_MIN_MRC_INDEX] = 438 tbl[HD_AUTO_CORR32_X1_TH_ADD_MIN_INDEX] = 440 tbl[HD_AUTO_CORR32_X1_TH_ADD_MIN_MRC_INDEX] = 443 tbl[HD_AUTO_CORR40_X4_TH_ADD_MIN_INDEX] = 445 tbl[HD_AUTO_CORR40_X4_TH_ADD_MIN_MRC_INDEX] = 448 tbl[HD_MIN_ENERGY_CCK_DET_INDEX] = 450 tbl[HD_MIN_ENERGY_OFDM_DET_INDEX] = 453 tbl[HD_BARKER_CORR_TH_ADD_MIN_INDE 430 iwl_prepare_legacy_sensitivity_tbl(struct iwl_priv *priv, struct iwl_sensitivity_data *data, __le16 *tbl) argument [all...] |
/drivers/power/ |
H A D | ab8500_btemp.c | 466 * @tbl: pointer to the resiatance to temperature table 474 const struct abx500_res_to_temp *tbl, int tbl_size, int res) 483 if (res > tbl[0].resist) 485 else if (res <= tbl[tbl_size - 1].resist) 489 while (!(res <= tbl[i].resist && 490 res > tbl[i + 1].resist)) 494 temp = tbl[i].temp + ((tbl[i + 1].temp - tbl[i].temp) * 495 (res - tbl[ 473 ab8500_btemp_res_to_temp(struct ab8500_btemp *di, const struct abx500_res_to_temp *tbl, int tbl_size, int res) argument [all...] |
H A D | smb347-charger.c | 206 static int hw_to_current(const unsigned int *tbl, size_t size, unsigned int val) argument 210 return tbl[val]; 214 static int current_to_hw(const unsigned int *tbl, size_t size, unsigned int val) argument 219 if (val < tbl[i])
|
/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_ipipe_hw.c | 776 struct vpfe_ipipe_3d_lut_entry *tbl; local 793 tbl = lut_3d->table; 797 val = tbl[i].b & D3_LUT_ENTRY_MASK; 798 val |= (tbl[i].g & D3_LUT_ENTRY_MASK) << 800 val |= (tbl[i].r & D3_LUT_ENTRY_MASK) <<
|
/drivers/misc/carma/ |
H A D | carma-fpga.c | 1213 static unsigned int data_poll(struct file *filp, struct poll_table_struct *tbl) argument 1219 poll_wait(filp, &priv->wait, tbl);
|
/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 1298 struct iommu_table *tbl; local 1303 tbl = get_iommu_table_base(&vdev->dev); 1307 return IOMMU_PAGE_ALIGN(IBMVETH_IO_ENTITLEMENT_DEFAULT, tbl); 1312 ret += IOMMU_PAGE_ALIGN(netdev->mtu, tbl); 1320 buff_size, tbl); 1325 rxqentries * sizeof(struct ibmveth_rx_q_entry), tbl);
|
/drivers/net/wireless/ath/ath6kl/ |
H A D | debug.c | 1130 const struct wmi_target_roam_tbl *tbl; local 1133 if (len < sizeof(*tbl)) 1136 tbl = (const struct wmi_target_roam_tbl *) buf; 1137 num_entries = le16_to_cpu(tbl->num_entries); 1138 if (sizeof(*tbl) + num_entries * sizeof(struct wmi_bss_roam_info) > 1167 struct wmi_target_roam_tbl *tbl; local 1194 tbl = (struct wmi_target_roam_tbl *) ar->debug.roam_tbl; 1195 num_entries = le16_to_cpu(tbl->num_entries); 1205 le16_to_cpu(tbl->roam_mode)); 1208 struct wmi_bss_roam_info *info = &tbl [all...] |
/drivers/sbus/char/ |
H A D | envctrl.c | 328 int scale, char *tbl, char *bufdata) 342 bufdata[0] = tbl[data]; 347 sprintf(bufdata,"%d ", (tbl[data] * 10) / (scale)); 368 char *tbl, j = -1; local 387 tbl = pchild->tables + pchild->tblprop_array[i].offset; 391 tbl, bufdata); 403 char *tbl = NULL; local 418 tbl = pchild->tables + pchild->tblprop_array[i].offset; 422 tbl, bufdata); 327 envctrl_i2c_data_translate(unsigned char data, int translate_type, int scale, char *tbl, char *bufdata) argument
|
/drivers/media/platform/s5p-jpeg/ |
H A D | jpeg-core.c | 701 const unsigned char *tbl, 708 dword = tbl[i] | 709 (tbl[i + 1] << 8) | 710 (tbl[i + 2] << 16) | 711 (tbl[i + 3] << 24); 700 exynos4_jpeg_set_tbl(void __iomem *regs, const unsigned char *tbl, unsigned long tab, int len) argument
|
/drivers/net/wireless/ath/wil6210/ |
H A D | debugfs.c | 300 * @tbl - table with file descriptions. Should be terminated with empty element. 302 * Creates files accordingly to the @tbl. 306 const struct dbg_off * const tbl) 310 for (i = 0; tbl[i].name; i++) { 313 switch (tbl[i].type) { 315 f = debugfs_create_u32(tbl[i].name, tbl[i].mode, dbg, 316 base + tbl[i].off); 319 f = debugfs_create_x32(tbl[i].name, tbl[ 304 wil6210_debugfs_init_offset(struct wil6210_priv *wil, struct dentry *dbg, void *base, const struct dbg_off * const tbl) argument [all...] |