Home
last modified time | relevance | path

Searched refs:tbp (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dfnic_trace.c115 fnic_trace_data_t *tbp; in fnic_get_trace_data() local
123 tbp = (fnic_trace_data_t *) in fnic_get_trace_data()
125 if (!tbp) { in fnic_get_trace_data()
131 sprint_symbol(str, tbp->fnaddr.low); in fnic_get_trace_data()
132 jiffies_to_timespec64(tbp->timestamp.low, &val); in fnic_get_trace_data()
134 sprint_symbol(str, tbp->fnaddr.val); in fnic_get_trace_data()
135 jiffies_to_timespec64(tbp->timestamp.val, &val); in fnic_get_trace_data()
145 val.tv_nsec, str, tbp->host_no, tbp->tag, in fnic_get_trace_data()
146 tbp->data[0], tbp->data[1], tbp->data[2], in fnic_get_trace_data()
147 tbp->data[3], tbp->data[4]); in fnic_get_trace_data()
[all …]
/kernel/linux/linux-5.10/drivers/thermal/
Dthermal_of.c210 struct __thermal_bind_params *tbp; in of_thermal_bind() local
219 tbp = data->tbps + i; in of_thermal_bind()
221 for (j = 0; j < tbp->count; j++) { in of_thermal_bind()
222 tcbp = tbp->tcbp + j; in of_thermal_bind()
228 tbp->trip_id, cdev, in of_thermal_bind()
231 tbp->usage); in of_thermal_bind()
245 struct __thermal_bind_params *tbp; in of_thermal_unbind() local
254 tbp = data->tbps + i; in of_thermal_unbind()
256 for (j = 0; j < tbp->count; j++) { in of_thermal_unbind()
257 tcbp = tbp->tcbp + j; in of_thermal_unbind()
[all …]
Dthermal_core.c1054 if (!tzp || !tzp->tbp) in bind_cdev()
1058 if (tzp->tbp[i].cdev || !tzp->tbp[i].match) in bind_cdev()
1060 if (tzp->tbp[i].match(pos, cdev)) in bind_cdev()
1062 tzp->tbp[i].cdev = cdev; in bind_cdev()
1063 __bind(pos, tzp->tbp[i].trip_mask, cdev, in bind_cdev()
1064 tzp->tbp[i].binding_limits, in bind_cdev()
1065 tzp->tbp[i].weight); in bind_cdev()
1298 if (!tz->tzp || !tz->tzp->tbp) in thermal_cooling_device_unregister()
1303 if (tzp->tbp[i].cdev == cdev) { in thermal_cooling_device_unregister()
1304 __unbind(tz, tzp->tbp[i].trip_mask, cdev); in thermal_cooling_device_unregister()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/
Dvxcan.c170 struct nlattr *peer_tb[IFLA_MAX + 1], **tbp = tb; in vxcan_newlink() local
186 tbp = peer_tb; in vxcan_newlink()
189 if (ifmp && tbp[IFLA_IFNAME]) { in vxcan_newlink()
190 nla_strlcpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
197 peer_net = rtnl_link_get_net(net, tbp); in vxcan_newlink()
202 &vxcan_link_ops, tbp, extack); in vxcan_newlink()
/kernel/linux/linux-5.10/drivers/net/
Dveth.c1300 struct nlattr *peer_tb[IFLA_MAX + 1], **tbp; in veth_newlink() local
1321 tbp = peer_tb; in veth_newlink()
1324 tbp = tb; in veth_newlink()
1327 if (ifmp && tbp[IFLA_IFNAME]) { in veth_newlink()
1328 nla_strlcpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
1335 net = rtnl_link_get_net(src_net, tbp); in veth_newlink()
1340 &veth_link_ops, tbp, extack); in veth_newlink()
1346 if (!ifmp || !tbp[IFLA_ADDRESS]) in veth_newlink()
/kernel/linux/linux-5.10/net/core/
Dneighbour.c2237 struct nlattr *tbp[NDTPA_MAX+1]; in neightbl_set() local
2241 err = nla_parse_nested_deprecated(tbp, NDTPA_MAX, in neightbl_set()
2247 if (tbp[NDTPA_IFINDEX]) in neightbl_set()
2248 ifindex = nla_get_u32(tbp[NDTPA_IFINDEX]); in neightbl_set()
2257 if (tbp[i] == NULL) in neightbl_set()
2263 nla_get_u32(tbp[i]) * in neightbl_set()
2268 nla_get_u32(tbp[i])); in neightbl_set()
2272 nla_get_u32(tbp[i])); in neightbl_set()
2276 nla_get_u32(tbp[i])); in neightbl_set()
2280 nla_get_u32(tbp[i])); in neightbl_set()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dthermal.h251 struct thermal_bind_params *tbp; member
/kernel/linux/linux-5.10/Documentation/driver-api/thermal/
Dsysfs-api.rst362 .tbp: