Home
last modified time | relevance | path

Searched refs:smp (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/include/rdma/
Dopa_smi.h122 opa_get_smp_direction(struct opa_smp *smp) in opa_get_smp_direction() argument
124 return ib_get_smp_direction((struct ib_smp *)smp); in opa_get_smp_direction()
127 static inline u8 *opa_get_smp_data(struct opa_smp *smp) in opa_get_smp_data() argument
129 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data()
130 return smp->route.dr.data; in opa_get_smp_data()
132 return smp->route.lid.data; in opa_get_smp_data()
135 static inline size_t opa_get_smp_data_size(struct opa_smp *smp) in opa_get_smp_data_size() argument
137 if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in opa_get_smp_data_size()
138 return sizeof(smp->route.dr.data); in opa_get_smp_data_size()
140 return sizeof(smp->route.lid.data); in opa_get_smp_data_size()
[all …]
Dib_smi.h144 ib_get_smp_direction(struct ib_smp *smp) in ib_get_smp_direction() argument
146 return ((smp->status & IB_SMP_DIRECTION) == IB_SMP_DIRECTION); in ib_get_smp_direction()
/linux-4.19.296/drivers/sh/intc/
Dcore.c167 unsigned int smp) in save_reg() argument
174 d->smp[cnt] = smp; in save_reg()
184 unsigned int i, k, smp; in register_intc_controller() local
238 d->smp = kcalloc(d->nr_reg, sizeof(*d->smp), GFP_NOWAIT); in register_intc_controller()
239 if (!d->smp) in register_intc_controller()
246 smp = IS_SMP(hw->mask_regs[i]); in register_intc_controller()
247 k += save_reg(d, k, hw->mask_regs[i].set_reg, smp); in register_intc_controller()
248 k += save_reg(d, k, hw->mask_regs[i].clr_reg, smp); in register_intc_controller()
262 smp = IS_SMP(hw->prio_regs[i]); in register_intc_controller()
263 k += save_reg(d, k, hw->prio_regs[i].set_reg, smp); in register_intc_controller()
[all …]
Dinternals.h23 #define IS_SMP(x) (x.smp)
24 #define INTC_REG(d, x, c) (d->reg[(x)] + ((d->smp[(x)] & 0xff) * c))
25 #define SMP_NR(d, x) ((d->smp[(x)] >> 8) ? (d->smp[(x)] >> 8) : 1)
62 unsigned long *smp; member
/linux-4.19.296/include/net/iucv/
Diucv.h202 int iucv_register(struct iucv_handler *handler, int smp);
211 void iucv_unregister(struct iucv_handler *handle, int smp);
490 int (*iucv_register)(struct iucv_handler *handler, int smp);
491 void (*iucv_unregister)(struct iucv_handler *handler, int smp);
/linux-4.19.296/include/linux/
Dsh_intc.h54 unsigned long smp; member
62 unsigned long smp; member
78 #define INTC_SMP(stride, nr) .smp = (stride) | ((nr) << 8)
/linux-4.19.296/fs/jfs/
Djfs_dtree.c936 struct metapage *smp; in dtSplitUp() local
958 smp = split->mp; in dtSplitUp()
959 sp = DT_PAGE(ip, smp); in dtSplitUp()
963 DT_PUTPAGE(smp); in dtSplitUp()
988 DT_PUTPAGE(smp); in dtSplitUp()
1005 DT_PUTPAGE(smp); in dtSplitUp()
1064 DT_PUTPAGE(smp); in dtSplitUp()
1090 DT_PUTPAGE(smp); in dtSplitUp()
1098 DT_PUTPAGE(smp); in dtSplitUp()
1132 lmp = smp; in dtSplitUp()
[all …]
Djfs_xtree.c692 struct metapage *smp; in xtSplitUp() local
711 smp = split->mp; in xtSplitUp()
712 sp = XT_PAGE(ip, smp); in xtSplitUp()
721 BT_MARK_DIRTY(smp, ip); in xtSplitUp()
745 tlck = txLock(tid, ip, smp, tlckXTREE | tlckGROW); in xtSplitUp()
781 XT_PUTPAGE(smp); in xtSplitUp()
797 XT_PUTPAGE(smp); in xtSplitUp()
834 XT_GETPAGE(ip, parent->bn, smp, PSIZE, sp, rc); in xtSplitUp()
855 split->mp = smp; in xtSplitUp()
873 XT_PUTPAGE(smp); in xtSplitUp()
[all …]
/linux-4.19.296/drivers/iio/adc/
Dstm32-adc.c1530 unsigned int smp, r = smpr->reg; in stm32_adc_smpr_init() local
1534 for (smp = 0; smp <= STM32_ADC_MAX_SMP; smp++) in stm32_adc_smpr_init()
1535 if ((period_ns * adc->cfg->smp_cycles[smp]) >= smp_ns) in stm32_adc_smpr_init()
1537 if (smp > STM32_ADC_MAX_SMP) in stm32_adc_smpr_init()
1538 smp = STM32_ADC_MAX_SMP; in stm32_adc_smpr_init()
1541 adc->smpr_val[r] = (adc->smpr_val[r] & ~mask) | (smp << shift); in stm32_adc_smpr_init()
1591 u32 val, smp = 0; in stm32_adc_chan_of_init() local
1674 i, &smp); in stm32_adc_chan_of_init()
1676 stm32_adc_smpr_init(adc, channels[i].channel, smp); in stm32_adc_chan_of_init()
/linux-4.19.296/include/acpi/
Dprocessor.h236 u8 smp; member
/linux-4.19.296/fs/
Dnamespace.c1997 struct mountpoint *smp; in attach_recursive_mnt() local
2005 smp = get_mountpoint(source_mnt->mnt.mnt_root); in attach_recursive_mnt()
2006 if (IS_ERR(smp)) in attach_recursive_mnt()
2007 return PTR_ERR(smp); in attach_recursive_mnt()
2044 mnt_change_mountpoint(child, smp, q); in attach_recursive_mnt()
2047 put_mountpoint(smp); in attach_recursive_mnt()
2064 put_mountpoint(smp); in attach_recursive_mnt()
/linux-4.19.296/include/net/bluetooth/
Dl2cap.h653 struct l2cap_chan *smp; member