Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 166) sorted by relevance

1234567

/drivers/media/pci/bt8xx/
A Dbttv-gpio.c46 return sub->probe ? sub->probe(sdev) : -ENODEV; in bttv_sub_probe()
54 if (sub->remove) in bttv_sub_remove()
55 sub->remove(sdev); in bttv_sub_remove()
68 kfree(sub); in release_sub_device()
73 struct bttv_sub_device *sub; in bttv_sub_add_device() local
76 sub = kzalloc(sizeof(*sub),GFP_KERNEL); in bttv_sub_add_device()
77 if (NULL == sub) in bttv_sub_add_device()
80 sub->core = core; in bttv_sub_add_device()
88 put_device(&sub->dev); in bttv_sub_add_device()
101 list_del(&sub->list); in bttv_sub_del_devices()
[all …]
A Ddvb-bt8xx.c806 static int dvb_bt8xx_probe(struct bttv_sub_device *sub) in dvb_bt8xx_probe() argument
816 card->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
817 strscpy(card->card_name, sub->core->v4l2_dev.name, in dvb_bt8xx_probe()
819 card->i2c_adapter = &sub->core->i2c_adap; in dvb_bt8xx_probe()
821 switch(sub->core->type) { in dvb_bt8xx_probe()
885 pr_err("Unknown bttv card type: %d\n", sub->core->type); in dvb_bt8xx_probe()
907 card->bt->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
909 if ( (ret = dvb_bt8xx_load_card(card, sub->core->type)) ) { in dvb_bt8xx_probe()
914 dev_set_drvdata(&sub->dev, card); in dvb_bt8xx_probe()
918 static void dvb_bt8xx_remove(struct bttv_sub_device *sub) in dvb_bt8xx_remove() argument
[all …]
/drivers/net/wireless/ti/wlcore/
A Ddebugfs.h53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ argument
54 static ssize_t sub## _ ##name## _read(struct file *file, \
64 stats->sub.name); \
67 static const struct file_operations sub## _ ##name## _ops = { \
68 .read = sub## _ ##name## _read, \
74 static ssize_t sub## _ ##name## _read(struct file *file, \
88 "[%d] = %d\n", i, stats->sub.name[i]); \
93 static const struct file_operations sub## _ ##name## _ops = { \
94 .read = sub## _ ##name## _read, \
99 #define DEBUGFS_FWSTATS_ADD(sub, name) \ argument
[all …]
/drivers/misc/vmw_vmci/
A Dvmci_event.c138 struct vmci_subscription *sub; in vmci_event_subscribe() local
154 sub = kzalloc(sizeof(*sub), GFP_KERNEL); in vmci_event_subscribe()
155 if (!sub) in vmci_event_subscribe()
158 sub->id = VMCI_EVENT_MAX; in vmci_event_subscribe()
159 sub->event = event; in vmci_event_subscribe()
160 sub->callback = callback; in vmci_event_subscribe()
161 sub->callback_data = callback_data; in vmci_event_subscribe()
162 INIT_LIST_HEAD(&sub->node); in vmci_event_subscribe()
176 sub->id = subscription_id; in vmci_event_subscribe()
183 list_add_rcu(&sub->node, &subscriber_array[event]); in vmci_event_subscribe()
[all …]
/drivers/media/v4l2-core/
A Dv4l2-event.c232 if (sub->type == V4L2_EVENT_ALL) in v4l2_event_subscribe()
244 sev->type = sub->type; in v4l2_event_subscribe()
245 sev->id = sub->id; in v4l2_event_subscribe()
246 sev->flags = sub->flags; in v4l2_event_subscribe()
253 found_ev = v4l2_event_subscribed(fh, sub->type, sub->id); in v4l2_event_subscribe()
279 struct v4l2_event_subscription sub; in v4l2_event_unsubscribe_all() local
290 sub.type = sev->type; in v4l2_event_unsubscribe_all()
291 sub.id = sev->id; in v4l2_event_unsubscribe_all()
295 v4l2_event_unsubscribe(fh, &sub); in v4l2_event_unsubscribe_all()
306 if (sub->type == V4L2_EVENT_ALL) { in v4l2_event_unsubscribe()
[all …]
/drivers/net/pse-pd/
A Dpd692x0.c46 u8 sub[3]; member
253 if (buf.key != PD692X0_KEY_REPORT || buf.sub[0] || buf.sub[1]) in pd692x0_reset()
369 (buf->sub[0] || buf->sub[1])) { in pd692x0_sendrecv_msg()
415 msg.sub[2] = id; in pd692x0_pi_enable()
440 msg.sub[2] = id; in pd692x0_pi_disable()
526 msg.sub[2] = id; in pd692x0_pi_get_ext_state()
661 msg.sub[2] = id; in pd692x0_pi_get_admin_state()
666 if (buf.sub[1]) in pd692x0_pi_get_admin_state()
697 if ((buf.sub[0] & 0xf0) == 0x80 || (buf.sub[0] & 0xf0) == 0x90) in pd692x0_pi_get_pw_status()
700 else if (buf.sub[0] == 0x1b || buf.sub[0] == 0x22) in pd692x0_pi_get_pw_status()
[all …]
/drivers/media/platform/chips-media/wave5/
A Dwave5-helper.c121 int wave5_vpu_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) in wave5_vpu_subscribe_event() argument
127 is_decoder ? "decoder" : "encoder", sub->type, sub->id, sub->flags); in wave5_vpu_subscribe_event()
129 switch (sub->type) { in wave5_vpu_subscribe_event()
131 return v4l2_event_subscribe(fh, sub, 0, NULL); in wave5_vpu_subscribe_event()
134 return v4l2_src_change_event_subscribe(fh, sub); in wave5_vpu_subscribe_event()
137 return v4l2_ctrl_subscribe_event(fh, sub); in wave5_vpu_subscribe_event()
/drivers/scsi/qedf/
A Dqedf_fip.c127 u8 sub; in qedf_fip_send() local
139 sub = fiph->fip_subcode; in qedf_fip_send()
151 "dest=%pM op=%x sub=%x vlan=%04x.", eth_hdr->h_dest, op, sub, in qedf_fip_send()
178 u8 sub; in qedf_fip_recv() local
189 sub = fiph->fip_subcode; in qedf_fip_recv()
194 sub, vlan); in qedf_fip_recv()
211 if (op == FIP_OP_VLAN && sub == FIP_SC_VL_NOTE) { in qedf_fip_recv()
214 } else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK) { in qedf_fip_recv()
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Ddisp.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) in nvbios_disp_table() argument
46 *sub = nvbios_rd08(bios, data + 0x04); in nvbios_disp_table()
59 nvbios_disp_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub) in nvbios_disp_entry() argument
62 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); in nvbios_disp_entry()
70 nvbios_disp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub, in nvbios_disp_parse() argument
73 u16 data = nvbios_disp_entry(bios, idx, ver, len, sub); in nvbios_disp_parse()
/drivers/regulator/
A Dmax1586.c152 struct max1586_subdev_data *sub; in of_get_max1586_platform_data() local
192 sub = pdata->subdevs; in of_get_max1586_platform_data()
195 sub->id = i; in of_get_max1586_platform_data()
196 sub->name = rmatch[i].of_node->name; in of_get_max1586_platform_data()
197 sub->platform_data = rmatch[i].init_data; in of_get_max1586_platform_data()
198 sub++; in of_get_max1586_platform_data()
A Dmax8660.c324 struct max8660_subdev_data *sub; in max8660_pdata_from_dt() local
349 sub = pdata->subdevs; in max8660_pdata_from_dt()
352 sub->id = i; in max8660_pdata_from_dt()
353 sub->name = rmatch[i].name; in max8660_pdata_from_dt()
354 sub->platform_data = rmatch[i].init_data; in max8660_pdata_from_dt()
356 sub++; in max8660_pdata_from_dt()
/drivers/staging/media/atomisp/pci/
A Datomisp_subdev.c143 struct v4l2_event_subscription *sub) in isp_subdev_subscribe_event() argument
148 if (sub->type != V4L2_EVENT_FRAME_SYNC && in isp_subdev_subscribe_event()
149 sub->type != V4L2_EVENT_FRAME_END && in isp_subdev_subscribe_event()
150 sub->type != V4L2_EVENT_ATOMISP_3A_STATS_READY && in isp_subdev_subscribe_event()
152 sub->type != V4L2_EVENT_ATOMISP_PAUSE_BUFFER && in isp_subdev_subscribe_event()
153 sub->type != V4L2_EVENT_ATOMISP_CSS_RESET && in isp_subdev_subscribe_event()
154 sub->type != V4L2_EVENT_ATOMISP_ACC_COMPLETE) in isp_subdev_subscribe_event()
157 if (sub->type == V4L2_EVENT_FRAME_SYNC && in isp_subdev_subscribe_event()
161 return v4l2_event_subscribe(fh, sub, 16, NULL); in isp_subdev_subscribe_event()
166 struct v4l2_event_subscription *sub) in isp_subdev_unsubscribe_event() argument
[all …]
/drivers/of/unittest-data/
A Dtests-platform.dtsi17 compatible = "test-sub-device";
30 compatible = "test-sub-device",
60 compatible = "test-sub-device";
/drivers/scsi/fcoe/
A Dfcoe_ctlr.c1145 u8 sub; in fcoe_ctlr_recv_els() local
1155 if (sub != FIP_SC_REQ && sub != FIP_SC_REP) in fcoe_ctlr_recv_els()
1536 u8 sub; in fcoe_ctlr_recv_handler() local
2033 if (sub == FIP_SC_VN_CLAIM_NOTIFY || sub == FIP_SC_VN_CLAIM_REP) { in fcoe_ctlr_vn_send()
2081 if (sub == FIP_SC_VN_CLAIM_NOTIFY || sub == FIP_SC_VN_CLAIM_REP) { in fcoe_ctlr_vn_send()
2279 u8 sub; in fcoe_ctlr_vn_parse() local
2285 switch (sub) { in fcoe_ctlr_vn_parse()
2320 dtype, sub); in fcoe_ctlr_vn_parse()
2760 switch (sub) { in fcoe_ctlr_vn_recv()
2808 u8 sub; in fcoe_ctlr_vlan_parse() local
[all …]
/drivers/net/wireless/ti/wl1251/
A Ddebugfs.c50 #define DEBUGFS_FWSTATS_FILE(sub, name, buflen, fmt) \ argument
51 static ssize_t sub## _ ##name## _read(struct file *file, \
62 wl->stats.fw_stats->sub.name); \
66 static const struct file_operations sub## _ ##name## _ops = { \
67 .read = sub## _ ##name## _read, \
72 #define DEBUGFS_FWSTATS_ADD(sub, name) \ argument
73 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics)
75 #define DEBUGFS_FWSTATS_DEL(sub, name) \ argument
76 DEBUGFS_DEL(sub## _ ##name)
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
A Ddisp.h5 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub);
11 u16 nvbios_disp_entry(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub);
12 u16 nvbios_disp_parse(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub,
/drivers/mfd/
A Dmax77759.c434 struct i2c_client *sub; in max77759_create_i2c_subdev() local
442 sub = client; in max77759_create_i2c_subdev()
444 sub = devm_i2c_new_dummy_device(&client->dev, in max77759_create_i2c_subdev()
448 if (IS_ERR(sub)) in max77759_create_i2c_subdev()
449 return dev_err_probe(&client->dev, PTR_ERR(sub), in max77759_create_i2c_subdev()
454 regmap = devm_regmap_init_i2c(sub, sd->cfg); in max77759_create_i2c_subdev()
456 return dev_err_probe(&sub->dev, PTR_ERR(regmap), in max77759_create_i2c_subdev()
/drivers/usb/gadget/function/
A Duvc_v4l2.c568 const struct v4l2_event_subscription *sub) in uvc_v4l2_subscribe_event() argument
574 if (sub->type < UVC_EVENT_FIRST || sub->type > UVC_EVENT_LAST) in uvc_v4l2_subscribe_event()
577 if (sub->type == UVC_EVENT_SETUP && uvc->func_connected) in uvc_v4l2_subscribe_event()
580 ret = v4l2_event_subscribe(fh, sub, 2, NULL); in uvc_v4l2_subscribe_event()
584 if (sub->type == UVC_EVENT_SETUP) { in uvc_v4l2_subscribe_event()
604 const struct v4l2_event_subscription *sub) in uvc_v4l2_unsubscribe_event() argument
610 ret = v4l2_event_unsubscribe(fh, sub); in uvc_v4l2_unsubscribe_event()
614 if (sub->type == UVC_EVENT_SETUP && handle->is_uvc_app_handle) { in uvc_v4l2_unsubscribe_event()
/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
A Dcom.fuc209 sub b32 $r5 0x100
313 sub b32 $r4 $r6
492 sub b32 $r6 1
495 sub b32 $r7 1
567 sub b32 $r11 1
576 sub b32 $r14 1
600 sub b32 $r11 1
609 sub b32 $r11 1
617 sub b32 $r8 2
629 sub b32 $r14 1
[all …]
/drivers/scsi/arm/
A Dacornscsi-io.S52 sub r2, r2, #8
61 sub r2, r2, #4
117 sub r2, r2, #8
128 sub r2, r2, #4
/drivers/misc/rp1/
A DKconfig13 This device supports several sub-devices including e.g. Ethernet
20 RP1 internal sub-devices.
/drivers/misc/keba/
A DKconfig10 KEBA CP500 devices. It registers all sub devices present on the CP500
11 system FPGA as separate devices. A driver is needed for each sub
/drivers/media/pci/intel/ipu6/
A Dipu6-isys-csi2.c99 struct v4l2_event_subscription *sub) in csi2_subscribe_event() argument
106 sub->type, sub->id); in csi2_subscribe_event()
108 switch (sub->type) { in csi2_subscribe_event()
110 return v4l2_event_subscribe(fh, sub, 10, NULL); in csi2_subscribe_event()
112 return v4l2_ctrl_subscribe_event(fh, sub); in csi2_subscribe_event()
/drivers/staging/media/ipu7/
A Dipu7-isys-csi2.c67 struct v4l2_event_subscription *sub) in csi2_subscribe_event() argument
74 sub->type, sub->id); in csi2_subscribe_event()
76 switch (sub->type) { in csi2_subscribe_event()
78 return v4l2_event_subscribe(fh, sub, 10, NULL); in csi2_subscribe_event()
80 return v4l2_ctrl_subscribe_event(fh, sub); in csi2_subscribe_event()
/drivers/video/fbdev/kyro/
A DSTG4000InitDevice.c244 u16 core_pll = 0, sub; in SetCoreClockPLL() local
274 pci_read_config_word(pDev, PCI_CONFIG_SUBSYS_ID, &sub); in SetCoreClockPLL()
276 ulChipSpeed = InitSDRAMRegisters(pSTGReg, (u32)sub, in SetCoreClockPLL()

Completed in 71 milliseconds

1234567